svn commit: r194343 - head/sys/mips/idt
Bjoern A. Zeeb
bz at FreeBSD.org
Wed Jun 17 10:26:38 UTC 2009
Author: bz
Date: Wed Jun 17 10:26:37 2009
New Revision: 194343
URL: http://svn.freebsd.org/changeset/base/194343
Log:
Make compile again using proper protoypes for
pcib_read/write_config DEVMETHOD.
Modified:
head/sys/mips/idt/idtpci.c
Modified: head/sys/mips/idt/idtpci.c
==============================================================================
--- head/sys/mips/idt/idtpci.c Wed Jun 17 10:23:25 2009 (r194342)
+++ head/sys/mips/idt/idtpci.c Wed Jun 17 10:26:37 2009 (r194343)
@@ -287,7 +287,7 @@ idtpci_maxslots(device_t dev)
}
static uint32_t
-idtpci_read_config(device_t dev, int bus, int slot, int func, int reg,
+idtpci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg,
int bytes)
{
uint32_t data;
@@ -343,7 +343,7 @@ idtpci_read_config(device_t dev, int bus
}
static void
-idtpci_write_config(device_t dev, int bus, int slot, int func, int reg,
+idtpci_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg,
uint32_t data, int bytes)
{
bus_addr_t addr;
More information about the svn-src-head
mailing list