Commit 7620c687 authored by Committed by Greg Kroah-Hartman
scsi: set to WCE if usb cache quirk is present.
Make use of USB quirk method to identify such HDD while reading the cache status in sd_probe(). If cache quirk is present for the HDD, lets assume that cache is enabled and make WCE bit equal to 1. Signed-off-by: Namjae Jeon <firstname.lastname@example.org> Signed-off-by: Pankaj Kumar <email@example.com> Signed-off-by: Amit Sahrawat <firstname.lastname@example.org> Cc: Alan Stern <email@example.com> Cc: James Bottomley <James.Bottomley@HansenPartnership.com> Signed-off-by: Greg Kroah-Hartman <firstname.lastname@example.org>
Showing with 8 additions and 2 deletions