1. NAME

i2o_device_issue_claim - claim or release a device

2. SYNOPSIS

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

3. ARGUMENTS

dev
    I2O device to claim or release

cmd
    claim or release command

type
    type of claim

4. 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.

5. COPYRIGHT