Re: device drivers

From: Edward Betts (edward@debian.org)
Date: Tue Jun 13 2000 - 09:01:12 EST


Md A Saifulla <saif@lantana.tenet.res.in> wrote:
> I am writing device driver for an ineternet telephony card. It
> can connect four channels directly from PSTN. So i am taking the four
> channels as /dev/line1, /dev/line2, /dev/line3, /dev/line4. But in the DSP
> software of the card it has only one signalling channel. I have no idea
> about how to manage this one signalling channel among four voice channels.
>
> Actual doubt i have is if we take four device files with same major number
> and different minor numbers how the driver behaves? That is linux will
> take four different device drivers for the four device files differently
> or single device file for all the four. And one more problem is all these
> device files /dev/line1, /dev/line2 ... use same memory in kernel or
> different memory for each device file?

Could I recommend against /dev names as inexact as `line', could something
more precise be thought of?

-- 
Don't worry  --  shop.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jun 15 2000 - 21:00:28 EST