From owner-freebsd-current Mon Sep 27 16:54: 6 1999 Delivered-To: freebsd-current@freebsd.org Received: from mg-20425427-16.ricochet.net (mg-20425427-16.ricochet.net [204.254.27.16]) by hub.freebsd.org (Postfix) with ESMTP id 31FFB14E60 for ; Mon, 27 Sep 1999 16:53:51 -0700 (PDT) (envelope-from gurney_j@efn.org) Received: (from jmg@localhost) by mg-20425427-16.ricochet.net (8.9.1/8.8.7) id QAA02799; Mon, 27 Sep 1999 16:53:26 -0700 (PDT) Message-ID: <19990927165321.43140@hydrogen.fircrest.net> Date: Mon, 27 Sep 1999 16:53:21 -0700 From: John-Mark Gurney To: dmaddox@conterra.com Cc: current@FreeBSD.ORG Subject: Re: Demand-loaded network ifs and bpf References: <19990926145328.A430@dmaddox.conterra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69 In-Reply-To: <19990926145328.A430@dmaddox.conterra.com>; from Donald J . Maddox on Sun, Sep 26, 1999 at 02:53:28PM -0400 Reply-To: John-Mark Gurney Organization: Cu Networking X-Operating-System: FreeBSD 3.0-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Donald J . Maddox scribbled this message on Sep 26: > I see that support has been added for demand-loading network > if drivers. I seem to recall that the last time I tried using > network drivers as klds, nothing that required bpf to work > was functional anymore, because bpf required that the device > existed at the time it was initialized. Is this still the case? > Will bpf work for demand-loaded network klds? you should do your own research such are reading the commit logs that has to deal with it (remeber, you're suppose to be reading them if you are running -current): wpaul 1999/09/22 20:32:59 PDT Modified files: sys/pci if_al.c if_ax.c if_dm.c if_mx.c if_pn.c if_rl.c if_sf.c if_sis.c if_sk.c if_ste.c if_ti.c if_tl.c if_vr.c if_wb.c if_xl.c sys/i386/isa if_wi.c Log: As suggested by phk, unconditionalize BPF support in these drivers. Since there are stubs compiled into the kernel if BPF support is not enabled, there aren't any problems with unresolved symbols. The modules in /modules are compiled with BPF support enabled anyway, so the most this will do is bloat GENERIC a little. -- John-Mark Gurney Voice: +1 408 975 9651 Cu Networking "The soul contains in itself the event that shall presently befall it. The event is only the actualizing of its thought." -- Ralph Waldo Emerson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message