Companion for r188301: fix the prototypes.

This commit is contained in:
imp 2009-02-08 07:03:34 +00:00
parent 932f4517f0
commit f765a01b09

View File

@ -43,12 +43,12 @@ LEGACY_ACCESSOR(pcibus, PCIBUS, uint32_t)
#undef LEGACY_ACCESSOR
int legacy_pcib_maxslots(device_t dev);
uint32_t legacy_pcib_read_config(device_t dev, int bus, int slot, int func,
int reg, int bytes);
uint32_t legacy_pcib_read_config(device_t dev, u_int bus, u_int slot,
u_int func, u_int reg, int bytes);
int legacy_pcib_read_ivar(device_t dev, device_t child, int which,
uintptr_t *result);
void legacy_pcib_write_config(device_t dev, int bus, int slot, int func,
int reg, u_int32_t data, int bytes);
void legacy_pcib_write_config(device_t dev, u_int bus, u_int slot,
u_int func, u_int reg, uint32_t data, int bytes);
int legacy_pcib_write_ivar(device_t dev, device_t child, int which,
uintptr_t value);
struct resource *legacy_pcib_alloc_resource(device_t dev, device_t child,