cyclades driver in 8.0-STABLE

John Baldwin jhb at freebsd.org
Mon Apr 19 15:23:44 UTC 2010


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 at FreeBSD.org for some assistance.

-- 
John Baldwin


More information about the freebsd-stable mailing list