summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2007-11-28 11:13:48 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2007-11-28 11:13:48 +0000
commit3937b6e342a8cbaf950ed28de103525e35156608 (patch)
treeb34bfcfd1965b77768e15ec402f6f1a6f8ce4c59 /sys
parent48eef4917df9596f3728cc691acc9d56faf37de2 (diff)
use correct data type for the pci address (bus_addr_t)
From mickey
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_vic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c
index 71418615134..f4024e7b884 100644
--- a/sys/dev/pci/if_vic.c
+++ b/sys/dev/pci/if_vic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vic.c,v 1.51 2007/10/28 12:38:43 dlg Exp $ */
+/* $OpenBSD: if_vic.c,v 1.52 2007/11/28 11:13:47 reyk Exp $ */
/*
* Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org>
@@ -357,7 +357,7 @@ vic_match(struct device *parent, void *match, void *aux)
struct pci_attach_args *pa = aux;
pcireg_t memtype;
bus_size_t pcisize;
- paddr_t pciaddr;
+ bus_addr_t pciaddr;
switch (pa->pa_id) {
case PCI_ID_CODE(PCI_VENDOR_VMWARE, PCI_PRODUCT_VMWARE_NET):