puc(4) and single I/O port cards.

Marcel Moolenaar xcllnt at mac.com
Mon Nov 29 00:25:54 UTC 2010


On Nov 28, 2010, at 2:20 PM, Jonathan Chen wrote:
> I've taken a look at the puc(4) code, and from my limited
> understanding, it appears that the section that's preventing it from
> being recognised is in puc.c:puc_bfe_probe(). In particular:
> 
>    /* We don't attach to single-port serial cards. */
>    if (cfg->ports == PUC_PORT_1S || cfg->ports == PUC_PORT_1P)
>        return (EDOOFUS);
> 
> Why is the check there? Is there something about single I/O port cards
> that interacts badly with the rest of the system?

Single-port devices are handled by ppc(4) for parallel
ports and uart(4) for serial ports. There's no need to
have puc(4) in between.

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the freebsd-hackers mailing list