From owner-freebsd-current Mon Jul 10 13:40:40 2000 Delivered-To: freebsd-current@freebsd.org Received: from anchor-post-34.mail.demon.net (anchor-post-34.mail.demon.net [194.217.242.92]) by hub.freebsd.org (Postfix) with ESMTP id 5956537BA81 for ; Mon, 10 Jul 2000 13:40:28 -0700 (PDT) (envelope-from n_hibma@qubesoft.com) Received: from calcaphon.demon.co.uk ([193.237.19.5] helo=bluebottle.qubesoft.com) by anchor-post-34.mail.demon.net with esmtp (Exim 2.12 #1) id 13BkLn-000Az6-0Y; Mon, 10 Jul 2000 21:40:25 +0100 Received: from henny.webweaving.org (henny.qubesoft.com [192.168.1.5]) by bluebottle.qubesoft.com (8.9.3/8.9.1) with ESMTP id VAA36121; Mon, 10 Jul 2000 21:39:55 +0100 (BST) (envelope-from n_hibma@qubesoft.com) Received: from localhost (localhost [127.0.0.1]) by henny.webweaving.org (8.9.3/8.9.3) with ESMTP id VAA06831; Mon, 10 Jul 2000 21:32:20 +0100 (BST) (envelope-from n_hibma@qubesoft.com) Date: Mon, 10 Jul 2000 21:32:20 +0100 (BST) From: Nick Hibma X-Sender: n_hibma@localhost Reply-To: Nick Hibma To: Matthew Jacob Cc: Mark Murray , FreeBSD CURRENT Mailing List Subject: Re: if_de as a module... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 > > #include > > > > -#include "opt_inet.h" > > -#include "opt_ipx.h" > > - > > #include > > +#include > > +#include > > #include > > #include > > #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