]> Zhao Yanbai Git Server - minix.git/commit
libblockdriver: various updates 62/962/2
authorDavid van Moolenbroek <david@minix3.org>
Wed, 11 Sep 2013 11:33:00 +0000 (13:33 +0200)
committerLionel Sambuc <lionel@minix3.org>
Wed, 19 Feb 2014 10:22:15 +0000 (11:22 +0100)
commit0f7f3c0d549734d0e4e12338ea5dad4685522784
tree43d8a65fcba95b40eaf7fe63c03cb6768151dd51
parent26cb85535e8d5a55a0ebd41c6aa9805c451fc357
libblockdriver: various updates

- internal structure rearrangement;
- respond to char device open requests to avoid hanging VFS threads;
- make drivers use designated initializers;
- use devminor_t for all minor device numbers;
- change bdr_other hook to take ipc_status and return nothing;
- fix default geometry computation;
- add support for sef_cancel.

Change-Id: Ia063a136a3ddb2b78de36180feda870605753d70
14 files changed:
drivers/ahci/ahci.c
drivers/at_wini/at_wini.c
drivers/cat24c256/cat24c256.c
drivers/fbd/fbd.c
drivers/floppy/floppy.c
drivers/memory/memory.c
drivers/mmc/mmcblk.c
drivers/tda19988/tda19988.c
drivers/virtio_blk/virtio_blk.c
include/minix/blockdriver.h
lib/libblockdriver/driver.c
lib/libblockdriver/driver.h
lib/libblockdriver/driver_mt.c
lib/libblockdriver/driver_st.c