Skip to content

Commit

Permalink
[PATCH] 8390 Tx fix for non i386 machines
Browse files Browse the repository at this point in the history
While this is true, E8390_CMD is zero on i386, and thus there should be no
effect for these machines.  Machines like Mac, Amiga etc. which use Alan's
clever register mapping may have a non-zero E8390_CMD and result in bogus
"transmitter busy" type messages from this bug.

Fixes BUG# 3991.
  • Loading branch information
Paul Gortmaker authored and Jeff Garzik committed Sep 23, 2005
1 parent 3fd07d3 commit 9389d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/8390.c
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ static void NS8390_trigger_send(struct net_device *dev, unsigned int length,

outb_p(E8390_NODMA+E8390_PAGE0, e8390_base+E8390_CMD);

if (inb_p(e8390_base) & E8390_TRANS)
if (inb_p(e8390_base + E8390_CMD) & E8390_TRANS)
{
printk(KERN_WARNING "%s: trigger_send() called with the transmitter busy.\n",
dev->name);
Expand Down

0 comments on commit 9389d79

Please sign in to comment.