Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304089
b: refs/heads/master
c: 2c03ead
h: refs/heads/master
i:
  304087: 59f85c2
v: v3
  • Loading branch information
Kay Sievers authored and Greg Kroah-Hartman committed May 8, 2012
1 parent 7689f9f commit 832e2f4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5fc3249068c1ed87c6fd485f42ced24132405629
refs/heads/master: 2c03ead66a2f0f39c38a455891b749ad48a2e1a7
16 changes: 8 additions & 8 deletions trunk/drivers/parport/parport_pc.c
Original file line number Diff line number Diff line change
Expand Up @@ -2351,7 +2351,7 @@ struct parport *parport_pc_probe_port(unsigned long int base,

printk(KERN_INFO "%s: PC-style at 0x%lx", p->name, p->base);
if (p->base_hi && priv->ecr)
printk(" (0x%lx)", p->base_hi);
printk(KERN_CONT " (0x%lx)", p->base_hi);
if (p->irq == PARPORT_IRQ_AUTO) {
p->irq = PARPORT_IRQ_NONE;
parport_irq_probe(p);
Expand All @@ -2362,7 +2362,7 @@ struct parport *parport_pc_probe_port(unsigned long int base,
p->irq = PARPORT_IRQ_NONE;
}
if (p->irq != PARPORT_IRQ_NONE) {
printk(", irq %d", p->irq);
printk(KERN_CONT ", irq %d", p->irq);
priv->ctr_writable |= 0x10;

if (p->dma == PARPORT_DMA_AUTO) {
Expand All @@ -2386,21 +2386,21 @@ struct parport *parport_pc_probe_port(unsigned long int base,
/* p->ops->ecp_read_data = parport_pc_ecp_read_block_pio; */
#endif /* IEEE 1284 support */
if (p->dma != PARPORT_DMA_NONE) {
printk(", dma %d", p->dma);
printk(KERN_CONT ", dma %d", p->dma);
p->modes |= PARPORT_MODE_DMA;
} else
printk(", using FIFO");
printk(KERN_CONT ", using FIFO");
} else
/* We can't use the DMA channel after all. */
p->dma = PARPORT_DMA_NONE;
#endif /* Allowed to use FIFO/DMA */

printk(" [");
printk(KERN_CONT " [");

#define printmode(x) \
{\
if (p->modes & PARPORT_MODE_##x) {\
printk("%s%s", f ? "," : "", #x);\
printk(KERN_CONT "%s%s", f ? "," : "", #x);\
f++;\
} \
}
Expand All @@ -2416,9 +2416,9 @@ struct parport *parport_pc_probe_port(unsigned long int base,
}
#undef printmode
#ifndef CONFIG_PARPORT_1284
printk("(,...)");
printk(KERN_CONT "(,...)");
#endif /* CONFIG_PARPORT_1284 */
printk("]\n");
printk(KERN_CONT "]\n");
if (probedirq != PARPORT_IRQ_NONE)
printk(KERN_INFO "%s: irq %d detected\n", p->name, probedirq);

Expand Down

0 comments on commit 832e2f4

Please sign in to comment.