Skip to content
Snippets Groups Projects
Commit ad612578 authored by samm2's avatar samm2
Browse files

Linux: Autodetect DELL PERC controller.

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2950 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent aa2f68eb
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,8 @@ NOTES FOR FUTURE RELEASES: see TODO file.
<DEVELOPERS: ADDITIONS TO THE CHANGE LOG GO JUST BELOW HERE, PLEASE>
[AS] Linux: Autodetect DELL PERC controller.
[AS] Linux: Fixed SATA drives support on megaraid device (see ticket #15).
[AS] FreeBSD: Removed all old detection code, moving everything to
......
......@@ -2676,6 +2676,12 @@ smart_device * linux_scsi_device::autodetect_open()
"you may need to replace %s with /dev/twaN or /dev/tweN", get_dev_name());
return this;
}
// DELL?
if (!memcmp(req_buff + 8, "DELL PERC", 12)) {
close();
set_err(EINVAL, "DELL controller, please try adding '-d megaraid,N'");
return this;
}
// Marvell ?
if (len >= 42 && !memcmp(req_buff + 36, "MVSATA", 6)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment