OSDN Git Service

[SCSI] qla2xxx: Set the size of the host buffer used to fetch DCBX and XGMAC paramete...
authorGiridhar Malavali <giridhar.malavali@qlogic.com>
Tue, 13 Oct 2009 22:16:48 +0000 (15:16 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:00:11 +0000 (12:00 -0600)
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_def.h

index d8ce310..6b9bf23 100644 (file)
@@ -2440,11 +2440,11 @@ struct qla_hw_data {
        dma_addr_t      edc_data_dma;
        uint16_t        edc_data_len;
 
-#define XGMAC_DATA_SIZE        PAGE_SIZE
+#define XGMAC_DATA_SIZE        4096
        void            *xgmac_data;
        dma_addr_t      xgmac_data_dma;
 
-#define DCBX_TLV_DATA_SIZE PAGE_SIZE
+#define DCBX_TLV_DATA_SIZE 4096
        void            *dcbx_tlv;
        dma_addr_t      dcbx_tlv_dma;