Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102883
b: refs/heads/master
c: 3a221d1
h: refs/heads/master
i:
  102881: 40ac5f2
  102879: 40c9101
v: v3
  • Loading branch information
Adrian Bunk authored and Jeff Garzik committed Jun 12, 2008
1 parent 89dec03 commit eb5189f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 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: 909fa882a83a5c73868ba0630654d0018d35252a
refs/heads/master: 3a221d17a7a031ad04242f6bc86b7dff307534f8
4 changes: 0 additions & 4 deletions trunk/drivers/net/a2065.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,16 +475,12 @@ static irqreturn_t lance_interrupt (int irq, void *dev_id)
return IRQ_HANDLED;
}

struct net_device *last_dev;

static int lance_open (struct net_device *dev)
{
struct lance_private *lp = netdev_priv(dev);
volatile struct lance_regs *ll = lp->ll;
int ret;

last_dev = dev;

/* Stop the Lance */
ll->rap = LE_CSR0;
ll->rdp = LE_C0_STOP;
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/net/declance.c
Original file line number Diff line number Diff line change
Expand Up @@ -773,17 +773,13 @@ static irqreturn_t lance_interrupt(int irq, void *dev_id)
return IRQ_HANDLED;
}

struct net_device *last_dev = 0;

static int lance_open(struct net_device *dev)
{
volatile u16 *ib = (volatile u16 *)dev->mem_start;
struct lance_private *lp = netdev_priv(dev);
volatile struct lance_regs *ll = lp->ll;
int status = 0;

last_dev = dev;

/* Stop the Lance */
writereg(&ll->rap, LE_CSR0);
writereg(&ll->rdp, LE_C0_STOP);
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/net/sunlance.c
Original file line number Diff line number Diff line change
Expand Up @@ -915,15 +915,11 @@ static void build_fake_packet(struct lance_private *lp)
lp->tx_new = TX_NEXT(entry);
}

struct net_device *last_dev;

static int lance_open(struct net_device *dev)
{
struct lance_private *lp = netdev_priv(dev);
int status = 0;

last_dev = dev;

STOP_LANCE(lp);

if (request_irq(dev->irq, &lance_interrupt, IRQF_SHARED,
Expand Down

0 comments on commit eb5189f

Please sign in to comment.