summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2011-09-29 20:57:44 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2011-09-29 20:57:44 +0000
commit692722a1f6f187f5e706b975cf22cb6b943b8f8e (patch)
treeef5f91fe77a4eeed77a4c29ae1a60c731554ba94 /sys/arch
parente2a7860282f3cf5f5d380ab04cf0aa69cd6a296c (diff)
Fix local types in vgafb_pci_probe(), to match what pci_*_find() expect,
after the bus_{addr,size}_t type definition change.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/macppc/pci/vgafb_pci.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/macppc/pci/vgafb_pci.c b/sys/arch/macppc/pci/vgafb_pci.c
index 7f7a442908b..307790ad30b 100644
--- a/sys/arch/macppc/pci/vgafb_pci.c
+++ b/sys/arch/macppc/pci/vgafb_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vgafb_pci.c,v 1.21 2010/05/22 21:30:26 deraadt Exp $ */
+/* $OpenBSD: vgafb_pci.c,v 1.22 2011/09/29 20:57:43 miod Exp $ */
/* $NetBSD: vga_pci.c,v 1.4 1996/12/05 01:39:38 cgd Exp $ */
/*
@@ -85,8 +85,9 @@ vgafb_pci_probe(struct pci_attach_args *pa, int id, u_int32_t *ioaddr,
u_int32_t *iosize, u_int32_t *memaddr, u_int32_t *memsize,
u_int32_t *cacheable, u_int32_t *mmioaddr, u_int32_t *mmiosize)
{
- u_long addr;
- u_int32_t size, tcacheable;
+ bus_addr_t addr;
+ bus_size_t size;
+ int tcacheable;
pci_chipset_tag_t pc = pa->pa_pc;
int retval;
int i;