2 * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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.
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
20 * @APPLE_LICENSE_HEADER_END@
22 #include <IOKit/IOLib.h>
23 #include <IOKit/storage/IOBlockStorageDevice.h>
25 #define super IOService
26 OSDefineMetaClass(IOBlockStorageDevice
,IOService
)
27 OSDefineAbstractStructors(IOBlockStorageDevice
,IOService
)
30 IOBlockStorageDevice::init(OSDictionary
* properties
)
34 result
= super::init(properties
);
36 result
= setProperty(kIOBlockStorageDeviceTypeKey
,
37 kIOBlockStorageDeviceTypeGeneric
);
43 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 0);
44 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 1);
45 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 2);
46 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 3);
47 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 4);
48 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 5);
49 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 6);
50 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 7);
51 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 8);
52 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 9);
53 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 10);
54 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 11);
55 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 12);
56 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 13);
57 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 14);
58 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 15);
59 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 16);
60 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 17);
61 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 18);
62 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 19);
63 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 20);
64 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 21);
65 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 22);
66 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 23);
67 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 24);
68 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 25);
69 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 26);
70 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 27);
71 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 28);
72 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 29);
73 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 30);
74 OSMetaClassDefineReservedUnused(IOBlockStorageDevice
, 31);