Re: Linux v2.6.9... (compile stats)
From: Jeff Garzik
Date: Wed Oct 20 2004 - 21:51:55 EST
viro@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/