git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git]
/
drivers
/
scsi
/
aic7xxx
/
aic79xx.h
diff --git
a/drivers/scsi/aic7xxx/aic79xx.h
b/drivers/scsi/aic7xxx/aic79xx.h
index
df3346b
..
bb5166d
100644
(file)
--- a/
drivers/scsi/aic7xxx/aic79xx.h
+++ b/
drivers/scsi/aic7xxx/aic79xx.h
@@
-68,6
+68,8
@@
struct scb_platform_data;
#define FALSE 0
#endif
#define FALSE 0
#endif
+#define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array))
+
#define ALL_CHANNELS '\0'
#define ALL_TARGETS_MASK 0xFFFF
#define INITIATOR_WILDCARD (~0)
#define ALL_CHANNELS '\0'
#define ALL_TARGETS_MASK 0xFFFF
#define INITIATOR_WILDCARD (~0)
@@
-1487,7
+1489,6
@@
typedef enum {
} ahd_queue_alg;
void ahd_set_tags(struct ahd_softc *ahd,
} ahd_queue_alg;
void ahd_set_tags(struct ahd_softc *ahd,
- struct scsi_cmnd *cmd,
struct ahd_devinfo *devinfo,
ahd_queue_alg alg);
struct ahd_devinfo *devinfo,
ahd_queue_alg alg);