cvs commit: src/etc devd.conf
M. Warner Losh
imp at bsdimp.com
Thu Feb 15 08:01:19 UTC 2007
In message: <20070215074202.GB38723 at uriah.heep.sax.de>
Joerg Wunsch <j at uriah.heep.sax.de> 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
More information about the cvs-src
mailing list