Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
device_id.c File Reference
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <asm/ccwdev.h>
#include <asm/setup.h>
#include <asm/cio.h>
#include <asm/diag.h>
#include "cio.h"
#include "cio_debug.h"
#include "device.h"
#include "io_sch.h"

Go to the source code of this file.

Macros

#define SENSE_ID_RETRIES   256
 
#define SENSE_ID_TIMEOUT   (10 * HZ)
 
#define SENSE_ID_MIN_LEN   4
 
#define SENSE_ID_BASIC_LEN   7
 

Functions

void ccw_device_sense_id_start (struct ccw_device *cdev)
 

Macro Definition Documentation

#define SENSE_ID_BASIC_LEN   7

Definition at line 27 of file device_id.c.

#define SENSE_ID_MIN_LEN   4

Definition at line 26 of file device_id.c.

#define SENSE_ID_RETRIES   256

Definition at line 24 of file device_id.c.

#define SENSE_ID_TIMEOUT   (10 * HZ)

Definition at line 25 of file device_id.c.

Function Documentation

void ccw_device_sense_id_start ( struct ccw_device cdev)

ccw_device_sense_id_start - perform SENSE ID : ccw device

Execute a SENSE ID channel program on to update its sense id information. When finished, call ccw_device_sense_id_done with a return code specifying the result.

Definition at line 198 of file device_id.c.