aboutsummaryrefslogtreecommitdiff
path: root/block/raw-win32.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2009-06-15 13:55:19 +0200
committerChristoph Hellwig <hch@brick.lst.de>2009-06-15 13:55:19 +0200
commitf3a5d3f8a1a992376e3dd128ceee917cd1281da7 (patch)
tree52182d1855b05d0f16868bcd0a5a742ea3e9bfe6 /block/raw-win32.c
parent90babde0cad8a485e5f74a2113c0425c08395a47 (diff)
raw-posix: split hdev drivers
Instead of declaring one BlockDriver for all host devices declared one for each type: a generic one for normal disk devices, a Linux floppy driver and a CDROM driver for Linux and FreeBSD. This gets rid of a lot of messy ifdefs and switching based on the type in the various removal device methods. block.c grows a new method to find the correct host device driver based on OS-sepcific criteria, which will later into the actual drivers in a later patch in this series. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'block/raw-win32.c')
0 files changed, 0 insertions, 0 deletions