Hi, In the past, I was using an an old cs5535_gpio geode driver to create a node for the error led on the net5501. But now I tried updating my drivers to use the new led-class provided by the 2.6 kernel. What I did is apply a patch (http://lkml.org/lkml/2009/2/5/154) to add net5501 support. Then, I tried patching the kernel with the new gpio drivers that will be incorporated in the 2.6.32 kernel. The new driver is reading the PCI BAR #1 in order to determine the GPIO base address. The old driver was using the MSR. The problem is, the new one is reading 0x1400 when it should be 0x6100. I tried updating the bios to the latest version, but it didn't worked.
My bios version is 1.33c and my kernel version is 2.6.31.5. Where is the problem? Thanks, Christopher Camden P.S. Here are the relevant parts of dmesg: With the geode driver (cs5535_gpio): pci 0000:00:14.0: BAR 1: address space collision on of device [0x6100-0x61ff] pci 0000:00:14.0: BAR 1: can't allocate resource pci 0000:00:14.0: BAR 2: address space collision on of device [0x6200-0x63ff] pci 0000:00:14.0: BAR 2: can't allocate resource pci 0000:00:14.0: BAR 2: error updating (0x001001 != 0x006201) Switched to high resolution mode on CPU 0 pci 0000:00:14.0: BAR 1: error updating (0x001401 != 0x006101) cs5535_gpio: base=0x6100 mask=0xb003c66 major=253 With the new driver (cs5535-gpio): pci 0000:00:14.0: BAR 1: address space collision on of device [0x6100-0x61ff] pci 0000:00:14.0: BAR 1: can't allocate resource pci 0000:00:14.0: BAR 2: address space collision on of device [0x6200-0x63ff] pci 0000:00:14.0: BAR 2: can't allocate resource pci 0000:00:14.0: BAR 2: error updating (0x001001 != 0x006201) Switched to high resolution mode on CPU 0 pci 0000:00:14.0: BAR 1: error updating (0x001401 != 0x006101) pci 0000:00:14.0: allocated PCI BAR #1: base 0x1400 pci 0000:00:14.0: cs5535-gpio: GPIO support successfully loaded. _______________________________________________ Soekris-tech mailing list [email protected] http://lists.soekris.com/mailman/listinfo/soekris-tech
