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 | /*␍␊ |
23 | ␉File:␉␉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 | ␍␊ |
41 | enum {␍␊ |
42 | ␉inUseErr␉␉␉␉␉= -4160,␉␉␉␉// Item already in use␍␊ |
43 | ␉notFoundErr␉␉␉␉␉= -4161,␉␉␉␉// Item not found␍␊ |
44 | ␉timeoutErr␉␉␉␉␉= -4162,␉␉␉␉// Something timed out␍␊ |
45 | ␉busReconfiguredErr␉␉␉= -4163,␉␉␉␉// Bus was reconfigured␍␊ |
46 | ␉invalidIDTypeErr␉␉␉= -4166,␉␉␉␉// Given ID is of an invalid type for the requested operation.␍␊ |
47 | ␉alreadyRegisteredErr␉␉= -4168,␉␉␉␉// Item has already been registered.␍␊ |
48 | ␉disconnectedErr␉␉␉␉= -4169,␉␉␉␉// Target of request has been disconnected.␍␊ |
49 | ␉retryExceededErr␉␉␉= -4170,␉␉␉␉// Retry limit was exceeded.␍␊ |
50 | ␉addressRangeErr␉␉␉␉= -4171,␉␉␉␉// Address is not in range.␍␊ |
51 | ␉addressAlignmentErr␉␉␉= -4172,␉␉␉␉// Address is not of proper alignment.␍␊ |
52 | ␍␊ |
53 | ␉multipleTalkerErr␉␉␉= -4180,␉␉␉␉// Tried to install multiple talkers␍␊ |
54 | ␉channelActiveErr␉␉␉= -4181,␉␉␉␉// Operation not permitted when channel is active␍␊ |
55 | ␉noListenerOrTalkerErr␉␉= -4182,␉␉␉␉// Every isochronous channel must have one talker and at least␍␊ |
56 | ␉␉␉␉␉␉␉␉␉␉␉␉␉␉// one listener␍␊ |
57 | ␉noChannelsAvailableErr␉␉= -4183,␉␉␉␉// No supported isochronous channels are available␍␊ |
58 | ␉channelNotAvailableErr␉␉= -4184,␉␉␉␉// Required channel was not available.␍␊ |
59 | ␉invalidIsochPortIDErr␉␉= -4185,␉␉␉␉// An isochronous port ID is invalid.␍␊ |
60 | ␉invalidFWReferenceTypeErr␉= -4186,␉␉␉␉// Operation does not support type of given reference ID␍␊ |
61 | ␉separateBusErr␉␉␉␉= -4187,␉␉␉␉// Two or more entities are on two or more busses and cannot be associated with eachother.␍␊ |
62 | ␉badSelfIDsErr␉␉␉␉= -4188,␉␉␉␉// Received self IDs are bad.␍␊ |
63 | ␍␊ |
64 | //zzz Do we own these next ID numbers?␍␊ |
65 | ␉cableVoltageTooLowErr␉␉= -4190,␉␉␉␉// Cable power below device's minimum voltage␍␊ |
66 | ␉cablePowerInsufficientErr␉= -4191␉␉␉␉␉// Can't grant power request at this time␍␊ |
67 | };␍␊ |
68 | ␍␊ |
69 | ␍␊ |
70 | #endif //NEW_ERROR_CODES␍␊ |
71 | ␍␊ |
72 | #endif /* __IOFWREGS_H */␍␊ |
73 | ␍␊ |
74 | |