2006-10-24
Hi
We here at CCII Systems are probably the only company in the world still
actively involved with FDDI. The Linux Syskonnect FDDI driver needs a
patch. I have no idea who to speak to, but the guys over at osdl said I
must ask here.
We recently had two separate customers ask us why the FDDI driver in
the Linux kernel version 2.6.x does not work properly.
The first customer eventually found that the driver does not work when
the kernel is configured to use 64 bit memory addressing. This would
obviously have to do with the pointer sizes used by the driver structure.
They did not need 64 bit addressing, and solved their problem by
reconfiguring their kernel for 32 bit addressing.
Is it possible to configure things so that this issue is highlighted
when the kernel is built?
The second customer's problem could not be solved by the above. They
eventually found that kernel 2.6 (specifically, 2.6.8) uses memory
mapping, and that a check in the driver caused an exception because
of the length of the PCI region being 2048 and not 16384 (0x4000).
//2.6.8 version from skfddi.c
#ifdef MEM_MAPPED_IO
if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) {
printk(KERN_ERR "skfp: region is not an MMIO resource\n");
err = -EIO;
goto err_out1;
}
port = pci_resource_start(pdev, 0);
len = pci_resource_len(pdev, 0);
if (len < 0x4000) {
printk(KERN_ERR "skfp: Invalid PCI region size: %lu\n", len);
err = -EIO;
goto err_out1;
}
#else
The customer reports that changing the compare to
if (len < 2048) {
fixed the problem for them.
Can this patch be applied to the kernel please?
Regards
Wouter
--
Wouter de Waal Cell : +27 82 893 8042
Development Manager - Board-Level Products Phone : +27 21 683 5490
CCII Systems, Kenilworth, South Africa Fax : +27 21 683 5435
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]