From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 16 13:11:16 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0D031065678 for ; Thu, 16 Apr 2009 13:11:16 +0000 (UTC) (envelope-from lars.engels@0x20.net) Received: from mail.0x20.net (unknown [IPv6:2001:aa8:fffb::3]) by mx1.freebsd.org (Postfix) with ESMTP id 5B0068FC13 for ; Thu, 16 Apr 2009 13:11:16 +0000 (UTC) (envelope-from lars.engels@0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mail.0x20.net (Postfix) with ESMTP id AD009367BF; Thu, 16 Apr 2009 15:11:15 +0200 (CEST) Received: from i011-63.fin-nrw.de (i011-63.fin-nrw.de [193.109.238.130]) by 0x20.net (Horde MIME library) with HTTP; Thu, 16 Apr 2009 15:11:15 +0200 Message-ID: <20090416151115.lx6i8g4dw8oscgww@0x20.net> X-Priority: 3 (Normal) Date: Thu, 16 Apr 2009 15:11:15 +0200 From: Lars Engels To: Zahemszky =?utf-8?b?R8OhYm9y?= References: <20090414192250.5b66db8c@Picasso.Zahemszky.HU> In-Reply-To: <20090414192250.5b66db8c@Picasso.Zahemszky.HU> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_4lu3x4v0fjwg"; protocol="application/pgp-signature"; micalg="pgp-sha1" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) X-Mailman-Approved-At: Thu, 16 Apr 2009 21:21:08 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: Linux setpci equivalent in FreeBSD? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Apr 2009 13:11:18 -0000 This message is in MIME format and has been PGP signed. --=_4lu3x4v0fjwg Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Zahemszky G=C3=A1bor : > Hi! > > I'v found (well, mav@ found it) on a wiki page (*) a trick to use some > TI sdhci cards. They use the setpci command, to set some bits in the HW. > Are there any tool under FreeBSD to do the same? > > Thanks, > > G=C3=A1bor at Zahemszky dot HU > > (*) http://www.gentoo-wiki.info/Acer_Ferrari_4005WLMi#SDHCI You can use pciconf like this: pciconf -wb pci0:30:0 0x1a 9 (but don't just copy & paste this, it might hurt your hardware ;-) ) --=_4lu3x4v0fjwg Content-Type: application/pgp-signature Content-Description: PGP Digital Signature Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAknnLnMACgkQKc512sD3afgARQCgrQp59v8WWVvgfFpUTDRfoWvr 8rAAoJLDNoTdaLA55yaXaM6DK2iquZkv =WeiT -----END PGP SIGNATURE----- --=_4lu3x4v0fjwg--