summaryrefslogtreecommitdiff
path: root/firmware/drivers/ata.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-06-03 21:04:29 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-06-03 21:04:29 -0400
commitce5fe4d108acd4f4c37c4fc88c9e482adb47e93e (patch)
tree73de07c451b383a784284ec3cdac3e282ca17503 /firmware/drivers/ata.c
parent00440f2137775c2c2003893f814d8de44d82e223 (diff)
ata: fix a typo in a definition that's thankfully not used.
Change-Id: I6f2d4d05249dc01b48caa1507ee0e71496c67ba6
Diffstat (limited to 'firmware/drivers/ata.c')
-rw-r--r--firmware/drivers/ata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index cc71ff7347..ec99239169 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -51,7 +51,7 @@
#define CMD_WRITE_MULTIPLE_EXT 0x39
#define CMD_SET_MULTIPLE_MODE 0xC6
#ifdef HAVE_ATA_SMART
-#define CMD_SMART
+#define CMD_SMART 0xB0
#endif
#define CMD_STANDBY_IMMEDIATE 0xE0
#define CMD_STANDBY 0xE2