From owner-freebsd-hackers Mon Dec 6 21: 4:54 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from cain.gsoft.com.au (genesi.lnk.telstra.net [139.130.136.161]) by hub.freebsd.org (Postfix) with ESMTP id B314714EE9 for ; Mon, 6 Dec 1999 21:04:48 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (doconnor@cain [203.38.152.97]) by cain.gsoft.com.au (8.8.8/8.8.8) with ESMTP id OAA11150; Tue, 7 Dec 1999 14:38:09 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.3.1 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199912070049.QAA22811@www.geocrawler.com> Date: Tue, 07 Dec 1999 14:38:09 +1030 (CST) From: "Daniel O'Connor" To: Alex Subject: RE: PCI device drivers Cc: freebsd-hackers@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 07-Dec-99 Alex wrote: > in my device driver, that can returns me device > configuration (pcici_t)? (like in Linux - > pcibios_find_device) > Thanks for any help? Thats not the way its done in FreeBSD.. Your probe routine is called when the system wants to know if a given device can be handled by your driver. Read /usr/src/sys/pci/if_fxp.c Actually all of /usr/src/sys/pci/* is interesting reading :) --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message