diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2001-09-10 02:36:18 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2001-09-10 02:36:18 +0000 |
commit | a744995d4904b67a6fbc60662930a466ce118f37 (patch) | |
tree | 27e1f2a0935825e72e96569ad8d05b461885400d /sys/dev/an/if_an_isa.c | |
parent | 51331cf32a54dd6f69b897ebd779b87084d0418c (diff) | |
download | src-a744995d4904b67a6fbc60662930a466ce118f37.tar.gz src-a744995d4904b67a6fbc60662930a466ce118f37.zip |
Lots of style(9) related white space fixes. Mostly missing spaces
after if, for, while, switch, '{', and '}' plus a bunch of bogus
whitespace at the end of lines.
Notes
Notes:
svn path=/head/; revision=83270
Diffstat (limited to 'sys/dev/an/if_an_isa.c')
-rw-r--r-- | sys/dev/an/if_an_isa.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/an/if_an_isa.c b/sys/dev/an/if_an_isa.c index 8ece54de82dc..54489bcaf500 100644 --- a/sys/dev/an/if_an_isa.c +++ b/sys/dev/an/if_an_isa.c @@ -85,7 +85,8 @@ static int an_probe_isa __P((device_t)); static int an_attach_isa __P((device_t)); static int an_detach_isa __P((device_t)); -static int an_probe_isa(dev) +static int +an_probe_isa(dev) device_t dev; { int error = 0; @@ -103,7 +104,7 @@ static int an_probe_isa(dev) an_release_resources(dev); if (!error) device_set_desc(dev, "Aironet ISA4500/ISA4800"); - return (error); + return (error); } static int @@ -113,10 +114,10 @@ an_attach_isa(dev) struct an_softc *sc = device_get_softc(dev); int flags = device_get_flags(dev); int error; - + an_alloc_port(dev, sc->port_rid, 1); an_alloc_irq(dev, sc->irq_rid, 0); - + error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET, an_intr, sc, &sc->irq_handle); if (error) { @@ -129,7 +130,7 @@ an_attach_isa(dev) sc->an_dev = dev; return an_attach(sc, device_get_unit(dev), flags); -} +} static int an_detach_isa(device_t dev) |