cogent em964, PCI Bios reports too many IRQ's

cogent em964, PCI Bios reports too many IRQ's

Post by Matthias Steppuh » Thu, 05 Sep 1996 04:00:00



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

 
 
 

cogent em964, PCI Bios reports too many IRQ's

Post by Franz Si » Fri, 06 Sep 1996 04:00:00



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);

  tulip.diff
< 1K Download

 
 
 

1. Cogent EM964 Quartet Compatibility?!

Hello all!

Just wondering if anyone has had any experience using a Cogent EM964 4 port
ethernet card? From what I know about the card it uses shared interrupts for
all of the ethernet ports. The question I have is does it SEE all of the ports
as separate cards or what?! I know it has a separate DEC 21040 chip for each of
the ports, so HOPEFULLY it just thinks it has 4 cards.....

Well,looking forward to any and all responses!

Thanks..

--
Steve Kaczkowski       Internet Connect, Inc.
Chief Network Engineer    (414)476-ICON


2. pkgadd issues

3. Cogent em964 Tyan Tomcat II together ...

4. A question about Xinside solution to ATI Mach64 CT problems

5. Cogent EM964 Quartet failing under load.

6. man page for f77

7. Incorrect IRQ mappings by PCI BIOS'es?

8. NEED HELP with FTP

9. Question: PCI Bios messages (Unknown PCI device, IRQ probe failed)

10. 4.4 USB/IRQ problem revisited...I Can't assign IRQ in BIOS!

11. DECpc XL 590 -> bios won't set up IRQ's and Linux neither

12. 2.4.18-rc4 PCI Subsystem : pci-irq's for the i8xx chipsets

13. PCI BIOS: IDE and SCSI with IRQ 11 under linux ??