summaryrefslogtreecommitdiff
path: root/drivers/rapidio/devices/tsi721.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-01-26 18:06:02 +0100
committerBjorn Helgaas <bhelgaas@google.com>2015-01-27 08:14:26 -0600
commitb33f87c7e6f8cf26b1b2b525dd71c2d01c9e9f86 (patch)
treecca338d42df1e5fee142e9fe1510d202347cf46c /drivers/rapidio/devices/tsi721.h
parent5929b8a38ce02b7769e8b79605a8690f442a2933 (diff)
rapidio/tsi721: use PCI define for Max_Read_Request_Size
Replace a magic number with a PCI #define symbol. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Alexandre Bounine <alexandre.bounine@idt.com>
Diffstat (limited to 'drivers/rapidio/devices/tsi721.h')
-rw-r--r--drivers/rapidio/devices/tsi721.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/rapidio/devices/tsi721.h b/drivers/rapidio/devices/tsi721.h
index a7b42680a06a..9d2502543ef6 100644
--- a/drivers/rapidio/devices/tsi721.h
+++ b/drivers/rapidio/devices/tsi721.h
@@ -72,8 +72,6 @@
#define TSI721_MSIXPBA_OFFSET 0x2a000
#define TSI721_PCIECFG_EPCTL 0x400
-#define MAX_READ_REQUEST_SZ_SHIFT 12
-
/*
* Event Management Registers
*/