mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 12:28:58 +00:00
Made all header files idempotent and moved incorrect common data from
headers into a related source file.
This commit is contained in:
parent
13c0dce671
commit
9e8258b56f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=721
@ -18,9 +18,12 @@
|
||||
*
|
||||
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
|
||||
*
|
||||
* $Id$
|
||||
* $Id: scsi_all.h,v 1.4 1993/08/21 20:01:51 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SCSI_SCSI_ALL_H_
|
||||
#define _SCSI_SCSI_ALL_H_ 1
|
||||
|
||||
/*
|
||||
* SCSI command format
|
||||
*/
|
||||
@ -321,3 +324,4 @@ struct scsi_mode_header_big
|
||||
#define SCSI_CHECK 0x02
|
||||
#define SCSI_BUSY 0x08
|
||||
#define SCSI_INTERM 0x10
|
||||
#endif /* _SCSI_SCSI_ALL_H_ */
|
||||
|
@ -14,9 +14,12 @@
|
||||
*
|
||||
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
|
||||
*
|
||||
* $Id$
|
||||
* $Id: scsi_cd.h,v 1.4 1993/08/21 20:01:52 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SCSI_SCSI_CD_H_
|
||||
#define _SCSI_SCSI_CD_H_ 1
|
||||
|
||||
/*
|
||||
* Define two bits always in the same place in byte 2 (flag byte)
|
||||
*/
|
||||
@ -139,7 +142,6 @@ struct scsi_read_toc
|
||||
u_char data_len[2];
|
||||
u_char control;
|
||||
};
|
||||
;
|
||||
|
||||
struct scsi_read_cd_capacity
|
||||
{
|
||||
@ -224,3 +226,4 @@ struct cd_mode_data
|
||||
union cd_pages page;
|
||||
};
|
||||
|
||||
#endif /* _SCSI_SCSI_CD_H_ */
|
||||
|
@ -19,9 +19,12 @@
|
||||
*
|
||||
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
|
||||
*
|
||||
* $Id$
|
||||
* $Id: scsi_changer.h,v 1.4 1993/08/21 20:01:53 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SCSI_SCSI_CHANGER_H_
|
||||
#define _SCSI_SCSI_CHANGER_H_ 1
|
||||
|
||||
/*
|
||||
* SCSI command format
|
||||
*/
|
||||
@ -93,3 +96,4 @@ struct element_status_page
|
||||
u_char byte_count_of_descriptor_data[3];
|
||||
};
|
||||
|
||||
#endif /* _SCSI_SCSI_CHANGER_H_ */
|
||||
|
@ -46,9 +46,12 @@
|
||||
*
|
||||
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
|
||||
*
|
||||
* $Id$
|
||||
* $Id: scsi_disk.h,v 1.4 1993/08/21 20:01:54 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SCSI_SCSI_DISK_H_
|
||||
#define _SCSI_SCSI_DISK_H_ 1
|
||||
|
||||
/*
|
||||
* SCSI command format
|
||||
*/
|
||||
@ -211,3 +214,4 @@ union disk_pages /* this is the structure copied from osf */
|
||||
u_char reserved3;
|
||||
} rigid_geometry;
|
||||
} ;
|
||||
#endif /* _SCSI_SCSI_DISK_H_ */
|
||||
|
@ -21,10 +21,13 @@
|
||||
/*
|
||||
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
|
||||
*
|
||||
* $Id: scsi_tape.h,v 1.8 93/08/31 21:40:16 julian Exp Locker: julian $
|
||||
* $Id: scsi_tape.h,v 1.6 1993/09/05 15:42:20 rgrimes Exp $
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _SCSI_SCSI_TAPE_H_
|
||||
#define _SCSI_SCSI_TAPE_H_ 1
|
||||
|
||||
|
||||
/*
|
||||
* SCSI command formats
|
||||
@ -200,3 +203,4 @@ struct blk_desc_cipher
|
||||
#define DAT-1 0x13
|
||||
|
||||
|
||||
#endif /* _SCSI_SCSI_TAPE_H_ */
|
||||
|
@ -14,9 +14,12 @@
|
||||
*
|
||||
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
|
||||
*
|
||||
* $Id: scsiconf.h,v 1.3 93/08/26 21:09:43 julian Exp Locker: julian $
|
||||
* $Id: scsiconf.h,v 1.5 1993/08/28 03:08:54 rgrimes Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SCSI_SCSICONF_H_
|
||||
#define _SCSI_SCSICONF_H_ 1
|
||||
|
||||
/***********************************************\
|
||||
* these calls are called by the high-end *
|
||||
* drivers to get services from whatever low-end *
|
||||
@ -123,3 +126,4 @@ struct scsi_xfer
|
||||
#define XS_SWTIMEOUT 0x04 /* The Timeout reported was caught by SW */
|
||||
#define XS_BUSY 0x08 /* The device busy, try again later? */
|
||||
|
||||
#endif /* _SCSI_SCSICONF_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user