mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
Make compile again using proper protoypes for
pcib_read/write_config DEVMETHOD.
This commit is contained in:
parent
23678e67c0
commit
ed34ec5ed8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194343
@ -287,7 +287,7 @@ idtpci_maxslots(device_t dev)
|
||||
}
|
||||
|
||||
static uint32_t
|
||||
idtpci_read_config(device_t dev, int bus, int slot, int func, int reg,
|
||||
idtpci_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg,
|
||||
int bytes)
|
||||
{
|
||||
uint32_t data;
|
||||
@ -343,7 +343,7 @@ idtpci_read_config(device_t dev, int bus, int slot, int func, int reg,
|
||||
}
|
||||
|
||||
static void
|
||||
idtpci_write_config(device_t dev, int bus, int slot, int func, int reg,
|
||||
idtpci_write_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg,
|
||||
uint32_t data, int bytes)
|
||||
{
|
||||
bus_addr_t addr;
|
||||
|
Loading…
Reference in New Issue
Block a user