Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/pci/hostb_pci.c
Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Lines | |||||
pci_hostb_write_ivar(device_t dev, device_t child, int which, uintptr_t value) | pci_hostb_write_ivar(device_t dev, device_t child, int which, uintptr_t value) | ||||
{ | { | ||||
return (EINVAL); | return (EINVAL); | ||||
} | } | ||||
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) | ||||
{ | { | ||||
return (bus_alloc_resource(dev, type, rid, start, end, count, flags)); | return (bus_alloc_resource(dev, type, rid, start, end, count, flags)); | ||||
} | } | ||||
static int | static int | ||||
pci_hostb_release_resource(device_t dev, device_t child, int type, int rid, | pci_hostb_release_resource(device_t dev, device_t child, int type, int rid, | ||||
struct resource *r) | struct resource *r) | ||||
▲ Show 20 Lines • Show All 154 Lines • Show Last 20 Lines |