#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <scsi/scsi.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_transport_srp.h>
#include <scsi/scsi_tgt.h>
#include <scsi/libsrp.h>
#include <asm/hvcall.h>
#include <asm/iommu.h>
#include <asm/prom.h>
#include <asm/vio.h>
#include "ibmvscsi.h"
Go to the source code of this file.
|
#define | INITIAL_SRP_LIMIT 16 |
|
#define | DEFAULT_MAX_SECTORS 256 |
|
#define | TGT_NAME "ibmvstgt" |
|
#define | h_copy_rdma(l, sa, sb, da, db) plpar_hcall_norets(H_COPY_RDMA, l, sa, sb, da, db) |
|
#define | h_send_crq(ua, l, h) plpar_hcall_norets(H_SEND_CRQ, ua, l, h) |
|
#define | h_reg_crq(ua, tok, sz) plpar_hcall_norets(H_REG_CRQ, ua, tok, sz); |
|
#define | h_free_crq(ua) plpar_hcall_norets(H_FREE_CRQ, ua); |
|
#define | eprintk(fmt, args...) |
|
#define | dprintk(fmt, args...) |
|
#define | SRP_RSP_SENSE_DATA_LEN 18 |
|
#define DEFAULT_MAX_SECTORS 256 |
#define dprintk |
( |
|
fmt, |
|
|
|
args... |
|
) |
| |
#define eprintk |
( |
|
fmt, |
|
|
|
args... |
|
) |
| |
Value:do { \
printk(
"%s(%d) " fmt, __func__, __LINE__, ##args); \
} while (0)
Definition at line 57 of file ibmvstgt.c.
#define h_copy_rdma |
( |
|
l, |
|
|
|
sa, |
|
|
|
sb, |
|
|
|
da, |
|
|
|
db |
|
) |
| plpar_hcall_norets(H_COPY_RDMA, l, sa, sb, da, db) |
#define h_free_crq |
( |
|
ua | ) |
plpar_hcall_norets(H_FREE_CRQ, ua); |
#define h_reg_crq |
( |
|
ua, |
|
|
|
tok, |
|
|
|
sz |
|
) |
| plpar_hcall_norets(H_REG_CRQ, ua, tok, sz); |
#define h_send_crq |
( |
|
ua, |
|
|
|
l, |
|
|
|
h |
|
) |
| plpar_hcall_norets(H_SEND_CRQ, ua, l, h) |
#define INITIAL_SRP_LIMIT 16 |
#define SRP_RSP_SENSE_DATA_LEN 18 |
#define TGT_NAME "ibmvstgt" |
MODULE_AUTHOR |
( |
"Santiago Leon" |
| ) |
|
MODULE_DESCRIPTION |
( |
"IBM Virtual SCSI Target" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
vio |
, |
|
|
ibmvstgt_device_table |
|
|
) |
| |
module_exit |
( |
ibmvstgt_exit |
| ) |
|
module_init |
( |
ibmvstgt_init |
| ) |
|