From 0f93bec2769577b3d3b7ecea680abbd40d5ced6e Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Mon, 6 Nov 2023 16:52:17 +0100 Subject: 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 --- src/parisc/parisc.c | 4 ++-- 1 file 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); -- cgit v1.1