Date: Wed, 3 Feb 2010 01:12:20 +0000 (UTC) From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r203411 - head/sys/geom Message-ID: <201002030112.o131CKdB031498@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gonzo Date: Wed Feb 3 01:12:19 2010 New Revision: 203411 URL: http://svn.freebsd.org/changeset/base/203411 Log: - Give geom_redboot taste of flash/spi. Now there is another provider of redboot partitions. This patch was missed during merge from projects/mips. Modified: head/sys/geom/geom_redboot.c Modified: head/sys/geom/geom_redboot.c ============================================================================== --- head/sys/geom/geom_redboot.c Tue Feb 2 23:10:27 2010 (r203410) +++ head/sys/geom/geom_redboot.c Wed Feb 3 01:12:19 2010 (r203411) @@ -252,7 +252,8 @@ g_redboot_taste(struct g_class *mp, stru if (!strcmp(pp->geom->class->name, REDBOOT_CLASS_NAME)) return (NULL); /* XXX only taste flash providers */ - if (strncmp(pp->name, "cfi", 3)) + if (strncmp(pp->name, "cfi", 3) && + strncmp(pp->name, "flash/spi", 9)) return (NULL); gp = g_slice_new(mp, REDBOOT_MAXSLICE, pp, &cp, &sc, sizeof(*sc), g_redboot_start);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002030112.o131CKdB031498>