Hello, On Tue, Mar 30, 2010 at 2:22 AM, Jon Smirl <[email protected]> wrote: > Dmitry, can you make a new 'zb' message that originates in the > attached serial device and allows them to send a debug message? By > default the message should do a printk(). The zb-debug messages need > to be legal in any state the serial driver may be in.
Hmmm. Patches are welcome. I ain't sure that it's possible to make a 'zb-debug' message to be put in the middle of the protocol. Anyway, serial.c needs a great rework. It needs to be rewritten to use skbs skb_queues internally. Also it would be great to make it support several protocols (like hci_uart), as I'd like to present an RFC for the next generation of serial communications protocol, that would be less phy-oriented, more extensible, etc. > It is difficult to debug these drivers when the serial line is tied up > with packet protocol. There is no other way to get a message out of > the chip. -- With best wishes Dmitry ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Linux-zigbee-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel
