diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-09-05 12:43:37 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2012-09-05 12:43:37 -0500 |
commit | 816b85c6c2e0c166bd8251c22fb8ee7cb956652e (patch) | |
tree | ac0eb7cc6c854a0aa46aa877872ff0a78a6972f4 | |
parent | testsuite/Makefile: Add netshell01 (diff) | |
download | rtems-libbsd-816b85c6c2e0c166bd8251c22fb8ee7cb956652e.tar.bz2 |
pci_bus.c: Fix prototype/body mismatch
-rw-r--r-- | freebsd/i386/pci/pci_bus.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/freebsd/i386/pci/pci_bus.c b/freebsd/i386/pci/pci_bus.c index f9d750f1..ec62ec14 100644 --- a/freebsd/i386/pci/pci_bus.c +++ b/freebsd/i386/pci/pci_bus.c @@ -68,9 +68,15 @@ legacy_pcib_maxslots(device_t dev) /* read configuration space register */ +#ifdef __rtems__ +uint32_t +legacy_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, + u_int reg, int bytes) +#else u_int32_t legacy_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg, int bytes) +#endif { return(pci_cfgregread(bus, slot, func, reg, bytes)); } |