Hi,
This series does the following:
Patches 1-4:
Delete redundant definitions and create a single .h for the driver.
Patches 5-10:
Allocate pipes and transactions dynamically, also use Linux list.h
for implementing linked lists.
Tested on EdgeRouter Lite with USB mass storage.
A.
Aaro Koskinen (10):
staging: octeon-usb: delete unused cvmx_usbnx_usbp_ctl_status
definitions
staging: octeon-usb: delete cvmx_usbnx_clk_ctl_cn50xx
staging: octeon-usb: CN3xxx: program p_xenbn and p_rclk through
p_rtype
staging: octeon-usb: use a single .h file
staging: octeon-usb: use dynamic allocation for transactions
staging: octeon-usb: use dynamic allocation for pipes
staging: octeon-usb: use list_del_init()
staging: octeon-usb: use list_for_each_entry_safe()
staging: octeon-usb: use list.h for pipes
staging: octeon-usb: use list.h for transactions
drivers/staging/octeon-usb/cvmx-usbcx-defs.h | 1528 ----------------------
drivers/staging/octeon-usb/cvmx-usbnx-defs.h | 885 -------------
drivers/staging/octeon-usb/octeon-hcd.c | 338 ++---
drivers/staging/octeon-usb/octeon-hcd.h | 1819 ++++++++++++++++++++++++++
4 files changed, 1899 insertions(+), 2671 deletions(-)
delete mode 100644 drivers/staging/octeon-usb/cvmx-usbcx-defs.h
delete mode 100644 drivers/staging/octeon-usb/cvmx-usbnx-defs.h
create mode 100644 drivers/staging/octeon-usb/octeon-hcd.h
--
1.8.4.rc3
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel