Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/x86/mptable_pci.c
Context not available. | |||||
#ifdef NEW_PCIB | #ifdef NEW_PCIB | ||||
static int | static int | ||||
mptable_is_isa_range(u_long start, u_long end) | mptable_is_isa_range(rman_res_t start, rman_res_t end) | ||||
{ | { | ||||
if (end >= 0x10000) | if (end >= 0x10000) | ||||
Context not available. | |||||
} | } | ||||
static int | static int | ||||
mptable_is_vga_range(u_long start, u_long end) | mptable_is_vga_range(rman_res_t start, rman_res_t end) | ||||
{ | { | ||||
if (end >= 0x10000) | if (end >= 0x10000) | ||||
return (0); | return (0); | ||||
Context not available. | |||||
static struct resource * | static struct resource * | ||||
mptable_hostb_alloc_resource(device_t dev, device_t child, int type, int *rid, | mptable_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) | ||||
{ | { | ||||
struct mptable_hostb_softc *sc; | struct mptable_hostb_softc *sc; | ||||
Context not available. | |||||
static int | static int | ||||
mptable_hostb_adjust_resource(device_t dev, device_t child, int type, | mptable_hostb_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) | ||||
{ | { | ||||
struct mptable_hostb_softc *sc; | struct mptable_hostb_softc *sc; | ||||
Context not available. |