Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/bio.h>
#include <linux/genhd.h>
#include <linux/hdreg.h>
#include <linux/errno.h>
#include <linux/idr.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/blkdev.h>
#include <linux/blkpg.h>
#include <linux/delay.h>
#include <linux/mutex.h>
#include <linux/string_helpers.h>
#include <linux/async.h>
#include <linux/slab.h>
#include <linux/pm_runtime.h>
#include <asm/uaccess.h>
#include <asm/unaligned.h>
#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_dbg.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_driver.h>
#include <scsi/scsi_eh.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_ioctl.h>
#include <scsi/scsicam.h>
#include "sd.h"
#include "scsi_priv.h"
#include "scsi_logging.h"
Go to the source code of this file.
Macros | |
#define | SD_MINORS 16 |
#define | RC16_LEN 32 |
#define | READ_CAPACITY_RETRIES_ON_RESET 10 |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK0_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK1_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK2_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK3_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK4_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK5_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK6_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK7_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK8_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK9_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK10_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK11_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK12_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK13_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK14_MAJOR | ) |
MODULE_ALIAS_BLOCKDEV_MAJOR | ( | SCSI_DISK15_MAJOR | ) |
MODULE_ALIAS_SCSI_DEVICE | ( | TYPE_DISK | ) |
MODULE_ALIAS_SCSI_DEVICE | ( | TYPE_MOD | ) |
MODULE_ALIAS_SCSI_DEVICE | ( | TYPE_RBC | ) |
MODULE_AUTHOR | ( | "Eric Youngdale" | ) |
module_exit | ( | exit_sd | ) |
module_init | ( | init_sd | ) |
MODULE_LICENSE | ( | "GPL" | ) |