Linux setpci equivalent in FreeBSD?

Lars Engels lars.engels at 0x20.net
Thu Apr 16 13:11:18 UTC 2009


Quoting Zahemszky Gábor <Gabor at 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ábor 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 ;-) )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: PGP Digital Signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20090416/8b4fe5cb/attachment.pgp


More information about the freebsd-hackers mailing list