Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jul 2010 21:50:44 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r210265 - head/sys/dev/flash
Message-ID:  <201007192150.o6JLoi9h092972@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Mon Jul 19 21:50:43 2010
New Revision: 210265
URL: http://svn.freebsd.org/changeset/base/210265

Log:
  Fix naming to be consistent.

Modified:
  head/sys/dev/flash/mx25l.c

Modified: head/sys/dev/flash/mx25l.c
==============================================================================
--- head/sys/dev/flash/mx25l.c	Mon Jul 19 21:46:40 2010	(r210264)
+++ head/sys/dev/flash/mx25l.c	Mon Jul 19 21:50:43 2010	(r210265)
@@ -69,7 +69,7 @@ struct mx25l_softc 
 	struct disk	*sc_disk;
 	struct proc	*sc_p;
 	struct bio_queue_head sc_bio_queue;
-	unsigned int	flags;
+	unsigned int	sc_flags;
 };
 
 #define M25PXX_LOCK(_sc)		mtx_lock(&(_sc)->sc_mtx)
@@ -375,7 +375,7 @@ mx25l_attach(device_t dev)
 	sc->sc_disk->d_dump = NULL;		/* NB: no dumps */
 	/* Sectorsize for erase operations */
 	sc->sc_sectorsize =  ident->sectorsize;
-	sc->flags = ident->flags;
+	sc->sc_flags = ident->flags;
 
         /* NB: use stripesize to hold the erase/region size for RedBoot */
 	sc->sc_disk->d_stripesize = ident->sectorsize;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007192150.o6JLoi9h092972>