Re: 2.2.15 with eepro100: eth0: Too much work at interrupt

From: Dragan Stancevic (visitor@valinux.com)
Date: Mon May 22 2000 - 19:52:19 EDT

  • Next message: George Anzinger: "Re: pthread issue."

    On Sat, May 20, 2000, Andrey Savochkin <saw@saw.sw.com.sg> wrote:
    ; Hello,
    ;
    ; On Sat, May 20, 2000 at 11:08:14AM +1000, Andrew Morton wrote:
    ; > BTW, in eepro100 this:
    ; >
    ; > #ifdef USE_IO
    ; > #define SPEEDO_IOTYPE PCI_USES_MASTER|PCI_USES_IO|PCI_ADDR1
    ; > #define SPEEDO_SIZE 32
    ; > #else
    ; > #define SPEEDO_IOTYPE PCI_USES_MASTER|PCI_USES_MEM|PCI_ADDR0
    ; > #define SPEEDO_SIZE 0x1000
    ; > #endif
    ; >
    ; > appears to be a holdover from the previous generation
    ; > of PCI code and is now unreferenced.
    ;
    ; I've already removed it in my working copy.
    ; Will commit the changes when we solve the checksumming problem.
    ;

    The driver is still using

    #define SPEEDO_SIZE 0x1000

    well sortoff it uses the same size when ioremaping

                    ioaddr = pciaddr & ~3UL;
                    if (check_region(ioaddr, 32))
                            continue;
            } else if ((ioaddr = (long)ioremap(pciaddr & ~0xfUL, 0x1000)) == 0) {
                    printk(KERN_INFO "Failed to map PCI address %#lx.\n",

    why are we using such high number since BAR foot print is 48

                                    
                                    

    -- 
    

    -Dragan

    - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Mon May 22 2000 - 19:50:31 EDT