summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-05-03 19:42:46 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-05-03 19:42:46 +0000
commit0e69e6e05d5002e9d80cf857b68d96b8310f55e5 (patch)
treefa510d3523f479993ea2cb6ee7c049bbb62fc320 /sys/arch/sgi
parentf134b3361b89ea201ad3224ee3bc50e9726957b3 (diff)
Pass 0 as base offset, not -1, for child devices which ignore the value.
Diffstat (limited to 'sys/arch/sgi')
-rw-r--r--sys/arch/sgi/pci/ioc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sgi/pci/ioc.c b/sys/arch/sgi/pci/ioc.c
index 00c2ee9383d..ab23c0a4766 100644
--- a/sys/arch/sgi/pci/ioc.c
+++ b/sys/arch/sgi/pci/ioc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ioc.c,v 1.12 2009/05/02 21:31:21 miod Exp $ */
+/* $OpenBSD: ioc.c,v 1.13 2009/05/03 19:42:45 miod Exp $ */
/*
* Copyright (c) 2008 Joel Sing.
@@ -389,11 +389,11 @@ establish:
ioc_attach_child(self, "com", 0x20170, IOCDEV_SERIAL_B);
}
if (has_ps2)
- ioc_attach_child(self, "iockbc", -1, IOCDEV_KEYBOARD);
+ ioc_attach_child(self, "iockbc", 0, IOCDEV_KEYBOARD);
if (has_ethernet)
- ioc_attach_child(self, "ef", -1, IOCDEV_EF);
+ ioc_attach_child(self, "ef", 0, IOCDEV_EF);
/* XXX what about the parallel port? */
- ioc_attach_child(self, "dsrtc", -1, IOCDEV_RTC);
+ ioc_attach_child(self, "dsrtc", 0, IOCDEV_RTC);
return;