Re: Serial Driver Name Question (kernels 2.4.x)

Richard Gooch
2002-01-07T06:37:25Z

Andrew Morton writes:
> Richard Gooch wrote:
> >
> > Andrew Morton writes:
> > > Richard Gooch wrote:
> > > >
> > > > > Instead, it appears that someone broke tty_name(). Here's the
> > > > > 2.2 kernel's version:
> > > >
> > > > That "someone" was me, and I changed it from broken to fixed.
> > > >
> > >
> > > Look at serial.c:
> > >
> > > #if (LINUX_VERSION_CODE > 0x2032D && defined(CONFIG_DEVFS_FS))
> > > serial_driver.name = "tts/%d";
> > > #else
> > > serial_driver.name = "ttyS";
> > > #endif
> > >
> > > tty_name will just print "ttyS". So the transition for this case
> > > was fixed->broken.
> >
> > Why exactly is just "ttyS" broken?
>
> umm.. Because it doesn't tell the user which serial port the
> message pertains to?

Exactly where is it broken? I look at my dmesg output and things look
fine.

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca