svn commit: r214708 - head/sys/mips/cavium

Juli Mallett jmallett at FreeBSD.org
Tue Nov 2 23:43:45 UTC 2010


Author: jmallett
Date: Tue Nov  2 23:43:44 2010
New Revision: 214708
URL: http://svn.freebsd.org/changeset/base/214708

Log:
  Declare the CF GEOM class so that g_modevent will get called, the class will
  be recorded, etc.  This fixes libgeom on Octeon.

Modified:
  head/sys/mips/cavium/octeon_ebt3000_cf.c

Modified: head/sys/mips/cavium/octeon_ebt3000_cf.c
==============================================================================
--- head/sys/mips/cavium/octeon_ebt3000_cf.c	Tue Nov  2 23:43:27 2010	(r214707)
+++ head/sys/mips/cavium/octeon_ebt3000_cf.c	Tue Nov  2 23:43:44 2010	(r214708)
@@ -148,6 +148,8 @@ struct g_class g_cf_class = {
         .ioctl =        cf_ioctl,
 };
 
+DECLARE_GEOM_CLASS(g_cf_class, g_cf);
+
 /* Device methods */
 static int	cf_probe(device_t);
 static void	cf_identify(driver_t *, device_t);


More information about the svn-src-all mailing list