From owner-cvs-all Wed May 26 8:19:20 1999 Delivered-To: cvs-all@freebsd.org Received: from dingo.cdrom.com (castles514.castles.com [208.214.165.78]) by hub.freebsd.org (Postfix) with ESMTP id AFAD515389; Wed, 26 May 1999 08:19:11 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id IAA03133; Wed, 26 May 1999 08:15:44 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199905261515.IAA03133@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Roger Hardiman Cc: Nick Hibma , Roger Hardiman , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf options In-reply-to: Your message of "Wed, 26 May 1999 16:11:16 BST." <374C0F14.59E2@cs.strath.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 26 May 1999 08:15:44 -0700 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > 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