| To: | Jurgen Botz <jurgen@xxxxxxxx> |
|---|---|
| Subject: | Re: ttyS1, S2, etc... |
| From: | Richard Gooch <rgooch@xxxxxxxxxxxxx> |
| Date: | Thu, 16 Mar 2000 11:30:42 +1100 |
| Cc: | devfs@xxxxxxxxxxx |
| In-reply-to: | <200003151742.JAA17128@xxxxxxxxxxxxx> |
| References: | <200003151742.JAA17128@xxxxxxxxxxxxx> |
| Sender: | owner-devfs@xxxxxxxxxxx |
Jurgen Botz writes:
> I have a six-port BOCA serial card. It is supported by the standard
> serial driver with multi-port extension and share IRQ. devfs doesn't
> do anything with this... I have to manually create the devices. I
> think that may be inevitable, since even the serial driver can't
> really detect these kinds of cards and you have to use 'setserial'
> configure them. What's the best way to deal with this? Maybe
> devfsd special case for them? Or should the serial driver have
> devfs code to do the right thing once setserial 'activates' a port?
In drivers/char/serial.c:register_serial() there are calls which
create devfs entries. So the low-level serial driver should call
register_serial() and everything should be fine. It certainly works
for PCMCIA serial cards. Insert the card and the devfs entry magically
appears.
Regards,
Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current: rgooch@xxxxxxxxxxxxxxx
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | ttyS1, S2, etc..., Jurgen Botz |
|---|---|
| Next by Date: | Re: ttyS1, S2, etc..., Jurgen Botz |
| Previous by Thread: | ttyS1, S2, etc..., Jurgen Botz |
| Next by Thread: | Re: ttyS1, S2, etc..., Jurgen Botz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |