From owner-cvs-all@FreeBSD.ORG Thu Feb 15 08:01:19 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B83616A402; Thu, 15 Feb 2007 08:01:19 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id CF8DE13C442; Thu, 15 Feb 2007 08:01:18 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l1F7xUQH093045; Thu, 15 Feb 2007 00:59:31 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Thu, 15 Feb 2007 01:00:12 -0700 (MST) Message-Id: <20070215.010012.1723241386.imp@bsdimp.com> To: joerg_wunsch@uriah.heep.sax.de, j@uriah.heep.sax.de From: "M. Warner Losh" In-Reply-To: <20070215074202.GB38723@uriah.heep.sax.de> References: <20070215060243.GY38723@uriah.heep.sax.de> <20070215.003046.-432838250.imp@bsdimp.com> <20070215074202.GB38723@uriah.heep.sax.de> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Thu, 15 Feb 2007 00:59:31 -0700 (MST) Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc devd.conf X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2007 08:01:19 -0000 In message: <20070215074202.GB38723@uriah.heep.sax.de> Joerg Wunsch writes: : As M. Warner Losh wrote: : : > : Another thing that is entirely missing (even as a variable) appears : > : to be a pccard's "function_type". ... : : > I thought that was published. pccard's pnpinfo includes : > function_type (I just checked the sources). : : Hmm, I blindly trusted the comment that claimed pnpinfo wasn't set : inside devd... The message from the kernel is: ? at function=0 manufacturer=0x0098 product=0x0000 cisvendor="TOSHIBA THNCF512MPG " cisproduct="" function_type=4 on pccard0 and the code to parse it does: case nomatch: //? at location pnp-info on bus sp = strchr(sp, ' '); if (sp == NULL) return; /* Can't happen? */ *sp++ = '\0'; if (strncmp(sp, "at ", 3) == 0) sp += 3; sp = cfg.set_vars(sp); if (strncmp(sp, "on ", 3) == 0) cfg.set_variable("bus", sp + 3); break; which I think should result in function_type=4 being set in devd. where's this comment to which you refer so I can go kill it :-) Warner