Date: Sat, 5 Jan 2002 18:00:23 -0500 From: Randall Hopper <aa8vb@nc.rr.com> To: stable@freebsd.org Subject: pciconf & DRI question Message-ID: <20020105180022.A25950@nc.rr.com>
next in thread | raw e-mail | index | archive | help
In the XFree86 README.DRI (very Linux centric), it says:
9.1 Bus Mastering
...
Run lspci (as root) and find the information describing your graphics
adapter. ...
Use the setpci command to examine bit two of register 4 for your
graphics card. This will indicate whether or not bus mastering is
enabled.
setpci -s 01:00.0 4.w
Is this the appropriate translation into FreeBSD?:
# pciconf -l | grep drm0
drm0@pci1:5:0: class=0x030000 card=0x0641102b chip=0x0525102b rev=0x82 hdr=0x00
# pciconf -r pci1:5:0 4
0x02900007
0x7 & 0x4 == true.
Thanks,
Randall
--
Randall Hopper
aa8vb@nc.rr.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020105180022.A25950>
