Browse Source

fix e1000e irq.

request_irq use netdev->pcidev.irq,so em_intr should also use this.

Signed-off-by: QiaoChong <qiaochong@loongson.cn>
master
zhanghualiang 14 years ago
committed by QiaoChong
parent
commit
32b2dffc5d
  1. 2
      sys/dev/pci/e1000e/if_em.c

2
sys/dev/pci/e1000e/if_em.c

@ -252,7 +252,7 @@ extern char activeif_name[];
static int em_intr(void *data)
{
struct net_device *netdev = data;
int irq=netdev->irq;
int irq=netdev->pcidev.irq;
struct ifnet *ifp = &netdev->arpcom.ac_if;
if(ifp->if_flags & IFF_RUNNING)
{

Loading…
Cancel
Save