summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-06-07 04:55:07 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-06-07 04:55:07 +0000
commitf3436f43013d00f92f78285e68c4cf145ff9d4bd (patch)
tree15b87cefd7190adc378f204e0ac8dd91fdfbd08c /sys/dev/pci
parentfa4f291d25053275ba3300321df16dc7dace94bb (diff)
no longer need to set sc_prism2 manually
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_wi_pci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/if_wi_pci.c b/sys/dev/pci/if_wi_pci.c
index 567a4dbf977..9432b795b0c 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.1 2001/06/06 18:53:50 millert Exp $ */
+/* $OpenBSD: if_wi_pci.c,v 1.2 2001/06/07 04:55:06 millert Exp $ */
/*
* Copyright (c) 2001 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -163,8 +163,6 @@ wi_pci_attach(parent, self, aux)
pcireg_t csr;
const char *intrstr;
- sc->sc_prism2 = 1; /* All PCI flavors of wi are Prism2 */
-
/* Map memory and I/O registers. */
if (pci_mapreg_map(pa, WI_PCI_LOMEM, PCI_MAPREG_TYPE_MEM, 0,
&memt, &memh, NULL, NULL) != 0) {