patch-2.3.99-pre7 linux/drivers/ide/ide-cd.h
Next file: linux/drivers/ide/ide-cs.c
Previous file: linux/drivers/ide/ide-cd.c
Back to the patch index
Back to the overall index
- Lines: 34
- Date:
Thu May 11 11:28:50 2000
- Orig file:
v2.3.99-pre6/linux/drivers/ide/ide-cd.h
- Orig date:
Wed Apr 26 16:34:07 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/ide/ide-cd.h linux/drivers/ide/ide-cd.h
@@ -10,15 +10,6 @@
#include <linux/cdrom.h>
#include <asm/byteorder.h>
-/*
- * Apparently older drives have problems with filling out the entire
- * mode_sense capability structure. Define this to 1 if your drive isn't
- * probed correctly.
- */
-#ifndef BROKEN_CAP_PAGE
-#define BROKEN_CAP_PAGE 0
-#endif
-
/* Turn this on to have the driver print out the meanings of the
ATAPI error codes. This will use up additional kernel-space
memory, though. */
@@ -114,6 +105,7 @@
char *buffer;
int buflen;
int stat;
+ int quiet;
struct request_sense *sense;
unsigned char c[12];
};
@@ -410,9 +402,7 @@
unsigned short buffer_size;
/* Current speed (in kB/s). */
unsigned short curspeed;
-#if !BROKEN_CAP_PAGE
char pad[4];
-#endif
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)