Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/xscale/ixp425/avila_ata.c
Context not available. | |||||
static struct resource * | static struct resource * | ||||
ata_avila_alloc_resource(device_t dev, device_t child, int type, int *rid, | ata_avila_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 ata_avila_softc *sc = device_get_softc(dev); | struct ata_avila_softc *sc = device_get_softc(dev); | ||||
KASSERT(type == SYS_RES_IRQ && *rid == ATA_IRQ_RID, | KASSERT(type == SYS_RES_IRQ && *rid == ATA_IRQ_RID, | ||||
("type %u rid %u start %lu end %lu count %lu flags %u", | ("type %u rid %u start %ju end %ju count %ju flags %u", | ||||
type, *rid, start, end, count, flags)); | type, *rid, start, end, count, flags)); | ||||
/* doesn't matter what we return so reuse the real thing */ | /* doesn't matter what we return so reuse the real thing */ | ||||
Context not available. |