summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-07-13 20:25:47 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-07-13 20:25:47 +0000
commitaaea3ff90a20f80dbe60cd7d0e436f6b87889be0 (patch)
treeffea6012af366dc3297a1ec38331525b719b804d /sys/dev
parent4f094a3535eda1fc15555ae8ea0db8b74ac437ed (diff)
remove white space and fix formatting for readability.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_em.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/pci/if_em.c b/sys/dev/pci/if_em.c
index d1909c6d550..c0209abea19 100644
--- a/sys/dev/pci/if_em.c
+++ b/sys/dev/pci/if_em.c
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_em.c,v 1.63 2005/07/07 21:28:10 brad Exp $ */
+/* $OpenBSD: if_em.c,v 1.64 2005/07/13 20:25:46 brad Exp $ */
/* $FreeBSD: if_em.c,v 1.46 2004/09/29 18:28:28 mlaier Exp $ */
#include "bpfilter.h"
@@ -1894,7 +1894,6 @@ em_initialize_transmit_unit(struct em_softc *sc)
E1000_WRITE_REG(&sc->hw, TDH, 0);
E1000_WRITE_REG(&sc->hw, TDT, 0);
-
HW_DEBUGOUT2("Base = %x, Length = %x\n",
E1000_READ_REG(&sc->hw, TDBAL),
E1000_READ_REG(&sc->hw, TDLEN));
@@ -1912,8 +1911,8 @@ em_initialize_transmit_unit(struct em_softc *sc)
reg_tipg = DEFAULT_82543_TIPG_IPGT_FIBER;
else
reg_tipg = DEFAULT_82543_TIPG_IPGT_COPPER;
- reg_tipg |= DEFAULT_82543_TIPG_IPGR1 << E1000_TIPG_IPGR1_SHIFT;
- reg_tipg |= DEFAULT_82543_TIPG_IPGR2 << E1000_TIPG_IPGR2_SHIFT;
+ reg_tipg |= DEFAULT_82543_TIPG_IPGR1 << E1000_TIPG_IPGR1_SHIFT;
+ reg_tipg |= DEFAULT_82543_TIPG_IPGR2 << E1000_TIPG_IPGR2_SHIFT;
}
E1000_WRITE_REG(&sc->hw, TIPG, reg_tipg);