svn commit: r211262 - projects/ofed/head/sys/sys

Jeff Roberson jeff at FreeBSD.org
Fri Aug 13 03:12:43 UTC 2010


Author: jeff
Date: Fri Aug 13 03:12:42 2010
New Revision: 211262
URL: http://svn.freebsd.org/changeset/base/211262

Log:
   - Add a "DEV" filetype for use with uverbs.  uverbs constructs a special
     fd after a device ioctl and returns it to the user.
  
  Sponsored by:	Isilon Systems, iX Systems, and Panasas.

Modified:
  projects/ofed/head/sys/sys/file.h

Modified: projects/ofed/head/sys/sys/file.h
==============================================================================
--- projects/ofed/head/sys/sys/file.h	Fri Aug 13 03:11:33 2010	(r211261)
+++ projects/ofed/head/sys/sys/file.h	Fri Aug 13 03:12:42 2010	(r211262)
@@ -63,6 +63,7 @@ struct socket;
 #define	DTYPE_SHM	8	/* swap-backed shared memory */
 #define	DTYPE_SEM	9	/* posix semaphore */
 #define	DTYPE_PTS	10	/* pseudo teletype master device */
+#define	DTYPE_DEV	11	/* Device specific fd type */
 
 #ifdef _KERNEL
 


More information about the svn-src-projects mailing list