summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-04-09 01:27:07 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-04-09 01:27:07 +0000
commitb8e30b1cbef6d958cdd655fd86d109946adcf76a (patch)
tree0318dac2b3664715a49413cd1733d2bc07ea54f6 /sys
parent3633c59ccd563520e0b9335e960a3b29182b0c61 (diff)
No longer need memsize.
Diffstat (limited to 'sys')
-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 8bab8606a10..9f6a86b973c 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.23 2002/04/06 21:58:12 millert Exp $ */
+/* $OpenBSD: if_wi_pci.c,v 1.24 2002/04/09 01:27:06 millert Exp $ */
/*
* Copyright (c) 2001, 2002 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -162,7 +162,7 @@ wi_pci_attach(parent, self, aux)
bus_space_tag_t iot = pa->pa_iot;
bus_space_tag_t memt = pa->pa_memt;
bus_addr_t localbase;
- bus_size_t localsize, memsize;
+ bus_size_t localsize;
pci_chipset_tag_t pc = pa->pa_pc;
u_int32_t command;
pcireg_t csr;
@@ -173,7 +173,7 @@ wi_pci_attach(parent, self, aux)
switch (pp->pp_type) {
case WI_PCI_PLX:
if (pci_mapreg_map(pa, WI_PLX_MEMRES, PCI_MAPREG_TYPE_MEM, 0,
- &memt, &memh, NULL, &memsize, 0) != 0) {
+ &memt, &memh, NULL, NULL, 0) != 0) {
printf(": can't map mem space\n");
return;
}