patch-2.4.0-test11 linux/include/linux/raid/xor.h
Next file: linux/include/linux/rtnetlink.h
Previous file: linux/include/linux/raid/md_u.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Sun Nov 12 19:39:52 2000
- Orig file:
v2.4.0-test10/linux/include/linux/raid/xor.h
- Orig date:
Fri May 12 11:36:30 2000
diff -u --recursive --new-file v2.4.0-test10/linux/include/linux/raid/xor.h linux/include/linux/raid/xor.h
@@ -3,10 +3,21 @@
#include <linux/raid/md.h>
-#define MAX_XOR_BLOCKS 4
+#define MAX_XOR_BLOCKS 5
-extern void calibrate_xor_block(void);
-extern void (*xor_block)(unsigned int count,
- struct buffer_head **bh_ptr);
+extern void xor_block(unsigned int count, struct buffer_head **bh_ptr);
+
+struct xor_block_template {
+ struct xor_block_template *next;
+ const char *name;
+ int speed;
+ void (*do_2)(unsigned long, unsigned long *, unsigned long *);
+ void (*do_3)(unsigned long, unsigned long *, unsigned long *,
+ unsigned long *);
+ void (*do_4)(unsigned long, unsigned long *, unsigned long *,
+ unsigned long *, unsigned long *);
+ void (*do_5)(unsigned long, unsigned long *, unsigned long *,
+ unsigned long *, unsigned long *, unsigned long *);
+};
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)