--- embedaddon/smartmontools/os_linux.cpp 2013/07/22 01:17:35 1.1.1.3 +++ embedaddon/smartmontools/os_linux.cpp 2013/10/14 07:54:03 1.1.1.4 @@ -91,7 +91,7 @@ #define ARGUSED(x) ((void)(x)) -const char * os_linux_cpp_cvsid = "$Id: os_linux.cpp,v 1.1.1.3 2013/07/22 01:17:35 misho Exp $" +const char * os_linux_cpp_cvsid = "$Id: os_linux.cpp,v 1.1.1.4 2013/10/14 07:54:03 misho Exp $" OS_LINUX_H_CVSID; extern unsigned char failuretest_permissive; @@ -2908,7 +2908,7 @@ smart_device * linux_smart_interface::get_custom_smart set_err(EINVAL, "Option '-d hpt,L/M/N' invalid controller id L supplied"); return 0; } - if (!(1 <= channel && channel <= 16)) { + if (!(1 <= channel && channel <= 128)) { set_err(EINVAL, "Option '-d hpt,L/M/N' invalid channel number M supplied"); return 0; }