From 3937b6e342a8cbaf950ed28de103525e35156608 Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Wed, 28 Nov 2007 11:13:48 +0000 Subject: use correct data type for the pci address (bus_addr_t) From mickey --- sys/dev/pci/if_vic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') 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 @@ -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): -- cgit v1.2.3