usrUsbOhciInit.c
资源名称:ixp425BSP.rar [点击查看]
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:
VxWorks
开发平台:
C/C++
- /* usrUsbOhciInit.c - USB Configlette */
- /* Copyright 1999-2000 Wind River Systems, Inc. */
- /*
- Modification history
- --------------------
- 01a,26jan00,wef First.
- */
- /*
- DESCRIPTION
- Containes routines for inializing an OHCI controller and attaching it to the
- USB host stack.
- */
- #include "drv/pci/pciConfigLib.h"
- #include "usb/usbdLib.h"
- # include "usb/usbPlatform.h"
- # include "usb/usbHandleLib.h"
- # include "drv/usb/usbOhci.h"
- # include "usb/pciConstants.h"
- # include "drv/usb/usbHcd.h"
- # include "drv/usb/usbHcdOhciLib.h"
- #include "usb/usbPciLib.h"
- /*************************************************************************
- *
- * usrUsbOhciInit - Attach OHCI controller
- *
- * RETURNS: nothing
- */
- void usrUsbOhciInit(void)
- {
- /*
- It is up the the user to create a function here that attaches a host
- controller appropriatly for the context of the application. Refer to
- the code for usbTool. It presents a good example of the host controller
- attachment process
- */
- }