Alan Cox wrote:
Ar Mer, 2006-08-09 am 01:11 -0400, ysgrifennodd Jeff Garzik:
+static const unsigned long ata_legacy_addr_tbl[][2] = {
+ { ATA_PRIMARY_CMD, ATA_PRIMARY_CTL },
+ { ATA_SECONDARY_CMD, ATA_SECONDARY_CTL}
+};
+
NAK. I purposefully didn't do this because the defines may not be
constants. Take a look at the PPC platforms where it will eventually
have to be a call into the machine dependant function table.
Thanks for pointing it out. I'll scrap the static table.
--
tejun
-
: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html