cs5530 and UDMA implementation questions

From: Heiki Kask (heiki.kask@artecdesign.ee)
Date: Wed Jun 20 2001 - 04:59:50 EST


Hello,

I have following problems/questions I could not find answer from the
kernel source code:

- cs5530.c does not initialize hwif->speedproc hook. This means that
hdparm -X does not call routine for chipset registers reprogramming.
Did I miss something?

- how chipset/disk initialization is supposed to work?

When kernel is compiled without CONFIG_IDEDMA_PCI_AUTO, then there are
no calls performed to initialize chipset for PIO or UDMA mode and
therefore there is no possibility to recalculate IDE timings for
different bus speeds (if it is implemented) before root filesystem gets
mounted.
This is basically OK when BIOS or BIOS replacement is initializing
IDE controller to match the bus speed and the kernel does not make
attempt to reprogram IDE controller, but then there is no sense to
implement the feature at all because nobody will change bus speed at
runtime, I guess.

Thanks for listening.

heiki

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 23 2001 - 21:00:27 EST