public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC-2] Configuring Synchronous Interfaces in Linux
@ 2000-12-05  5:58 Ivan Passos
  2000-12-05  9:38 ` Francois Romieu
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Ivan Passos @ 2000-12-05  5:58 UTC (permalink / raw)
  To: Linux Kernel List; +Cc: Philip Blundell, netdev


Hello,

Thanks to all of you who responded to my first RFC on this subject. The
discussion ended up going in the Ethernet direction, and I frankly don't
know whether that applies to this case, or even if it _should_ apply or
they should really be separate config. subsystems. This is another thing
that you may wanna throw your opinions on.

Anyhow, the parameters we currently need to configure on our board (the
PC300) are as follows:

- Media: V.35, RS-232, X.21, T1, E1
- Protocol: Frame Relay, (Cisco)-HDLC, PPP, X.25 (not sure whether that is
            already supported by the 'hw' option)
- Clock: 'ext' (or 0, which implies external clock) or some numeric value
         > 0 (which implies internal clock); setting it to 'int' would set
         it to some fixed numeric value > 0 (useful for T1/E1 links, just
         to indicate master clock as opposed to slave or 'ext' clock) 
- Frame Relay only: 
	- End type: DCE or DTE (maybe this applies to other interface
                    types as well)
	- DLCI: DLC number for the interface
- T1/E1 only:
	- Line code: 
	- Frame mode:
	- LBO (T1 only): line-build-out
	- Rx Sensitivity: short-haul or long-haul
	- Active channels: mask that represents the possible 24/32
                           channels (timeslots) on a T1/E1 line

I'm sure that _all_ the other sync cards need to configure the _same_
parameters (or a subset of them), and there may be cards that need even
more parameters (but we have to start somewhere ... ;). So having a
unified interface and making the drivers compliant to it is not that hard
and surely would help users to dump the currently ridiculous set of
individual config. tools for these cards (yes, we currently have our own
pc300cfg, along with the -- not absolute -- "standard" sethdlc utility).

I'm willing to go for this implementation, but I wanted to know first:
- whether ifconfig is the right place to do it;
- where I should create the new ioctl's to handle these new parameters.

Suggestions / comments are more than welcome.

Later,
Ivan

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
[parent not found: <Pine.LNX.4.30.0012051925330.6718-100000@pc24.sr.bham.ac.uk>]
* Re: [RFC-2] Configuring Synchronous Interfaces in Linux
@ 2000-12-05 22:55 Stuart Lynne
  2000-12-06  1:21 ` Alan Cox
  0 siblings, 1 reply; 21+ messages in thread
From: Stuart Lynne @ 2000-12-05 22:55 UTC (permalink / raw)
  To: linux-kernel

> 
> I have a vested interest in how this all turns out.  I own a Packet Over SONET
> device driver for our OC-12 and OC-48 NICs that I currently pass all parameters
> to the driver via arguments on the insmod.  To avoid lengthy commands, we
> provide the common defaults.  We accept some basic ifconfig input, but with
> SONET/SDH and chip specific items that needed to be controlled, ifconfig did not
> seem the way to go.

Ditto, we have an adsl driver that we setup by overloading various otherwise
unused options in ifconfig (mem_start, io_addr etc) to do this. Cheaper and
faster than writing yet another ioctl using device configuration agent, but
distasteful non the less.

Some generic way to pass configuration data using a generic configuration
agent to network (and other) drivers would be interesting.

> > > I'm willing to go for this implementation, but I wanted to know first:
> > > - whether ifconfig is the right place to do it;
> > > - where I should create the new ioctl's to handle these new parameters.
> >
> > I think a new ioctl would be sensible. There is a lot to go in it.
 
-- 
                                            __O 
Fireplug - a Lineo company                _-\<,_ 
PGP Fingerprint: 28 E2 A0 15 99 62 9A 00 (_)/ (_) 88 EC A3 EE 2D 1C 15 68
Stuart Lynne <sl@fireplug.net>         www.lineo.com         604-461-7532
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2001-03-19 16:34 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-05  5:58 [RFC-2] Configuring Synchronous Interfaces in Linux Ivan Passos
2000-12-05  9:38 ` Francois Romieu
2000-12-05 19:17   ` Ivan Passos
2000-12-05  9:41 ` Alan Cox
2000-12-05 15:15   ` Greg Parrott
2000-12-05 19:23   ` Ivan Passos
2000-12-05 20:41     ` Peter Samuelson
2000-12-05 21:56     ` Alan Cox
2000-12-05 14:43 ` Matthew G. Marsh
2000-12-05 19:40   ` Ivan Passos
2000-12-05 15:18 ` Paul Fulghum
     [not found] <Pine.LNX.4.30.0012051925330.6718-100000@pc24.sr.bham.ac.uk>
2000-12-05 19:46 ` Ivan Passos
  -- strict thread matches above, loose matches on Subject: below --
2000-12-05 22:55 Stuart Lynne
2000-12-06  1:21 ` Alan Cox
2000-12-06  1:34   ` Dan Hollis
2000-12-06  1:55     ` Stuart Lynne
2000-12-07  0:14   ` Krzysztof Halasa
2000-12-07 14:09     ` Alan Cox
2000-12-07 14:12       ` Jeff Garzik
2000-12-07 14:40         ` Alan Cox
2001-03-19 16:28       ` Krzysztof Halasa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox