lkml.org 
[lkml]   [2004]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux v2.6.9... (compile stats)
viro@parcelfarce.linux.theplanet.co.uk wrote:
> IDGI. Why do you insist on releasing these guys in library code? Even

Because there are two distinct and separate models of port mapping/usage:

1) A bunch of separate IO address spaces (PIO). The "mapping" is
currently done in ata_pci_init_native_mode() and ata_pci_init_legacy_mode()

2) One single linear address space (MMIO). The mapping is done in the
low-level driver.

#1 is in the library because the logic is duplicated _precisely_, across
multiple host controllers, according to a hardware specification.

Thus, if the mapping is done in the library core, so should the unmapping.

Jeff



-
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 14:07    [from the cache]
©2003-2011 Jasper Spaans