1 \ 2 \ Copyright 2005 Sun Microsystems, Inc. All rights reserved. 3 \ Use is subject to license terms. 4 \ 5 \ CDDL HEADER START 6 \ 7 \ The contents of this file are subject to the terms of the 8 \ Common Development and Distribution License, Version 1.0 only 9 \ (the "License"). You may not use this file except in compliance 10 \ with the License. 11 \ 12 \ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 13 \ or http://www.opensolaris.org/os/licensing. 14 \ See the License for the specific language governing permissions 15 \ and limitations under the License. 16 \ 17 \ When distributing Covered Code, include this CDDL HEADER in each 18 \ file and include the License file at usr/src/OPENSOLARIS.LICENSE. 19 \ If applicable, add the following below this CDDL HEADER, with the 20 \ fields enclosed by brackets "[]" replaced with your own identifying 21 \ information: Portions Copyright [yyyy] [name of copyright owner] 22 \ 23 \ CDDL HEADER END 24 \ 25 26 #pragma ident "%Z%%M% %I% %E% SMI" 27 28 #include <sys/types.h> 29 #include <sys/t_lock.h> 30 #include <sys/ddi.h> 31 #include <sys/sunddi.h> 32 #include <sys/dklabel.h> 33 #include <sys/dkio.h> 34 35 #include <sys/fdreg.h> 36 #include <sys/fdvar.h> 37 38 fdctlr FDCTRLR_SIZE 39 c_next FD_NEXT 40 c_control FD_REG 41 c_hiintct FD_HIINTCT 42 c_softic FD_SOFTIC 43 c_hilock FD_HILOCK 44 c_csb.csb_opmode FD_OPMODE 45 c_csb.csb_raddr FD_RADDR 46 c_csb.csb_rlen FD_RLEN 47 c_csb.csb_rslt FD_RSLT 48 c_auxiova FD_AUXIOVA 49 c_auxiodata FD_AUXIODATA 50 c_auxiodata2 FD_AUXIODATA2 51 c_fasttrap FD_FASTTRAP 52 c_softid FD_SOFTID 53