aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/spider_net.c
diff options
context:
space:
mode:
authorLinas Vepstas <linas@austin.ibm.com>2007-06-14 19:12:23 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-08 22:16:45 -0400
commite65bbf13dd6ca8c0a4fc35028742c8c85f39c02b (patch)
treed285397fc72ff1c3775eb129c1fa2ec3a630a765 /drivers/net/spider_net.c
parent57a9f236ebe76be6fe1c85b5f7b3cea842e44177 (diff)
spidernet: Replace literal with const
Replace literal with const; add bit definitions. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/spider_net.c')
-rw-r--r--drivers/net/spider_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c
index 9d3ae35767b4..f5abb5279d4d 100644
--- a/drivers/net/spider_net.c
+++ b/drivers/net/spider_net.c
@@ -1235,7 +1235,7 @@ spider_net_decode_one_descr(struct spider_net_card *card)
1235 goto bad_desc; 1235 goto bad_desc;
1236 } 1236 }
1237 1237
1238 if (hwdescr->dmac_cmd_status & 0xfcf4) { 1238 if (hwdescr->dmac_cmd_status & SPIDER_NET_DESCR_BAD_STATUS) {
1239 dev_err(&card->netdev->dev, "bad status, cmd_status=x%08x\n", 1239 dev_err(&card->netdev->dev, "bad status, cmd_status=x%08x\n",
1240 hwdescr->dmac_cmd_status); 1240 hwdescr->dmac_cmd_status);
1241 pr_err("buf_addr=x%08x\n", hw_buf_addr); 1241 pr_err("buf_addr=x%08x\n", hw_buf_addr);