diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-22 19:02:13 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-22 19:02:13 -0400 |
commit | 5d4e2d08e7fdf7339f84a1c670d296a77e02f881 (patch) | |
tree | 1c419660defa56191091dfdf50fdb57a72009173 /drivers/parport | |
parent | fb2123fad3b499f0898835b19dbb93b18d27ee98 (diff) | |
parent | 94ca629e40eb7e997be21d8065c25e4f3797b03f (diff) |
Merge tag 'driver-core-3.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
Pull driver core updates from Greg Kroah-Hartman:
"Here's the driver core, and other driver subsystems, pull request for
the 3.5-rc1 merge window.
Outside of a few minor driver core changes, we ended up with the
following different subsystem and core changes as well, due to
interdependancies on the driver core:
- hyperv driver updates
- drivers/memory being created and some drivers moved into it
- extcon driver subsystem created out of the old Android staging
switch driver code
- dynamic debug updates
- printk rework, and /dev/kmsg changes
All of this has been tested in the linux-next releases for a few weeks
with no reported problems.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>"
Fix up conflicts in drivers/extcon/extcon-max8997.c where git noticed
that a patch to the deleted drivers/misc/max8997-muic.c driver needs to
be applied to this one.
* tag 'driver-core-3.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (90 commits)
uio_pdrv_genirq: get irq through platform resource if not set otherwise
memory: tegra{20,30}-mc: Remove empty *_remove()
printk() - isolate KERN_CONT users from ordinary complete lines
sysfs: get rid of some lockdep false positives
Drivers: hv: util: Properly handle version negotiations.
Drivers: hv: Get rid of an unnecessary check in vmbus_prep_negotiate_resp()
memory: tegra{20,30}-mc: Use dev_err_ratelimited()
driver core: Add dev_*_ratelimited() family
Driver Core: don't oops with unregistered driver in driver_find_device()
printk() - restore prefix/timestamp printing for multi-newline strings
printk: add stub for prepend_timestamp()
ARM: tegra30: Make MC optional in Kconfig
ARM: tegra20: Make MC optional in Kconfig
ARM: tegra30: MC: Remove unnecessary BUG*()
ARM: tegra20: MC: Remove unnecessary BUG*()
printk: correctly align __log_buf
ARM: tegra30: Add Tegra Memory Controller(MC) driver
ARM: tegra20: Add Tegra Memory Controller(MC) driver
printk() - restore timestamp printing at console output
printk() - do not merge continuation lines of different threads
...
Diffstat (limited to 'drivers/parport')
-rw-r--r-- | drivers/parport/parport_pc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c index 402956321d33..5abffe58a9d2 100644 --- a/drivers/parport/parport_pc.c +++ b/drivers/parport/parport_pc.c | |||
@@ -2075,7 +2075,7 @@ struct parport *parport_pc_probe_port(unsigned long int base, | |||
2075 | 2075 | ||
2076 | printk(KERN_INFO "%s: PC-style at 0x%lx", p->name, p->base); | 2076 | printk(KERN_INFO "%s: PC-style at 0x%lx", p->name, p->base); |
2077 | if (p->base_hi && priv->ecr) | 2077 | if (p->base_hi && priv->ecr) |
2078 | printk(" (0x%lx)", p->base_hi); | 2078 | printk(KERN_CONT " (0x%lx)", p->base_hi); |
2079 | if (p->irq == PARPORT_IRQ_AUTO) { | 2079 | if (p->irq == PARPORT_IRQ_AUTO) { |
2080 | p->irq = PARPORT_IRQ_NONE; | 2080 | p->irq = PARPORT_IRQ_NONE; |
2081 | parport_irq_probe(p); | 2081 | parport_irq_probe(p); |
@@ -2086,7 +2086,7 @@ struct parport *parport_pc_probe_port(unsigned long int base, | |||
2086 | p->irq = PARPORT_IRQ_NONE; | 2086 | p->irq = PARPORT_IRQ_NONE; |
2087 | } | 2087 | } |
2088 | if (p->irq != PARPORT_IRQ_NONE) { | 2088 | if (p->irq != PARPORT_IRQ_NONE) { |
2089 | printk(", irq %d", p->irq); | 2089 | printk(KERN_CONT ", irq %d", p->irq); |
2090 | priv->ctr_writable |= 0x10; | 2090 | priv->ctr_writable |= 0x10; |
2091 | 2091 | ||
2092 | if (p->dma == PARPORT_DMA_AUTO) { | 2092 | if (p->dma == PARPORT_DMA_AUTO) { |
@@ -2110,21 +2110,21 @@ struct parport *parport_pc_probe_port(unsigned long int base, | |||
2110 | /* p->ops->ecp_read_data = parport_pc_ecp_read_block_pio; */ | 2110 | /* p->ops->ecp_read_data = parport_pc_ecp_read_block_pio; */ |
2111 | #endif /* IEEE 1284 support */ | 2111 | #endif /* IEEE 1284 support */ |
2112 | if (p->dma != PARPORT_DMA_NONE) { | 2112 | if (p->dma != PARPORT_DMA_NONE) { |
2113 | printk(", dma %d", p->dma); | 2113 | printk(KERN_CONT ", dma %d", p->dma); |
2114 | p->modes |= PARPORT_MODE_DMA; | 2114 | p->modes |= PARPORT_MODE_DMA; |
2115 | } else | 2115 | } else |
2116 | printk(", using FIFO"); | 2116 | printk(KERN_CONT ", using FIFO"); |
2117 | } else | 2117 | } else |
2118 | /* We can't use the DMA channel after all. */ | 2118 | /* We can't use the DMA channel after all. */ |
2119 | p->dma = PARPORT_DMA_NONE; | 2119 | p->dma = PARPORT_DMA_NONE; |
2120 | #endif /* Allowed to use FIFO/DMA */ | 2120 | #endif /* Allowed to use FIFO/DMA */ |
2121 | 2121 | ||
2122 | printk(" ["); | 2122 | printk(KERN_CONT " ["); |
2123 | 2123 | ||
2124 | #define printmode(x) \ | 2124 | #define printmode(x) \ |
2125 | {\ | 2125 | {\ |
2126 | if (p->modes & PARPORT_MODE_##x) {\ | 2126 | if (p->modes & PARPORT_MODE_##x) {\ |
2127 | printk("%s%s", f ? "," : "", #x);\ | 2127 | printk(KERN_CONT "%s%s", f ? "," : "", #x);\ |
2128 | f++;\ | 2128 | f++;\ |
2129 | } \ | 2129 | } \ |
2130 | } | 2130 | } |
@@ -2140,9 +2140,9 @@ struct parport *parport_pc_probe_port(unsigned long int base, | |||
2140 | } | 2140 | } |
2141 | #undef printmode | 2141 | #undef printmode |
2142 | #ifndef CONFIG_PARPORT_1284 | 2142 | #ifndef CONFIG_PARPORT_1284 |
2143 | printk("(,...)"); | 2143 | printk(KERN_CONT "(,...)"); |
2144 | #endif /* CONFIG_PARPORT_1284 */ | 2144 | #endif /* CONFIG_PARPORT_1284 */ |
2145 | printk("]\n"); | 2145 | printk(KERN_CONT "]\n"); |
2146 | if (probedirq != PARPORT_IRQ_NONE) | 2146 | if (probedirq != PARPORT_IRQ_NONE) |
2147 | printk(KERN_INFO "%s: irq %d detected\n", p->name, probedirq); | 2147 | printk(KERN_INFO "%s: irq %d detected\n", p->name, probedirq); |
2148 | 2148 | ||