Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2009 18:44:05 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194989 - head/sys/sys
Message-ID:  <200906251844.n5PIi5cg060858@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Thu Jun 25 18:44:05 2009
New Revision: 194989
URL: http://svn.freebsd.org/changeset/base/194989

Log:
  Remove the d_spare2_t typedef.  The d_spare2 field was replaced by
  d_mmap_single().  I considered adding a new round of padding for 8.0.
  However, since cdevsw already maintains a version field, new versions
  can be handled without requiring the need for explicit padding fields.

Modified:
  head/sys/sys/conf.h

Modified: head/sys/sys/conf.h
==============================================================================
--- head/sys/sys/conf.h	Thu Jun 25 18:40:27 2009	(r194988)
+++ head/sys/sys/conf.h	Thu Jun 25 18:44:05 2009	(r194989)
@@ -141,8 +141,6 @@ typedef int d_mmap_single_t(struct cdev 
     vm_size_t size, struct vm_object **object, int nprot);
 typedef void d_purge_t(struct cdev *dev);
 
-typedef int d_spare2_t(struct cdev *dev);
-
 typedef int dumper_t(
 	void *_priv,		/* Private to the driver. */
 	void *_virtual,		/* Virtual (mapped) address. */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906251844.n5PIi5cg060858>