From cc4128c6b1ffcb09a70e70959874cc2bb6e81d0e Mon Sep 17 00:00:00 2001 From: netchild Date: Fri, 25 Feb 2011 10:11:01 +0000 Subject: Add some FEATURE macros for various features (AUDIT/CAM/IPC/KTR/MAC/NFS/NTP/ PMC/SYSV/...). No FreeBSD version bump, the userland application to query the features will be committed last and can serve as an indication of the availablility if needed. Sponsored by: Google Summer of Code 2010 Submitted by: kibab Reviewed by: arch@ (parts by rwatson, trasz, jhb) X-MFC after: to be determined in last commit with code from this project --- sys/cam/cam.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/cam') diff --git a/sys/cam/cam.c b/sys/cam/cam.c index b3c9023..4445d03 100644 --- a/sys/cam/cam.c +++ b/sys/cam/cam.c @@ -51,6 +51,9 @@ __FBSDID("$FreeBSD$"); #include #include #include + +FEATURE(scbus, "SCSI devices support"); + #endif static int camstatusentrycomp(const void *key, const void *member); -- cgit v1.1