diff options
author | piso <piso@FreeBSD.org> | 2007-03-06 11:36:33 +0000 |
---|---|---|
committer | piso <piso@FreeBSD.org> | 2007-03-06 11:36:33 +0000 |
commit | 3770ad6ae9c91c171139cd91f5c785a25e0ca58f (patch) | |
tree | dc0e84524bb755eb240e7aa8b561b21f33e62a1f /sys/dev/ppc/ppc.c | |
parent | 7cd7fa193b49943a701c11e158d53a50f76b6205 (diff) | |
download | FreeBSD-src-3770ad6ae9c91c171139cd91f5c785a25e0ca58f.zip FreeBSD-src-3770ad6ae9c91c171139cd91f5c785a25e0ca58f.tar.gz |
o Wrap ppc_setup_intr() at 80.
o Fix a bit the indentation.
Diffstat (limited to 'sys/dev/ppc/ppc.c')
-rw-r--r-- | sys/dev/ppc/ppc.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/dev/ppc/ppc.c b/sys/dev/ppc/ppc.c index 53e3014..b8be53b 100644 --- a/sys/dev/ppc/ppc.c +++ b/sys/dev/ppc/ppc.c @@ -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)); } /* |