Subject: Re: What device node for a PCMCIA modem?
To: John Ruschmeyer <jruschme@comcast.net>
From: Martin Husemann <martin@duskware.de>
List: port-sparc
Date: 02/25/2003 22:27:46
On Mon, Feb 24, 2003 at 09:56:29AM -0500, John Ruschmeyer wrote:

> the life of me, figure out what device node corresponds to the com0 I
> get when I insert a PCMCIA modem.
> 
> What one is it? And do I need to mknod first?

According to /usr/src/sys/arch/sparc/conf/majors.sparc:

device-major	com		char 36			com

and in /dev/MAKEDEV there is:

ttyC*)
        unit=${i#ttyC}
        rm -f ttyC$unit dtyC$unit
        mknod ttyC$unit c 36 $(($unit + $dialin ))
        mknod dtyC$unit c 36 $(($unit + $dialout))
        chown uucp ttyC$unit dtyC$unit
        ;;

So it should be ttyC0 and dtyC0.

Martin