Skip to contentSkip to conversation

isa_read[bwl] in TODO

PATCH In review Eric Sesterhenn 2 participants 2 messages Aug 7, 2006 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 isa_read[bwl] in TODO

hi,

it seems that there are no more users of isa_read[bwl] and it isnt even
defined anymore in most arches. The only define is in /include/asm-i386/io.h which is also the only user of this define ( maps readb() and readw() to isa_readb() and isa_readw() ).
I guess its therefore safe to remove it from the janitor TODO list.

Signed-off-by Eric Sesterhenn
TODO renamed from TODO.orig +0 -15
@@ -199,21 +199,6 @@ copy_to/from_user:
 
 Items with longer description in no particular order:
 -----------------------------------------------------------------------------
-- get rid of isa_read/write[bwl], use ioremap instead
-	-  unsigned long addr = 0xC0000;
-	-  isa_writeb (0xC0, addr);
-	+  void __iomem *cookie = ioremap(0xC0000, region_size);
-	+  if (!cookie) { fail... }
-	+  writeb(0xC0, cookie);
-	+  iounmap(cookie);
-
-Note there is a ioremap step at driver init time, and an iounmap step at
-driver shutdown time.  isa_xxx simply doesn't have the remap/unmap
-stuff.
-
-Read Documentation/IO-mapping.txt for more details.
-
------------------------------------------------------------------------------
 [Al Viro]
 
         * try and convince XFS folks that they want to use negative numbers

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors

#1 lore raw
Quoted 5 lines · Eric Sesterhenn

it seems that there are no more users of isa_read[bwl] and it isnt even defined anymore in most arches. The only define is in /include/asm-i386/io.h which is also the only user of this define ( maps readb() and readw() to isa_readb() and isa_readw() ). I guess its therefore safe to remove it from the janitor TODO list.

[clickety-click]

_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors