Re: ixp4xx_hss MAX_CHAN_DEVICES
From: Miguel Ángel Álvarez <hidden>
Date: 2008-11-24 10:03:31
Hi 2008/11/21 Krzysztof Halasa [off-list ref]:
Hi, "Miguel Ángel Álvarez" [off-list ref] writes:quoted
I am interested in modifying ixp4xx_hss so that 4*32 channels can be used for each hss device.I assume you mean 4 multiplexed E1 (with an external multiplexer/framer).
Sure. Sorry for not having stated it properly.
quoted
My first option is to modify the "defines" placed in the driver, but I wonder if it would be useful to modify hss_plat_info to set this kind of info.I think we should add some "physical mode" parameter - single channel (such as E1, T1 etc), 4 * E1, and any other (4 * T1 which is IIRC special) when needed.
This is a great idea. Lots of parameters are related, so setting this "physical mode" should be enough to configure the rest. I will try to prepare a simple patch in order to comment if the ideas are correct.
It can go into hss_plat_info - a fixed(?) HSS port property.
Yes... I think it could be enough to make it a fixed property at the moment. Maybe it could be added to sysfs in the future. Miguel Ángel Álvarez