usrUsbOhciInit.c
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* usrUsbOhciInit.c - USB Configlette */
  2. /* Copyright 1999-2000 Wind River Systems, Inc. */
  3. /*
  4. Modification history
  5. --------------------
  6. 01a,26jan00,wef  First.
  7. */
  8. /*
  9. DESCRIPTION
  10. Containes routines for inializing an OHCI controller and attaching it to the 
  11. USB host stack.  
  12. */
  13. #include        "drv/pci/pciConfigLib.h"
  14. #include        "usb/usbdLib.h"
  15. # include       "usb/usbPlatform.h"
  16. # include       "usb/usbHandleLib.h"
  17. # include       "drv/usb/usbOhci.h"
  18. # include       "usb/pciConstants.h"
  19. # include       "drv/usb/usbHcd.h"
  20. # include       "drv/usb/usbHcdOhciLib.h"
  21. #include        "usb/usbPciLib.h"
  22. /*************************************************************************
  23. *
  24. * usrUsbOhciInit - Attach OHCI controller
  25. *
  26. * RETURNS:  nothing
  27. */
  28. void usrUsbOhciInit(void)
  29.     {
  30. /*  
  31.     It is up the the user to create a function here that attaches a host 
  32.     controller appropriatly for the context of the application.  Refer to 
  33.     the code for usbTool.  It presents a good example of the host controller
  34.     attachment process
  35. */
  36.     }