Re: VIA 686b Bug - once again :(

clemens (therapy@endorphin.org)
Tue, 23 Oct 2001 10:55:53 +0200


On Sun, Oct 21, 2001 at 01:26:11PM -0000, Volker Dierks wrote:

> I searched 1 hour on google but
> the only solution seems to be a
> fix with loadlin and pciset from
> Thilo <Free.Spirit@gmx.net>

have a look at:

http://www.viahardware.com/686bfaq.shtm
http://www.au-ja.org/review-kt133a-1.phtml (german)

basically you have to find a way to set some specific PCI registers of the
northbridge.
check out the write handler of this is /proc/bus/pci/00/00.0
it's at linux/drivers/pci/proc.c:proc_bus_pci_write

basically it looks like you have to seek to the "register" via lseek and
then write the control value.
shouldn't be that hard.

in worst case you could write a 20-line linux kernel module to set the
few required pci registers.

clemens
-
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/