Annotation of kernel/bsd/dev/ppc/drvUSBCMD/usbserviceslib.h, revision 1.1

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:           USBServicesLib.h
        !            27: 
        !            28:        Contains:       USB Services Library public include.
        !            29: 
        !            30:        Version:        Neptune 1.0
        !            31: 
        !            32:        Copyright:      � 1997-1998 by Apple Computer, Inc., all rights reserved.
        !            33: 
        !            34:        File Ownership:
        !            35: 
        !            36:                DRI:                            Barry Twycross
        !            37: 
        !            38:                Other Contact:          xxx put other contact here xxx
        !            39: 
        !            40:                Technology:                     USB
        !            41: 
        !            42:        Writers:
        !            43: 
        !            44:                (DF)    David Ferguson
        !            45:                (DKF)   David Ferguson
        !            46:                (CJK)   Craig Keithley
        !            47:                (TC)    Tom Clark
        !            48:                (BT)    Barry Twycross
        !            49: 
        !            50:        Change History (most recent first):
        !            51: 
        !            52:         <USB36>          4/8/98        DF              Replace contents with include of the correct file
        !            53:                <35>      4/8/98        BT              Add error codes
        !            54:                <34>      4/6/98        BT              Fix spelling
        !            55:                <33>      4/6/98        BT              New param block names
        !            56:                <32>      4/2/98        BT              Avoid C++ keywords (class)
        !            57:                <31>     3/31/98        TC              Add error #-5150: kUSBBadDispatchTable.
        !            58:                <30>     3/24/98        BT              Eliminate include of private defines
        !            59:                <29>     3/19/98        BT              Split UIM into UIM and root hub parts
        !            60:                <28>     3/18/98        BT              Add remove device.
        !            61:                <27>     3/11/98        BT              Fix bad typedef
        !            62:                <26>     3/11/98        CJK             Add report & physical descriptor enums
        !            63:                <25>     3/10/98        CJK             Add HID Descriptor struct
        !            64:                <24>      3/9/98        BT              Eliminate one set of redundant enums
        !            65:                <23>      3/9/98        CJK             Fix RADAR #2216609 (Duplicate sets of enums).  Fix problem with
        !            66:                                                                        USB_CONSTANT16 (wasn't getting rid of high order byte before
        !            67:                                                                        shifting contents to the left).
        !            68:                <22>     2/27/98        BT              Add swapped USB constants
        !            69:         <USB21>         2/17/98        DKF             Fix a typo in the error codes
        !            70:                <20>     2/10/98        BT              Incorporate Ferg's changes
        !            71:                <19>      2/9/98        BT              Add add interface stuff
        !            72:                <18>      2/8/98        BT              More Power allocation stuff
        !            73:                <17>      2/8/98        BT              Add version function
        !            74:                <16>      2/5/98        BT              Add status notification stuff
        !            75:                <15>      2/4/98        BT              Add ref/port info to expert notify]
        !            76:                <14>      2/4/98        BT              Fix endpoint desc
        !            77:                <13>      2/3/98        BT              Add expert notify function
        !            78:                <12>      2/2/98        BT              Add bulk stuff
        !            79:                <11>     1/29/98        BT              Fix illegal struct decls MPW doesn't catch, add class driver
        !            80:                                                                        functionality
        !            81:                <10>     1/26/98        CJK             change device descriptor to be prefixed with USB.
        !            82:                 <9>     1/26/98        BT              Mangle names after design review, finsih up
        !            83:                 <8>     1/26/98        BT              Mangle names after design review
        !            84:                 <7>     1/26/98        BT              Make expert notify public
        !            85:                 <6>     1/23/98        BT              Add USB delay function
        !            86:                 <5>     1/21/98        BT              Change hardware status codes
        !            87:                 <4>     1/21/98        TC              Correct misspelling of InterfaceDescriptor struct typedef. Add
        !            88:                                                                        ConfigurationDescriptor definition.
        !            89:                 <3>     1/15/98        TC              Add InterfaceDescriptor definition.
        !            90:                 <2>     1/15/98        CJK             Change file header to indicate name is USBServicesLib.h
        !            91:                 <1>     1/15/98        CJK             Created USBServicesLib.h files (From USL.H, which is now obsolete)
        !            92:                <10>     1/14/98        BT              Remove pre expert expert stuff
        !            93:                 <9>      1/8/98        TC              add struct pointer to devicedescriptor typedef.
        !            94:                 <8>    12/19/97        BT              Add add and remove bus.
        !            95:                 <7>    12/18/97        BT              Change defs of expert notify proc
        !            96:                 <6>    12/18/97        BT              Emulate expert notification proc.
        !            97:                 <5>    12/18/97        BT              Tidy up header
        !            98:                 <4>    12/18/97        BT              Moved device descriptor in here.
        !            99: */
        !           100: 
        !           101: #include <USB.h>

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.