git: mmcsd - Wasn't quite MPSAFE, fix startup race

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 9 19:09:06 PST 2017


commit e9348d8e0a15acb6612451470c83c86073426a60
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jan 9 19:08:03 2017 -0800

    mmcsd - Wasn't quite MPSAFE, fix startup race
    
    * mmcsd was attaching the drive before finishing the softc setup.  Being
      MPSAFE, the system tried to probe the mmcsd before it could finish the
      setup.
    
    * Fixed by shifting things around a little.

Summary of changes:
 sys/dev/disk/mmcsd/mmcsd.c | 41 ++++++++++++++++++++++++-----------------
 1 file changed, 24 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e9348d8e0a15acb6612451470c83c86073426a60


-- 
DragonFly BSD source repository



More information about the Commits mailing list