diff options
author | bz <bz@FreeBSD.org> | 2009-06-17 10:26:37 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2009-06-17 10:26:37 +0000 |
commit | 515a5d85349fed95333ccc9a7ce9ac432739b106 (patch) | |
tree | 9e6546fee1e42b77e974ce590685c0c6228cbbb7 /sys/mips/idt | |
parent | 8c2f5259557d44b2d793cf4195cd279e18e372f1 (diff) | |
download | FreeBSD-src-515a5d85349fed95333ccc9a7ce9ac432739b106.zip FreeBSD-src-515a5d85349fed95333ccc9a7ce9ac432739b106.tar.gz |
Make compile again using proper protoypes for
pcib_read/write_config DEVMETHOD.
Diffstat (limited to 'sys/mips/idt')
-rw-r--r-- | sys/mips/idt/idtpci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/mips/idt/idtpci.c b/sys/mips/idt/idtpci.c index 32033d4..2fce32d 100644 --- a/sys/mips/idt/idtpci.c +++ b/sys/mips/idt/idtpci.c @@ -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, int slot, int func, int reg, } 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; |