Missing files device_if.h and bus_if.h

Christopher Bowman freebsd-hackers at chrisbowman.com
Sun Jul 18 05:41:00 UTC 2010


Can a pci/pcie dirver be loaded and unloaded like a kld?

On Mon, Jul 12, 2010 at 7:46 PM, M. Warner Losh <imp at bsdimp.com> wrote:

> Not quite.  Make creates them...
>
>            Matthew Jacob <mj at feral.com> writes:
> : config(8) creates them I believe
> :
> : > line 523 of bus.h
> : >
> : > tries to include the following files:
> : >
> : > #include "device_if.h"
> : > #include "bus_if.h"
> : >
> : > however, I don't see them any where in my source tree.  Are these
> : > missing or am I suppose to create them or are they built as part of
> : > the build process and if the latter then why didn't I get a copy when
> : > I built a custom kernel?
> : >
> : > Where do I get these files?  Could someone please clue me in here?
> : >
> : > And since I am asking questions here, I see BUS_READ_IVAR used a
> : > couple of places but can't find it's definition.  Where is it defined?
> : >
> : > Thanks
> : > Christopher
> : > _______________________________________________
> : > freebsd-hackers at freebsd.org mailing list
> : > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> : > To unsubscribe, send any mail to
> : > "freebsd-hackers-unsubscribe at freebsd.org"
> : >
> :
> : _______________________________________________
> : freebsd-hackers at freebsd.org mailing list
> : http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> : To unsubscribe, send any mail to
> : "freebsd-hackers-unsubscribe at freebsd.org"
> :
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>


More information about the freebsd-hackers mailing list