summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2006-11-02 02:01:37 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2006-11-02 02:01:37 +0000
commit48cd14d5a8fe3f79bcc0f34a41e0695ec26b48d3 (patch)
tree94b055d5dc589d7d668a1c511c5dbb9120a91f54
parent5087fe321f07a2e8578d4ad6154873d436450066 (diff)
more whitespace fixes
-rw-r--r--sys/dev/pci/if_vic.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c
index 0c09a1f4347..e886f6021fc 100644
--- a/sys/dev/pci/if_vic.c
+++ b/sys/dev/pci/if_vic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vic.c,v 1.18 2006/11/02 01:54:13 dlg Exp $ */
+/* $OpenBSD: if_vic.c,v 1.19 2006/11/02 02:01:36 dlg Exp $ */
/*
* Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org>
@@ -283,14 +283,14 @@ vic_map_pci(struct vic_softc *sc, struct pci_attach_args *pa)
printf(": unable to map interrupt\n");
goto unmap;
}
-
+
intrstr = pci_intr_string(pa->pa_pc, ih);
sc->sc_ih = pci_intr_establish(pa->pa_pc, ih, IPL_BIO,
vic_intr, sc, DEVNAME(sc));
if (sc->sc_ih == NULL) {
printf(": unable to map interrupt%s%s\n",
- intrstr == NULL ? "" : " at ",
- intrstr == NULL ? "" : intrstr);
+ intrstr == NULL ? "" : " at ",
+ intrstr == NULL ? "" : intrstr);
goto unmap;
}
printf(": %s\n", intrstr);
@@ -490,7 +490,7 @@ freerxbs:
void
vic_link_state(struct vic_softc *sc)
-{
+{
struct ifnet *ifp = &sc->sc_ac.ac_if;
u_int32_t status;
int link_state = LINK_STATE_DOWN;
@@ -883,7 +883,7 @@ vic_watchdog(struct ifnet *ifp)
if (!IFQ_IS_EMPTY(&ifp->if_snd))
vic_start(ifp);
-#endif
+#endif
}
int
@@ -1147,9 +1147,9 @@ vic_read(struct vic_softc *sc, bus_size_t r)
void
vic_write(struct vic_softc *sc, bus_size_t r, u_int32_t v)
{
- bus_space_write_4(sc->sc_iot, sc->sc_ioh, r, v);
- bus_space_barrier(sc->sc_iot, sc->sc_ioh, r, 4,
- BUS_SPACE_BARRIER_WRITE);
+ bus_space_write_4(sc->sc_iot, sc->sc_ioh, r, v);
+ bus_space_barrier(sc->sc_iot, sc->sc_ioh, r, 4,
+ BUS_SPACE_BARRIER_WRITE);
}
u_int32_t