freebsd11_network: Don't panic on bus_describe_intr.
This commit is contained in:
@@ -434,8 +434,11 @@ bus_bind_intr(device_t dev, struct resource *res, int cpu)
|
|||||||
int bus_describe_intr(device_t dev, struct resource *irq, void *cookie,
|
int bus_describe_intr(device_t dev, struct resource *irq, void *cookie,
|
||||||
const char* fmt, ...)
|
const char* fmt, ...)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED();
|
if (dev->parent == NULL)
|
||||||
return B_ERROR;
|
return EINVAL;
|
||||||
|
|
||||||
|
// we don't really support names for interrupts
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user