summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2010-11-02 23:43:44 +0000
committerjmallett <jmallett@FreeBSD.org>2010-11-02 23:43:44 +0000
commitfa419e93b75ab1483de6709c29a456e1dd6422f8 (patch)
tree1a93a2614a837831ed1d241ec9aa9afdc8e428bd /sys/mips
parentc148a74821d2b0cff6651f00ab1dcc590bc73a6a (diff)
downloadFreeBSD-src-fa419e93b75ab1483de6709c29a456e1dd6422f8.zip
FreeBSD-src-fa419e93b75ab1483de6709c29a456e1dd6422f8.tar.gz
Declare the CF GEOM class so that g_modevent will get called, the class will
be recorded, etc. This fixes libgeom on Octeon.
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/cavium/octeon_ebt3000_cf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/mips/cavium/octeon_ebt3000_cf.c b/sys/mips/cavium/octeon_ebt3000_cf.c
index 3ab115f..7955d19 100644
--- a/sys/mips/cavium/octeon_ebt3000_cf.c
+++ b/sys/mips/cavium/octeon_ebt3000_cf.c
@@ -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);
OpenPOWER on IntegriCloud