mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-23 08:21:09 +01:00
Fix problem with the Samsung 840 PRO series SSD detection.
The device reports support for SATA Asynchronous Notification in its IDENTIFY data, but returns error on attempt to enable that feature. Make SATA XPT of CAM only report these errors, but not fail the device. MFC after: 1 week
This commit is contained in:
parent
9c402aeb41
commit
09dff10118
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243571
@ -750,6 +750,14 @@ probedone(struct cam_periph *periph, union ccb *done_ccb)
|
|||||||
status == CAM_ATA_STATUS_ERROR) {
|
status == CAM_ATA_STATUS_ERROR) {
|
||||||
goto noerror;
|
goto noerror;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Some Samsung SSDs report supported Asynchronous Notification,
|
||||||
|
* but return ABORT on attempt to enable it.
|
||||||
|
*/
|
||||||
|
} else if (softc->action == PROBE_SETAN &&
|
||||||
|
status == CAM_ATA_STATUS_ERROR) {
|
||||||
|
goto noerror;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SES and SAF-TE SEPs have different IDENTIFY commands,
|
* SES and SAF-TE SEPs have different IDENTIFY commands,
|
||||||
* but SATA specification doesn't tell how to identify them.
|
* but SATA specification doesn't tell how to identify them.
|
||||||
|
Loading…
Reference in New Issue
Block a user