Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2000 20:48:08 +0200
From:      Mark Murray <mark@grondar.za>
To:        wpaul@freebsd.org
Cc:        current@freebsd.org
Subject:   if_de as a module...
Message-ID:  <200007101848.UAA67042@grimreaper.grondar.za>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007101848.UAA67042>