From: Donald Thompson <dlt@dataventures.com>
To: Richard Gooch <rgooch@ras.ucalgary.ca>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Stallion EasyIO and devfs
Date: Sun, 12 Aug 2001 15:08:43 -0600 [thread overview]
Message-ID: <3B76F05B.59E7E66E@dataventures.com> (raw)
In-Reply-To: <Pine.LNX.4.31.0107161135530.13603-100000@dv1.dataventures.com> <200107310112.f6V1C5e13968@mobilix.ras.ucalgary.ca>
Works correctly. Didn't patch properly into 2.4.7 properly, think it
just
had the wrong line numbers. But patching it in by hand was no problem.
I'm
missing compatability symlinks, so that I get links from /dev/ttyE/* to
/dev/ttyE*, but thats another problem.
-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;
next prev parent reply other threads:[~2001-08-12 21:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-16 17:36 Stallion EasyIO and devfs Donald Thompson
2001-07-31 1:12 ` Richard Gooch
2001-08-12 21:08 ` Donald Thompson [this message]
[not found] <200108122123.f7CLNDK03327@mobilix.ras.ucalgary.ca>
2001-08-20 7:40 ` Donald Thompson
2001-08-20 16:15 ` Richard Gooch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3B76F05B.59E7E66E@dataventures.com \
--to=dlt@dataventures.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rgooch@ras.ucalgary.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox