On Mon, Aug 18, 2008 at 07:06:29PM +0100, Alan Cox wrote: > > + static const char command_sect_size[256] = { > > + [ ATA_CMD_CFA_TRANSLATE_SECTOR ] = DEVICE, > > Should be a bit array so we can do a single fast test_bit() ... err ... any idea what the syntax might be for initialising a bit array at compile time? Do I have to use an initialiser function at runtime? -- Intel are signing my paycheques ... these opinions are still mine "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." -- To unsubscribe from this list: 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