Declare the CF GEOM class so that g_modevent will get called, the class will

be recorded, etc.  This fixes libgeom on Octeon.
This commit is contained in:
Juli Mallett 2010-11-02 23:43:44 +00:00
parent 448efa9421
commit bc41e12963

View File

@ -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);