diff options
author | avg <avg@FreeBSD.org> | 2009-06-11 17:06:31 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2009-06-11 17:06:31 +0000 |
commit | 2511f4d43bb2d563d9ab1f948d280ff640e8c644 (patch) | |
tree | b4b85fe26c7d6d64e1b631eca40084434809f7a7 /sys/i386/pci | |
parent | 33c80de118e2575a0feda8b5d5560e1e01d06a84 (diff) | |
download | FreeBSD-src-2511f4d43bb2d563d9ab1f948d280ff640e8c644.zip FreeBSD-src-2511f4d43bb2d563d9ab1f948d280ff640e8c644.tar.gz |
strict kobj signatures: fix legacy i386 pcib_write_config impl
Reviewed by: imp, current@
Approved by: jhb (mentor)
Diffstat (limited to 'sys/i386/pci')
-rw-r--r-- | sys/i386/pci/pci_bus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c index e0c8fbd..0a82bff 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); } |