mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
o Wrap ppc_setup_intr() at 80.
o Fix a bit the indentation.
This commit is contained in:
parent
15eab674d8
commit
72565ac3e8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167264
@ -1962,7 +1962,7 @@ ppc_read_ivar(device_t bus, device_t dev, int index, uintptr_t *val)
|
||||
*/
|
||||
int
|
||||
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;
|
||||
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;
|
||||
}
|
||||
|
||||
/* 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,
|
||||
r, flags, filt, ihand, arg, cookiep));
|
||||
r, flags, filt, ihand, arg, cookiep));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user