diff options
-rw-r--r-- | drivers/net/tokenring/ibmtr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/tokenring/ibmtr.c b/drivers/net/tokenring/ibmtr.c index 51409698fe25..65e21eb7e685 100644 --- a/drivers/net/tokenring/ibmtr.c +++ b/drivers/net/tokenring/ibmtr.c | |||
@@ -116,9 +116,6 @@ in the event that chatty debug messages are desired - jjs 12/30/98 */ | |||
116 | #define ENABLE_PAGING 1 | 116 | #define ENABLE_PAGING 1 |
117 | #endif | 117 | #endif |
118 | 118 | ||
119 | #define FALSE 0 | ||
120 | #define TRUE (!FALSE) | ||
121 | |||
122 | /* changes the output format of driver initialization */ | 119 | /* changes the output format of driver initialization */ |
123 | #define TR_VERBOSE 0 | 120 | #define TR_VERBOSE 0 |
124 | 121 | ||
@@ -1542,7 +1539,7 @@ static void initial_tok_int(struct net_device *dev) | |||
1542 | ti->ring_speed = init_status & 0x01 ? 16 : 4; | 1539 | ti->ring_speed = init_status & 0x01 ? 16 : 4; |
1543 | DPRINTK("Initial interrupt : %d Mbps, shared RAM base %08x.\n", | 1540 | DPRINTK("Initial interrupt : %d Mbps, shared RAM base %08x.\n", |
1544 | ti->ring_speed, (unsigned int)dev->mem_start); | 1541 | ti->ring_speed, (unsigned int)dev->mem_start); |
1545 | ti->auto_speedsave=readb(ti->init_srb+INIT_STATUS_2_OFST)&4?TRUE:FALSE; | 1542 | ti->auto_speedsave = (readb(ti->init_srb+INIT_STATUS_2_OFST) & 4) != 0; |
1546 | 1543 | ||
1547 | if (ti->open_mode == MANUAL) wake_up(&ti->wait_for_reset); | 1544 | if (ti->open_mode == MANUAL) wake_up(&ti->wait_for_reset); |
1548 | else tok_open_adapter((unsigned long)dev); | 1545 | else tok_open_adapter((unsigned long)dev); |