10usb.cdf
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:11k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* 10usb.cdf - Universal Serial Bus component description file */
  2. /* Copyright 1984-2002 Wind River Systems, Inc.  */
  3. /*
  4. modification history
  5. --------------------
  6. 01m,08may02,wef  SPR #77048 - removed INCLUDE_OHCI_PCI_INIT component.
  7. 01l,27mar02,wef  SPR 74822: fixed typeo in INCLUDE_AUDIO_DEMO component.
  8. 01k,26mar02,pmr  SPR 73970: removed INCLUDE_PCI requirement from
  9.                  INCLUDE_OHCI_PCI_INIT.
  10. 01j,22mar02,rhe  Remove unwanted tab in USB Audio Demo SPR 73326
  11. 01i,08dec01,dat  Adding BSP_STUBS, INIT_BEFORE,
  12. 01h,08dec01,wef  removed references to ACM, KLSI, NC1080 and UGL components /
  13.  parameters, added new PEGASUS parameters.
  14. 01g,25apr01,wef  moved end initialization to usrIosExtraInit
  15. 01f,25apr01,wef  added communication, mass storage class, ugl drivers, moved
  16.    usb init order to usrIosCoreInit
  17. 01f,01may00,wef  removed usbTargTool
  18. 01e,25apr00,wef  added usbTargTool for testing the USB Target stack
  19. 01d,29mar00,wef  broke up usrUsbPciLib.c into three separtate 
  20.  stub<bsp>PciLib.c files included in bsp conponent
  21. 01c,10feb00,wef  cleaned-up component description and removed init groups.
  22. 01b,09feb00,wef  added component INCLUDE_OHCI_INIT.  initializes OHCI on PCI 
  23.  bus, fixed bug - two instances of MODULE instead of MODULES
  24. 01a,25jan00,wef  written
  25. */
  26. /*
  27. DESCRIPTION
  28. This file contains descriptions for the USB components.
  29. */
  30. /* Generic USB configuration parameters */
  31. Folder FOLDER_USB_HOST {
  32. NAME USB Hosts
  33. SYNOPSIS Universal Serial Bus Host Components
  34. _CHILDREN FOLDER_BUSES
  35. CHILDREN INCLUDE_USB
  36. INCLUDE_OHCI
  37. INCLUDE_UHCI
  38. }
  39. Folder FOLDER_USB_TARG {
  40. NAME USB Target Stack
  41. SYNOPSIS Universal Serial Bus Target Stack Components
  42. _CHILDREN FOLDER_BUSES
  43. CHILDREN INCLUDE_USB_TARG
  44. INCLUDE_KBD_EMULATOR
  45. INCLUDE_PRN_EMULATOR
  46. INCLUDE_D12_EMULATOR
  47. }
  48. Folder FOLDER_USB_DEVICES {
  49. NAME USB Devices
  50. SYNOPSIS Universal Serial Bus Devices
  51. _CHILDREN FOLDER_PERIPHERALS
  52. CHILDREN INCLUDE_USB_MOUSE
  53. INCLUDE_USB_KEYBOARD
  54. INCLUDE_USB_PRINTER
  55. INCLUDE_USB_SPEAKER
  56. INCLUDE_USB_PEGASUS_END
  57. INCLUDE_USB_MS_BULKONLY
  58. INCLUDE_USB_MS_CBI
  59. }
  60. Folder  FOLDER_USB_HOST_INIT {
  61.         NAME            USB Host Init
  62.         SYNOPSIS        Universal Serial Bus Host Component Initialization
  63.         _CHILDREN       FOLDER_USB_HOST
  64.         CHILDREN        INCLUDE_USB_INIT
  65. INCLUDE_UHCI_INIT
  66. INCLUDE_OHCI_INIT
  67. INCLUDE_USBTOOL
  68. INCLUDE_USB_AUDIO_DEMO
  69. }
  70. Folder  FOLDER_USB_DEVICE_INIT {
  71.         NAME            USB Device Init
  72.         SYNOPSIS        Universal Serial Bus Device Component Initialization
  73.         _CHILDREN       FOLDER_USB_DEVICES
  74.         CHILDREN        INCLUDE_USB_MOUSE_INIT  
  75. INCLUDE_USB_KEYBOARD_INIT
  76. INCLUDE_USB_PRINTER_INIT
  77. INCLUDE_USB_SPEAKER_INIT
  78. INCLUDE_USB_MS_BULKONLY_INIT
  79. INCLUDE_USB_MS_CBI_INIT
  80. INCLUDE_USB_PEGASUS_END_INIT
  81. }
  82. Component INCLUDE_USB {
  83. NAME USB Host Stack
  84. SYNOPSIS USB Host Stack
  85. MODULES usbdLib.o
  86. BSP_STUBS usbPciStub.c
  87. }
  88. Component INCLUDE_USB_TARG {
  89. NAME USB Peripheral Stack
  90. SYNOPSIS USB Peripheral Stack
  91. MODULES usbTargLib.o
  92. BSP_STUBS usbPciStub.c
  93. }
  94. Component INCLUDE_USB_INIT {
  95.         NAME            USB Host Stack Init
  96.         SYNOPSIS        USB Host Stack Initialization
  97.         REQUIRES        INCLUDE_USB
  98.         EXCLUDES        INCLUDE_USBTOOL
  99.         CONFIGLETTES    usrUsbInit.c
  100.         PROTOTYPE       STATUS usbInit (void);
  101.         INIT_RTN        usbInit ();
  102. _INIT_ORDER     usrRoot
  103. INIT_AFTER      INCLUDE_NETWORK
  104. INIT_BEFORE usrToolsInit
  105. }
  106. Component INCLUDE_UHCI {
  107. NAME UHCI
  108. SYNOPSIS Universal Host Controller Interface
  109. MODULES usbHcdUhciLib.o
  110. REQUIRES INCLUDE_USB
  111. }
  112. Component INCLUDE_UHCI_INIT {
  113.         NAME            UHCI Init
  114.         SYNOPSIS        Universal Host Controller Interface Initialization
  115.         REQUIRES        INCLUDE_UHCI 
  116.                         INCLUDE_USB_INIT
  117.         EXCLUDES        INCLUDE_USBTOOL
  118.         CONFIGLETTES    usrUsbHcdUhciInit.c
  119.         PROTOTYPE       STATUS usrUsbHcdUhciAttach (void);
  120.         INIT_RTN        usrUsbHcdUhciAttach ();
  121. _INIT_ORDER     usrRoot
  122.         INIT_AFTER      INCLUDE_USB_INIT
  123. INIT_BEFORE usrToolsInit
  124. }
  125. Component INCLUDE_OHCI {
  126. NAME OHCI
  127. SYNOPSIS Open Host Controller Interface
  128. MODULES usbHcdOhciLib.o
  129. REQUIRES INCLUDE_USB
  130. }
  131. Component INCLUDE_OHCI_INIT {
  132.         NAME            OHCI Init
  133.         SYNOPSIS        Open Host Controller Interface
  134.         REQUIRES        INCLUDE_OHCI 
  135.                         INCLUDE_USB_INIT
  136.         EXCLUDES        INCLUDE_USBTOOL
  137.         CONFIGLETTES    usrUsbHcdOhciInit.c
  138.         PROTOTYPE       STATUS usrUsbHcdOhciAttach (void);
  139.         INIT_RTN        usrUsbHcdOhciAttach ();
  140. _INIT_ORDER     usrRoot
  141.         INIT_AFTER      INCLUDE_USB_INIT
  142. INIT_BEFORE usrToolsInit
  143. }
  144. Component INCLUDE_USBTOOL {
  145. NAME usbTool
  146. SYNOPSIS USB Tool - Test Application for Host Stack
  147. CONFIGLETTES usrUsbTool.c
  148.         EXCLUDES        INCLUDE_USB_INIT
  149.                         INCLUDE_UHCI_INIT       
  150.                         INCLUDE_OHCI_INIT       
  151.                         INCLUDE_USB_MOUSE_INIT  
  152.                         INCLUDE_USB_KEYBOARD_INIT       
  153.                         INCLUDE_USB_PRINTER_INIT        
  154.                         INCLUDE_USB_SPEAKER_INIT
  155. }
  156. Component INCLUDE_USB_AUDIO_DEMO {
  157. NAME USB Audio Demo
  158. SYNOPSIS USB Audio Demo for Host Stack
  159. REQUIRES INCLUDE_USB 
  160. INCLUDE_USB_SPEAKER
  161. CONFIGLETTES usrUsbAudioDemo.c
  162. PROTOTYPE void usrUsbAudioDemo (void);
  163.         INIT_RTN        usrUsbAudioDemo ();
  164.         _INIT_ORDER     usrRoot
  165.         INIT_AFTER      INCLUDE_USB_INIT
  166. INIT_BEFORE usrToolsInit
  167. EXCLUDES INCLUDE_USBTOOL 
  168. INCLUDE_USB_SPEAKER_INIT
  169. }
  170. Component INCLUDE_USB_MOUSE {
  171. NAME Mouse 
  172. SYNOPSIS USB Mouse Driver
  173. MODULES usbMouseLib.o
  174. REQUIRES INCLUDE_USB
  175. }
  176. Component INCLUDE_USB_MOUSE_INIT {
  177.         NAME            Mouse Init
  178.         SYNOPSIS        USB Mouse Driver Initialization
  179.         REQUIRES        INCLUDE_USB_MOUSE 
  180.                         INCLUDE_USB_INIT
  181.         EXCLUDES        INCLUDE_USBTOOL
  182.         CONFIGLETTES    usrUsbMseInit.c
  183.         PROTOTYPE       void usrUsbMseInit (void);
  184.         INIT_RTN        usrUsbMseInit ();
  185.         _INIT_ORDER     usrRoot
  186.         INIT_AFTER      INCLUDE_USB_INIT
  187. INIT_BEFORE usrToolsInit
  188. }
  189. Component INCLUDE_USB_KEYBOARD {
  190. NAME Keyboard
  191. SYNOPSIS USB Keyboard Driver
  192. MODULES usbKeyboardLib.o
  193. REQUIRES INCLUDE_USB
  194. }
  195. Component INCLUDE_USB_KEYBOARD_INIT {
  196.         NAME            Keyboard Init
  197.         SYNOPSIS        USB Keyboard Driver Initialization
  198.         REQUIRES        INCLUDE_USB_KEYBOARD 
  199.                         INCLUDE_USB_INIT
  200.         EXCLUDES        INCLUDE_USBTOOL
  201.         CONFIGLETTES    usrUsbKbdInit.c
  202.         PROTOTYPE       void usrUsbKbdInit (void);
  203.         INIT_RTN        usrUsbKbdInit ();
  204.         _INIT_ORDER     usrRoot
  205.         INIT_AFTER      INCLUDE_USB_INIT
  206. INIT_BEFORE usrToolsInit
  207. }
  208. Component INCLUDE_USB_PRINTER {
  209. NAME Printer
  210. SYNOPSIS USB printer Driver
  211. MODULES usbPrinterLib.o
  212. REQUIRES INCLUDE_USB
  213. }
  214. Component INCLUDE_USB_PRINTER_INIT {
  215.         NAME            Printer Init
  216.         SYNOPSIS        USB Printer Driver Initialization
  217.         REQUIRES        INCLUDE_USB_PRINTER 
  218.                         INCLUDE_USB_INIT
  219.         EXCLUDES        INCLUDE_USBTOOL
  220.         CONFIGLETTES    usrUsbPrnInit.c
  221.         PROTOTYPE       void usrUsbPrnInit (void);
  222.         INIT_RTN        usrUsbPrnInit ();
  223.         _INIT_ORDER     usrRoot
  224.         INIT_AFTER      INCLUDE_USB_INIT
  225. INIT_BEFORE usrToolsInit
  226. }
  227. Component INCLUDE_USB_SPEAKER {
  228. NAME Speaker
  229. SYNOPSIS USB Printer Driver
  230. MODULES usbSpeakerLib.o
  231. REQUIRES INCLUDE_USB
  232. }
  233. Component INCLUDE_USB_SPEAKER_INIT {
  234.         NAME            Speaker Init
  235.         SYNOPSIS        USB Speaker Driver Initialization
  236.         REQUIRES        INCLUDE_USB_SPEAKER 
  237.                         INCLUDE_USB_INIT
  238.         EXCLUDES        INCLUDE_USBTOOL
  239.         CONFIGLETTES    usrUsbSpkrInit.c
  240.         PROTOTYPE       void usrUsbSpkrInit (void);
  241.         INIT_RTN        usrUsbSpkrInit ();
  242.         _INIT_ORDER     usrRoot
  243.         INIT_AFTER      INCLUDE_USB_INIT
  244. INIT_BEFORE usrToolsInit
  245. }
  246. Component INCLUDE_USB_MS_BULKONLY {
  247. NAME Mass Storage - Bulk
  248. SYNOPSIS Bulk Only Mass Storage USB Driver
  249. MODULES usbBulkDevLib.o
  250. REQUIRES INCLUDE_USB
  251. }
  252. Component INCLUDE_USB_MS_BULKONLY_INIT {
  253.         NAME            Bulk Mass Storage Init
  254.         SYNOPSIS        Bulk Only Mass Storage USB Driver Initialization
  255.         REQUIRES        INCLUDE_USB_MS_BULKONLY 
  256.                         INCLUDE_USB_INIT
  257.         EXCLUDES        INCLUDE_USBTOOL
  258.         CONFIGLETTES    usrUsbBulkDevInit.c
  259.         PROTOTYPE       void usrUsbBulkDevInit (void);
  260.         INIT_RTN        usrUsbBulkDevInit();
  261.         _INIT_ORDER     usrRoot
  262.         INIT_AFTER      INCLUDE_USB_INIT
  263. INIT_BEFORE usrToolsInit
  264. CFG_PARAMS BULK_DRIVE_NAME
  265. }
  266. Parameter BULK_DRIVE_NAME {
  267. NAME USB Bulk Drive Name
  268. SYNOPSIS Drive Name assigned to a the USB Bulk only device
  269. DEFAULT "/bd"
  270. }
  271. Component INCLUDE_USB_MS_CBI {
  272. NAME Mass Storage - CBI
  273. SYNOPSIS Control/Bulk/Interrupt - Mass Storage USB Driver
  274. MODULES usbCbiUfiDevLib.o
  275. REQUIRES INCLUDE_USB
  276. }
  277. Component INCLUDE_USB_MS_CBI_INIT {
  278.         NAME            CBI Mass Storage Init
  279.         SYNOPSIS        Control/Bulk/Interrupt Mass Storage USB Driver 
  280. Initialization
  281.         REQUIRES        INCLUDE_USB_MS_CBI 
  282.                         INCLUDE_USB_INIT 
  283. INCLUDE_DOSFS
  284.         EXCLUDES        INCLUDE_USBTOOL
  285.         CONFIGLETTES    usrUsbCbiUfiDevInit.c
  286.         PROTOTYPE       void usrUsbCbiUfiDevInit (void);
  287.         INIT_RTN        usrUsbCbiUfiDevInit ();
  288.         _INIT_ORDER     usrRoot
  289.         INIT_AFTER      INCLUDE_USB_INIT
  290. INIT_BEFORE usrToolsInit
  291. CFG_PARAMS CBI_DRIVE_NAME
  292. }
  293. Parameter CBI_DRIVE_NAME {
  294. NAME USB CBI Drive Name
  295. SYNOPSIS Drive Name assigned to a the USB CBI device
  296. DEFAULT "/cbid"
  297. }
  298. Component INCLUDE_USB_PEGASUS_END {
  299. NAME End - Pegasus
  300. SYNOPSIS End - Pegasus USB Driver
  301. MODULES usbPegasusEnd.o
  302. REQUIRES INCLUDE_USB
  303. }
  304. Component INCLUDE_USB_PEGASUS_END_INIT {
  305. NAME End - Pegasus Initialization
  306. SYNOPSIS End - Pegasus USB Driver Initialization
  307. REQUIRES INCLUDE_USB_PEGASUS_END 
  308. INCLUDE_USB_INIT
  309. EXCLUDES INCLUDE_USBTOOL
  310. CONFIGLETTES usrUsbPegasusEndInit.c
  311. PROTOTYPE void usrUsbPegasusEndInit (void);
  312. INIT_RTN usrUsbPegasusEndInit ();
  313. _INIT_ORDER usrRoot
  314. INIT_AFTER INCLUDE_USB_INIT
  315. INIT_BEFORE usrToolsInit
  316. CFG_PARAMS PEGASUS_IP_ADDRESS 
  317. PEGASUS_DESTINATION_ADDRESS 
  318. PEGASUS_NET_MASK 
  319. PEGASUS_TARGET_NAME
  320. }
  321. Parameter PEGASUS_IP_ADDRESS {
  322. NAME Pegasus IP Address
  323. SYNOPSIS USB Pegasus Device IP Address
  324. DEFAULT "90.0.0.3"
  325. }
  326. Parameter PEGASUS_DESTINATION_ADDRESS {
  327. NAME Pegasus Destination Address
  328. SYNOPSIS USB Pegasus Device Destination Address
  329. DEFAULT "90.0.0.53"
  330. }
  331. Parameter PEGASUS_NET_MASK {
  332. NAME Pegasus Net Mask
  333. SYNOPSIS USB Pegasus Device Net Mask
  334. DEFAULT 0xffffff00
  335. }
  336. Parameter PEGASUS_TARGET_NAME {
  337. NAME Pegasus Target Name
  338. SYNOPSIS USB Pegasus Device Target Name
  339. DEFAULT "host"
  340. }
  341. Component INCLUDE_KBD_EMULATOR {
  342. NAME Keyboard Emulator
  343. SYNOPSIS USB Keyboard Emulator Firmware
  344. MODULES usbTargKbdLib.o
  345. REQUIRES INCLUDE_USB_TARG
  346. }
  347. Component INCLUDE_PRN_EMULATOR {
  348. NAME Printer Emulator
  349. SYNOPSIS USB Printer Emulator Firmware
  350. MODULES usbTargPrnLib.o
  351. REQUIRES INCLUDE_USB_TARG
  352. }
  353. Component INCLUDE_D12_EMULATOR {
  354. NAME D12 Emulator
  355. SYNOPSIS USB D12 Emulator Firmware
  356. MODULES usbTargPhilipsD12EvalLib.o
  357. REQUIRES INCLUDE_USB_TARG
  358. }