OSDN Git Service

Removed.
authorShinichiro Nakamura <shinta.main.jp@gmail.com>
Thu, 31 May 2012 10:13:39 +0000 (19:13 +0900)
committerShinichiro Nakamura <shinta.main.jp@gmail.com>
Thu, 31 May 2012 10:13:39 +0000 (19:13 +0900)
firm/07/bootload/diskio.h [deleted file]

diff --git a/firm/07/bootload/diskio.h b/firm/07/bootload/diskio.h
deleted file mode 100644 (file)
index a31dba7..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/*-----------------------------------------------------------------------\r
-/  Low level disk interface modlue include file   (C)ChaN, 2009\r
-/-----------------------------------------------------------------------*/\r
-\r
-#ifndef _DISKIO\r
-\r
-#define _READONLY      0       /* 1: Remove write functions */\r
-#define _USE_IOCTL     1       /* 1: Use disk_ioctl fucntion */\r
-\r
-#include "integer.h"\r
-\r
-\r
-/* Status of Disk Functions */\r
-typedef BYTE   DSTATUS;\r
-\r
-/* Results of Disk Functions */\r
-typedef enum {\r
-       RES_OK = 0,             /* 0: Successful */\r
-       RES_ERROR,              /* 1: R/W Error */\r
-       RES_WRPRT,              /* 2: Write Protected */\r
-       RES_NOTRDY,             /* 3: Not Ready */\r
-       RES_PARERR              /* 4: Invalid Parameter */\r
-} DRESULT;\r
-\r
-\r
-/*---------------------------------------*/\r
-/* Prototypes for disk control functions */\r
-\r
-int assign_drives (int, int);\r
-DSTATUS disk_initialize (BYTE);\r
-DSTATUS disk_status (BYTE);\r
-DRESULT disk_read (BYTE, BYTE*, DWORD, BYTE);\r
-#if    _READONLY == 0\r
-DRESULT disk_write (BYTE, const BYTE*, DWORD, BYTE);\r
-#endif\r
-DRESULT disk_ioctl (BYTE, BYTE, void*);\r
-\r
-\r
-\r
-/* Disk Status Bits (DSTATUS) */\r
-\r
-#define STA_NOINIT             0x01    /* Drive not initialized */\r
-#define STA_NODISK             0x02    /* No medium in the drive */\r
-#define STA_PROTECT            0x04    /* Write protected */\r
-\r
-\r
-/* Command code for disk_ioctrl fucntion */\r
-\r
-/* Generic command (mandatory for FatFs) */\r
-#define CTRL_SYNC                      0       /* Flush disk cache (for write functions) */\r
-#define GET_SECTOR_COUNT       1       /* Get media size (for only f_mkfs()) */\r
-#define GET_SECTOR_SIZE                2       /* Get sector size (for multiple sector size (_MAX_SS >= 1024)) */\r
-#define GET_BLOCK_SIZE         3       /* Get erase block size (for only f_mkfs()) */\r
-\r
-/* Generic command */\r
-#define CTRL_POWER                     4       /* Get/Set power status */\r
-#define CTRL_LOCK                      5       /* Lock/Unlock media removal */\r
-#define CTRL_EJECT                     6       /* Eject media */\r
-\r
-/* MMC/SDC command */\r
-#define MMC_GET_TYPE           10      /* Get card type */\r
-#define MMC_GET_CSD                    11      /* Get CSD */\r
-#define MMC_GET_CID                    12      /* Get CID */\r
-#define MMC_GET_OCR                    13      /* Get OCR */\r
-#define MMC_GET_SDSTAT         14      /* Get SD status */\r
-\r
-/* ATA/CF command */\r
-#define ATA_GET_REV                    20      /* Get F/W revision */\r
-#define ATA_GET_MODEL          21      /* Get model name */\r
-#define ATA_GET_SN                     22      /* Get serial number */\r
-\r
-\r
-#define _DISKIO\r
-#endif\r