[LinuxBIOS] EPIA fix for non working IDE
ron minnich
rminnich at gmail.com
Sun Apr 29 19:47:10 CEST 2007
On 4/29/07, Peter Stuge <stuge-linuxbios at cdy.org> wrote:
> On Sun, Apr 29, 2007 at 11:36:51AM +0100, Ben Hewson wrote:
> > ===================================================================
> > --- /home/ben/sw/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_ide.c (revision 2621)
> > +++ /home/ben/sw/LinuxBIOSv2/src/southbridge/via/vt8231/vt8231_ide.c (working copy)
> > @@ -15,6 +15,12 @@
> > // Run the IDE controller in 'compatiblity mode - i.e. don't use PCI
> > // interrupts. Using PCI ints confuses linux for some reason.
> >
> > + /* Setting reg 0x42 here does not work. It is set in mainboard/auto.c
> > + * It probably can only be changed while the IDE is disabled
> > + * or it is possibly a timing issue. Ben Hewson29 Apr 2007.
> > + */
> > +
> > + /*
> > printk_info("%s: enabling compatibility IDE addresses\n", __FUNCTION__);
> > enables = pci_read_config8(dev, 0x42);
> > printk_debug("enables in reg 0x42 0x%x\n", enables);
> > @@ -22,6 +28,8 @@
> > pci_write_config8(dev, 0x42, enables);
> > enables = pci_read_config8(dev, 0x42);
> > printk_debug("enables in reg 0x42 read back as 0x%x\n", enables);
> > + */
> > +
>
> Hm, I don't know about this, this file is used with densitron/dpx114
> also and it should also have this fixup in auto.c.
it would be best to have it in 8231 etc. If it MUST be in auto.c, how
about vt8231_early_init.c
ron
More information about the coreboot
mailing list