summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-06-11 00:50:39 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-06-11 00:50:39 +0000
commitc8317dd8d7114103a4c511bf633d2595a1ba00fc (patch)
tree6f37e1a6f38eeceb7041ead55e91cd83f28c9186 /sys/dev/pci
parent79cd93e5f7e6de51a557f90753a8c0a26cbf52c9 (diff)
For PCI attachments print the CIS strings since otherwise all we have
is info on the PCI -> PCMCIA dumb bridge and not the card itself.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_wi_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_wi_pci.c b/sys/dev/pci/if_wi_pci.c
index 9432b795b0c..b7f0d8a9bce 100644
--- a/sys/dev/pci/if_wi_pci.c
+++ b/sys/dev/pci/if_wi_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi_pci.c,v 1.2 2001/06/07 04:55:06 millert Exp $ */
+/* $OpenBSD: if_wi_pci.c,v 1.3 2001/06/11 00:50:38 millert Exp $ */
/*
* Copyright (c) 2001 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -113,7 +113,7 @@
int wi_pci_match __P((struct device *, void *, void *));
void wi_pci_attach __P((struct device *, struct device *, void *));
int wi_intr __P((void *));
-int wi_attach __P((struct wi_softc *));
+int wi_attach __P((struct wi_softc *, int));
struct cfattach wi_pci_ca = {
sizeof (struct wi_softc), wi_pci_match, wi_pci_attach
@@ -210,5 +210,5 @@ wi_pci_attach(parent, self, aux)
*/
bus_space_write_1(memt, memh, WI_COR_OFFSET, WI_COR_VALUE);
- wi_attach(sc);
+ wi_attach(sc, 1);
}