#include <linux/init.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/dma-mapping.h>
#include <linux/cdrom.h>
#include <linux/genhd.h>
#include <linux/bio.h>
#include <linux/blkdev.h>
#include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/mutex.h>
#include <linux/wait.h>
#include <linux/workqueue.h>
#include <linux/platform_device.h>
#include <scsi/scsi.h>
#include <asm/io.h>
#include <asm/dma.h>
#include <asm/delay.h>
#include <mach/dma.h>
#include <mach/sysasic.h>
Go to the source code of this file.
| #define BLOCK_LAYER_SECTOR 512 |
| #define GD_SESSION_OFFSET 150 |
| #define GDROM_BASE_REG 0xA05F7000 |
| #define GDROM_COM_EXECDIAG 0x90 |
| #define GDROM_COM_IDDEV 0xA1 |
| #define GDROM_COM_PACKET 0xA0 |
| #define GDROM_COM_SOFTRESET 0x08 |
| #define GDROM_DEFAULT_TIMEOUT (HZ * 7) |
| #define GDROM_DEV_NAME "gdrom" |
| #define GDROM_HARD_SECTOR 2048 |
| #define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
| MODULE_DESCRIPTION |
( |
"SEGA Dreamcast GD-ROM Driver" |
| ) |
|
| module_exit |
( |
exit_gdrom |
| ) |
|
| module_init |
( |
init_gdrom |
| ) |
|