35c35
< * $FreeBSD: head/sys/geom/geom_dev.c 92698 2002-03-19 13:54:15Z phk $
---
> * $FreeBSD: head/sys/geom/geom_dev.c 93248 2002-03-26 21:40:06Z phk $
79,80c79,80
< static struct g_method g_dev_method = {
< "DEV-method",
---
> static struct g_class g_dev_class = {
> "DEV-class",
85c85
< G_METHOD_INITSTUFF
---
> G_CLASS_INITSTUFF
101c101
< LIST_FOREACH(gp, &g_dev_method.geom, geom) {
---
> LIST_FOREACH(gp, &g_dev_class.geom, geom) {
127c127
< g_dev_taste(struct g_method *mp, struct g_provider *pp, struct thread *tp __unused, int insist __unused)
---
> g_dev_taste(struct g_class *mp, struct g_provider *pp, struct thread *tp __unused, int insist __unused)
140c140
< if (cp->geom->method == mp)
---
> if (cp->geom->class == mp)
285c285
< gp = g_create_geomf("BSD-method", cp->provider, NULL);
---
> gp = g_create_geomf("BSD-class", cp->provider, NULL);
389c389
< DECLARE_GEOM_METHOD(g_dev_method, g_dev)
---
> DECLARE_GEOM_CLASS(g_dev_class, g_dev)
< * $FreeBSD: head/sys/geom/geom_dev.c 92698 2002-03-19 13:54:15Z phk $
---
> * $FreeBSD: head/sys/geom/geom_dev.c 93248 2002-03-26 21:40:06Z phk $
79,80c79,80
< static struct g_method g_dev_method = {
< "DEV-method",
---
> static struct g_class g_dev_class = {
> "DEV-class",
85c85
< G_METHOD_INITSTUFF
---
> G_CLASS_INITSTUFF
101c101
< LIST_FOREACH(gp, &g_dev_method.geom, geom) {
---
> LIST_FOREACH(gp, &g_dev_class.geom, geom) {
127c127
< g_dev_taste(struct g_method *mp, struct g_provider *pp, struct thread *tp __unused, int insist __unused)
---
> g_dev_taste(struct g_class *mp, struct g_provider *pp, struct thread *tp __unused, int insist __unused)
140c140
< if (cp->geom->method == mp)
---
> if (cp->geom->class == mp)
285c285
< gp = g_create_geomf("BSD-method", cp->provider, NULL);
---
> gp = g_create_geomf("BSD-class", cp->provider, NULL);
389c389
< DECLARE_GEOM_METHOD(g_dev_method, g_dev)
---
> DECLARE_GEOM_CLASS(g_dev_class, g_dev)