patch-2.0.37 linux/include/linux/blkdev.h
Next file: linux/include/linux/cyclades.h
Previous file: linux/include/linux/blk.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Sun Jun 13 10:21:04 1999
- Orig file:
v2.0.36/linux/include/linux/blkdev.h
- Orig date:
Sun Nov 15 10:49:52 1998
diff -u --recursive --new-file v2.0.36/linux/include/linux/blkdev.h linux/include/linux/blkdev.h
@@ -25,6 +25,7 @@
int errors;
unsigned long sector;
unsigned long nr_sectors;
+ unsigned long nr_segments;
unsigned long current_nr_sectors;
char * buffer;
struct semaphore * sem;
@@ -62,5 +63,13 @@
extern int * blksize_size[MAX_BLKDEV];
extern int * hardsect_size[MAX_BLKDEV];
+
+extern int * max_sectors[MAX_BLKDEV];
+
+extern int * max_segments[MAX_BLKDEV];
+
+#define MAX_SECTORS 254
+
+#define MAX_SEGMENTS MAX_SECTORS
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov