From owner-freebsd-questions@FreeBSD.ORG Wed Jun 25 05:28:36 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAD0B37B401 for ; Wed, 25 Jun 2003 05:28:36 -0700 (PDT) Received: from mail.iinet.net.au (i082-031.nv.iinet.net.au [203.59.82.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E79644003 for ; Wed, 25 Jun 2003 05:28:34 -0700 (PDT) (envelope-from glastech@iinet.net.au) Received: from localhost ([127.0.0.1]) by kosh.glastech.com.au with esmtp (Exim 4.20) id 19V9MM-0000zy-3p for freebsd-questions@freebsd.org; Wed, 25 Jun 2003 20:26:46 +0800 From: Geoff Glasson To: freebsd-questions@freebsd.org Date: Wed, 25 Jun 2003 20:26:45 +0800 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306252026.45861.glastech@iinet.net.au> Subject: Device probing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Geoff Glasson List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2003 12:28:37 -0000 Hi, I am trying to port the Linux i810 DRI kernel module to FreeBSD and am having some difficulty recognising that the device is present in the system. As I understand it, the list of unattached devices is passed to the probe method of a PCI kernel module so that the module can decide whether it is one that it supports. Is it possible to attach to an already attached device? The reason that I ask this is that a test module which looks for my i815 graphics card is able to find it if the AGP kernel module is not loaded, but if the AGP module is already loaded it can't. I have tried RTFMing, but I'm not sure that I'm even looking in the right place. I am running on FreeBSD 4.8 on a Pentium 3. Any assistance or advice will be most welcome. Thanks in advance...Geoff -- Geoff Glasson glastech@iinet.net.au