Matthew Dharm wrote:
On Tue, Feb 08, 2005 at 05:40:00PM -0800, Randy.Dunlap wrote:

I wrote code to turn off the 0x80 bit at PCI config space offset 0x47
in DevB, or at least I think I did, but it's not working.  Is it being
done too late?  The patch is attached.

Matt, did you try this? working for you?


I haven't tried it yet...

But, you probably need to use lspci with -H1, or it will just read the
kernel's (effectively) cached copy of the data the BIOS passed to it
originally.

Hm, my lspci doesn't recognize -H ...

I forgot to post the printk output.  Before changing the Misc.
register, the "dword" at PCI config offset 0x44 was:
lemming kernel: PCI: AMD LPC is found: dev=0x7, fn=0x0, misc=0x82000001

and lspci afterward shows it as:
40: 80 30 07 b1 01 00 00 02    --> 0x02000001

so it looks to me like the correct bit was flipped, but I'm
open to corrections.  :)

--
~Randy


------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to