コード例 #1
0
STATUS vxbDevInit (void)
    {
    int status;
#ifdef INCLUDE_USB_INIT
	usbInit ();

	/* 
 	 * The following initializatino routines perform initialization of 
 	 * data structures only.  vxBus will invoke the internal initialization.
 	 *
 	 * The host controller driver must be initialized after the USBD.
 	 *
 	 */
	#ifdef INCLUDE_EHCI_INIT
		/* Initialize global data structures */
		usbEhcdInit ();
	#endif
	#ifdef INCLUDE_OHCI_INIT
		/* Initialize global data structures */
		usbOhcdInit ();
	#endif
	#ifdef INCLUDE_UHCI_INIT
		/* Initialize global data structures */
		usbUhcdInit ();
	#endif
#endif 			/* INCLUDE_USB_INIT */



    /* bus Device Initialization */
    status = vxbDevInitInternal();

#ifdef INCLUDE_VXB_LEGACY_INTERRUPTS
    vxbLegacyIntInit();
#endif /* INCLUDE_VXB_LEGACY_INTERRUPTS */



    return (status);
    }
コード例 #2
0
ファイル: prjConfig.c プロジェクト: vineethkartha/VxWorks
STATUS vxbDevInit (void)
    {
    return(vxbDevInitInternal ());      /* vxbus device intialization */
    }