summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2011-05-27 07:45:45 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2011-05-27 07:45:45 +0000
commita60a481fa6dd6b5c2198bac869866812fce55059 (patch)
tree609c7709f46b1260883975e0e85b4cbb5a7149c8 /sys/dev/pci
parenta5de76fb4dae1490af8fbff6cb490030006373ff (diff)
Whitespace nits; from Brad
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_alc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_alc.c b/sys/dev/pci/if_alc.c
index e02a3a56dfe..7ec19fd9962 100644
--- a/sys/dev/pci/if_alc.c
+++ b/sys/dev/pci/if_alc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_alc.c,v 1.13 2011/05/25 02:22:20 kevlo Exp $ */
+/* $OpenBSD: if_alc.c,v 1.14 2011/05/27 07:45:44 kevlo Exp $ */
/*-
* Copyright (c) 2009, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
@@ -1443,7 +1443,7 @@ alc_watchdog(struct ifnet *ifp)
alc_init(ifp);
if (!IFQ_IS_EMPTY(&ifp->if_snd))
- alc_start(ifp);
+ alc_start(ifp);
}
int
@@ -2160,8 +2160,8 @@ alc_init(struct ifnet *ifp)
CSR_WRITE_4(sc, ALC_SMB_BASE_ADDR_LO, ALC_ADDR_LO(paddr));
if (sc->sc_product == PCI_PRODUCT_ATTANSIC_L2C_1) {
- /* Reconfigure SRAM - Vendor magic. */
- CSR_WRITE_4(sc, ALC_SRAM_RX_FIFO_LEN, 0x000002A0);
+ /* Reconfigure SRAM - Vendor magic. */
+ CSR_WRITE_4(sc, ALC_SRAM_RX_FIFO_LEN, 0x000002A0);
CSR_WRITE_4(sc, ALC_SRAM_TX_FIFO_LEN, 0x00000100);
CSR_WRITE_4(sc, ALC_SRAM_RX_FIFO_ADDR, 0x029F0000);
CSR_WRITE_4(sc, ALC_SRAM_RD0_ADDR, 0x02BF02A0);