In message: <[EMAIL PROTECTED]>
            Joerg Wunsch <[EMAIL PROTECTED]> 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
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to