On Fri, Jan 25, 2002 at 10:05:59PM -0500, henken wrote: > I am still working with the fun and lovely i82365 driver on the Elf. To > get the sockets IO ports to be accessible, I have to ioremap the > addresses. There is also an additional ioremap for the index register and > data register. All 3 ioremaps appear to succeed as they return valid > addresses, but when I look in /proc/ioports, I only see the ioremap for > the index and data registers.
/proc/ioports isn't updated by ioremap. Its updated by calls to request_region() and release_region(). You're getting into a dodgy area with resource management on these platforms - its best to ignore /proc/ioports and rely on /proc/iomem only. (/proc/iomem is maintained by a couple of other, similarly named, function calls). > When I try to access the IO port maps for the sockets, the drivers > get weird, as if the remapping didnt work. Any ideas? Can you be more specific? _______________________________________________ http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm Please visit the above address for information on this list.
