Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Nov 2000 04:30:47 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Chris Ptacek <ptacek@technologist.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: KLDs and PCI?
Message-ID:  <3A113077.FD5979BF@elischer.org>
References:  <NEBBKLFHMJGHPAEKCHJJGELNCEAA.ptacek@technologist.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A113077.FD5979BF>