From 4a07acdae1ee69ca861c2be66d0be599e2c6da11 Mon Sep 17 00:00:00 2001
From: samm2 <samm2@4ea69e1a-61f1-4043-bf83-b5c94c648137>
Date: Wed, 7 Oct 2009 13:58:41 +0000
Subject: [PATCH] freebsd: add atacam to the list of valid device types

git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@2946 4ea69e1a-61f1-4043-bf83-b5c94c648137
---
 smartmontools/os_freebsd.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/smartmontools/os_freebsd.cpp b/smartmontools/os_freebsd.cpp
index eb2a9aa8a..89c375e0c 100644
--- a/smartmontools/os_freebsd.cpp
+++ b/smartmontools/os_freebsd.cpp
@@ -1917,7 +1917,11 @@ smart_device * freebsd_smart_interface::get_custom_smart_device(const char * nam
 
 std::string freebsd_smart_interface::get_valid_custom_dev_types_str()
 {
-  return "3ware,N, hpt,L/M/N, cciss,N";
+  return "3ware,N, hpt,L/M/N, cciss,N"
+#if FREEBSDVER > 800100
+  ", atacam"
+#endif
+  ;
 }
 
 } // namespace
-- 
GitLab