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

FreeBSD: do not skip devices on the ata bus with cam autodetecion

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2942 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 544be2c7
Branches
No related tags found
No related merge requests found
...@@ -1433,7 +1433,8 @@ int get_dev_names_cam(char*** names, bool show_all) { ...@@ -1433,7 +1433,8 @@ int get_dev_names_cam(char*** names, bool show_all) {
// if (dev_result->inq_data.device != T_DIRECT) // if (dev_result->inq_data.device != T_DIRECT)
// skip_device = 1; // skip_device = 1;
changed = 1; changed = 1;
} else if (ccb.cdm.matches[i].type == DEV_MATCH_PERIPH && skip_device == 0) { } else if (ccb.cdm.matches[i].type == DEV_MATCH_PERIPH &&
(skip_device == 0 || show_all)) {
/* One device may be populated as many peripherals (pass0 & da0 for example). /* One device may be populated as many peripherals (pass0 & da0 for example).
* We are searching for latest name * We are searching for latest name
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment