Quote:>salut,
>ethernet FAQ reports cogent em964 workable, - but my PCI Bios reports one
>Interrupt for every ethernetport, despite the em964 uses one shared IRQ,
>and so my machine freezes as soon as i try to ifconfig a second
>ethernetport.
>Abnyone out there who is able to help me ?
>thanks in advance\
>Matthias Steppuhn
I have done the attached patch for the tulip.c delivered with the
2.0.0-17 kernels. It's working perfectly for me.
--- tulip.c.org Fri May 17 22:57:12 1996
{
/* See note below on the Znyx 315 etherarray. */
static unsigned char last_phys_addr[6] = {0x00, 'L', 'i', 'n', 'u',
'x'};
+ static int last_irq = 0;
char detect_mesg[80], *mesgp=detect_mesg;
struct tulip_private *tp = (struct tulip_private *)dev->priv;
for (i = 0; i < ETH_ALEN - 1; i++)
dev->dev_addr[i] = last_phys_addr[i];
dev->dev_addr[i] = last_phys_addr[i] + 1;
+ irq = last_irq;
}
for (i = 0; i < ETH_ALEN - 1; i++)
/* copy ethernet address */
if (card_type(tp, device_id,
htonl((*(int*)dev->dev_addr) & 0xFFFFFF)))
- for (i = 0; i < ETH_ALEN - 1; i++)
+ for (i = 0; i < ETH_ALEN - 1; i++) {
last_phys_addr[i] = dev->dev_addr[i];
+ last_irq = irq;
+ }
/* We do a request_region() only to register /proc/ioports info. */
request_region(ioaddr, TULIP_TOTAL_SIZE, tp->signature);