All of lore.kernel.org
 help / color / mirror / Atom feed
* Impact of no_lba48{_dma} = 1 ?
@ 2007-02-07  9:56 Steven Scholz
  2007-02-07 11:58 ` Alan
  0 siblings, 1 reply; 12+ messages in thread
From: Steven Scholz @ 2007-02-07  9:56 UTC (permalink / raw)
  To: linux-ide

Hi all,

on our embedded system we connected a HDD via FPGA driectly to the CPU.
And wrote a evry simple IDE driver for it. BAsicly the HDD internbal
registers are just memory mapped. No DMA is supported by the hardware.
But I think it would be capable of 48bit LBA mode (which just means setting
the HOB bit in the device control register of the HDD correctly?)

Now I wonder what the impact of setting

	hwif->no_lba48 = 1;		/* 1 = cannot do LBA48 */
	hwif->no_lba48_dma = 1;		/* 1 = cannot do LBA48 DMA */

would be.

IIUC then no_lba48 would limit the useable size to 130GB?
Will every HDD work with no_lba48 set to 1? Even those which actually
support 48bit LBA?

How about performance impact of

		if (hwif->no_lba48 || hwif->no_lba48_dma)
			hwif->rqsize = 256;
		else
			hwif->rqsize = 65536;

in ide-probe.c ?

Thanks a million for any pointers!

Steven

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-02-07 14:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-07  9:56 Impact of no_lba48{_dma} = 1 ? Steven Scholz
2007-02-07 11:58 ` Alan
2007-02-07 13:25   ` Steven Scholz
2007-02-07 13:53     ` Alan
2007-02-07 13:49       ` Sergei Shtylyov
2007-02-07 14:11         ` Alan
2007-02-07 14:03           ` Steven Scholz
2007-02-07 14:19             ` Alan
2007-02-07 14:10           ` Sergei Shtylyov
2007-02-07 13:57       ` Steven Scholz
2007-02-07 14:09         ` Sergei Shtylyov
2007-02-07 14:16         ` Alan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.