|
Сетевая карта RTL 8111c в FreeBSD 7.1
|
|
|
|
Замечено в FreeBSD 7.1 релиз! (в 8 поправили) Не смотря на то что pciconf -lv показывает : re0@pci0:2:0:0: class=<skipped> vendor = 'Realtek Semiconductor' device = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC' class = network subclass = ethernet ifconfig напрочь не видит re0 :( Что бы заработало, берем эти файлы, копируем соответственно http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_rlreg.h http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/pci/if_rl.c
|
|
|

cvs.freebsd-ufa.org
wiki.freebsd-ufa.org
не собирается
make -V CFILES -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP=”cc -E” CC=”cc” xargs mkdep -a -f .newdep -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I../../.. -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../dev/ath -I../../../contrib/ngatm -I../../../dev/twa -I../../../gnu/fs/xfs/FreeBSD -I../../../gnu/fs/xfs/FreeBSD/support -I../../../gnu/fs/xfs -I../../../contrib/opensolaris/compat -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 –param inline-unit-growth=100 –param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
In file included from ../../../dev/mii/rgephy.c:60:
../../../pci/if_rlreg.h:1656:28: error: token “;” is not valid in preprocessor expressions
../../../pci/if_rlreg.h:2064:6: error: unterminated comment
../../../pci/if_rlreg.h:1656:1: error: unterminated #if
In file included from ../../../dev/mii/rlphy.c:56:
../../../pci/if_rlreg.h:1656:28: error: token “;” is not valid in preprocessor expressions
../../../pci/if_rlreg.h:2064:6: error: unterminated comment
../../../pci/if_rlreg.h:1656:1: error: unterminated #if
../../../dev/re/if_re.c:4002:6: error: unterminated comment
../../../pci/if_rl.c:1530:6: error: unterminated comment
mkdep: compile failed
*** Error code 1
Stop in /usr/src/sys/i386/compile/GENERIC.
FreeBSD 7.1 ?
да, именно. Только небольшой комментарий к самому топику:
после очередной перезагрузки ifconfig может и увидеть интерфейс, так что “невидение” re0 не постоянно
собралось, все ок