Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 1999 08:15:44 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Roger Hardiman <roger@cs.strath.ac.uk>
Cc:        Nick Hibma <nick.hibma@jrc.it>, Roger Hardiman <roger@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/conf options 
Message-ID:  <199905261515.IAA03133@dingo.cdrom.com>
In-Reply-To: Your message of "Wed, 26 May 1999 16:11:16 BST." <374C0F14.59E2@cs.strath.ac.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Nick 
> 
> > Are the Brooktree cards the only bus master cards that suffer from
> > this problem?
> 
> While on the subject, I want the bt848 driver to read the
> PCI Host chipset ID and select the 'compatibility' mode
> automatically. (Just like the Windows and Linux drivers do)
> 
> But I've no idea how to do this.

It's actually annoyingly hard to perform a PCI bus enumeration from 
within a driver; I need to do this for the AGP driver that I'm trying 
to write as well.  I think you're going to have to scan the entire list 
of connected PCI devices manually, at least in 2.x and 3.x systems.  
Under new-bus in 4.x it ought to be possible to query your parent bus 
controller(s) to find out what they are.

-- 
\\  The mind's the standard       \\  Mike Smith
\\  of the man.                   \\  msmith@freebsd.org
\\    -- Joseph Merrick           \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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