aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptbase.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@suse.com>2015-04-21 16:46:06 -0400
committerJames Bottomley <JBottomley@Odin.com>2015-06-13 11:44:14 -0400
commit8cd1943bf0e87f467a1b498c63483f70b18b43d7 (patch)
tree79c876b8879c60ebc25b4c639dadf3a4c71a17e0 /drivers/message/fusion/mptbase.h
parent8810eac83624ab1ad593c59da43e187179f5941e (diff)
fusion: remove dead MTRR code
If and when this gets enabled the driver could should split up IO memory space properly and that is quite a bit of work. Just remove the uncommented dead MTRR code then. There are a few motivations for this: a) Take advantage of PAT when available b) Help bury MTRR code away, MTRR is architecture specific and on x86 its replaced by PAT c) Help with the goal of eventually using _PAGE_CACHE_UC over _PAGE_CACHE_UC_MINUS on x86 on ioremap_nocache() (see commit de33c442e titled "x86 PAT: fix performance drop for glx, use UC minus for ioremap(), ioremap_nocache() and pci_mmap_page_range()") Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com> Acked-by: Sreekanth Reddy <ureekanth.reddy@avagotech.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/message/fusion/mptbase.h')
-rw-r--r--drivers/message/fusion/mptbase.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h
index 8f14090b8b71..813d46311f6a 100644
--- a/drivers/message/fusion/mptbase.h
+++ b/drivers/message/fusion/mptbase.h
@@ -671,7 +671,6 @@ typedef struct _MPT_ADAPTER
671 u8 *HostPageBuffer; /* SAS - host page buffer support */ 671 u8 *HostPageBuffer; /* SAS - host page buffer support */
672 u32 HostPageBuffer_sz; 672 u32 HostPageBuffer_sz;
673 dma_addr_t HostPageBuffer_dma; 673 dma_addr_t HostPageBuffer_dma;
674 int mtrr_reg;
675 struct pci_dev *pcidev; /* struct pci_dev pointer */ 674 struct pci_dev *pcidev; /* struct pci_dev pointer */
676 int bars; /* bitmask of BAR's that must be configured */ 675 int bars; /* bitmask of BAR's that must be configured */
677 int msi_enable; 676 int msi_enable;