lkml.org 
[lkml]   [1999]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fixes to include/asm-linux/io.h

On Tue, 26 Oct 1999, Arnaldo Carvalho de Melo wrote:

> Please apply this patch, which fixes isa_read[wl] and isa_write[wl]

oops, what a dumb cut&paste error of mine :*(

> and adds isa_memcpy_fromio and friends, relative to 2.3.24-pre1.

i've intentionally not added these - we should only add function groups
which are truly used, especially when it's a legacy interface anyway.

I believe the prefered driver model for ISA stuff should be symmetric to
the PCI model: you can ioremap() ISA space addresses just fine, ioremap()
just returns a pointer into directly mapped kernel area, iounmap() works
just fine as well, and you can read[bwl]()/write[bwl]()/etc. the resulting
pointer just like in the PCI case. So i think the isa_() functions should
only be used for truly trivial or legacy code.

-- mingo


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.063 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site