diff options
| author | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-01-27 02:23:54 +0000 |
|---|---|---|
| committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-01-27 02:23:54 +0000 |
| commit | 2dd1bdf1834c53d048d3d9a7079b45afea5cecd7 (patch) | |
| tree | 5ac500b634909ff3fe2556201aef7e16d85316d2 /sys/x86/pci | |
| parent | 1cdc5f0b8794e82f0cbf9dca07967ca2559ba331 (diff) | |
Notes
Diffstat (limited to 'sys/x86/pci')
| -rw-r--r-- | sys/x86/pci/pci_bus.c | 8 | ||||
| -rw-r--r-- | sys/x86/pci/qpi.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/x86/pci/pci_bus.c b/sys/x86/pci/pci_bus.c index 821265dd12e6..5f0df39d59ac 100644 --- a/sys/x86/pci/pci_bus.c +++ b/sys/x86/pci/pci_bus.c @@ -578,8 +578,8 @@ static unsigned long host_mem_start = 0x80000000; SYSCTL_ULONG(_hw_pci, OID_AUTO, host_mem_start, CTLFLAG_RDTUN, &host_mem_start, 0, "Limit the host bridge memory to being above this address."); -u_long -hostb_alloc_start(int type, u_long start, u_long end, u_long count) +rman_res_t +hostb_alloc_start(int type, rman_res_t start, rman_res_t end, rman_res_t count) { if (start + count - 1 != end) { @@ -593,7 +593,7 @@ hostb_alloc_start(int type, u_long start, u_long end, u_long count) struct resource * legacy_pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, - u_long start, u_long end, u_long count, u_int flags) + rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) { #if defined(NEW_PCIB) && defined(PCI_RES_BUS) @@ -609,7 +609,7 @@ legacy_pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, #if defined(NEW_PCIB) && defined(PCI_RES_BUS) int legacy_pcib_adjust_resource(device_t dev, device_t child, int type, - struct resource *r, u_long start, u_long end) + struct resource *r, rman_res_t start, rman_res_t end) { if (type == PCI_RES_BUS) diff --git a/sys/x86/pci/qpi.c b/sys/x86/pci/qpi.c index 2650986ea5a7..60ad028fd09e 100644 --- a/sys/x86/pci/qpi.c +++ b/sys/x86/pci/qpi.c @@ -241,7 +241,7 @@ qpi_pcib_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) #if defined(NEW_PCIB) && defined(PCI_RES_BUS) static struct resource * qpi_pcib_alloc_resource(device_t dev, device_t child, int type, int *rid, - u_long start, u_long end, u_long count, u_int flags) + rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) { if (type == PCI_RES_BUS) |
