Werner Almesberger
d0fb1a8992
tools/: the great removal of atrf_interrupt
...
- atrf-proxy/PROTOCOL, atrf-proxy/atrf-proxy.c (cmd_zero): removed the
POLL command
- lib/atben.c (atben_driver): don't export atben_interrupt anymore (we
still use it internally)
- lib/atnet.c (atnet_interrupt, atnet_driver): removed atnet_interrupt
- lib/atusb-common.h (atusb_interrupt), lib/atusb-common.h
(atusb_interrupt), lib/atusb-spi.c (atusb_spi_driver),
lib/atusb.c (atusb_driver): removed atusb_interrupt
- lib/driver.h (struct atrf_driver): removed "interrupt"
- include/atrf.h (atrf_interrupt), lib/atrf.c (atrf_interrupt): removed
2011-06-20 21:10:41 -03:00
Werner Almesberger
110ecf67a1
tools/lib/: added interrupt_wait support to atusb and atusb-spi driver
...
- atusb-common.c (atusb_open): claim interface, so that we can do bulk
I/O without complaints from the kernel
- atusb-common.h (atusb_interrupt_wait), atusb-common.c: blocking read
for interrupt status byte on EP1
- atusb.c (atusb_driver), atusb-spi.c (atusb_spi_driver): provide the
interrupt_wait operation
2011-06-20 17:10:29 -03:00
Werner Almesberger
13f031be25
tools/lib/: split non-SPI code from atusb.c in preparation for SPI-based driver
...
- atusb.c (atusb_error, atusb_clear_error, atusb_open, atusb_close,
atusb_reset, atusb_reset_rf, atusb_test_mode, atusb_slp_tr,
atusb_interrupt, atusb_set_clkm, atusb_dev_handle): moved to
atusb-common.c
- atusb-common.c (atusb_set_clkm): pass atusb_reg_write via
atusb_driver.reg_write instead
- atusb.c (FROM_DEV, TO_DEV, struct atusb_dsc): moved to atusb-common.h
- Makefile (OBJS): added atusb-common.o
2011-06-19 14:06:00 -03:00