-Don
Richard Gooch wrote:
> 
> Donald Thompson writes:
> > I've got a stallion EasyIO PCI 4 port card running on kernel 2.4.4.
> > Loading the stallion.o module does not seem to create the proper device files
> > for me using devfs.
> >
> > Upon loading the module I get the following devices created:
> >
> > /dev/ttyE
> > /dev/cue
> > /dev/staliomem/0
> > /dev/staliomem/1
> > /dev/staliomem/2
> > /dev/staliomem/3
> >
> > I don't get /dev/ttyE0 through /dev/ttyE3 or /dev/ttyE/0 through
> > /dev/ttyE/3, which is what I believe should be happening.
> 
> Please apply the following patch to drivers/char/stallion.c and let me
> know if that helps.
> 
>                                 Regards,
> 
>                                         Richard....
> Permanent: rgooch@atnf.csiro.au
> Current:   rgooch@ras.ucalgary.ca
> 
> --- stallion.c~ Fri Mar  2 14:12:07 2001
> +++ stallion.c  Mon Jul 30 21:08:34 2001
> @@ -139,8 +139,13 @@
>  static char    *stl_drvtitle = "Stallion Multiport Serial Driver";
>  static char    *stl_drvname = "stallion";
>  static char    *stl_drvversion = "5.6.0";
> +#ifdef CONFIG_DEVFS_FS
> +static char    *stl_serialname = "ttyE/%d";
> +static char    *stl_calloutname = "cue/%d";
> +#else
>  static char    *stl_serialname = "ttyE";
>  static char    *stl_calloutname = "cue";
> +#endif
> 
>  static struct tty_driver       stl_serial;
>  static struct tty_driver       stl_callout;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/