aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-11-06 16:52:17 +0100
committerHelge Deller <deller@gmx.de>2023-11-06 16:52:17 +0100
commit0f93bec2769577b3d3b7ecea680abbd40d5ced6e (patch)
tree4d465df7c0e5e4ccf310e82ade649a3424b60438
parent297674d7b0a3adea310e63d559ddb182bbeaaf39 (diff)
downloadseabios-hppa-0f93bec2769577b3d3b7ecea680abbd40d5ced6e.zip
seabios-hppa-0f93bec2769577b3d3b7ecea680abbd40d5ced6e.tar.gz
seabios-hppa-0f93bec2769577b3d3b7ecea680abbd40d5ced6e.tar.bz2
parisc: Disable device indexing
This broke B160L since LASI then disappears. Disable device indexing for both B160L and C3700 for now. Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r--src/parisc/parisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c
index 807626d..ca0556e 100644
--- a/src/parisc/parisc.c
+++ b/src/parisc/parisc.c
@@ -887,14 +887,14 @@ static hppa_device_t *add_index_all_devices(void)
dev = parisc_devices + i;
// keep all devices as main devices on astro...
- if (!has_astro && dev->mod_path->path.bc[bc] != -1)
+ if (0 && !has_astro && dev->mod_path->path.bc[bc] != -1)
continue;
// dprintf(1, "device HPA %lx %s \n", dev->hpa, hpa_name(dev->hpa));
dev->index = index;
if (0)
dprintf(1, "device HPA %lx %s is index # %d\n", dev->hpa, hpa_name(dev->hpa), index);
dev->hpa_parent = 0;
- if (has_astro)
+ if (1 || has_astro)
dev->num_addr = 0;
else
dev->num_addr = add_index(dev->hpa, bc, &dev->mod_path->path.mod, 1);