Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2008 21:44:07 +0900
From:      Weongyo Jeong <weongyo.jeong@gmail.com>
To:        Ganbold <ganbold@micom.mng.net>
Cc:        freebsd-current@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: HEADSUP: NDIS USB code has been committed
Message-ID:  <20081227124407.GB2561@freebsd.weongyo.org>
In-Reply-To: <49560548.4040406@micom.mng.net>
References:  <20081227100349.GB1815@freebsd.weongyo.org> <49560548.4040406@micom.mng.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 27, 2008 at 06:36:56PM +0800, Ganbold wrote:
> Weongyo Jeong wrote:
> > Hello,
> >
> > Just for information.  The code for supporting NDIS USB drivers has been
> > committed into HEAD.  Please tell me if you encounter problems.
> >   
> Tried to compile kernel, but gives error. Is it related to your commit?
> ...
> cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
> -std=c99 -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
> /usr/obj/usr/src/sys/DEVIL/opt_global.h -I. -I@ -I@/contrib/altq
> -finline-limit=8000 --param inline-unit-growth=100 --param
> large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/DEVIL
> -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
> -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector
> -fstack-protector -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c
> /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c
> In file included from
> /usr/src/sys/modules/usb2/ndis/../../../dev/usb2/ndis/if_ndis_usb2.c:60:
> @/dev/if_ndis/if_ndisvar.h:121: error: expected specifier-qualifier-list
> before 'usbd_xfer_handle'
> @/dev/if_ndis/if_ndisvar.h:212: error: expected specifier-qualifier-list
> before 'usbd_pipe_handle'
> *** Error code 1
> 1 error
> *** Error code 2
> ...

Yes.  It's related with my commit that now if_ndisvar.h has some
structures referring to the original USB framework so it breaks on the
newusb.

Now building NDIS part on the newusb have decoupled from the default
build.  I hope now the builds are recovered.

regards,
Weongyo Jeong




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