Date: Sun, 18 Jan 2004 17:46:15 +0300 From: Lev Klimin <levanty@mari-el.ru> To: freebsd-questions@freebsd.org Subject: NIC ne2000 Message-ID: <97246977750.20040118174615@mari-el.ru>
next in thread | raw e-mail | index | archive | help
Hello! I have 4.9-release. I have old noname NIC. On the top of main chip I see "NE2000 Compatible". I see in LINT for that: --- from LINT--- # # Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc' # # ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503 device ed0 at isa? port 0x280 irq 5 iomem 0xd8000 ---------------- I have began to build my kernel with follow option for this NIC: device ed0 at isa? port 0x280 irq 5 iomem 0xd8000 but I've see: cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 vers.c linking kernel if_ed.o: In function `ed_tick': if_ed.o(.text+0x2706): undefined reference to `mii_tick' if_ed.o: In function `ed_init': if_ed.o(.text+0x2afb): undefined reference to `mii_mediachg' if_ed.o: In function `ed_ifmedia_upd': if_ed.o(.text+0x4dca): undefined reference to `mii_mediachg' if_ed.o: In function `ed_ifmedia_sts': if_ed.o(.text+0x4e03): undefined reference to `mii_pollstat' *** Error code 1 Stop in /usr/obj/usr/src/sys/PULS. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Then I've add miibus support: device miibus and kernel have been compiled. Why there is no anything about miibus in LINT when use ISA NIC (only PCI adapters) such as NE2000. May be add that useful commetnts in LINT in order to other people don't have this trouble. May be I'm mistake? Thank you. -- Lev Klimin mailto:levanty@mari-el.ru (8362) 42-15-49
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?97246977750.20040118174615>