diff options
author | 2007-11-28 11:13:47 +0000 | |
---|---|---|
committer | 2007-11-28 11:13:47 +0000 | |
commit | c83354475a12ed388eac0c4fe60e7fe18ee017ed (patch) | |
tree | 6e9601a457e0849a6e4f722c9dcc770b4f5538f1 | |
parent | remove unused function (diff) | |
download | wireguard-openbsd-c83354475a12ed388eac0c4fe60e7fe18ee017ed.tar.xz wireguard-openbsd-c83354475a12ed388eac0c4fe60e7fe18ee017ed.zip |
use correct data type for the pci address (bus_addr_t)
From mickey
-rw-r--r-- | sys/dev/pci/if_vic.c | 4 |
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): |