mmcsd - Wasn't quite MPSAFE, fix startup race
commite9348d8e0a15acb6612451470c83c86073426a60
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 10 Jan 2017 03:08:03 +0000 (9 19:08 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 10 Jan 2017 03:08:03 +0000 (9 19:08 -0800)
treee4e579ff19f51097d83a917d2598ebfbaf32055c
parent28d459467fba270712bd9034907b12b41e705d9b
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.
sys/dev/disk/mmcsd/mmcsd.c