summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>2004-01-18 01:28:22 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-01-18 01:28:22 -0800
commit1c2a00adf2f9ba610137142a01561ae146c106a8 (patch)
tree62d65532957bd656a67bac8e3029553ac5d76ba1 /include/linux
parent9e74e3e17837c0f1820646ef1c41c9788e271880 (diff)
[PATCH] remove IDE packet taskfile placeholders
This dead code was introduced in kernel 2.4.19 and hasn't been updated since.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ide.h58
1 files changed, 0 insertions, 58 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index e27f0d9d733f..a9c107b8716d 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1513,64 +1513,6 @@ int ide_taskfile_ioctl(ide_drive_t *, unsigned int, unsigned long);
int ide_cmd_ioctl(ide_drive_t *, unsigned int, unsigned long);
int ide_task_ioctl(ide_drive_t *, unsigned int, unsigned long);
-#if 0
-
-#define IDEFLOPPY_PC_BUFFER_SIZE 256
-#define IDETAPE_PC_BUFFER_SIZE 256
-#define IDE_PC_BUFFER_SIZE 256
-
-typedef struct ide_packet_command_s {
- /* Actual packet bytes */
- u8 c[12];
- /* On each retry, we increment retries */
- int retries;
- /* Error code */
- int error;
- /* Bytes to transfer */
- int request_transfer;
- /* Bytes actually transferred */
- int actually_transferred;
- /* Size of our data buffer */
- int buffer_size;
-
- struct buffer_head *bh;
- u8 *b_data;
- /* The corresponding request */
- struct request *rq;
-# if 0
- /* Scatter gather table */
- struct scatterlist *sg;
-# endif
- int b_count;
- /* Data buffer */
- u8 *buffer;
- /* Pointer into the above buffer */
- u8 *current_position;
- /* Called when this packet command is completed */
- ide_startstop_t (*callback) (ide_drive_t *);
- /* Temporary buffer */
- u8 pc_buffer[IDE_PC_BUFFER_SIZE];
- /* Status/Action bit flags: long for set_bit */
- unsigned long flags;
-} ide_pc_t;
-
-ide-cd orthoginal :-/
-struct packet_command {
- char *buffer;
- int buflen;
- int stat;
- int quiet;
- int timeout;
- struct request_sense *sense;
- unsigned char c[12];
-};
-
-#endif
-
-#ifdef CONFIG_PKT_TASK_IOCTL
-extern int pkt_taskfile_ioctl(ide_drive_t *, struct inode *, struct file *, unsigned int, unsigned long);
-#endif /* CONFIG_PKT_TASK_IOCTL */
-
extern void ide_delay_50ms(void);
extern int system_bus_clock(void);