|
|
1.1 ! root 1: /* ! 2: * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. ! 3: * ! 4: * @APPLE_LICENSE_HEADER_START@ ! 5: * ! 6: * Portions Copyright (c) 1999 Apple Computer, Inc. All Rights ! 7: * Reserved. This file contains Original Code and/or Modifications of ! 8: * Original Code as defined in and that are subject to the Apple Public ! 9: * Source License Version 1.1 (the "License"). You may not use this file ! 10: * except in compliance with the License. Please obtain a copy of the ! 11: * License at http://www.apple.com/publicsource and read it before using ! 12: * this file. ! 13: * ! 14: * The Original Code and all software distributed under the License are ! 15: * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER ! 16: * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, ! 17: * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, ! 18: * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the ! 19: * License for the specific language governing rights and limitations ! 20: * under the License. ! 21: * ! 22: * @APPLE_LICENSE_HEADER_END@ ! 23: */ ! 24: ! 25: /* ! 26: File: OHCIDispatchTable.c ! 27: ! 28: Contains: xxx put contents here xxx ! 29: ! 30: Version: xxx put version here xxx ! 31: ! 32: Copyright: � 1998 by Apple Computer, Inc., all rights reserved. ! 33: ! 34: File Ownership: ! 35: ! 36: DRI: xxx put dri here xxx ! 37: ! 38: Other Contact: xxx put other contact here xxx ! 39: ! 40: Technology: xxx put technology here xxx ! 41: ! 42: Writers: ! 43: ! 44: (TC) Tom Clark ! 45: (CJK) Craig Keithley ! 46: (DF) David Ferguson ! 47: (GG) Guillermo Gallegos ! 48: (BT) Barry Twycross ! 49: ! 50: Change History (most recent first): ! 51: ! 52: <USB13> 9/3/98 GG Add entry points for Isoch functions. ! 53: <USB12> 8/12/98 BT Move root hub into UIM again ! 54: <USB11> 8/11/98 BT Add actual version to UIM ! 55: <USB10> 7/10/98 TC Back out previous rev. ! 56: <USB9> 6/30/98 BT Move Root hub sim into UIM ! 57: <USB8> 6/2/98 GG Added GetFramecount. ! 58: <USB7> 5/28/98 CJK change file creater to 'MPS ' ! 59: <USB6> 4/23/98 BT Add reset portsuspend change ! 60: <USB5> 4/15/98 BT Add over current change reset ! 61: <USB4> 4/14/98 DF Add back OHCIProcessDoneQueue ! 62: <USB3> 4/9/98 BT Use USB.h ! 63: <2> 4/8/98 GG Added Abort and delete apis. ! 64: <1> 3/19/98 BT first checked in ! 65: */ ! 66: ! 67: #include "driverservices.h" ! 68: //naga#include "USBpriv.h" ! 69: #include "OHCIUIM.h" ! 70: #include "OHCIRootHub.h" ! 71: ! 72: struct UIMPluginDispatchTable ThePluginDispatchTable={ ! 73: kUIMPluginTableVersion, /* Version */ ! 74: OHCIUIMInitialize, ! 75: OHCIUIMFinalize, ! 76: ! 77: OHCIUIMControlEDCreate, ! 78: OHCIUIMControlEDDelete, ! 79: OHCIUIMControlTransfer, ! 80: ! 81: 0, /* Abort Ctl */ ! 82: 0, /* Enable ctl */ ! 83: 0, /* Disable ctl */ ! 84: OHCIUIMBulkEDCreate, /* Create Bulk */ ! 85: OHCIUIMBulkEDDelete, /* Delete Bulk */ ! 86: OHCIUIMBulkTransfer, /* Do bulk */ ! 87: 0, ! 88: 0, ! 89: 0, ! 90: OHCIUIMInterruptEDCreate, ! 91: 0, ! 92: OHCIUIMInterruptTransfer, ! 93: 0, ! 94: 0, ! 95: 0, ! 96: OHCIUIMIsochEDCreate, ! 97: 0, ! 98: OHCIUIMIsochTransfer, ! 99: 0, ! 100: 0, ! 101: 0, ! 102: OHCIUIMAbortEndpoint, ! 103: OHCIUIMEndpointDelete, ! 104: ! 105: OHCIUIMClearEndPointStall, ! 106: ! 107: OHCIPollRootHubSim, ! 108: OHCIResetRootHub, ! 109: OHCIProcessDoneQueue, ! 110: OHCIUIMGetCurrentFrameNumber, ! 111: ! 112: ! 113: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.