Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2010 21:11:07 -0500
From:      Albert Chin <freebsd-stable@mlists.thewrittenword.com>
To:        freebsd-stable@freebsd.org
Subject:   cyclades driver in 8.0-STABLE
Message-ID:  <20100419021107.GA5835@honinbu.il.thewrittenword.com>

next in thread | raw e-mail | index | archive | help
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?

-- 
albert chin (china@thewrittenword.com)



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