Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/pccbb/pccbb_pci.c
Context not available. | |||||
mtx_destroy(&sc->mtx); | mtx_destroy(&sc->mtx); | ||||
return (ENOMEM); | return (ENOMEM); | ||||
} else { | } else { | ||||
DEVPRINTF((brdev, "Found memory at %08lx\n", | DEVPRINTF((brdev, "Found memory at %jx\n", | ||||
rman_get_start(sc->base_res))); | rman_get_start(sc->base_res))); | ||||
} | } | ||||
Context not available. | |||||
#if defined(NEW_PCIB) && defined(PCI_RES_BUS) | #if defined(NEW_PCIB) && defined(PCI_RES_BUS) | ||||
static struct resource * | static struct resource * | ||||
cbb_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, | cbb_pci_alloc_resource(device_t bus, 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) | ||||
{ | { | ||||
struct cbb_softc *sc; | struct cbb_softc *sc; | ||||
Context not available. | |||||
static int | static int | ||||
cbb_pci_adjust_resource(device_t bus, device_t child, int type, | cbb_pci_adjust_resource(device_t bus, 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) | ||||
{ | { | ||||
struct cbb_softc *sc; | struct cbb_softc *sc; | ||||
Context not available. |