Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
sunvdc.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/blkdev.h>
#include <linux/hdreg.h>
#include <linux/genhd.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/completion.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/list.h>
#include <linux/scatterlist.h>
#include <asm/vio.h>
#include <asm/ldc.h>

Go to the source code of this file.

Data Structures

struct  vdc_req_entry
 
struct  vdc_port
 

Macros

#define DRV_MODULE_NAME   "sunvdc"
 
#define PFX   DRV_MODULE_NAME ": "
 
#define DRV_MODULE_VERSION   "1.0"
 
#define DRV_MODULE_RELDATE   "June 25, 2007"
 
#define VDC_TX_RING_SIZE   256
 
#define WAITING_FOR_LINK_UP   0x01
 
#define WAITING_FOR_TX_SPACE   0x02
 
#define WAITING_FOR_GEN_CMD   0x04
 
#define WAITING_FOR_ANY   -1
 
#define VDCBLK_NAME   "vdisk"
 
#define PARTITION_SHIFT   3
 

Functions

 MODULE_AUTHOR ("David S. Miller ([email protected])")
 
 MODULE_DESCRIPTION ("Sun LDOM virtual disk client driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (DRV_MODULE_VERSION)
 
 MODULE_DEVICE_TABLE (vio, vdc_port_match)
 
 module_init (vdc_init)
 
 module_exit (vdc_exit)
 

Variables

struct vdc_req_entry __attribute__
 

Macro Definition Documentation

#define DRV_MODULE_NAME   "sunvdc"

Definition at line 23 of file sunvdc.c.

#define DRV_MODULE_RELDATE   "June 25, 2007"

Definition at line 26 of file sunvdc.c.

#define DRV_MODULE_VERSION   "1.0"

Definition at line 25 of file sunvdc.c.

#define PARTITION_SHIFT   3

Definition at line 87 of file sunvdc.c.

#define PFX   DRV_MODULE_NAME ": "

Definition at line 24 of file sunvdc.c.

#define VDC_TX_RING_SIZE   256

Definition at line 35 of file sunvdc.c.

#define VDCBLK_NAME   "vdisk"

Definition at line 85 of file sunvdc.c.

#define WAITING_FOR_ANY   -1

Definition at line 40 of file sunvdc.c.

#define WAITING_FOR_GEN_CMD   0x04

Definition at line 39 of file sunvdc.c.

#define WAITING_FOR_LINK_UP   0x01

Definition at line 37 of file sunvdc.c.

#define WAITING_FOR_TX_SPACE   0x02

Definition at line 38 of file sunvdc.c.

Function Documentation

MODULE_AUTHOR ( "David S. Miller ([email protected])"  )
MODULE_DESCRIPTION ( "Sun LDOM virtual disk client driver )
MODULE_DEVICE_TABLE ( vio  ,
vdc_port_match   
)
module_exit ( vdc_exit  )
module_init ( vdc_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( DRV_MODULE_VERSION  )

Variable Documentation