parisc: pdc_add_valid() should allow HPA of graphics card
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c
index 8f586a5..8813d33 100644
--- a/src/parisc/parisc.c
+++ b/src/parisc/parisc.c
@@ -1862,6 +1862,8 @@
return 1;
if (arg2 <= 0xffffffff)
return PDC_OK;
+ if (find_hpa_device(arg2))
+ return PDC_OK;
dprintf(0, "\n\nSeaBIOS: FAILED!!!! PDC_ADD_VALID function %ld arg2=%lx called.\n", option, arg2);
return PDC_REQ_ERR_0; /* Operation completed with a requestor bus error. */
}