From owner-freebsd-mobile Wed Apr 5 11:21:33 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 8122337B988 for ; Wed, 5 Apr 2000 11:21:24 -0700 (PDT) (envelope-from iwasaki@jp.FreeBSD.org) Received: from localhost (isdn15.imasy.or.jp [202.227.24.207]) by tasogare.imasy.or.jp (8.9.3+3.2W/3.7W-tasogare/smtpfeed 1.01) with ESMTP id DAA16021; Thu, 6 Apr 2000 03:21:20 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Message-Id: <200004051821.DAA16021@tasogare.imasy.or.jp> To: imp@village.org Cc: iwasaki@jp.freebsd.org, freebsd-mobile@FreeBSD.ORG Subject: Re: Call for review: Wildcard entry support In-Reply-To: Your message of "Tue, 04 Apr 2000 03:19:36 +0900" <200004031819.DAA11822@tasogare.imasy.or.jp> References: <200004031819.DAA11822@tasogare.imasy.or.jp> X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 06 Apr 2000 03:21:19 +0900 From: Mitsuru IWASAKI X-Dispatcher: imput version 980905(IM100) Lines: 34 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, > > : I think it is better to have them because more than two available > > : config lines are needed if two cards use the same generic entry. > > : Also, I'm expecting that a lot of normal cards can be supported by > > : generic entries and this will cause few new card to be added. > > : In this case, the `just in case' entries make sense. > > > > Does the generic entry give you one of the cards, unspecified in > > number, or does it give you an unlimited number of them. If the form, > > I can see why you'd want to have more just in case. If the latter, > > then I don't see the point. If the generic code can eliminate a large > > number of entries (say all of the modems), then having a couple of > > extra lines shouldn't be a huge deal. They seem like they might be > > nops to me, which is why I ask. > > I was expecting the latter but actual code seems to say the former. > Currently generic entry can support only one card at the same time, > so the extra lines make sense only if the same type of card (but > different card) uses the same configuraion. Changing 2 lines of > conf->inuse = 1; > to > if (cp->func_id == 0) > conf->inuse = 1; > in cardd.c is my expected behavior, an unlimited number of cards can > share one generic entry using different configuration for each cards. Sorry for my misunderstanding, no additional code is needed for this. OK, I'll remove 'just in case' config line from pccard.conf and commit them first. I'll improve this feature later If there is an opportunity. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message