Deleted Added
full compact
ata.h (154705) ata.h (156317)
1/*-
2 * Copyright (c) 2000 - 2006 S�ren Schmidt <sos@FreeBSD.org>
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

--- 9 unchanged lines hidden (view full) ---

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 2000 - 2006 S�ren Schmidt <sos@FreeBSD.org>
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

--- 9 unchanged lines hidden (view full) ---

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/sys/ata.h 154705 2006-01-23 08:49:50Z sos $
26 * $FreeBSD: head/sys/sys/ata.h 156317 2006-03-05 17:43:13Z sos $
27 */
28
29#ifndef _SYS_ATA_H_
30#define _SYS_ATA_H_
31
32#include <sys/ioccom.h>
33
34/* ATA/ATAPI device parameters */

--- 244 unchanged lines hidden (view full) ---

279#define ATAPI_FORMAT 0x04 /* format unit */
280#define ATAPI_READ 0x08 /* read data */
281#define ATAPI_WRITE 0x0a /* write data */
282#define ATAPI_WEOF 0x10 /* write filemark */
283#define ATAPI_WF_WRITE 0x01
284#define ATAPI_SPACE 0x11 /* space command */
285#define ATAPI_SP_FM 0x01
286#define ATAPI_SP_EOD 0x03
27 */
28
29#ifndef _SYS_ATA_H_
30#define _SYS_ATA_H_
31
32#include <sys/ioccom.h>
33
34/* ATA/ATAPI device parameters */

--- 244 unchanged lines hidden (view full) ---

279#define ATAPI_FORMAT 0x04 /* format unit */
280#define ATAPI_READ 0x08 /* read data */
281#define ATAPI_WRITE 0x0a /* write data */
282#define ATAPI_WEOF 0x10 /* write filemark */
283#define ATAPI_WF_WRITE 0x01
284#define ATAPI_SPACE 0x11 /* space command */
285#define ATAPI_SP_FM 0x01
286#define ATAPI_SP_EOD 0x03
287#define ATAPI_INQUIRY 0x12 /* get inquiry data */
287#define ATAPI_MODE_SELECT 0x15 /* mode select */
288#define ATAPI_ERASE 0x19 /* erase */
289#define ATAPI_MODE_SENSE 0x1a /* mode sense */
290#define ATAPI_START_STOP 0x1b /* start/stop unit */
291#define ATAPI_SS_LOAD 0x01
292#define ATAPI_SS_RETENSION 0x02
293#define ATAPI_SS_EJECT 0x04
294#define ATAPI_PREVENT_ALLOW 0x1e /* media removal */

--- 18 unchanged lines hidden (view full) ---

313#define ATAPI_SEND_OPC_INFO 0x54 /* send OPC structurek */
314#define ATAPI_MODE_SELECT_BIG 0x55 /* set device parameters */
315#define ATAPI_REPAIR_TRACK 0x58 /* repair track */
316#define ATAPI_READ_MASTER_CUE 0x59 /* read master CUE info */
317#define ATAPI_MODE_SENSE_BIG 0x5a /* get device parameters */
318#define ATAPI_CLOSE_TRACK 0x5b /* close track/session */
319#define ATAPI_READ_BUFFER_CAPACITY 0x5c /* get buffer capicity */
320#define ATAPI_SEND_CUE_SHEET 0x5d /* send CUE sheet */
288#define ATAPI_MODE_SELECT 0x15 /* mode select */
289#define ATAPI_ERASE 0x19 /* erase */
290#define ATAPI_MODE_SENSE 0x1a /* mode sense */
291#define ATAPI_START_STOP 0x1b /* start/stop unit */
292#define ATAPI_SS_LOAD 0x01
293#define ATAPI_SS_RETENSION 0x02
294#define ATAPI_SS_EJECT 0x04
295#define ATAPI_PREVENT_ALLOW 0x1e /* media removal */

--- 18 unchanged lines hidden (view full) ---

314#define ATAPI_SEND_OPC_INFO 0x54 /* send OPC structurek */
315#define ATAPI_MODE_SELECT_BIG 0x55 /* set device parameters */
316#define ATAPI_REPAIR_TRACK 0x58 /* repair track */
317#define ATAPI_READ_MASTER_CUE 0x59 /* read master CUE info */
318#define ATAPI_MODE_SENSE_BIG 0x5a /* get device parameters */
319#define ATAPI_CLOSE_TRACK 0x5b /* close track/session */
320#define ATAPI_READ_BUFFER_CAPACITY 0x5c /* get buffer capicity */
321#define ATAPI_SEND_CUE_SHEET 0x5d /* send CUE sheet */
322#define ATAPI_SERVICE_ACTION_IN 0x96 /* get service data */
321#define ATAPI_BLANK 0xa1 /* blank the media */
322#define ATAPI_SEND_KEY 0xa3 /* send DVD key structure */
323#define ATAPI_REPORT_KEY 0xa4 /* get DVD key structure */
324#define ATAPI_PLAY_12 0xa5 /* play by lba */
325#define ATAPI_LOAD_UNLOAD 0xa6 /* changer control command */
326#define ATAPI_READ_STRUCTURE 0xad /* get DVD structure */
327#define ATAPI_PLAY_CD 0xb4 /* universal play command */
328#define ATAPI_SET_SPEED 0xbb /* set drive speed */

--- 80 unchanged lines hidden ---
323#define ATAPI_BLANK 0xa1 /* blank the media */
324#define ATAPI_SEND_KEY 0xa3 /* send DVD key structure */
325#define ATAPI_REPORT_KEY 0xa4 /* get DVD key structure */
326#define ATAPI_PLAY_12 0xa5 /* play by lba */
327#define ATAPI_LOAD_UNLOAD 0xa6 /* changer control command */
328#define ATAPI_READ_STRUCTURE 0xad /* get DVD structure */
329#define ATAPI_PLAY_CD 0xb4 /* universal play command */
330#define ATAPI_SET_SPEED 0xbb /* set drive speed */

--- 80 unchanged lines hidden ---