Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 66522
b: refs/heads/master
c: 2d6d749
h: refs/heads/master
v: v3
  • Loading branch information
Richard Knutsson authored and David S. Miller committed Oct 10, 2007
1 parent e36547b commit 7e9419c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c821d55c67213e96e6e0feb7418746a25fea6e4d
refs/heads/master: 2d6d749d124d93bd03982467f515b1b88f4c1e44
5 changes: 1 addition & 4 deletions trunk/drivers/net/tokenring/ibmtr.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,6 @@ in the event that chatty debug messages are desired - jjs 12/30/98 */
#define ENABLE_PAGING 1
#endif

#define FALSE 0
#define TRUE (!FALSE)

/* changes the output format of driver initialization */
#define TR_VERBOSE 0

Expand Down Expand Up @@ -1542,7 +1539,7 @@ static void initial_tok_int(struct net_device *dev)
ti->ring_speed = init_status & 0x01 ? 16 : 4;
DPRINTK("Initial interrupt : %d Mbps, shared RAM base %08x.\n",
ti->ring_speed, (unsigned int)dev->mem_start);
ti->auto_speedsave=readb(ti->init_srb+INIT_STATUS_2_OFST)&4?TRUE:FALSE;
ti->auto_speedsave = (readb(ti->init_srb+INIT_STATUS_2_OFST) & 4) != 0;

if (ti->open_mode == MANUAL) wake_up(&ti->wait_for_reset);
else tok_open_adapter((unsigned long)dev);
Expand Down

0 comments on commit 7e9419c

Please sign in to comment.