aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/pci/pci_bus.c
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2009-06-11 17:06:31 +0000
committerAndriy Gapon <avg@FreeBSD.org>2009-06-11 17:06:31 +0000
commitebb6aed490e270bb3580a296b1be74c2a1ab54d9 (patch)
treeb4b85fe26c7d6d64e1b631eca40084434809f7a7 /sys/i386/pci/pci_bus.c
parent446188d1e6d517ed7cd1116a85505f4ebb1731d0 (diff)
downloadsrc-ebb6aed490e270bb3580a296b1be74c2a1ab54d9.tar.gz
src-ebb6aed490e270bb3580a296b1be74c2a1ab54d9.zip
Notes
Diffstat (limited to 'sys/i386/pci/pci_bus.c')
-rw-r--r--sys/i386/pci/pci_bus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c
index e0c8fbdcdc32..0a82bfffb282 100644
--- a/sys/i386/pci/pci_bus.c
+++ b/sys/i386/pci/pci_bus.c
@@ -62,8 +62,8 @@ legacy_pcib_maxslots(device_t dev)
/* read configuration space register */
u_int32_t
-legacy_pcib_read_config(device_t dev, int bus, int slot, int func,
- int reg, int bytes)
+legacy_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func,
+ u_int reg, int bytes)
{
return(pci_cfgregread(bus, slot, func, reg, bytes));
}
@@ -71,8 +71,8 @@ legacy_pcib_read_config(device_t dev, int bus, int slot, int func,
/* write configuration space register */
void
-legacy_pcib_write_config(device_t dev, int bus, int slot, int func,
- int reg, u_int32_t data, int bytes)
+legacy_pcib_write_config(device_t dev, u_int bus, u_int slot, u_int func,
+ u_int reg, u_int32_t data, int bytes)
{
pci_cfgregwrite(bus, slot, func, reg, data, bytes);
}