1#ifndef __IOFORGE__IOFORGE_BLOCK_H__
2#define __IOFORGE__IOFORGE_BLOCK_H__
void foreach_block_device_by_type(struct ioforge_device *node, uint8_t type, ioforge_block_visitor_fn callback, void *ctx)
@ IOFORGE_BLOCK_TYPE_SEMB
@ IOFORGE_BLOCK_TYPE_SATA
@ IOFORGE_BLOCK_TYPE_SATAPI
void(* ioforge_block_visitor_fn)(struct ioforge_block_device *dev, void *ctx)
@ IOFORGE_BLOCK_OP_PACKET
@ IOFORGE_BLOCK_OP_IDENTIFY
struct ioforge_device base
struct ioforge_block_op ops
int(* submit)(struct ioforge_block_device *dev, struct ioforge_block_request *req)