Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2009 15:11:15 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        Zahemszky =?utf-8?b?R8OhYm9y?= <Gabor@Zahemszky.HU>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Linux setpci equivalent in FreeBSD?
Message-ID:  <20090416151115.lx6i8g4dw8oscgww@0x20.net>
In-Reply-To: <20090414192250.5b66db8c@Picasso.Zahemszky.HU>
References:  <20090414192250.5b66db8c@Picasso.Zahemszky.HU>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <Gabor@Zahemszky.HU>:

> 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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090416151115.lx6i8g4dw8oscgww>