Re: [patch] ioremap + check_mem_region for 8390 drivers

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 28 Dec 1999 13:03:11 +0000 (GMT)


> - add check/request/release_mem_region()
> - ioremap / iounmap shared i/o memory in all cases, & hence...
> - remove isa_ prefix from all mem i/o functions

And made the same mistake I did originally. Ifconfig now reports wrong values
because dev->mem_start/end are defined to be physical addresses by the kernel.
You probably need to add a dev->vmem_start, dev->vmem_end. SIOCGIFMAP is then
not broken.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu