From owner-freebsd-mobile@FreeBSD.ORG Wed Apr 16 15:05:52 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8CF61065675 for ; Wed, 16 Apr 2008 15:05:52 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 9F5EC8FC2E for ; Wed, 16 Apr 2008 15:05:52 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (unknown [208.65.88.170]) by elvis.mu.org (Postfix) with ESMTP id E04B41A4D91; Wed, 16 Apr 2008 07:47:18 -0700 (PDT) From: John Baldwin To: freebsd-mobile@freebsd.org Date: Wed, 16 Apr 2008 10:37:26 -0400 User-Agent: KMail/1.9.7 References: <4805E5A2.1070705@sophia.ac.jp> In-Reply-To: <4805E5A2.1070705@sophia.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804161037.26572.jhb@freebsd.org> Cc: Takashi Inoue Subject: Re: pciconf -w X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2008 15:05:52 -0000 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. -- John Baldwin