Kprof uses an IRQ alarm
[akaros.git] / kern / drivers / dev / ether.c
index fdc7c56..2637485 100644 (file)
@@ -681,9 +681,6 @@ static void etherreset(void)
                        ether->type = cards[n].type;
                        snprintf(name, sizeof(name), "ether%d", ctlrno);
 
-                       if (ether->interrupt != NULL)
-                               register_irq(ether->irq, ether->interrupt, ether, ether->tbdf);
-
                        i = snprintf(buf, sizeof(buf),
                                                 "#l%d: %s: %dMbps port 0x%x irq %u", ctlrno,
                                                 ether->type, ether->netif.mbps, ether->port,