Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175128
b: refs/heads/master
c: 7f2bf94
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Dec 11, 2009
1 parent 43d4384 commit b379cda
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 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: 4e02b4b57df1ac5e040e9b70391dfcc2929c9958
refs/heads/master: 7f2bf9488db14c67778cee6b5204ecf3629e1ec2
3 changes: 1 addition & 2 deletions trunk/drivers/staging/et131x/et1310_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,7 @@ int et131x_send_packets(struct sk_buff *skb, struct net_device *netdev)
* if( MP_SHOULD_FAIL_SEND( etdev ) ||
* etdev->DriverNoPhyAccess )
*/
if (MP_SHOULD_FAIL_SEND(etdev) || etdev->DriverNoPhyAccess
|| !netif_carrier_ok(netdev)) {
if (MP_SHOULD_FAIL_SEND(etdev) || !netif_carrier_ok(netdev)) {
dev_kfree_skb_any(skb);
skb = NULL;

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/et131x/et131x_adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ struct et131x_adapter {
NETIF_STATUS_MEDIA_DISCONNECT,
NETIF_STATUS_MAX
} MediaState;
u8 DriverNoPhyAccess;

/* Minimize init-time */
struct timer_list ErrorTimer;
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/staging/et131x/et131x_isr.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ void et131x_enable_interrupts(struct et131x_adapter *adapter)
else
mask = INT_MASK_ENABLE_NO_FLOW;

if (adapter->DriverNoPhyAccess)
mask |= ET_INTR_PHY;

adapter->CachedMaskValue = mask;
writel(mask, &adapter->regs->global.int_mask);
}
Expand Down

0 comments on commit b379cda

Please sign in to comment.