diff options
Diffstat (limited to 'drivers/message')
-rw-r--r-- | drivers/message/fusion/mptbase.c | 5 | ||||
-rw-r--r-- | drivers/message/fusion/mptbase.h | 1 | ||||
-rw-r--r-- | drivers/message/i2o/debug.c | 1 | ||||
-rw-r--r-- | drivers/message/i2o/i2o_block.c | 1 | ||||
-rw-r--r-- | drivers/message/i2o/iop.c | 14 | ||||
-rw-r--r-- | drivers/message/i2o/pci.c | 2 |
6 files changed, 11 insertions, 13 deletions
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index 20609966c2a9..43308df64623 100644 --- a/drivers/message/fusion/mptbase.c +++ b/drivers/message/fusion/mptbase.c | |||
@@ -46,7 +46,6 @@ | |||
46 | */ | 46 | */ |
47 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 47 | /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
48 | 48 | ||
49 | #include <linux/config.h> | ||
50 | #include <linux/kernel.h> | 49 | #include <linux/kernel.h> |
51 | #include <linux/module.h> | 50 | #include <linux/module.h> |
52 | #include <linux/errno.h> | 51 | #include <linux/errno.h> |
@@ -1696,7 +1695,7 @@ mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u32 reason, int sleepFlag) | |||
1696 | printk(MYIOC_s_INFO_FMT "PCI-MSI enabled\n", | 1695 | printk(MYIOC_s_INFO_FMT "PCI-MSI enabled\n", |
1697 | ioc->name); | 1696 | ioc->name); |
1698 | rc = request_irq(ioc->pcidev->irq, mpt_interrupt, | 1697 | rc = request_irq(ioc->pcidev->irq, mpt_interrupt, |
1699 | SA_SHIRQ, ioc->name, ioc); | 1698 | IRQF_SHARED, ioc->name, ioc); |
1700 | if (rc < 0) { | 1699 | if (rc < 0) { |
1701 | printk(MYIOC_s_ERR_FMT "Unable to allocate " | 1700 | printk(MYIOC_s_ERR_FMT "Unable to allocate " |
1702 | "interrupt %d!\n", ioc->name, | 1701 | "interrupt %d!\n", ioc->name, |
@@ -5613,7 +5612,7 @@ mpt_HardResetHandler(MPT_ADAPTER *ioc, int sleepFlag) | |||
5613 | 5612 | ||
5614 | /* The SCSI driver needs to adjust timeouts on all current | 5613 | /* The SCSI driver needs to adjust timeouts on all current |
5615 | * commands prior to the diagnostic reset being issued. | 5614 | * commands prior to the diagnostic reset being issued. |
5616 | * Prevents timeouts occuring during a diagnostic reset...very bad. | 5615 | * Prevents timeouts occurring during a diagnostic reset...very bad. |
5617 | * For all other protocol drivers, this is a no-op. | 5616 | * For all other protocol drivers, this is a no-op. |
5618 | */ | 5617 | */ |
5619 | { | 5618 | { |
diff --git a/drivers/message/fusion/mptbase.h b/drivers/message/fusion/mptbase.h index 2697b70653f2..a5ce10b67d02 100644 --- a/drivers/message/fusion/mptbase.h +++ b/drivers/message/fusion/mptbase.h | |||
@@ -49,7 +49,6 @@ | |||
49 | #define MPTBASE_H_INCLUDED | 49 | #define MPTBASE_H_INCLUDED |
50 | /*{-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ | 50 | /*{-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ |
51 | 51 | ||
52 | #include <linux/config.h> | ||
53 | #include <linux/kernel.h> | 52 | #include <linux/kernel.h> |
54 | #include <linux/pci.h> | 53 | #include <linux/pci.h> |
55 | 54 | ||
diff --git a/drivers/message/i2o/debug.c b/drivers/message/i2o/debug.c index 5a6cca8e8c45..8abe45e49ad7 100644 --- a/drivers/message/i2o/debug.c +++ b/drivers/message/i2o/debug.c | |||
@@ -1,4 +1,3 @@ | |||
1 | #include <linux/config.h> | ||
2 | #include <linux/module.h> | 1 | #include <linux/module.h> |
3 | #include <linux/kernel.h> | 2 | #include <linux/kernel.h> |
4 | #include <linux/pci.h> | 3 | #include <linux/pci.h> |
diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c index 7d4c5497785b..1ddc2fb429d5 100644 --- a/drivers/message/i2o/i2o_block.c +++ b/drivers/message/i2o/i2o_block.c | |||
@@ -1089,7 +1089,6 @@ static int i2o_block_probe(struct device *dev) | |||
1089 | gd = i2o_blk_dev->gd; | 1089 | gd = i2o_blk_dev->gd; |
1090 | gd->first_minor = unit << 4; | 1090 | gd->first_minor = unit << 4; |
1091 | sprintf(gd->disk_name, "i2o/hd%c", 'a' + unit); | 1091 | sprintf(gd->disk_name, "i2o/hd%c", 'a' + unit); |
1092 | sprintf(gd->devfs_name, "i2o/hd%c", 'a' + unit); | ||
1093 | gd->driverfs_dev = &i2o_dev->device; | 1092 | gd->driverfs_dev = &i2o_dev->device; |
1094 | 1093 | ||
1095 | /* setup request queue */ | 1094 | /* setup request queue */ |
diff --git a/drivers/message/i2o/iop.c b/drivers/message/i2o/iop.c index c74e5460f834..3305c12372a2 100644 --- a/drivers/message/i2o/iop.c +++ b/drivers/message/i2o/iop.c | |||
@@ -683,9 +683,10 @@ static int i2o_iop_systab_set(struct i2o_controller *c) | |||
683 | c->mem_alloc = 1; | 683 | c->mem_alloc = 1; |
684 | sb->current_mem_size = 1 + res->end - res->start; | 684 | sb->current_mem_size = 1 + res->end - res->start; |
685 | sb->current_mem_base = res->start; | 685 | sb->current_mem_base = res->start; |
686 | osm_info("%s: allocated %ld bytes of PCI memory at " | 686 | osm_info("%s: allocated %llu bytes of PCI memory at " |
687 | "0x%08lX.\n", c->name, | 687 | "0x%016llX.\n", c->name, |
688 | 1 + res->end - res->start, res->start); | 688 | (unsigned long long)(1 + res->end - res->start), |
689 | (unsigned long long)res->start); | ||
689 | } | 690 | } |
690 | } | 691 | } |
691 | 692 | ||
@@ -704,9 +705,10 @@ static int i2o_iop_systab_set(struct i2o_controller *c) | |||
704 | c->io_alloc = 1; | 705 | c->io_alloc = 1; |
705 | sb->current_io_size = 1 + res->end - res->start; | 706 | sb->current_io_size = 1 + res->end - res->start; |
706 | sb->current_mem_base = res->start; | 707 | sb->current_mem_base = res->start; |
707 | osm_info("%s: allocated %ld bytes of PCI I/O at 0x%08lX" | 708 | osm_info("%s: allocated %llu bytes of PCI I/O at " |
708 | ".\n", c->name, 1 + res->end - res->start, | 709 | "0x%016llX.\n", c->name, |
709 | res->start); | 710 | (unsigned long long)(1 + res->end - res->start), |
711 | (unsigned long long)res->start); | ||
710 | } | 712 | } |
711 | } | 713 | } |
712 | 714 | ||
diff --git a/drivers/message/i2o/pci.c b/drivers/message/i2o/pci.c index 4f1515cae5dc..1b58444d5aaf 100644 --- a/drivers/message/i2o/pci.c +++ b/drivers/message/i2o/pci.c | |||
@@ -274,7 +274,7 @@ static int i2o_pci_irq_enable(struct i2o_controller *c) | |||
274 | writel(0xffffffff, c->irq_mask); | 274 | writel(0xffffffff, c->irq_mask); |
275 | 275 | ||
276 | if (pdev->irq) { | 276 | if (pdev->irq) { |
277 | rc = request_irq(pdev->irq, i2o_pci_interrupt, SA_SHIRQ, | 277 | rc = request_irq(pdev->irq, i2o_pci_interrupt, IRQF_SHARED, |
278 | c->name, c); | 278 | c->name, c); |
279 | if (rc < 0) { | 279 | if (rc < 0) { |
280 | printk(KERN_ERR "%s: unable to allocate interrupt %d." | 280 | printk(KERN_ERR "%s: unable to allocate interrupt %d." |