Re: how to limit number of sectors each time

From: Jens Axboe
Date: Thu Oct 16 2008 - 02:25:57 EST


On Thu, Oct 16 2008, gshan wrote:
>
> >(please never send out html only emails, it's considered very bad style
> >on this list)
> >
> >Sounds like you need a quirk/blacklist entry for that drive, if it
> >doesn't support 0x00 as meaning 256 sectors. If you are using libata,
> >you can add a ATA_HORKAGE_MAX_SEC_128 entry to ata_device_blacklist[] in
> >drivers/ata/libata-core.c
> >
> I'm using IDE driver instead of HD driver.

Then I'm sure Bart can help you out (CC'ed).

--
Jens Axboe

--
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/