ata.h (82560) | ata.h (83421) |
---|---|
1/*- 2 * Copyright (c) 2000,2001 S�ren Schmidt 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * | 1/*- 2 * Copyright (c) 2000,2001 S�ren Schmidt 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * |
28 * $FreeBSD: head/sys/sys/ata.h 82560 2001-08-30 09:47:17Z sos $ | 28 * $FreeBSD: head/sys/sys/ata.h 83421 2001-09-13 22:52:42Z obrien $ |
29 */ 30 31#ifndef _SYS_ATA_H_ 32#define _SYS_ATA_H_ 33 34#include <sys/ioccom.h> 35 36/* ATA/ATAPI device parameter information */ --- 155 unchanged lines hidden (view full) --- 192#define ATAATTACH 5 193#define ATADETACH 6 194#define ATAPICMD 7 195 196 union { 197 struct { 198 int mode[2]; 199 } mode; | 29 */ 30 31#ifndef _SYS_ATA_H_ 32#define _SYS_ATA_H_ 33 34#include <sys/ioccom.h> 35 36/* ATA/ATAPI device parameter information */ --- 155 unchanged lines hidden (view full) --- 192#define ATAATTACH 5 193#define ATADETACH 6 194#define ATAPICMD 7 195 196 union { 197 struct { 198 int mode[2]; 199 } mode; |
200 struct { | 200 struct { |
201 int type[2]; 202 char name[2][32]; 203 struct ata_params params[2]; 204 } param; 205 struct { 206 char ccb[16]; 207 caddr_t data; 208 int count; --- 15 unchanged lines hidden --- | 201 int type[2]; 202 char name[2][32]; 203 struct ata_params params[2]; 204 } param; 205 struct { 206 char ccb[16]; 207 caddr_t data; 208 int count; --- 15 unchanged lines hidden --- |