Todo List

Global DWC_OTG_DEVICE_ATTR_BITFIELD_SHOW
Add code to initiate the HNP.

Global srp_show
Add code to initiate the SRP.

Global buspower_show
Need to do more for power on/off?

Global bussuspend_show
Need to do more for suspend?

Global dwc_otg_enable_device_interrupts
NGS: Should this be a module parameter?

Global dwc_otg_core_dev_init
NGS: Fix Periodic FIFO Sizing!

Global dwc_otg_core_dev_init
Finish debug of this

Global dwc_otg_core_dev_init
- if the condition needed to be checked or in any case all pending interrutps should be cleared?

Global dwc_otg_ep0_continue_transfer
Should there be check for room in the Tx Status Queue. If not remove the code above this comment.

Global dwc_otg_ep_write_packet
NGS Where are the Periodic Tx FIFO addresses intialized? What should this be?

Global dwc_otg_read_packet
Account for the case where _dest is not dword aligned. This requires reading data from the FIFO into a uint32_t temp buffer, then moving it into the data buffer.

Global dwc_otg_handle_disconnect_intr
Consolidate this if statement.

Global dwc_otg_read_common_intr
: The port interrupt occurs while in device mode. Added code to CIL to clear the interrupt for now!

Global MODULE_PARM_DESC
Set the max to 512K, modify checks

Global dwc_otg_hcd_handle_intr
Implement i2cintr handler.

Global dwc_otg_hcd_qh_create
add memflags argument

Global dwc_otg_hcd_complete_xfer_ddma
Consider the case when period exceeds FrameList size. Frame Rollover interrupt should be used.

Global handle_hc_nyet_intr
add support for isoc release

Global handle_hc_chhltd_intr_dma
This is here because of a possible hardware bug. Spec says that on SPLIT-ISOC OUT transfers in DMA mode that a HALT interrupt w/ACK bit set should occur, but I only see the XFERCOMP bit, even with it masked out. This is a workaround for that behavior. Should fix this when hardware is fixed.

Global qh_init
Account for split transfers in the bus time.

File dwc_otg_pcd.c
Add Device Mode test modes (Test J mode, Test K mode, etc).

Does it work when the request size is greater than DEPTSIZ transfer size

Global dwc_otg_pcd_iso_ep_start
- pattern data support is to be implemented in the future

Global dwc_otg_pcd_reinit
NGS: Add direction to EP, based on contents of HWCFG1. Need a copy of HWCFG1 in pcd structure? sprintf(";r

Global dwc_otg_pcd_reinit
NGS: Add direction to EP, based on contents of HWCFG1. Need a copy of HWCFG1 in pcd structure? sprintf(";r

Global dwc_otg_pcd_ep_queue
NGS Create a function for this.

Global do_test_mode
This has not been tested since the tasklet struct was put into the PCD struct!

Global dwc_otg_pcd_handle_rx_status_q_level_intr
NGS Check for buffer overflow?

Global get_ep_of_last_in_token
Find a simpler way to calculate the max queue position.

Global dwc_otg_pcd_stop
NGS Flush Periodic FIFOs

Global ep0_out_start
NGS: Update the comments from the HW FS.

Global ep0_out_start
dma needs to handle multiple setup packets (up to 3)

Global do_gadget_setup
This is a g_file_storage gadget driver specific workaround: a DELAYED_STATUS result from the fsg_setup routine will result in the gadget queueing a EP0 IN status phase for a two-stage control transfer. Exactly the same as a SET_CONFIGURATION/SET_INTERFACE except that this is a class specific request. Need a generic way to know when the gadget driver will queue the status phase. Can we assume when we call the gadget driver setup() function that it will always queue and require the following flag? Need to look into this.

Global pcd_clear_halt
FIXME: this causes an EP mismatch in DMA mode. epmismatch not yet implemented.

Global do_get_status
check for EP stall

Global do_set_feature
This has not been tested since the tasklet struct was put into the PCD struct!

Global do_set_feature
Is the gotgctl.devhnpen cleared by a USB Reset?

Global do_clear_feature
Add CLEAR_FEATURE for TEST modes.

Global pcd_setup
handle > 1 setup packet , assert error for now

Global pcd_setup
NGS: Handle bad setup packet?

Global handle_in_ep_timeout_intr
NGS Check EP type. Implement for Periodic EPs

Global handle_in_ep_nak_intr
implement ISR

Global handle_out_ep_babble_intr
implement ISR

Global handle_out_ep_nak_intr
implement ISR

Global handle_out_ep_nyet_intr
implement ISR

Global gadget_add_eps
NGS: What should the max packet size be set to here? Before EP type is set?

Global gadget_add_eps
NGS: What should the max packet size be set to here? Before EP type is set?

Global gadget_add_eps
NGS: What should the max packet size be set to here? Before EP type is set?

Global dwc_otg_pcd_gadget_release
Should this do something? Should it free the PCD?

Generated on Tue May 5 02:22:49 2009 for DesignWare USB 2.0 OTG Controller (DWC_otg) Device Driver by  doxygen 1.4.7