-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi Corey,
I cant tell more than this code:
To be distributed under GPL:
//WARNING NEED to copy some registers from NB to SB (D0F3 -> D0F7)
{
device_t devFUNNB3 = dev_find_device(PCI_VENDOR_ID_VIA, 0x3238, 0);
u8 regm, regm2;
//shadow CTRL
regm = pci_read_config8(devFUNNB3,0x88);
writeback(dev, 0x57, regm);
//shadow REGION 1
regm = pci_read_config8(devFUNNB3,0x80);
writeback(dev, 0x61, regm);
//shadow REGION 2
regm = pci_read_config8(devFUNNB3,0x81);
writeback(dev, 0x62, regm);
//shadow REGION 3
regm = pci_read_config8(devFUNNB3,0x86);
writeback(dev, 0xe6, regm);
regm = pci_read_config8(devFUNNB3,0x83);
regm2 = pci_read_config8(dev,0x63);
pci_write_config8(dev,0x63, (regm2 & 0xC0) | (regm & 0x3F));
}
Rudolf