List Info

Thread: Re: pciconf -w




Re: pciconf -w
country flaguser name
United States
2008-04-17 10:47:32
In message: <328A981E-AAC9-42D5-BCA7-8F83B8E3BB63webweaving.org>
            Dirk-Willem van Gulik <dirkxwebweaving.org> writes:
: 
: On Apr 17, 2008, at 2:36 AM, M. Warner Losh wrote:
: 
: > : > > Does anyone know how to trun off a pci
device using pciconf -w ?
: > .....
: > : > > ath0pci0:3:0:0:       class=0x020000
card=0x058a1014  
: > chip=0x1014168c
: ....
: > : > >     cap 01[40] = powerspec 2  supports D0
D3  current D0
: > : > >     cap 05[50] = MSI supports 1 message
: > : > >     cap 10[60] = PCI-Express 1 legacy
endpoint
: > : > >     cap 11[90] = MSI-X supports 1 message
in map 0x10
: > : >
: > : > Bug warner (impFreeBSD.org) for his devctl
patch and use that  
: > to turn it off.
: > : >
: > : Just out of curiosity... would setting  
: > hw.pci.do_power_nodriver="3" and
: > : unloading if_ath.ko do the trick?
: >
: > Yes.
: 
: Hmm - this does not work for me on a Soekris and in a Sony
VAIO --  
: even after down, sysctl and
: unloading the driver it reports sitting in D0. Does this
require  
: certain support in the PCI controller ?

No.  It is chip-level support.

It worked for me when I put it in /boot/loader.conf and it
worked for
me.  Did you reboot or no?  I didn't try it w/o rebooting.

Warner
_______________________________________________
freebsd-mobilefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile

To unsubscribe, send any mail to
"freebsd-mobile-unsubscribefreebsd.org"

Re: pciconf -w
country flaguser name
Netherlands
2008-04-17 10:56:56
On Apr 17, 2008, at 5:47 PM, M. Warner Losh wrote:

> : Hmm - this does not work for me on a Soekris and in a
Sony VAIO --
> : even after down, sysctl and
> : unloading the driver it reports sitting in D0. Does
this require
> : certain support in the PCI controller ?
>
> No.  It is chip-level support.
>
> It worked for me when I put it in /boot/loader.conf and
it worked for
> me.  Did you reboot or no?  I didn't try it w/o
rebooting.

Yes - across a proper reboot is fine.

Dw
_______________________________________________
freebsd-mobilefreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile

To unsubscribe, send any mail to
"freebsd-mobile-unsubscribefreebsd.org"

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )