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 [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
--
__--_|\ Julian Elischer
/ \ [EMAIL PROTECTED]
( OZ ) World tour 2000
---> X_.---._/ presently in: Budapest
v
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message