RE: Simplified Steps for Building a Loadable module on -CURRENT

From: David Christensen <davidch_at_broadcom.com>
Date: Fri, 1 Sep 2006 09:55:09 -0700
> "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.
Received on Fri Sep 01 2006 - 14:55:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC