diff options
Diffstat (limited to 'sys/dev/isci/scil/sati_util.h')
-rw-r--r-- | sys/dev/isci/scil/sati_util.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/isci/scil/sati_util.h b/sys/dev/isci/scil/sati_util.h index 0f141df..5b4ac47 100644 --- a/sys/dev/isci/scil/sati_util.h +++ b/sys/dev/isci/scil/sati_util.h @@ -62,6 +62,8 @@ * structure data, fill in sense data, etc. */ +#include <sys/param.h> + #include <dev/isci/scil/sati_types.h> #include <dev/isci/scil/sati_translator_sequence.h> @@ -144,15 +146,6 @@ #define ATA_MICROCODE_OFFSET_DOWNLOAD 0x03 #define ATA_MICROCODE_DOWNLOAD_SAVE 0x07 -#ifndef MIN -#define MIN(x,y) ((x) < (y) ? (x) : (y)) -#endif - -#ifndef MAX -#define MAX(x,y) ((x) > (y) ? (x) : (y)) -#endif - - void sati_ata_non_data_command( void * ata_io, SATI_TRANSLATOR_SEQUENCE_T * sequence |