svn commit: r189052 - head/sys/dev/drm

M. Warner Losh imp at bsdimp.com
Wed Feb 25 14:07:24 PST 2009


In message: <20090225205253.GT19161 at hoeg.nl>
            Ed Schouten <ed at 80386.nl> writes:
: * Robert Noland <rnoland at FreeBSD.org> wrote:
: > On Wed, 2009-02-25 at 20:42 +0100, Ed Schouten wrote:
: > > Hi Robert,
: > > 
: > > * Robert Noland <rnoland at FreeBSD.org> wrote:
: > > > +static struct drm_msi_blacklist_entry drm_msi_blacklist[] = {
: > > > +	{0x8086, 0x2772}, /* Intel i945G	*/ \
: > > > +	{0x8086, 0x27A2}, /* Intel i945GM	*/ \
: > > > +	{0x8086, 0x27AE}, /* Intel i945GME	*/ \
: > > > +	{0, 0}
: > > > +};
: > > 
: > > Wouldn't it be better to use PCI_VENDOR_INTEL/PCI_PRODUCT_INTEL_*
: > > definitions here?
: > 
: > Where are those located?  The rest of drm just uses the hex id's, if
: > there is a better way, I'm up for it.
: 
: Oh wait, I always thought they were part of some kind of central list,
: like usbdevs, but it turns out device drivers just #define them
: themselves. Never mind.

NetBSD has this, but it was never adapted by FreeBSD.

Warner


More information about the svn-src-head mailing list