strict kobj signatures: fix legacy i386 pcib_write_config impl

Reviewed by:	imp, current@
Approved by:	jhb (mentor)
This commit is contained in:
Andriy Gapon 2009-06-11 17:06:31 +00:00
parent 446188d1e6
commit ebb6aed490
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194018
2 changed files with 8 additions and 8 deletions

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, u_int32_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,

View File

@ -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);
}