diff options
author | Nicolas Pitre <nico@cam.org> | 2005-04-12 16:21:11 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-05-27 22:21:16 -0400 |
commit | 8de901150f3c58b019b2a3ce497d23ab662dbb8b (patch) | |
tree | 87f9bd69ab2b40cd51041a13022bfaa5755d516b /drivers/net/smc91x.h | |
parent | eb1d6988130d5f2716ba1d53197caab0fdc31b94 (diff) | |
download | linux-3.10-8de901150f3c58b019b2a3ce497d23ab662dbb8b.tar.gz linux-3.10-8de901150f3c58b019b2a3ce497d23ab662dbb8b.tar.bz2 linux-3.10-8de901150f3c58b019b2a3ce497d23ab662dbb8b.zip |
[PATCH] smc91x: improve diagnostic info
... and remove duplicate status defines.
Signed-off-by: Nicolas Pitre <nico@cam.org>
Index: linux-2.6/drivers/net/smc91x.c
===================================================================
Diffstat (limited to 'drivers/net/smc91x.h')
-rw-r--r-- | drivers/net/smc91x.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/net/smc91x.h b/drivers/net/smc91x.h index c3bf0cf7cf9..946528e6b74 100644 --- a/drivers/net/smc91x.h +++ b/drivers/net/smc91x.h @@ -681,14 +681,6 @@ static const char * chip_ids[ 16 ] = { /* - . Transmit status bits -*/ -#define TS_SUCCESS 0x0001 -#define TS_LOSTCAR 0x0400 -#define TS_LATCOL 0x0200 -#define TS_16COL 0x0010 - -/* . Receive status bits */ #define RS_ALGNERR 0x8000 @@ -845,6 +837,7 @@ static const char * chip_ids[ 16 ] = { #define SMC_GET_FIFO() SMC_inw( ioaddr, FIFO_REG ) #define SMC_GET_PTR() SMC_inw( ioaddr, PTR_REG ) #define SMC_SET_PTR(x) SMC_outw( x, ioaddr, PTR_REG ) +#define SMC_GET_EPH_STATUS() SMC_inw( ioaddr, EPH_STATUS_REG ) #define SMC_GET_RCR() SMC_inw( ioaddr, RCR_REG ) #define SMC_SET_RCR(x) SMC_outw( x, ioaddr, RCR_REG ) #define SMC_GET_REV() SMC_inw( ioaddr, REV_REG ) |