lkml.org 
[lkml]   [1999]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] read[bwl] and ioremap problem


On Sat, 18 Dec 1999, Alan Cox wrote:
>
> Mac68K use nubus or various other slot cards. All of them pretend to be nubus
> so there are no problems. The only problem boxes I know of right now are
> HP PA-Risc. PCI and GSC. Two busses can hold similar chips, they are different
> endians....

THAT case is certainly a rather strong argument for using something
like "gsc_read[bwl]()" on HP-PA.

If the gsc bus is similar enough to PCI that you might end up sharing some
drivers, that can probably be accomplished by double-compiling them, once
with "-Dwritel=gsc_writel" kinds of tricks. But trying to make the same
driver handle both cases dynamically sounds like madness.

(Considering that the init and finding functions are likely to be
completely different anyway, you probably don't want to share drivers
other than possibly in the "8390" sense.. Who knows..)

Linus


-
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:55    [W:0.141 / U:1.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site