From e401372c051e2ce3761daaf18deb4df39797fff4 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 9 May 2013 13:05:48 +0700 Subject: [PATCH] rename ehci_controller to ehci_controller_fake --- tests/test/host/ehci/test_ehci_init.c | 2 +- tests/test/host/ehci/test_ehci_isr.c | 2 +- tests/test/host/ehci/test_ehci_structure.c | 2 +- tests/test/host/ehci/test_ehci_usbh_hcd_integration.c | 2 +- tests/test/host/ehci/test_pipe_bulk_open.c | 2 +- tests/test/host/ehci/test_pipe_bulk_xfer.c | 2 +- tests/test/host/ehci/test_pipe_control_open.c | 2 +- tests/test/host/ehci/test_pipe_control_xfer.c | 2 +- tests/test/host/ehci/test_pipe_interrupt_open.c | 2 +- tests/test/host/ehci/test_pipe_interrupt_xfer.c | 2 +- tests/test/host/ehci/test_pipe_isochronous_open.c | 2 +- tests/test/host/integration/test_hidh_keyboard_integrate.c | 2 +- .../test/support/{ehci_controller.c => ehci_controller_fake.c} | 2 +- .../test/support/{ehci_controller.h => ehci_controller_fake.h} | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) rename tests/test/support/{ehci_controller.c => ehci_controller_fake.c} (99%) rename tests/test/support/{ehci_controller.h => ehci_controller_fake.h} (98%) diff --git a/tests/test/host/ehci/test_ehci_init.c b/tests/test/host/ehci/test_ehci_init.c index f7fc5ca8a..0026b1479 100644 --- a/tests/test/host/ehci/test_ehci_init.c +++ b/tests/test/host/ehci/test_ehci_init.c @@ -47,7 +47,7 @@ #include "hcd.h" #include "mock_usbh_hcd.h" #include "ehci.h" -#include "ehci_controller.h" +#include "ehci_controller_fake.h" usbh_device_info_t usbh_devices[TUSB_CFG_HOST_DEVICE_MAX+1]; diff --git a/tests/test/host/ehci/test_ehci_isr.c b/tests/test/host/ehci/test_ehci_isr.c index 07bf477d3..0d781dbe5 100644 --- a/tests/test/host/ehci/test_ehci_isr.c +++ b/tests/test/host/ehci/test_ehci_isr.c @@ -46,7 +46,7 @@ #include "hcd.h" #include "mock_usbh_hcd.h" #include "ehci.h" -#include "ehci_controller.h" +#include "ehci_controller_fake.h" usbh_device_info_t usbh_devices[TUSB_CFG_HOST_DEVICE_MAX+1]; diff --git a/tests/test/host/ehci/test_ehci_structure.c b/tests/test/host/ehci/test_ehci_structure.c index d35884291..43baa1704 100644 --- a/tests/test/host/ehci/test_ehci_structure.c +++ b/tests/test/host/ehci/test_ehci_structure.c @@ -46,7 +46,7 @@ #include "hcd.h" #include "mock_usbh_hcd.h" #include "ehci.h" -#include "ehci_controller.h" +#include "ehci_controller_fake.h" usbh_device_info_t usbh_devices[TUSB_CFG_HOST_DEVICE_MAX+1]; diff --git a/tests/test/host/ehci/test_ehci_usbh_hcd_integration.c b/tests/test/host/ehci/test_ehci_usbh_hcd_integration.c index 74cbc16a8..75c3ca5f8 100644 --- a/tests/test/host/ehci/test_ehci_usbh_hcd_integration.c +++ b/tests/test/host/ehci/test_ehci_usbh_hcd_integration.c @@ -49,7 +49,7 @@ #include "usbh_hcd.h" #include "usbh.h" #include "ehci.h" -#include "ehci_controller.h" +#include "ehci_controller_fake.h" #define _TINY_USB_SOURCE_FILE_ usbh_device_info_t usbh_devices[TUSB_CFG_HOST_DEVICE_MAX+1]; diff --git a/tests/test/host/ehci/test_pipe_bulk_open.c b/tests/test/host/ehci/test_pipe_bulk_open.c index 4081f08d9..70d8d74ae 100644 --- a/tests/test/host/ehci/test_pipe_bulk_open.c +++ b/tests/test/host/ehci/test_pipe_bulk_open.c @@ -46,7 +46,7 @@ #include "hcd.h" #include "mock_usbh_hcd.h" #include "ehci.h" -#include "ehci_controller.h" +#include "ehci_controller_fake.h" usbh_device_info_t usbh_devices[TUSB_CFG_HOST_DEVICE_MAX+1]; diff --git a/tests/test/host/ehci/test_pipe_bulk_xfer.c b/tests/test/host/ehci/test_pipe_bulk_xfer.c index e82e82e51..e1476549e 100644 --- a/tests/test/host/ehci/test_pipe_bulk_xfer.c +++ b/tests/test/host/ehci/test_pipe_bulk_xfer.c @@ -46,7 +46,7 @@ #include "hcd.h" #include "mock_usbh_hcd.h" #include "ehci.h" -#include "ehci_controller.h" +#include "ehci_controller_fake.h" usbh_device_info_t usbh_devices[TUSB_CFG_HOST_DEVICE_MAX+1]; diff --git a/tests/test/host/ehci/test_pipe_control_open.c b/tests/test/host/ehci/test_pipe_control_open.c index 013ecb6e5..28f2c9911 100644 --- a/tests/test/host/ehci/test_pipe_control_open.c +++ b/tests/test/host/ehci/test_pipe_control_open.c @@ -46,7 +46,7 @@ #include "hcd.h" #include "mock_usbh_hcd.h" #include "ehci.h" -#include "ehci_controller.h" +#include "ehci_controller_fake.h" usbh_device_info_t usbh_devices[TUSB_CFG_HOST_DEVICE_MAX+1]; diff --git a/tests/test/host/ehci/test_pipe_control_xfer.c b/tests/test/host/ehci/test_pipe_control_xfer.c index 47319b581..3052b0cd6 100644 --- a/tests/test/host/ehci/test_pipe_control_xfer.c +++ b/tests/test/host/ehci/test_pipe_control_xfer.c @@ -46,7 +46,7 @@ #include "hcd.h" #include "mock_usbh_hcd.h" #include "ehci.h" -#include "ehci_controller.h" +#include "ehci_controller_fake.h" usbh_device_info_t usbh_devices[TUSB_CFG_HOST_DEVICE_MAX+1]; diff --git a/tests/test/host/ehci/test_pipe_interrupt_open.c b/tests/test/host/ehci/test_pipe_interrupt_open.c index b51772501..af499f739 100644 --- a/tests/test/host/ehci/test_pipe_interrupt_open.c +++ b/tests/test/host/ehci/test_pipe_interrupt_open.c @@ -46,7 +46,7 @@ #include "hcd.h" #include "mock_usbh_hcd.h" #include "ehci.h" -#include "ehci_controller.h" +#include "ehci_controller_fake.h" usbh_device_info_t usbh_devices[TUSB_CFG_HOST_DEVICE_MAX+1]; diff --git a/tests/test/host/ehci/test_pipe_interrupt_xfer.c b/tests/test/host/ehci/test_pipe_interrupt_xfer.c index 842d921e2..108378e94 100644 --- a/tests/test/host/ehci/test_pipe_interrupt_xfer.c +++ b/tests/test/host/ehci/test_pipe_interrupt_xfer.c @@ -46,7 +46,7 @@ #include "hcd.h" #include "mock_usbh_hcd.h" #include "ehci.h" -#include "ehci_controller.h" +#include "ehci_controller_fake.h" usbh_device_info_t usbh_devices[TUSB_CFG_HOST_DEVICE_MAX+1]; diff --git a/tests/test/host/ehci/test_pipe_isochronous_open.c b/tests/test/host/ehci/test_pipe_isochronous_open.c index 643a4919e..9b45fbe45 100644 --- a/tests/test/host/ehci/test_pipe_isochronous_open.c +++ b/tests/test/host/ehci/test_pipe_isochronous_open.c @@ -46,7 +46,7 @@ #include "hcd.h" #include "mock_usbh_hcd.h" #include "ehci.h" -#include "ehci_controller.h" +#include "ehci_controller_fake.h" usbh_device_info_t usbh_devices[TUSB_CFG_HOST_DEVICE_MAX+1]; diff --git a/tests/test/host/integration/test_hidh_keyboard_integrate.c b/tests/test/host/integration/test_hidh_keyboard_integrate.c index e21a7f9ef..a9fec44a1 100644 --- a/tests/test/host/integration/test_hidh_keyboard_integrate.c +++ b/tests/test/host/integration/test_hidh_keyboard_integrate.c @@ -47,7 +47,7 @@ //#include "usbh.h" //#include "tusb.h" //#include "hid_host.h" -////#include "ehci_controller.h" +////#include "ehci_controller_fake.h" // //#include "descriptor_test.h" // diff --git a/tests/test/support/ehci_controller.c b/tests/test/support/ehci_controller_fake.c similarity index 99% rename from tests/test/support/ehci_controller.c rename to tests/test/support/ehci_controller_fake.c index a29f4d6be..d3659e834 100644 --- a/tests/test/support/ehci_controller.c +++ b/tests/test/support/ehci_controller_fake.c @@ -1,6 +1,6 @@ /**************************************************************************/ /*! - @file ehci_controller.c + @file ehci_controller_fake.c @author hathach (tinyusb.org) @section LICENSE diff --git a/tests/test/support/ehci_controller.h b/tests/test/support/ehci_controller_fake.h similarity index 98% rename from tests/test/support/ehci_controller.h rename to tests/test/support/ehci_controller_fake.h index e33abfb1f..7c8b0c27d 100644 --- a/tests/test/support/ehci_controller.h +++ b/tests/test/support/ehci_controller_fake.h @@ -1,6 +1,6 @@ /**************************************************************************/ /*! - @file ehci_controller.h + @file ehci_controller_fake @author hathach (tinyusb.org) @section LICENSE