From owner-freebsd-hackers Tue Nov 14 14:59:29 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 64B4337B4D7 for ; Tue, 14 Nov 2000 14:59:23 -0800 (PST) Received: from gaborone-34.budapest.interware.hu ([195.70.52.162] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 13vp2t-0002jR-00; Tue, 14 Nov 2000 23:59:19 +0100 Message-ID: <3A113077.FD5979BF@elischer.org> Date: Tue, 14 Nov 2000 04:30:47 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Chris Ptacek Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: KLDs and PCI? References: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Try use the newest version of /usr/share/examples/drivers/make_device_driver.sh I just added PCI support (but I have't tested it much yet) Hopefully I'll get feedback it it's too radically wrong. > I am working on a KLD for a PCI device. My problem is I can't find how to > call the probe and attach calls during the load for a PCI device. I have > looked in the /usr/src/sys/pci directory and haven't found any KLDs to use > as an example. What are the steps I need to take to handle a PCI device in > a KLD? Are there any examples I can look out? > > Oh yeah, I am doing this for a FreeBSD 3.x system (I know, but is needed for > this project, it will be ported to 4.x later) > > - Chris > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message