From owner-freebsd-hardware@FreeBSD.ORG Sun Jun 27 09:12:16 2004 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2ABE16A4CE for ; Sun, 27 Jun 2004 09:12:16 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 085AC43D1D for ; Sun, 27 Jun 2004 09:12:16 +0000 (GMT) (envelope-from raphael-langerhorst@gmx.at) Received: (qmail 7895 invoked by uid 65534); 27 Jun 2004 09:11:49 -0000 Received: from unknown (EHLO [10.131.255.217]) (213.162.66.71) by mail.gmx.net (mp006) with SMTP; 27 Jun 2004 11:11:49 +0200 X-Authenticated: #5766884 From: Raphael Langerhorst To: eaja@erols.com Date: Sun, 27 Jun 2004 11:19:45 +0200 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200406271119.45965.raphael-langerhorst@gmx.at> cc: freebsd-hardware@freebsd.org Subject: YOPY and USB-NIC driver X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jun 2004 09:12:17 -0000 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.