mars/mars_if_device.h

25 lines
438 B
C
Raw Normal View History

2010-06-14 14:27:40 +00:00
// (c) 2010 Thomas Schoebel-Theuer / 1&1 Internet AG
2010-06-20 18:55:34 +00:00
#ifndef MARS_IF_DEVICE_H
#define MARS_IF_DEVICE_H
2010-06-14 14:27:40 +00:00
struct if_device_brick {
MARS_BRICK(if_device);
};
struct if_device_input {
MARS_INPUT(if_device);
struct request_queue *q;
struct gendisk *disk;
struct block_device *bdev;
2010-06-18 11:44:14 +00:00
spinlock_t req_lock;
2010-06-22 13:21:42 +00:00
struct mars_io_object_layout *mio_layout;
2010-06-14 14:27:40 +00:00
};
struct if_device_output {
MARS_OUTPUT(if_device);
};
MARS_TYPES(if_device);
2010-06-20 18:55:34 +00:00
#endif