mkfs: drop support for zone != block
[minix.git] / lib / libbdev / type.h
blobb764ac1fd06d87e35d2d1a761e1d81e4c8c33fd6
1 #ifndef _BDEV_TYPE_H
2 #define _BDEV_TYPE_H
4 typedef struct {
5 bdev_id_t id; /* call ID */
6 dev_t dev; /* target device number */
7 message msg; /* request message */
8 bdev_callback_t callback; /* callback function */
9 bdev_param_t param; /* callback parameter */
10 int driver_tries; /* times retried on driver restarts */
11 int transfer_tries; /* times retried on transfer errors */
12 iovec_t *vec; /* original vector */
13 iovec_s_t gvec[1]; /* grant vector */
14 } bdev_call_t;
16 #endif /* _BDEV_TYPE_H */