linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: how to limit number of sectors each time
       [not found]   ` <48F6DD54.70004@alcatel-lucent.com>
@ 2008-10-17 16:47     ` Bartlomiej Zolnierkiewicz
  0 siblings, 0 replies; only message in thread
From: Bartlomiej Zolnierkiewicz @ 2008-10-17 16:47 UTC (permalink / raw)
  To: gshan; +Cc: Jens Axboe, linux-kernel, linux-ide


[ added linux-ide@ to cc:, please use it for ATA questions ]

On Thursday 16 October 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 you need to add check for this device to ide_disk_setup()
(prior to blk_queue_max_sectors() call) in drivers/ide/ide-disk.c.

Thanks,
Bart

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-17 16:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <48F6B51B.2000408@alcatel-lucent.com>
     [not found] ` <20081016061808.GS19428@kernel.dk>
     [not found]   ` <48F6DD54.70004@alcatel-lucent.com>
2008-10-17 16:47     ` how to limit number of sectors each time Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).