Simplified Steps for Building a Loadable module on -CURRENT
David Christensen
davidch at broadcom.com
Fri Sep 1 16:55:26 UTC 2006
> "David Christensen" <davidch at broadcom.com> writes:
> > 2) My Makefile:
> > .PATH: .
> > KMOD= if_bge
> > SRCS= bus_if.h device_if.h pci_if.h miibus_if.h miidevs.h
> > SRCS+= if_bge.c if_bgereg.h
> > DEBUG_FLAGS = -g
> >
> > .include <bsd.kmod.mk>
>
> What's wrong with the one in /sys/modules/bge?
>
Nothing. When I originally started my driver development I didn't
know it existed there so I created one from scratch and I've been
using it until now.
More information about the freebsd-current
mailing list