diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-01-16 21:03:57 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-01-16 21:03:57 +0000 |
commit | 25cd623564516d1e65cbbc033d5cb7b822a7fb22 (patch) | |
tree | e4291caedc1c1c78f810f6d21ce44362eae89064 /sys/pci/if_rl.c | |
parent | ad42c9893343769d14791a67d9cca6cf72269248 (diff) | |
download | FreeBSD-src-25cd623564516d1e65cbbc033d5cb7b822a7fb22.zip FreeBSD-src-25cd623564516d1e65cbbc033d5cb7b822a7fb22.tar.gz |
Small cosmetic tweak: in rl_rxeof(), use the constant RX_CMD_EMPTY_RXBUF
instead of the magic number 1.
Diffstat (limited to 'sys/pci/if_rl.c')
-rw-r--r-- | sys/pci/if_rl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index aeabbd0..09a4a99 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.c @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_rl.c,v 1.7 1998/12/14 06:32:55 dillon Exp $ + * $Id: if_rl.c,v 1.20 1999/01/16 20:46:24 wpaul Exp $ */ /* @@ -127,7 +127,7 @@ #ifndef lint static const char rcsid[] = - "$Id: if_rl.c,v 1.7 1998/12/14 06:32:55 dillon Exp $"; + "$Id: if_rl.c,v 1.20 1999/01/16 20:46:24 wpaul Exp $"; #endif /* @@ -1292,7 +1292,7 @@ static void rl_rxeof(sc) else max_bytes = limit - cur_rx; - while((CSR_READ_1(sc, RL_COMMAND) & 1) == 0) { + while((CSR_READ_1(sc, RL_COMMAND) & RL_CMD_EMPTY_RXBUF) == 0) { rxbufpos = sc->rl_cdata.rl_rx_buf + cur_rx; rxstat = *(u_int32_t *)rxbufpos; |