lkml.org 
[lkml]   [1999]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Big Fix for 2.2.1


On Wed, 27 Jan 1999, Linux Lists wrote:
>
> Please don't do that. The Cyclades driver supports both ISA and PCI cards,
> and it follows correctly the current definition, by ioremap'ing addresses
> above 1MB and using readX/writeX for _all_ accesses to MMIO resources (in
> ISA or PCI). Doing this change would mean having to test which card I'm
> accessing _every time_ I do a readX/writeX, which is completelly
> unacceptable (for obvious performance reasons).

Note that for drivers that already are PCI-aware, the trivial fix is to
just make them _always_ ioremap() their area (whether it is in the ISA
legacy region or not) and then use readX/writeX. That works now, and will
always work - that's how ioremap() is supposed to handle it.

It's only for drivers that _only_ know about legacy ISA issues that this
would be an issue.

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