Add some necessary API bits for the MMC/SD dirver queues.

Also clean up some unneeded parts.