diff options
Diffstat (limited to 'sys/powerpc/powermac/uninorth.c')
-rw-r--r-- | sys/powerpc/powermac/uninorth.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/powerpc/powermac/uninorth.c b/sys/powerpc/powermac/uninorth.c index 97bd80d..f3b0996 100644 --- a/sys/powerpc/powermac/uninorth.c +++ b/sys/powerpc/powermac/uninorth.c @@ -329,10 +329,12 @@ uninorth_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) sc = device_get_softc(dev); switch (which) { + case PCIB_IVAR_DOMAIN: + *result = device_get_unit(dev); + return (0); case PCIB_IVAR_BUS: *result = sc->sc_bus; return (0); - break; } return (ENOENT); |