From 32b2dffc5d3e4db80b463c83cd8a6a355153f015 Mon Sep 17 00:00:00 2001 From: zhanghualiang Date: Fri, 22 Apr 2011 19:40:50 +0800 Subject: [PATCH] fix e1000e irq. request_irq use netdev->pcidev.irq,so em_intr should also use this. Signed-off-by: QiaoChong --- sys/dev/pci/e1000e/if_em.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pci/e1000e/if_em.c b/sys/dev/pci/e1000e/if_em.c index a8028735..4efe7aaa 100644 --- a/sys/dev/pci/e1000e/if_em.c +++ b/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) {