o Wrap ppc_setup_intr() at 80.
o Fix a bit the indentation.
This commit is contained in:
parent
15eab674d8
commit
72565ac3e8
@ -1962,7 +1962,7 @@ ppc_read_ivar(device_t bus, device_t dev, int index, uintptr_t *val)
|
|||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
ppc_setup_intr(device_t bus, device_t child, struct resource *r, int flags,
|
ppc_setup_intr(device_t bus, device_t child, struct resource *r, int flags,
|
||||||
driver_filter_t *filt, void (*ihand)(void *), void *arg, void **cookiep)
|
driver_filter_t *filt, void (*ihand)(void *), void *arg, void **cookiep)
|
||||||
{
|
{
|
||||||
int error;
|
int error;
|
||||||
struct ppc_data *ppc = DEVTOSOFTC(bus);
|
struct ppc_data *ppc = DEVTOSOFTC(bus);
|
||||||
@ -1982,9 +1982,12 @@ ppc_setup_intr(device_t bus, device_t child, struct resource *r, int flags,
|
|||||||
ppc->ppc_registered = 0;
|
ppc->ppc_registered = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* pass registration to the upper layer, ignore the incoming resource */
|
/*
|
||||||
|
* pass registration to the upper layer, ignore the incoming
|
||||||
|
* resource
|
||||||
|
*/
|
||||||
return (BUS_SETUP_INTR(device_get_parent(bus), child,
|
return (BUS_SETUP_INTR(device_get_parent(bus), child,
|
||||||
r, flags, filt, ihand, arg, cookiep));
|
r, flags, filt, ihand, arg, cookiep));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user