[coreboot] patch: two bugs in the cs5536 ide code

ron minnich rminnich at gmail.com
Tue May 6 07:54:37 CEST 2008

I know some people will get upset by the find_pci_device, but:
This patch fixes a long-standing problem in the cs5536 driver, that is
probably also in v2.

The ide_init is called with the sb device but needs the IDE device,
which is different.
It also did a write_config8,not write_config32; this bug has been in there since
the code was written for v2. I don't know how or why it ever worked,
since PWB is 1<<14.

Works fine with 2.6.24. 2.6.15 hangs on boot, but I don't think it was
ever IDE. POST on
the 2.6.25 boot hang is 00.

Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cs5536.diff
Type: text/x-diff
Size: 1475 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080505/673f2856/attachment.bin>

More information about the coreboot mailing list