diff options
author | bryanv <bryanv@FreeBSD.org> | 2013-09-06 16:34:09 +0000 |
---|---|---|
committer | bryanv <bryanv@FreeBSD.org> | 2013-09-06 16:34:09 +0000 |
commit | 4ae9daef1893a7aa120b3a69a6a5ecbd2c0efb49 (patch) | |
tree | 95c2cf5be07d54f6ec5fc6d2d085f3f1d54e9072 /sbin/camcontrol | |
parent | a368e04207b7ebda519d8731e0b16eac4e9c6bb8 (diff) | |
download | FreeBSD-src-4ae9daef1893a7aa120b3a69a6a5ecbd2c0efb49.zip FreeBSD-src-4ae9daef1893a7aa120b3a69a6a5ecbd2c0efb49.tar.gz |
Add firmware downloading support for Samsung drives
Tested on Samsung SM1625 SSDs.
Diffstat (limited to 'sbin/camcontrol')
-rw-r--r-- | sbin/camcontrol/camcontrol.8 | 2 | ||||
-rw-r--r-- | sbin/camcontrol/fwdownload.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sbin/camcontrol/camcontrol.8 b/sbin/camcontrol/camcontrol.8 index 4469cdc..6879568 100644 --- a/sbin/camcontrol/camcontrol.8 +++ b/sbin/camcontrol/camcontrol.8 @@ -1423,6 +1423,8 @@ PLEXTOR .It QUANTUM .It +SAMSUNG +.It SEAGATE .El .Pp diff --git a/sbin/camcontrol/fwdownload.c b/sbin/camcontrol/fwdownload.c index 2fa9ba4..7e57d32 100644 --- a/sbin/camcontrol/fwdownload.c +++ b/sbin/camcontrol/fwdownload.c @@ -77,6 +77,7 @@ typedef enum { VENDOR_PLEXTOR, VENDOR_QUALSTAR, VENDOR_QUANTUM, + VENDOR_SAMSUNG, VENDOR_SEAGATE, VENDOR_UNKNOWN } fw_vendor_t; @@ -98,6 +99,7 @@ static const struct fw_vendor vendors_list[] = { {VENDOR_PLEXTOR, "PLEXTOR", 0x2000, 0x04, 0x05, 0, 1}, {VENDOR_QUALSTAR, "QUALSTAR", 0x2030, 0x05, 0x05, 0, 0}, {VENDOR_QUANTUM, "QUANTUM", 0x2000, 0x04, 0x05, 0, 1}, + {VENDOR_SAMSUNG, "SAMSUNG", 0x8000, 0x07, 0x07, 0, 1}, {VENDOR_SEAGATE, "SEAGATE", 0x8000, 0x07, 0x07, 0, 1}, /* the next 2 are SATA disks going through SAS HBA */ {VENDOR_SEAGATE, "ATA ST", 0x8000, 0x07, 0x07, 0, 1}, |