Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/lib/netif Make this compile again (updat...



details:   https://anonhg.NetBSD.org/src/rev/3d566bf8f562
branches:  trunk
changeset: 522330:3d566bf8f562
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Feb 17 19:49:58 2002 +0000

description:
Make this compile again (update for changes to register bit names).

diffstat:

 sys/arch/i386/stand/lib/netif/3c90xb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cf870584d293 -r 3d566bf8f562 sys/arch/i386/stand/lib/netif/3c90xb.c
--- a/sys/arch/i386/stand/lib/netif/3c90xb.c    Sun Feb 17 19:47:41 2002 +0000
+++ b/sys/arch/i386/stand/lib/netif/3c90xb.c    Sun Feb 17 19:49:58 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: 3c90xb.c,v 1.6 2001/07/07 22:57:58 perry Exp $ */
+/* $NetBSD: 3c90xb.c,v 1.7 2002/02/17 19:49:58 thorpej Exp $ */
 
 /*
  * Copyright (c) 1999
@@ -118,7 +118,7 @@
 #endif
 
 #define ex_waitcmd() \
-       while (CSR_READ_2(ELINK_STATUS) & S_COMMAND_IN_PROGRESS);
+       while (CSR_READ_2(ELINK_STATUS) & COMMAND_IN_PROGRESS);
 
 void ex_reset __P((void));
 u_int16_t ex_read_eeprom __P((int));
@@ -388,7 +388,7 @@
        CSR_WRITE_2(ELINK_COMMAND, RX_DISABLE);
        CSR_WRITE_2(ELINK_COMMAND, TX_DISABLE);
         CSR_WRITE_2(ELINK_COMMAND, STOP_TRANSCEIVER);
-       CSR_WRITE_2(ELINK_COMMAND, C_INTR_LATCH);
+       CSR_WRITE_2(ELINK_COMMAND, INTR_LATCH);
 }
 
 int



Home | Main Index | Thread Index | Old Index