Date: Wed, 16 Apr 2008 18:35:54 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: jhb@freebsd.org Cc: takash-i@sophia.ac.jp, freebsd-mobile@freebsd.org Subject: Re: pciconf -w Message-ID: <20080416.183554.-1751000258.imp@bsdimp.com> In-Reply-To: <200804161037.26572.jhb@freebsd.org> References: <4805E5A2.1070705@sophia.ac.jp> <200804161037.26572.jhb@freebsd.org>
index | next in thread | previous in thread | raw e-mail
In message: <200804161037.26572.jhb@freebsd.org>
John Baldwin <jhb@freebsd.org> writes:
: On Wednesday 16 April 2008 07:40:18 am Takashi Inoue wrote:
: > Hi friends,
: >
: > Does anyone know how to trun off a pci device using pciconf -w ?
: >
: > Becase my MiniPCI Express wireless card is realy hot,
: > I want to turn off when I don't need it.
: >
: >
: > ath0@pci0:3:0:0: class=0x020000 card=0x058a1014 chip=0x1014168c
: > rev=0x01 hdr=0x00
: > vendor = 'Atheros Communications Inc.'
: > device = 'AR5212 Atheros AR5212 802.11abg wireless'
: > class = network
: > subclass = ethernet
: > 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 (imp@FreeBSD.org) for his devctl patch and use that to turn it off.
You could unload the ath driver :-)
Of course, one could argue that the ath driver should set the device
into D3 state when it has been ifconfig'd down.
Warner
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080416.183554.-1751000258.imp>
