lkml.org 
[lkml]   [2001]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectisa_read/write not available on ppc - solution suggestions ??
From
Date
To get the pcmcia ibmtr driver (ibmtr/ibmtr_cs) working on ppc, all the 
isa_read/write's have to be changed to regular read/write due to the lack
of the isa_read/write functions for ppc.

So, the question is should I simply:

a) change everything to read/write and friends (the way the driver used to
be before the isa_read/write function were introduced)
b) Put ugly macros in the driver to use the different functions depending
upon architecture.
c) Implement the isa_read/write functions for ppc ?
or d) something completely different I haven't thought of.

Remember, this driver must support isa, pcmcia, mca, ix86 and now ppc.

Personally I'd rather not have arch dependent macros in the driver, but I
know there is a good reason why the isa_read/write functions were
introduced in the first place.

Suggestions ?

Mike
Linux Token Ring Project
http://www.linuxtr.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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