From owner-freebsd-stable@FreeBSD.ORG Mon Apr 19 15:23:44 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5C5A10656AB for ; Mon, 19 Apr 2010 15:23:44 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 97A588FC21 for ; Mon, 19 Apr 2010 15:23:44 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 4A79446B51; Mon, 19 Apr 2010 11:23:44 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 8FCE88A026; Mon, 19 Apr 2010 11:23:43 -0400 (EDT) From: John Baldwin To: freebsd-stable@freebsd.org Date: Mon, 19 Apr 2010 09:55:21 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <20100419021107.GA5835@honinbu.il.thewrittenword.com> In-Reply-To: <20100419021107.GA5835@honinbu.il.thewrittenword.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201004190955.21163.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 19 Apr 2010 11:23:43 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Albert Chin Subject: Re: cyclades driver in 8.0-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2010 15:23:44 -0000 On Sunday 18 April 2010 10:11:07 pm Albert Chin wrote: > Just updated to 8.0-RELEASE and recompiling 8.0-STABLE with the > following addition to GENERIC: > device cy > options CY_PCI_FASTINTR > > Building the kernel with: > make buildkernel KERNCONF=NEWKERNEL > gives me: > cc -c -O -pipe -march=pentium4 -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/opt/freebsd/src/sys -I/opt/freebsd/src/sys/contrib/altq -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 -fstack-protector -Werror /opt/freebsd/src/sys/dev/cy/cy.c > /opt/freebsd/src/sys/dev/cy/cy.c:251: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cybreak' > /opt/freebsd/src/sys/dev/cy/cy.c:252: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cymodem' > /opt/freebsd/src/sys/dev/cy/cy.c:253: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cyopen' > /opt/freebsd/src/sys/dev/cy/cy.c:254: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cyclose' > cc1: warnings being treated as errors > > FreeBSD 7 had: > typedef void t_break_t(struct tty *, int); > in > > This is no longer present in FreeBSD 8. Oversight? Should I be able to > compile the cyclades driver for FreeBSD 8? No, it is not presently supported on 8. It needs to be ported to the new tty layer. You could perhaps ask ed@FreeBSD.org for some assistance. -- John Baldwin