[RFT] 3c59x: use pci_iomap API and support memory-mapped PCI I/O

John W. Linville linville at redhat.com
Fri Sep 2 17:10:37 UTC 2005


All,

I'm working on some patches to move the 3c59x driver to the somewhat
new pci_iomap API.  While straight-forward, this does hit ~250 places
in the code.  So, it would be good to get some "just in case" testing
before I send it upstream.

Moving to the pci_iomap should also make it fairly simple to move to
using memory-mapped PCI I/O resources for those 3c59x devices that
support it.  For the time being I have added a module option to the
3c59x driver called "use_mmio".  Set that value to one (1) in order
to make use of this feature:

	/etc/modprobe.conf:

	...
	alias eth0 3c59x
	options 3c59x use_mmio=1

What do I want from you?  If you have 3c59x hardware, I'd like you
to try my test kernels at the locations below.

First, I'd like you to simply install the kernel and reboot.  If the
3c59x driver does NOT work, then let me know.

If that works, then I'd like you to make the modprobe.conf
modifications described above and reboot.  Please note whether or
not the device is still working.  If it does work, please also note
if there is any noticeable difference in the performance of the
3c59x device.

Finally, please send me the output of running "lspci -n", along with
the results of your testing.  It would probably be best if you sent
them directly to me instead of flooding the list.

I appreciate your cooperation.	Thanks in advance!

John

P.S.  Test kernels for FC3, FC4, and Rawhide (aka FC5) available here:

	http://people.redhat.com/linville/kernels/fc3/
	http://people.redhat.com/linville/kernels/fc4/
	http://people.redhat.com/linville/kernels/fc5/

-- 
John W. Linville
linville at redhat.com




More information about the devel mailing list