diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 10:19:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 10:19:18 -0400 |
commit | 33cf23b0a535475aead57707cb9f4fe135a93544 (patch) | |
tree | 67e14f77f0eeab847a26a6cbfcb44eecb5fa2fda /drivers/scsi/gvp11.h | |
parent | 7a9b149212f3716c598afe973b6261fd58453b7a (diff) | |
parent | 95bb335c0ebe96afe926387a1ef3a096bd884a82 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (182 commits)
[SCSI] aacraid: add an ifdef'd device delete case instead of taking the device offline
[SCSI] aacraid: prohibit access to array container space
[SCSI] aacraid: add support for handling ATA pass-through commands.
[SCSI] aacraid: expose physical devices for models with newer firmware
[SCSI] aacraid: respond automatically to volumes added by config tool
[SCSI] fcoe: fix fcoe module ref counting
[SCSI] libfcoe: FIP Keep-Alive messages for VPorts are sent with incorrect port_id and wwn
[SCSI] libfcoe: Fix incorrect MAC address clearing
[SCSI] fcoe: fix a circular locking issue with rtnl and sysfs mutex
[SCSI] libfc: Move the port_id into lport
[SCSI] fcoe: move link speed checking into its own routine
[SCSI] libfc: Remove extra pointer check
[SCSI] libfc: Remove unused fc_get_host_port_type
[SCSI] fcoe: fixes wrong error exit in fcoe_create
[SCSI] libfc: set seq_id for incoming sequence
[SCSI] qla2xxx: Updates to ISP82xx support.
[SCSI] qla2xxx: Optionally disable target reset.
[SCSI] qla2xxx: ensure flash operation and host reset via sg_reset are mutually exclusive
[SCSI] qla2xxx: Silence bogus warning by gcc for wrap and did.
[SCSI] qla2xxx: T10 DIF support added.
...
Diffstat (limited to 'drivers/scsi/gvp11.h')
-rw-r--r-- | drivers/scsi/gvp11.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/drivers/scsi/gvp11.h b/drivers/scsi/gvp11.h index bf22859a5035..e2efdf9601ef 100644 --- a/drivers/scsi/gvp11.h +++ b/drivers/scsi/gvp11.h | |||
@@ -15,11 +15,11 @@ int gvp11_detect(struct scsi_host_template *); | |||
15 | int gvp11_release(struct Scsi_Host *); | 15 | int gvp11_release(struct Scsi_Host *); |
16 | 16 | ||
17 | #ifndef CMD_PER_LUN | 17 | #ifndef CMD_PER_LUN |
18 | #define CMD_PER_LUN 2 | 18 | #define CMD_PER_LUN 2 |
19 | #endif | 19 | #endif |
20 | 20 | ||
21 | #ifndef CAN_QUEUE | 21 | #ifndef CAN_QUEUE |
22 | #define CAN_QUEUE 16 | 22 | #define CAN_QUEUE 16 |
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | #ifndef HOSTS_C | 25 | #ifndef HOSTS_C |
@@ -28,24 +28,24 @@ int gvp11_release(struct Scsi_Host *); | |||
28 | * if the transfer address ANDed with this results in a non-zero | 28 | * if the transfer address ANDed with this results in a non-zero |
29 | * result, then we can't use DMA. | 29 | * result, then we can't use DMA. |
30 | */ | 30 | */ |
31 | #define GVP11_XFER_MASK (0xff000001) | 31 | #define GVP11_XFER_MASK (0xff000001) |
32 | 32 | ||
33 | typedef struct { | 33 | typedef struct { |
34 | unsigned char pad1[64]; | 34 | unsigned char pad1[64]; |
35 | volatile unsigned short CNTR; | 35 | volatile unsigned short CNTR; |
36 | unsigned char pad2[31]; | 36 | unsigned char pad2[31]; |
37 | volatile unsigned char SASR; | 37 | volatile unsigned char SASR; |
38 | unsigned char pad3; | 38 | unsigned char pad3; |
39 | volatile unsigned char SCMD; | 39 | volatile unsigned char SCMD; |
40 | unsigned char pad4[4]; | 40 | unsigned char pad4[4]; |
41 | volatile unsigned short BANK; | 41 | volatile unsigned short BANK; |
42 | unsigned char pad5[6]; | 42 | unsigned char pad5[6]; |
43 | volatile unsigned long ACR; | 43 | volatile unsigned long ACR; |
44 | volatile unsigned short secret1; /* store 0 here */ | 44 | volatile unsigned short secret1; /* store 0 here */ |
45 | volatile unsigned short ST_DMA; | 45 | volatile unsigned short ST_DMA; |
46 | volatile unsigned short SP_DMA; | 46 | volatile unsigned short SP_DMA; |
47 | volatile unsigned short secret2; /* store 1 here */ | 47 | volatile unsigned short secret2; /* store 1 here */ |
48 | volatile unsigned short secret3; /* store 15 here */ | 48 | volatile unsigned short secret3; /* store 15 here */ |
49 | } gvp11_scsiregs; | 49 | } gvp11_scsiregs; |
50 | 50 | ||
51 | /* bits in CNTR */ | 51 | /* bits in CNTR */ |