Hi Werner and Stefan, I work on the atusb driver too and make some change on this driver. But it isn't finished yet.
1. I do a huge change(reimplementation) to this driver. I drop that async interrupt barrier thingy. I tried to understand why this driver need this WRITE_SYNC and I don't understand it really. It's something to synchronize the interrupt with the right rx. These async mechanism will appear too many side effects, that's why I remove this to my implementation. Maybe you can tell me some reproduce steps for this. 2. I don't alloc a new interrupt to the system, I use a tasklet and the only thing which the at86rf230 driver sets is the tasklet schedule work functionpointer. The creation of tasklet is inside atusb. 3. Some usb improvements in USB_MATCH_TABLE to remove these checks on dfu interface in probe function. 4. I evaluate the commands for a at86rf230. Your driver to the same on checking if the len == 2(reg write/read) or len < 2(frame write/read). These SPI_READ and SPI_WRITE commands it's some kind of transparent spi access to the atusb, but I don't think so. These commands depends on length, because it can't handle rx/tx at the same time. Which means, the length parameter depends on Frame or Reg access. I am not finished with the driver yet. There are some issue for calc spi length and do some error handling and I need to figure out a nice solution for the case for frame read and frame write, it's currently only in a state which works for me. I apply the atusb driver to my branch on linux-wpan quickly. You can see it here: https://github.com/linux-wpan/linux-net-next/commit/7a3eb82bfea8c7fb24e9fdd4d61d937fd04203fe You need to change a new firmware for that. In this branch I add hw-ack and Sascha patches, which seem that they are working. I with a ssh session. I don't know to add yours to the AUTHORS, because it's based on your driver. Let me know if it okay when I add yours to this implementation. Alex ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel