equal
deleted
inserted
replaced
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
18 * |
18 * |
19 * CDDL HEADER END |
19 * CDDL HEADER END |
20 */ |
20 */ |
21 /* |
21 /* |
22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved. |
23 * Use is subject to license terms. |
23 * Use is subject to license terms. |
24 */ |
24 */ |
25 |
25 |
26 #ifndef _SYS_CPR_H |
26 #ifndef _SYS_CPR_H |
27 #define _SYS_CPR_H |
27 #define _SYS_CPR_H |
110 * cf_path ignored |
110 * cf_path ignored |
111 * cf_fs ignored |
111 * cf_fs ignored |
112 * cf_devfs /dev/rdsk/c1t0d0s7 |
112 * cf_devfs /dev/rdsk/c1t0d0s7 |
113 * cf_dev_prom (prom device path of the above special file) |
113 * cf_dev_prom (prom device path of the above special file) |
114 * "/sbus/espdma/dma/sd@1:h" |
114 * "/sbus/espdma/dma/sd@1:h" |
|
115 * |
|
116 * If the statefile is on a zvol, the fields would have these values: |
|
117 * |
|
118 * cf_type CFT_ZVOL |
|
119 * cf_path ignored |
|
120 * cf_fs (the zvol name e.g. "dump" portion of rootpool/dump) |
|
121 * cf_devfs (devfs path) "/dev/zvol/dsk/<pool>/<zvol>" |
|
122 * cf_dev_prom (prom device path of the above special file) |
|
123 * e.g. "/sbus/espdma/dma/sd@1:h" |
115 * |
124 * |
116 * The rest of the fields are autoshutdown and autopm configuration related. |
125 * The rest of the fields are autoshutdown and autopm configuration related. |
117 * They are updated by pmconfig and consumed by both powerd and dtpower. |
126 * They are updated by pmconfig and consumed by both powerd and dtpower. |
118 */ |
127 */ |
119 |
128 |
161 /* |
170 /* |
162 * values for cf_type |
171 * values for cf_type |
163 */ |
172 */ |
164 #define CFT_UFS 1 /* statefile is ufs file */ |
173 #define CFT_UFS 1 /* statefile is ufs file */ |
165 #define CFT_SPEC 2 /* statefile is special file */ |
174 #define CFT_SPEC 2 /* statefile is special file */ |
|
175 #define CFT_ZVOL 3 /* statefile is a zvol */ |
166 |
176 |
167 |
177 |
168 /* |
178 /* |
169 * definitions for kernel, cprboot |
179 * definitions for kernel, cprboot |
170 */ |
180 */ |