Bug #316
closedToshiba Satellite M50 ...
0%
Description
Ferruccio Zamuner wrote:
Ferruccio Zamuner wrote:
Now it's more clear.
ath is only the wifi interface, the cable one is:Marvell 88E836 Yukon PCI-E Fast Ethernet Controller
and it's not supported by FreeBSD either.
Is any if_ndis.ko (project evil) or native support upcoming for DFBSD?
Thank you in advance, \fer
Found: http://www.shiningsilence.com/dbsdlog/index.php/2004/07/30/558.html
Now I'll try, thank you -Matt.
ndiscvt first fails for UNICODE in yk51x86.inf, I've used iconv:
iconv -c -f CSUNICODE -t US-ASCII yk51x86.inf > yk51x86_a.inf
then ndiscvt gives me more parse errors and I've add comment to remove
for following lines:
;HKR, Ndi\Params\WakeUpModeCap_A\enum, "25", 0, Magic Packet
;HKR, Ndi\Params\WakeUpModeCap_A\enum, "26", 0, Pattern Match
;HKR, Ndi\Params\WakeUpModeCap_A\enum, "27", 0, Mag Pack Patt Match
;HKR, Ndi\Params\WakeUpModeCap_A\enum, "28", 0, Link Change
I report them here because I don't know how if they are to fix or to remove.
Now ndiscvt completes, but make fails:
% cd /usr/src/sys/dev/netif/ndis
% make
% make clean
% ndiscvt -s /usr/local/modules/if_ndis/yk51x86.sys -i /usr/local/modules/if_ndis/yk51x86.inf -n yk5 -o /usr/obj/usr/src/sys/dev/netif/ndis/ndis_driver_data.h
% make
[...]
cc -O -pipe -mtune=pentiumpro -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -ansi -DKLD_MODULE -nostdinc -I. -I@
-I@/../include -I/usr/include -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -ffreestanding -mpreferred-stack-boundary=2 -fno-stack-protector -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -ansi -c /usr/src/sys/dev/netif/ndis/if_ndis.c
In file included from /usr/src/sys/dev/netif/ndis/if_ndis.c:87:
./ndis_driver_data.h:3487: error: excess elements in char array initializer
./ndis_driver_data.h:3487: error: (near initialization for `ndis_regvals1011.nc_val')
./ndis_driver_data.h:3488: warning: braces around scalar initializer
./ndis_driver_data.h:3488: warning: (near initialization for `ndis_regvals1011.nc_val0')
./ndis_driver_data.h:3488: warning: initialization makes integer from pointer without a cast
./ndis_driver_data.h:3488: error: initializer element is not computable at load time
./ndis_driver_data.h:3488: error: (near initialization for `ndis_regvals1011.nc_val0')
[...]
I leave a complete archive at:
http://vola.diff.org/dfbsd_yk51x86.tgz
with:
rwxr-xr-x 0 root wheel 230400 12 Set 19:36 usr/local/modules/if_ndis/yk51x86.sys 0 root wheel 164981 12 Set 19:36 usr/local/modules/if_ndis/yk51x86.inf
-rw-r--r-rw-r--r- 0 root wheel 2122109 12 Set 19:48 usr/obj/usr/src/sys/dev/netif/ndis/ndis_driver_data.hrw-r--r- 0 root 1001 890828 12 Set 19:49 tmp/err.log
The last is full error log from make.
I'll appreciate any hint or help.
Thank you in advance, \fer