summaryrefslogtreecommitdiff
path: root/sys/dev/pci/adw_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/adw_pci.c')
-rw-r--r--sys/dev/pci/adw_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/adw_pci.c b/sys/dev/pci/adw_pci.c
index c6f66f1d5ff..5e78c83543e 100644
--- a/sys/dev/pci/adw_pci.c
+++ b/sys/dev/pci/adw_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adw_pci.c,v 1.7 2001/04/11 04:05:17 krw Exp $ */
+/* $OpenBSD: adw_pci.c,v 1.8 2001/06/12 15:40:29 niklas Exp $ */
/* $NetBSD: adw_pci.c,v 1.7 2000/05/26 15:13:46 dante Exp $ */
/*
@@ -162,7 +162,7 @@ adw_pci_attach(parent, self, aux)
* Map Device Registers for I/O
*/
if (pci_mapreg_map(pa, PCI_BASEADR_IO, PCI_MAPREG_TYPE_IO, 0,
- &iot, &ioh, NULL, NULL)) {
+ &iot, &ioh, NULL, NULL, 0)) {
printf("\n%s: unable to map device registers\n",
sc->sc_dev.dv_xname);
return;