| To: | raoul@xxxxxxxxxx (Raoul Borenius), Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: broken devfs-support in SGI Zilog8530 serial driver |
| From: | Russell Coker <russell@xxxxxxxxxxxx> |
| Date: | Fri, 29 Mar 2002 14:38:35 +0100 |
| Cc: | "'Raoul Borenius'" <raoul@xxxxxxxxxx>, linux-mips@xxxxxxxxxxx, devfs@xxxxxxxxxxx |
| In-reply-to: | <20020329132650.GA16905@bunny.shuttle.de> |
| References: | <20020329103244.GA15765@bunny.shuttle.de> <000001c1d711$2492f070$1fc1f2a3@mow.siemens.ru> <20020329132650.GA16905@bunny.shuttle.de> |
| Reply-to: | Russell Coker <russell@xxxxxxxxxxxx> |
| Sender: | owner-devfs@xxxxxxxxxxx |
You need some code similar to the following in the serial driver:
#ifdef CONFIG_DEVFS_FS
serial_driver.name = "tts/%d";
#else
serial_driver.name = "ttyS";
#endif
Of course if the original device nodes were named /dev/ttyZ0 etc then you
want "tts/Z%d".
Look at the Cyclades and Stallion drivers for examples of it being done
correctly. Or tell me exactly the details of what you want and I'll send you
a patch.
--
If you send email to me or to a mailing list that I use which has >4 lines
of legalistic junk at the end then you are specifically authorizing me to do
whatever I wish with the message and all other messages from your domain, by
posting the message you agree that your long legalistic sig is void.
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: broken devfs-support in SGI Zilog8530 serial driver, Raoul Borenius |
|---|---|
| Next by Date: | Re: broken devfs-support in SGI Zilog8530 serial driver, Ralf Baechle |
| Previous by Thread: | Re: broken devfs-support in SGI Zilog8530 serial driver, Raoul Borenius |
| Next by Thread: | Re: broken devfs-support in SGI Zilog8530 serial driver, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |