Skip to contentSkip to conversation

Large "clipped" IDE disk support for 2.4 when using old BIOS

PATCH [email protected] 1 participant 1 message Nov 20, 2000

lore
Share & tools
lore
#0 lore raw
    From [email protected] Mon Nov 20 12:29:59 2000

    Andries,

    Don't you mean

    (drive->id->cfs_enable_1 & 0x0400)        word85
    and not
    (drive->id->command_set_1 & 0x0400)        word82

    Because when bit 10 of word 85 is not set then clip or HPArea is not enabled.

I saw no reason to complain about that part.

As far as I can see, ATA4 and ATA5 both require these two bits to be identical. (Note that ATA4 has "supported" both in text and table in both places, while ATA5 has "supported" in three places and "enabled" in one. My preliminary ATA6 drafts do not differ. And for example, there is no Set Features subcommand to enable/disable the Host Protected Area feature. Maybe you have more recent drafts that do allow disabling this feature?)

A small detail that might be improved is that one is only allowed to look at this bit when words 83 and 84 have bit 15 equal to 0 and bit 14 equal to 1. (Or, in case you prefer looking at word 85, bit 15 of word 87 must be 0 and bit 14 must be 1.)

Andries
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/