Root/
Source at commit 2056 created 11 years 10 months ago. By cosmo1t, fixed indent and added X79 && 7 series http://forge.voodooprojects.org/p/chameleon/issues/284/ | |
---|---|
1 | /*␊ |
2 | * Copyright (c) 2000 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 | * IOSerialKeys.h␊ |
24 | *␊ |
25 | * 2000-10-21␉gvdl␉Initial real change to IOKit serial family.␊ |
26 | *␊ |
27 | */␊ |
28 | ␊ |
29 | /*␊ |
30 | Sample Matching dictionary␊ |
31 | {␊ |
32 | IOProviderClass = kIOSerialBSDServiceValue;␊ |
33 | kIOSerialBSDTypeKey = kIOSerialBSDAllTypes␊ |
34 | ␉␉␉| kIOSerialBSDModemType␊ |
35 | ␉␉␉| kIOSerialBSDRS232Type;␊ |
36 | kIOTTYDeviceKey = <Raw Unique Device Name>;␊ |
37 | kIOTTYBaseNameKey = <Raw Unique Device Name>;␊ |
38 | kIOTTYSuffixKey = <Raw Unique Device Name>;␊ |
39 | kIOCalloutDeviceKey = <Callout Device Name>;␊ |
40 | kIODialinDeviceKey = <Dialin Device Name>;␊ |
41 | }␊ |
42 | ␊ |
43 | Note only the IOProviderClass is mandatory. The other keys allow the searcher to reduce the size of the set of matching devices.␊ |
44 | */␊ |
45 | ␊ |
46 | /* Service Matching That is the 'IOProviderClass' */␊ |
47 | #define kIOSerialBSDServiceValue␉"IOSerialBSDClient"␊ |
48 | ␊ |
49 | /* Matching keys */␊ |
50 | #define kIOSerialBSDTypeKey␉␉"IOSerialBSDClientType"␊ |
51 | ␊ |
52 | /* Currently possible kIOSerialBSDTypeKey values. */␊ |
53 | #define kIOSerialBSDAllTypes␉␉"IOSerialStream"␊ |
54 | #define kIOSerialBSDModemType␉␉"IOModemSerialStream"␊ |
55 | #define kIOSerialBSDRS232Type␉␉"IORS232SerialStream"␊ |
56 | ␊ |
57 | // Properties that resolve to a /dev device node to open for␊ |
58 | // a particular service␊ |
59 | #define kIOTTYDeviceKey␉␉␉"IOTTYDevice"␊ |
60 | #define kIOTTYBaseNameKey␉␉"IOTTYBaseName"␊ |
61 | #define kIOTTYSuffixKey␉␉␉"IOTTYSuffix"␊ |
62 | ␊ |
63 | #define kIOCalloutDeviceKey␉␉"IOCalloutDevice"␊ |
64 | #define kIODialinDeviceKey␉␉"IODialinDevice"␊ |
65 | ␊ |
66 | // Property 'ioctl' wait for the tty device to go idle.␊ |
67 | #define kIOTTYWaitForIdleKey␉␉"IOTTYWaitForIdle"␊ |
68 | ␊ |
69 | #if KERNEL␊ |
70 | extern const OSSymbol *gIOSerialBSDServiceValue;␊ |
71 | extern const OSSymbol *gIOSerialBSDTypeKey;␊ |
72 | extern const OSSymbol *gIOSerialBSDAllTypes;␊ |
73 | extern const OSSymbol *gIOSerialBSDModemType;␊ |
74 | extern const OSSymbol *gIOSerialBSDRS232Type;␊ |
75 | extern const OSSymbol *gIOTTYDeviceKey;␊ |
76 | extern const OSSymbol *gIOTTYBaseNameKey;␊ |
77 | extern const OSSymbol *gIOTTYSuffixKey;␊ |
78 | extern const OSSymbol *gIOCalloutDeviceKey;␊ |
79 | extern const OSSymbol *gIODialinDeviceKey;␊ |
80 | #endif /* KERNEL */␊ |
81 |