Chameleon

Chameleon Svn Source Tree

Root/branches/ErmaC/Modules/i386/include/IOKit/firewire/IOFWRegs.h

1/*
2* Copyright (c) 1998-2002 Apple Computer, Inc. All rights reserved.
3*
4* @APPLE_LICENSE_HEADER_START@
5*
6* The contents of this file constitute Original Code as defined in and
7* are subject to the Apple Public Source License Version 1.1 (the
8* "License"). You may not use this file except in compliance with the
9* License. Please obtain a copy of the License at
10* http://www.apple.com/publicsource and read it before using this file.
11*
12* This Original Code and all software distributed under the License are
13* distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16* FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17* License for the specific language governing rights and limitations
18* under the License.
19*
20* @APPLE_LICENSE_HEADER_END@
21*/
22/*
23File:IOFWRegs.h
24
25
26
27*/
28
29#ifndef __IOFWREGS_H__
30#define __IOFWREGS_H__
31
32#include <IOKit/firewire/IOFireWireFamilyCommon.h>
33
34#ifndef NEW_ERROR_CODES
35
36//
37// (!)The following error codes are obsolete...
38//Please use the error codes defined in IOFireWireFamilyCommon.h
39//
40
41enum {
42inUseErr= -4160,// Item already in use
43notFoundErr= -4161,// Item not found
44timeoutErr= -4162,// Something timed out
45busReconfiguredErr= -4163,// Bus was reconfigured
46invalidIDTypeErr= -4166,// Given ID is of an invalid type for the requested operation.
47alreadyRegisteredErr= -4168,// Item has already been registered.
48disconnectedErr= -4169,// Target of request has been disconnected.
49retryExceededErr= -4170,// Retry limit was exceeded.
50addressRangeErr= -4171,// Address is not in range.
51addressAlignmentErr= -4172,// Address is not of proper alignment.
52
53multipleTalkerErr= -4180,// Tried to install multiple talkers
54channelActiveErr= -4181,// Operation not permitted when channel is active
55noListenerOrTalkerErr= -4182,// Every isochronous channel must have one talker and at least
56// one listener
57noChannelsAvailableErr= -4183,// No supported isochronous channels are available
58channelNotAvailableErr= -4184,// Required channel was not available.
59invalidIsochPortIDErr= -4185,// An isochronous port ID is invalid.
60invalidFWReferenceTypeErr= -4186,// Operation does not support type of given reference ID
61separateBusErr= -4187,// Two or more entities are on two or more busses and cannot be associated with eachother.
62badSelfIDsErr= -4188,// Received self IDs are bad.
63
64//zzz Do we own these next ID numbers?
65cableVoltageTooLowErr= -4190,// Cable power below device's minimum voltage
66cablePowerInsufficientErr= -4191// Can't grant power request at this time
67};
68
69
70#endif //NEW_ERROR_CODES
71
72#endif /* __IOFWREGS_H */
73
74

Archive Download this file

Revision: 1621