diff options
author | imp <imp@FreeBSD.org> | 2005-06-09 18:46:36 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-06-09 18:46:36 +0000 |
commit | 45eec321507d3992b03d03933268aefd7ac48dfa (patch) | |
tree | 70de02e276cb1f2b35c1463df5a3b093b97a5f31 | |
parent | 5269cbb9cd6e60ed5e489aa9b931af95285e8154 (diff) | |
download | FreeBSD-src-45eec321507d3992b03d03933268aefd7ac48dfa.zip FreeBSD-src-45eec321507d3992b03d03933268aefd7ac48dfa.tar.gz |
Use tabs instead of spaces to indent, per style(9)
Noticed by: njl
-rw-r--r-- | sys/dev/ed/if_ed_pci.c | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/sys/dev/ed/if_ed_pci.c b/sys/dev/ed/if_ed_pci.c index baa1374..398d340 100644 --- a/sys/dev/ed/if_ed_pci.c +++ b/sys/dev/ed/if_ed_pci.c @@ -78,33 +78,32 @@ ed_pci_probe(device_t dev) static int ed_pci_attach(device_t dev) { - struct ed_softc *sc = device_get_softc(dev); - int flags = 0; - int error; - - error = ed_probe_Novell(dev, PCIR_BAR(0), flags); - if (error) { - ed_release_resources(dev); - return (error); + struct ed_softc *sc = device_get_softc(dev); + int flags = 0; + int error; + + error = ed_probe_Novell(dev, PCIR_BAR(0), flags); + if (error) { + ed_release_resources(dev); + return (error); } ed_Novell_read_mac(sc); - error = ed_alloc_irq(dev, 0, RF_SHAREABLE); - if (error) { - ed_release_resources(dev); - return (error); - } - - error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET, + error = ed_alloc_irq(dev, 0, RF_SHAREABLE); + if (error) { + ed_release_resources(dev); + return (error); + } + error = bus_setup_intr(dev, sc->irq_res, INTR_TYPE_NET, edintr, sc, &sc->irq_handle); - if (error) { - ed_release_resources(dev); - return (error); - } + if (error) { + ed_release_resources(dev); + return (error); + } error = ed_attach(dev); - if (error) - ed_release_resources(dev); + if (error) + ed_release_resources(dev); return (error); } |