i2o_device_issue_claim(9) claim or release a device

SYNOPSIS

int i2o_device_issue_claim(struct i2o_device * dev, u32 cmd, u32 type);

ARGUMENTS

dev

I2O device to claim or release

cmd

claim or release command

type

type of claim

DESCRIPTION

Issue I2O UTIL_CLAIM or UTIL_RELEASE messages. The message to be sent is set by cmd. dev is the I2O device which should be claim or released and the type is the claim type (see the I2O spec).

Returs 0 on success or negative error code on failure.

COPYRIGHT