Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/pci/hostb_pci.c
Context not available. | |||||
static struct resource * | static struct resource * | ||||
pci_hostb_alloc_resource(device_t dev, device_t child, int type, int *rid, | pci_hostb_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) | ||||
andrew: Why `__rman_res_t`? | |||||
jhibbitsAuthorUnsubmitted Not Done Inline ActionsBecause I needed something in sys/types.h, I didn't want to include sys/rman.h everywhere sys/bus.h was used. All instances of 'rman_res_t' (with or without __) were before 'uintmax_t' (with whatever number of underscores). jhibbits: Because I needed something in sys/types.h, I didn't want to include sys/rman.h everywhere… | |||||
{ | { | ||||
return (bus_alloc_resource(dev, type, rid, start, end, count, flags)); | return (bus_alloc_resource(dev, type, rid, start, end, count, flags)); | ||||
Context not available. |
Why __rman_res_t?