From owner-freebsd-questions@FreeBSD.ORG Fri Apr 18 09:50:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 279831065676 for ; Fri, 18 Apr 2008 09:50:51 +0000 (UTC) (envelope-from peo@intersonic.se) Received: from neonpark.inter-sonic.com (neonpark.inter-sonic.com [212.247.8.98]) by mx1.freebsd.org (Postfix) with ESMTP id D4ACE8FC1C for ; Fri, 18 Apr 2008 09:50:50 +0000 (UTC) (envelope-from peo@intersonic.se) X-Virus-Scanned: amavisd-new at inter-sonic.com Message-ID: <48086EF6.4000708@intersonic.se> Date: Fri, 18 Apr 2008 11:50:46 +0200 From: Per olof Ljungmark User-Agent: Thunderbird 2.0.0.12 (X11/20080413) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: usb serial line speed limits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 09:50:51 -0000 I'm trying to get better speed from ubsa(4) to use a 3G modem att full speed. Editing ubsa.c up to 921600 is fine but if I go to 1228800 compile fails: cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/HUNTER/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/HUNTER -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/ubsa/../../dev/usb/ubsa.c /usr/src/sys/modules/ubsa/../../dev/usb/ubsa.c: In function 'ubsa_baudrate': /usr/src/sys/modules/ubsa/../../dev/usb/ubsa.c:534: error: 'B1228800' undeclared (first use in this function) /usr/src/sys/modules/ubsa/../../dev/usb/ubsa.c:534: error: (Each undeclared identifier is reported only once /usr/src/sys/modules/ubsa/../../dev/usb/ubsa.c:534: error: for each function it appears in.) *** Error code 1 Where can I dig out more info on how to proceed? Unfortunately my understanding of C and the rest is rather limited... Thanks!