Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-7] src/sys/dev/sdmmc



Module Name:    src
Committed By:   msaitoh
Date:           Tue May 26 01:29:53 UTC 2015

Modified Files:
        src/sys/dev/sdmmc [netbsd-7]: ld_sdmmc.c sdmmc.c

Log Message:
Pull up following revision(s) (requested by jmcneill in ticket #794):
        sys/dev/sdmmc/sdmmc.c: revision 1.25
        sys/dev/sdmmc/sdmmc.c: revision 1.26
        sys/dev/sdmmc/ld_sdmmc.c: revision 1.13
        sys/dev/sdmmc/ld_sdmmc.c: revision 1.16
- Be a bit more verbose about errors, also pass through error code
  from lower layer like other drivers.
- need to call lddone with splbio and kernel lock held
- sdmmc_task_thread isn't MPSAFE so instead of just wrapping the callback
  in KERNEL_LOCK/KERNEL_UNLOCK_ONE, remove KTHREAD_MPSAFE. While here, use
  PRI_BIO instead of PRI_NONE for the task thread priority. Since this is
  how all transfers are queued, and we have a 1 second timeout on the task
  being picked up off the queue (!), better not to rely on a PRI_NONE thread.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.12.4.1 src/sys/dev/sdmmc/ld_sdmmc.c
cvs rdiff -u -r1.22.4.2 -r1.22.4.3 src/sys/dev/sdmmc/sdmmc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index