24 log(
mod,
"found SATAPI device at %d", dev->
port);
28 log(
mod,
"Device found, calling setup");
static AHCIModule instance
static ATAPIModule * getInstance()
void probe(struct ioforge_block_device *block)
void foreach_by_type(ioforge_device *node, uint8_t type, T &&callback)
IOForgeBlock(const char *mod)
struct ioforge_device * ioforge_get_block_devices_root()
#define log(mod, fmt,...)
#define IoForgeModuleConstructor(Class)
@ IOFORGE_BLOCK_TYPE_SATAPI