diff options
author | Søren Schmidt <sos@FreeBSD.org> | 2004-03-15 13:17:24 +0000 |
---|---|---|
committer | Søren Schmidt <sos@FreeBSD.org> | 2004-03-15 13:17:24 +0000 |
commit | ad0e7ebfd2b35903d0a06797edf06cb6ecefe8dc (patch) | |
tree | b42559be8c66dc29aa85e2ba3d0e377fa212ec08 /sys | |
parent | 7f4704c01d5ff3fd09bfba8b8a6691e21c2e245c (diff) | |
download | src-ad0e7ebfd2b35903d0a06797edf06cb6ecefe8dc.tar.gz src-ad0e7ebfd2b35903d0a06797edf06cb6ecefe8dc.zip |
Add SATA support fields
Notes
Notes:
svn path=/head/; revision=127021
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/ata.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/sys/sys/ata.h b/sys/sys/ata.h index 30f8131095aa..68acf3f2f26d 100644 --- a/sys/sys/ata.h +++ b/sys/sys/ata.h @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2000 - 2003 Søren Schmidt <sos@FreeBSD.org> + * Copyright (c) 2000 - 2004 Søren Schmidt <sos@FreeBSD.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -105,10 +105,20 @@ struct ata_params { /*075*/ u_int16_t queue; #define ATA_QUEUE_LEN(x) ((x) & 0x001f) - u_int16_t reserved76; + u_int16_t satacapabilities; +#define ATA_SATA_GEN1 0x0002 +#define ATA_SATA_GEN2 0x0004 +#define ATA_SUPPORT_NCQ 0x0100 +#define ATA_SUPPORT_IFPWRMNGTRCV 0x0200 + u_int16_t reserved77; - u_int16_t reserved78; - u_int16_t reserved79; + u_int16_t satasupport; +#define ATA_SUPPORT_NONZERO 0x0002 +#define ATA_SUPPORT_AUTOACTIVATE 0x0004 +#define ATA_SUPPORT_IFPWRMNGT 0x0008 +#define ATA_SUPPORT_INORDERDATA 0x0010 + u_int16_t sataenabled; + /*080*/ u_int16_t version_major; /*081*/ u_int16_t version_minor; |