diff options
author | mux <mux@FreeBSD.org> | 2003-04-20 17:36:26 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2003-04-20 17:36:26 +0000 |
commit | 447057245bcc219dd7c658edf4112c6113374874 (patch) | |
tree | a5d7832569ba9c82b37ed9f0f7ff5e8337c31f90 /sys/dev/tx | |
parent | 26bf26a8364945b1a8d703575c9016637f63e73f (diff) | |
download | FreeBSD-src-447057245bcc219dd7c658edf4112c6113374874.zip FreeBSD-src-447057245bcc219dd7c658edf4112c6113374874.tar.gz |
Better comment, more style(9) fixes.
Diffstat (limited to 'sys/dev/tx')
-rw-r--r-- | sys/dev/tx/if_tx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/tx/if_tx.c b/sys/dev/tx/if_tx.c index 959812e..871494b 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; } |