projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[TG3]: Power down 5704 serdes transceiver when shutting down.
[powerpc.git]
/
drivers
/
net
/
7990.c
diff --git
a/drivers/net/7990.c
b/drivers/net/7990.c
index
db7b19a
..
2d5ba07
100644
(file)
--- a/
drivers/net/7990.c
+++ b/
drivers/net/7990.c
@@
-438,7
+438,7
@@
static int lance_tx (struct net_device *dev)
}
static irqreturn_t
}
static irqreturn_t
-lance_interrupt (int irq, void *dev_id
, struct pt_regs *regs
)
+lance_interrupt (int irq, void *dev_id)
{
struct net_device *dev = (struct net_device *)dev_id;
struct lance_private *lp = netdev_priv(dev);
{
struct net_device *dev = (struct net_device *)dev_id;
struct lance_private *lp = netdev_priv(dev);
@@
-500,7
+500,7
@@
int lance_open (struct net_device *dev)
int res;
/* Install the Interrupt handler. Or we could shunt this out to specific drivers? */
int res;
/* Install the Interrupt handler. Or we could shunt this out to specific drivers? */
- if (request_irq(lp->irq, lance_interrupt,
0
, lp->name, dev))
+ if (request_irq(lp->irq, lance_interrupt,
SA_SHIRQ
, lp->name, dev))
return -EAGAIN;
res = lance_reset(dev);
return -EAGAIN;
res = lance_reset(dev);
@@
-674,7
+674,7
@@
void lance_poll(struct net_device *dev)
WRITERAP(lp, LE_CSR0);
WRITERDP(lp, LE_C0_STRT);
spin_unlock (&lp->devlock);
WRITERAP(lp, LE_CSR0);
WRITERDP(lp, LE_C0_STRT);
spin_unlock (&lp->devlock);
- lance_interrupt(dev->irq, dev
, NULL
);
+ lance_interrupt(dev->irq, dev);
}
#endif
}
#endif