On Tue, 2004-05-04 at 23:26, YhLu wrote:
> Ron,
> 
> I'm going to add several lines in amd8111_enable of amd8111.c to disable
> USB2 in amd8111. 
> 
>         /* disable usb2 in amd 8111 because it does not work awlays*/
>         byte = pci_read_config8(lpc_dev, 0x47);
>         byte |= (1<<7);
>         pci_write_config8(lpc_dev, 0x47, byte);
> 

isn't that what the on/off in the config file and this code in
amd8111.c doing ?

        reg = reg_old = pci_read_config16(lpc_dev, 0x48);
        reg &= ~(1 << index);
        if (dev->enabled) {
                reg |= (1 << index);
        }
        if (reg != reg_old) {
                pci_write_config16(lpc_dev, 0x48, reg);
        }

Ollie


_______________________________________________
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios

Reply via email to