Chameleon

Chameleon Svn Source Tree

Root/branches/rewrite/i386/include/IOKit/serial/IOSerialKeys.h

Source at commit 1129 created 12 years 11 months ago.
By meklort, Change options.o so that it reloads the system config as well. Also change it so that it uses that config for variables (NOTE: if the calue exists in chameleonConfig, it's used instead.
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-21gvdlInitial real change to IOKit serial family.
26 *
27 */
28
29/*
30Sample 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
43Note 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
70extern const OSSymbol *gIOSerialBSDServiceValue;
71extern const OSSymbol *gIOSerialBSDTypeKey;
72extern const OSSymbol *gIOSerialBSDAllTypes;
73extern const OSSymbol *gIOSerialBSDModemType;
74extern const OSSymbol *gIOSerialBSDRS232Type;
75extern const OSSymbol *gIOTTYDeviceKey;
76extern const OSSymbol *gIOTTYBaseNameKey;
77extern const OSSymbol *gIOTTYSuffixKey;
78extern const OSSymbol *gIOCalloutDeviceKey;
79extern const OSSymbol *gIODialinDeviceKey;
80#endif /* KERNEL */
81

Archive Download this file

Revision: 1129