Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2000 21:32:20 +0100 (BST)
From:      Nick Hibma <n_hibma@calcaphon.com>
To:        Matthew Jacob <mjacob@feral.com>
Cc:        Mark Murray <mark@grondar.za>, FreeBSD CURRENT Mailing List <current@FreeBSD.ORG>
Subject:   Re: if_de as a module...
Message-ID:  <Pine.BSF.4.20.0007102130460.6613-100000@localhost>
In-Reply-To: <Pine.BSF.4.05.10007101149150.98701-100000@semuta.feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help

The opt_ files can be generated by the makefiles, so there is no reason
to remove those, see sys/modules/usb/Makefile

SRCS             = bus_if.h device_if.h usb_if.h usb_if.c \
                   vnode_if.h \
                   opt_usb.h \
		...

Any file called opt_*.h that is not present is created (empty).

Nick



> *I'll* check it too- I'd *love* to have if_de as a loadable since most of the
> alphas I have use if_de (not dc)!
> 
> 
> On Mon, 10 Jul 2000, Mark Murray wrote:
> 
> > Hi Bill
> > 
> > If I apply the enclosed patch to sys/pci/if_de.c, and make a
> > copy of (say) sys/modules/dc to sys/modules/de (while changing
> > all relevant dc --> de), I can build a loadable module for de.
> > 
> > Could you please check that this works in your (no doubt)
> > excellent laboratory and either commit or review for me to
> > commit.
> > 
> > Thanks! :-)
> > 
> > M
> > 
> > Index: sys/pci/if_de.c
> > ===================================================================
> > RCS file: /home/ncvs/src/sys/pci/if_de.c,v
> > retrieving revision 1.129
> > diff -u -d -r1.129 if_de.c
> >  --- sys/pci/if_de.c	2000/05/28 16:06:56	1.129
> > +++ sys/pci/if_de.c	2000/07/09 08:27:09
> > @@ -54,10 +54,9 @@
> >  #include <sys/bus.h>
> >  #include <sys/rman.h>
> >  
> > -#include "opt_inet.h"
> > -#include "opt_ipx.h"
> > -
> >  #include <net/if.h>
> > +#include <net/if_arp.h>
> > +#include <net/ethernet.h>
> >  #include <net/if_media.h>
> >  #include <net/if_dl.h>
> >  #ifdef TULIP_USE_SOFTINTR
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-current" in the body of the message
> > 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 

--
n_hibma@webweaving.org
n_hibma@freebsd.org                                          USB project
http://www.etla.net/~n_hibma/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0007102130460.6613-100000>