Date: Thu, 28 Aug 1997 18:11:47 -0700 (PDT) From: Jeffrey Hsu <hsu> To: hackers Subject: Re: It appears to be impossible to build a kernel w/o networking... Message-ID: <199708290111.SAA02410@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The last time I tried this, a couple days ago, there was only a small problem with some netisr code not being properly enclosed within #ifdef INET. Index: machdep.c =================================================================== RCS file: /usr/cvsup/prefix/src/sys/i386/i386/machdep.c,v retrieving revision 1.256 diff -c -r1.256 machdep.c *** machdep.c 1997/08/18 06:58:09 1.256 --- machdep.c 1997/08/19 21:29:03 *************** *** 190,196 **** --- 190,198 ---- static vm_offset_t buffer_sva, buffer_eva; vm_offset_t clean_sva, clean_eva; static vm_offset_t pager_sva, pager_eva; + #ifdef INET extern struct linker_set netisr_set; + #endif #define offsetof(type, member) ((size_t)(&((type *)0)->member)) *************** *** 241,250 **** --- 243,254 ---- } } + #ifdef INET /* * Quickly wire in netisrs. */ setup_netisrs(&netisr_set); + #endif /* * Allocate space for system data structures.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708290111.SAA02410>