Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2010 09:55:21 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-stable@freebsd.org
Cc:        Albert Chin <freebsd-stable@mlists.thewrittenword.com>
Subject:   Re: cyclades driver in 8.0-STABLE
Message-ID:  <201004190955.21163.jhb@freebsd.org>
In-Reply-To: <20100419021107.GA5835@honinbu.il.thewrittenword.com>
References:  <20100419021107.GA5835@honinbu.il.thewrittenword.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <sys/tty.h>
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004190955.21163.jhb>