From owner-freebsd-usb@FreeBSD.ORG Sat Dec 27 12:44:21 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 809751065678; Sat, 27 Dec 2008 12:44:21 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 41D168FC20; Sat, 27 Dec 2008 12:44:21 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by wa-out-1112.google.com with SMTP id m34so2354616wag.27 for ; Sat, 27 Dec 2008 04:44:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:to:cc:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:organization :x-operation-sytem:from; bh=Hd8wDAwBwDonqFLDLwlEraEdHDQZYQuUQmVO4yuZH28=; b=Te6scN6h9Vh2CtVB7eKSzWHKbrarDB4CqOVpgGK0d29xu4c5insjEfshZ3oLs+eZZM XprroVbaRFZFJXM1Z+o8OgECrpKCNN8czITtl7Kji1u0bGxSoIkVKYvJ9fQoiZtX5k0R 66jfEtLOZg3o9AHnr1xNhG0PWFFIfnIPuYxIE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent:organization:x-operation-sytem:from; b=iWGryriqSRdTH/3hntTgbWUwXt73sO7QL1F2XLsaTQLTceLZ7l/pEz5yeEkyPg6cae TGcdR74EJp3wrrd92GI5BFkcDvUcyWWHJQ2TvSkQpPYaFhOYdCqg1BpcvBsg87niRmfE l4v8vvNlrqLMBOuBP2xleAzuixKz2HIUHKLt8= Received: by 10.114.174.2 with SMTP id w2mr7578323wae.195.1230381860868; Sat, 27 Dec 2008 04:44:20 -0800 (PST) Received: from freebsd.weongyo.org ([211.53.35.67]) by mx.google.com with ESMTPS id z20sm19063909pod.26.2008.12.27.04.44.17 (version=SSLv3 cipher=RC4-MD5); Sat, 27 Dec 2008 04:44:20 -0800 (PST) Received: by freebsd.weongyo.org (sSMTP sendmail emulation); Sat, 27 Dec 2008 21:44:07 +0900 Date: Sat, 27 Dec 2008 21:44:07 +0900 To: Ganbold Message-ID: <20081227124407.GB2561@freebsd.weongyo.org> Mail-Followup-To: Ganbold , freebsd-current@freebsd.org, freebsd-usb@freebsd.org References: <20081227100349.GB1815@freebsd.weongyo.org> <49560548.4040406@micom.mng.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49560548.4040406@micom.mng.net> User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD From: Weongyo Jeong Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: HEADSUP: NDIS USB code has been committed X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2008 12:44:21 -0000 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