aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/tx
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2003-04-20 17:36:26 +0000
committerMaxime Henrion <mux@FreeBSD.org>2003-04-20 17:36:26 +0000
commitb9403c495e8b24ef33129f0b0f7677ab1ef84539 (patch)
treea5d7832569ba9c82b37ed9f0f7ff5e8337c31f90 /sys/dev/tx
parent6635978f234ad6402b92b0f872afe159c65abae9 (diff)
downloadsrc-b9403c495e8b24ef33129f0b0f7677ab1ef84539.tar.gz
src-b9403c495e8b24ef33129f0b0f7677ab1ef84539.zip
Better comment, more style(9) fixes.
Notes
Notes: svn path=/head/; revision=113753
Diffstat (limited to 'sys/dev/tx')
-rw-r--r--sys/dev/tx/if_tx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/tx/if_tx.c b/sys/dev/tx/if_tx.c
index 959812e8ffc8..871494b07537 100644
--- a/sys/dev/tx/if_tx.c
+++ b/sys/dev/tx/if_tx.c
@@ -1240,8 +1240,8 @@ epic_set_tx_mode(sc)
/*
* Synopsis: Program multicast filter honoring IFF_ALLMULTI and IFF_PROMISC
- * flags. (Note, that setting PROMISC bit in EPIC's RXCON will only touch
- * individual frames, multicast filter must be manually programmed)
+ * flags (note that setting PROMISC bit in EPIC's RXCON will only touch
+ * individual frames, multicast filter must be manually programmed).
*
* Note: EPIC must be in idle state.
*/
@@ -1344,7 +1344,7 @@ epic_stop_activity(sc)
COMMAND_STOP_RX | COMMAND_STOP_RDMA | COMMAND_STOP_TDMA);
/* Wait Rx and Tx DMA to stop (why 1 ms ??? XXX). */
- for (i=0; i<0x1000; i++) {
+ for (i = 0; i < 0x1000; i++) {
status = CSR_READ_4(sc, INTSTAT) &
(INTSTAT_TXIDLE | INTSTAT_RXIDLE);
if (status == (INTSTAT_TXIDLE | INTSTAT_RXIDLE))
@@ -1589,7 +1589,7 @@ epic_write_eepromreg(sc, val)
CSR_WRITE_1(sc, EECTL, val);
- for (i=0; i<0xFF; i++) {
+ for (i = 0; i < 0xFF; i++) {
if ((CSR_READ_1(sc, EECTL) & 0x20) == 0)
break;
}