Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/arm64/nexus.c
Show First 20 Lines • Show All 269 Lines • ▼ Show 20 Lines | nexus_alloc_resource(device_t bus, device_t child, int type, int *rid, | ||||
return (rv); | return (rv); | ||||
} | } | ||||
static int | static int | ||||
nexus_config_intr(device_t dev, int irq, enum intr_trigger trig, | nexus_config_intr(device_t dev, int irq, enum intr_trigger trig, | ||||
enum intr_polarity pol) | enum intr_polarity pol) | ||||
{ | { | ||||
/* TODO: This is wrong, it's needed for ACPI */ | /* | ||||
device_printf(dev, "bus_config_intr is obsolete and not supported!\n"); | * On arm64 (due to INTRNG), ACPI interrupt configuration is | ||||
return (EOPNOTSUPP); | * done in nexus_acpi_map_intr(). | ||||
*/ | |||||
return (0); | |||||
} | } | ||||
static int | static int | ||||
nexus_setup_intr(device_t dev, device_t child, struct resource *res, int flags, | nexus_setup_intr(device_t dev, device_t child, struct resource *res, int flags, | ||||
driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) | driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep) | ||||
{ | { | ||||
int error; | int error; | ||||
▲ Show 20 Lines • Show All 244 Lines • Show Last 20 Lines |