YOPY and USB-NIC driver
Raphael Langerhorst
raphael-langerhorst at gmx.at
Sun Jun 27 02:12:17 PDT 2004
Hello Eric,
I just found this with google:
http://lists.freebsd.org/pipermail/freebsd-hardware/2003-August/000429.html
A few days ago I also got a YOPY 3700 and the YOPY NIC works with Knoppix 3.4,
so I wanted to know if there is also a FreeBSD driver available (my FreeBSD
box didn't recognize the device out of the box).
I'm using FreeBSD 5.2.1 (i386 AMD Athlon). Is your driver already in the
kernel? What option does it need for kernel compilation? If it's not in the
official kernel, can I put it in there by myself? (I downloaded the archive
you pointed to in the mail above).
.... besides, I just tried to compile the kernel module:
%make
Warning: Object directory not changed from
original /usr/home/raphael/tmp/if_saue/modules/saue
cc -O -pipe -mcpu=pentiumpro -D_KERNEL -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-
-I. -I@ -I@/../include -finline-limit=15000 -fno-common
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99
-c /usr/home/raphael/tmp/if_saue/modules/saue/../../dev/usb/if_saue.c
In file included from /usr/home/raphael/tmp/if_saue/dev/usb/if_saue.c:66:
@/dev/usb/usbdivar.h:127: error: syntax error before "bus_dma_tag_t"
/usr/home/raphael/tmp/if_saue/dev/usb/if_saue.c: In function `saue_match':
/usr/home/raphael/tmp/if_saue/dev/usb/if_saue.c:137: warning: implicit
declaration of function `usbd_get_string'
/usr/home/raphael/tmp/if_saue/dev/usb/if_saue.c: In function `saue_attach':
/usr/home/raphael/tmp/if_saue/dev/usb/if_saue.c:202: error: structure has no
member named `if_unit'
/usr/home/raphael/tmp/if_saue/dev/usb/if_saue.c:203: error: structure has no
member named `if_name'
/usr/home/raphael/tmp/if_saue/dev/usb/if_saue.c: In function `saue_ioctl':
/usr/home/raphael/tmp/if_saue/dev/usb/if_saue.c:668: warning: unused variable
`sc'
*** Error code 1
Thanks for your time... and for writing that driver :)
Raphael
PS: I'm not registered to the hardware list, please send mail to me directly
(cc).
If I should really register (i.e. if this needs some more back and forth
mailing) let me know.
More information about the freebsd-hardware
mailing list