diff options
Diffstat (limited to 'drivers/firewire/fw-ohci.c')
-rw-r--r-- | drivers/firewire/fw-ohci.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c index 1b6590f92543..d296d12909d6 100644 --- a/drivers/firewire/fw-ohci.c +++ b/drivers/firewire/fw-ohci.c | |||
@@ -20,18 +20,24 @@ | |||
20 | 20 | ||
21 | #include <linux/compiler.h> | 21 | #include <linux/compiler.h> |
22 | #include <linux/delay.h> | 22 | #include <linux/delay.h> |
23 | #include <linux/device.h> | ||
23 | #include <linux/dma-mapping.h> | 24 | #include <linux/dma-mapping.h> |
25 | #include <linux/firewire-constants.h> | ||
24 | #include <linux/gfp.h> | 26 | #include <linux/gfp.h> |
25 | #include <linux/init.h> | 27 | #include <linux/init.h> |
26 | #include <linux/interrupt.h> | 28 | #include <linux/interrupt.h> |
29 | #include <linux/io.h> | ||
27 | #include <linux/kernel.h> | 30 | #include <linux/kernel.h> |
31 | #include <linux/list.h> | ||
28 | #include <linux/mm.h> | 32 | #include <linux/mm.h> |
29 | #include <linux/module.h> | 33 | #include <linux/module.h> |
30 | #include <linux/moduleparam.h> | 34 | #include <linux/moduleparam.h> |
31 | #include <linux/pci.h> | 35 | #include <linux/pci.h> |
32 | #include <linux/spinlock.h> | 36 | #include <linux/spinlock.h> |
37 | #include <linux/string.h> | ||
33 | 38 | ||
34 | #include <asm/atomic.h> | 39 | #include <asm/atomic.h> |
40 | #include <asm/byteorder.h> | ||
35 | #include <asm/page.h> | 41 | #include <asm/page.h> |
36 | #include <asm/system.h> | 42 | #include <asm/system.h> |
37 | 43 | ||
@@ -232,7 +238,6 @@ static inline struct fw_ohci *fw_ohci(struct fw_card *card) | |||
232 | #define OHCI1394_MAX_AT_RESP_RETRIES 0x2 | 238 | #define OHCI1394_MAX_AT_RESP_RETRIES 0x2 |
233 | #define OHCI1394_MAX_PHYS_RESP_RETRIES 0x8 | 239 | #define OHCI1394_MAX_PHYS_RESP_RETRIES 0x8 |
234 | 240 | ||
235 | #define FW_OHCI_MAJOR 240 | ||
236 | #define OHCI1394_REGISTER_SIZE 0x800 | 241 | #define OHCI1394_REGISTER_SIZE 0x800 |
237 | #define OHCI_LOOP_COUNT 500 | 242 | #define OHCI_LOOP_COUNT 500 |
238 | #define OHCI1394_PCI_HCI_Control 0x40 | 243 | #define OHCI1394_PCI_HCI_Control 0x40 |