Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58356
b: refs/heads/master
c: 2501f84
h: refs/heads/master
v: v3
  • Loading branch information
Richard Knutsson authored and Jeff Garzik committed Jul 9, 2007
1 parent 03f3049 commit 5b8110d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 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: 4117b5be4b877cec7c34058f0c239fcf78274e3d
refs/heads/master: 2501f843b051621c5a6df7a092a64dfd78b201f7
11 changes: 3 additions & 8 deletions trunk/drivers/net/8139cp.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,6 @@ MODULE_PARM_DESC (multicast_filter_limit, "8139cp: maximum number of filtered mu

#define PFX DRV_NAME ": "

#ifndef TRUE
#define FALSE 0
#define TRUE (!FALSE)
#endif

#define CP_DEF_MSG_ENABLE (NETIF_MSG_DRV | \
NETIF_MSG_PROBE | \
NETIF_MSG_LINK)
Expand Down Expand Up @@ -661,7 +656,7 @@ static irqreturn_t cp_interrupt (int irq, void *dev_instance)
if (status & (TxOK | TxErr | TxEmpty | SWInt))
cp_tx(cp);
if (status & LinkChg)
mii_check_media(&cp->mii_if, netif_msg_link(cp), FALSE);
mii_check_media(&cp->mii_if, netif_msg_link(cp), false);

spin_unlock(&cp->lock);

Expand Down Expand Up @@ -1188,7 +1183,7 @@ static int cp_open (struct net_device *dev)
goto err_out_hw;

netif_carrier_off(dev);
mii_check_media(&cp->mii_if, netif_msg_link(cp), TRUE);
mii_check_media(&cp->mii_if, netif_msg_link(cp), true);
netif_start_queue(dev);

return 0;
Expand Down Expand Up @@ -2050,7 +2045,7 @@ static int cp_resume (struct pci_dev *pdev)

spin_lock_irqsave (&cp->lock, flags);

mii_check_media(&cp->mii_if, netif_msg_link(cp), FALSE);
mii_check_media(&cp->mii_if, netif_msg_link(cp), false);

spin_unlock_irqrestore (&cp->lock, flags);

Expand Down

0 comments on commit 5b8110d

Please sign in to comment.