ehci.c : uncommited patch fixes DRAC5 problems

Bill Moran wmoran at collaborativefusion.com
Wed Sep 20 08:14:43 PDT 2006


In response to Hans Petter Selasky <hselasky at c2i.net>:

> Could you have checked if my new USB driver has the same problem?
> 
> #
> # First get all the sources
> # (you need /usr/ports/devel/subversion installed)
> #
> 
> svn --username anonsvn --password anonsvn \
>       checkout svn://svn.turbocat.net/i4b
> 
> #
> # The following commands will
> # install the driver on FreeBSD:
> #
> 
> cd i4b/trunk/i4b/FreeBSD.usb
> make S=../src package
> make install
> 
> #
> # Then build a new kernel (with modules).
> #

[...]
cc -pipe -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-   -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/GENERIC/opt_global.h -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -g -fno-omit-frame-pointer -I/usr/obj/usr/src/sys/GENERIC -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/src/sys/modules/ucom/../../dev/usb/ucom.c
/usr/src/sys/modules/ucom/../../dev/usb/ucom.c: In function `ucom_attach':
/usr/src/sys/modules/ucom/../../dev/usb/ucom.c:186: error: `TS_CALLOUT' undeclared (first use in this function)
/usr/src/sys/modules/ucom/../../dev/usb/ucom.c:186: error: (Each undeclared identifier is reported only once
/usr/src/sys/modules/ucom/../../dev/usb/ucom.c:186: error: for each function it appears in.)
/usr/src/sys/modules/ucom/../../dev/usb/ucom.c:186: warning: passing arg 3 of `ttycreate' makes integer from pointer without a cast
/usr/src/sys/modules/ucom/../../dev/usb/ucom.c:186: error: too few arguments to function `ttycreate'
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

Note that I'm building an amd64 kernel.  Don't know if you've tested
your code on that arch yet.

-- 
Bill Moran
Collaborative Fusion Inc.

****************************************************************
IMPORTANT: This message contains confidential information and is
intended only for the individual named. If the reader of this
message is not an intended recipient (or the individual
responsible for the delivery of this message to an intended
recipient), please be advised that any re-use, dissemination,
distribution or copying of this message is prohibited. Please
notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The
sender therefore does not accept liability for any errors or
omissions in the contents of this message, which arise as a
result of e-mail transmission.
****************************************************************


More information about the freebsd-usb mailing list