aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2024-01-18 23:33:07 +0100
committerHelge Deller <deller@gmx.de>2024-01-18 23:33:07 +0100
commitea4901ba62d7b8ec7994ce2680d4deb2d52c52f8 (patch)
tree05cd606a450502a579c8c407b8219463a62b6bf0 /src
parent03c2e200ace06bc7fdcc3f21112ed56d77cd99c3 (diff)
downloadseabios-hppa-ea4901ba62d7b8ec7994ce2680d4deb2d52c52f8.zip
seabios-hppa-ea4901ba62d7b8ec7994ce2680d4deb2d52c52f8.tar.gz
seabios-hppa-ea4901ba62d7b8ec7994ce2680d4deb2d52c52f8.tar.bz2
parisc: Do not check layers in PDC_MEM_MAP_HPA
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'src')
-rw-r--r--src/parisc/parisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c
index 34f4039..12cfd4b 100644
--- a/src/parisc/parisc.c
+++ b/src/parisc/parisc.c
@@ -2081,7 +2081,7 @@ static int pdc_mem_map(unsigned long *arg)
switch (option) {
case PDC_MEM_MAP_HPA:
dprintf(0, "\nSeaBIOS: PDC_MEM_MAP_HPA bus = %d, mod = %d\n", dp->path.bc[4], dp->path.mod);
- dev = find_hppa_device_by_path(dp, NULL, 1);
+ dev = find_hppa_device_by_path(dp, NULL, 0);
if (!dev)
return PDC_NE_MOD;
memcpy(memmap, dev->mod_info, sizeof(*memmap));