From owner-freebsd-usb@FreeBSD.ORG Mon Mar 16 06:21:54 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3258106564A; Mon, 16 Mar 2009 06:21:54 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.238]) by mx1.freebsd.org (Postfix) with ESMTP id 9910F8FC12; Mon, 16 Mar 2009 06:21:54 +0000 (UTC) (envelope-from weongyo.jeong@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so2951085rvb.43 for ; Sun, 15 Mar 2009 23:21:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent:organization :x-operation-sytem; bh=klN6Pod6A/gn/Mk8KGSBuJMWEPC071Bt1g7EM0Gfpfo=; b=uvIY76qmOg9HsjnET+gTnNCDXORcBH4fuiLl8FfRcKfzGGShiaWUbKJc4UrTTnDWsm hVA7Mzpg4mEVzB+3+92dYwmuFZaKT+W2TDGlqhjhPTg4BMLrRdhzrcr7Xhw7pc9xJV0O uGlITJVZ/sApytEBH3K+JGPH3t6JDFBu6IGM4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent :organization:x-operation-sytem; b=TqM+GbpBMEUAkxhPCdtIVTHeu8mGqfTu/C6R49RiQHCYYv3ICjw8jYlq6/s6J8yJW9 exJ6Z38rJEgvfM2VUdBbYchTHFWKKl90KrUjHMLQyMLvA39eWZJ0AUUtJKuqgp6ehOOZ pbgM96iUG9q3lNtXNbB0NYIGN1CMR3r/aunzY= Received: by 10.141.20.7 with SMTP id x7mr2111218rvi.85.1237184514294; Sun, 15 Mar 2009 23:21:54 -0700 (PDT) Received: from weongyo ([114.111.62.249]) by mx.google.com with ESMTPS id k41sm3976652rvb.6.2009.03.15.23.21.52 (version=SSLv3 cipher=RC4-MD5); Sun, 15 Mar 2009 23:21:53 -0700 (PDT) Received: by weongyo (sSMTP sendmail emulation); Mon, 16 Mar 2009 15:21:50 +0900 From: Weongyo Jeong Date: Mon, 16 Mar 2009 15:21:50 +0900 To: Robert Watson Message-ID: <20090316062150.GC1851@weongyo.cdnetworks.kr> References: <20090217052121.GB86244@weongyo.cdnetworks.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Organization: CDNetworks. X-Operation-Sytem: FreeBSD Cc: usb@freebsd.org, Hans Petter Selasky , thompsa@freebsd.org Subject: Re: USB support in NDIS -- IFF_NEEDSGIANT? X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Weongyo Jeong List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 06:21:55 -0000 On Fri, Mar 13, 2009 at 11:37:57AM +0000, Robert Watson wrote: > > On Tue, 17 Feb 2009, Weongyo Jeong wrote: > > >>As you know, I've been gradually working to eliminate all non-MPSAFE > >>network device driver infrastructure for 8.0, having removed non-MPSAFE > >>network protocol infrastructure in 7.0. In reviewing remaining drivers > >>using IFF_NEEDSGIANT, I spotted this in the NDIS code: > ... > >>Having taken a glance, it looks like this was added specifically to > >>support > >>USB devices attached via NDIS. > > > >AFAIK all of usb wireless drivers had it so I couldn't avoid it when I had > >implemented. > > > >>With the new USB code, are NDIS drivers still supported? > > > >I think that it would be supported at 8.0 > > > >>And in the new world order, is this IFF_NEEDSGIANT still required? > > > >Probably we can remove the IFF_NEEDSGIANT flags at the new USB code. > > > >>Can I simply remove it once the old USB code is on the way out the door? > > > >IMHO yes I think. > > Dear all: > > A few weeks have passed, so I wanted to check in and see how this project > was going -- are we at a point yet where removing IFF_NEEDSGIANT won't > cause significant loss of functionality? In the current, NDIS USB porting almost have completed and it doesn't use IFF_NEEDSGIANT anymore. With some tests it looks it works well so I think it wouldn't cause any loss of functionality. regards, Weongyo Jeong