Messages in this thread | | | Date | Thu, 23 Sep 2004 06:51:14 +0200 | From | Tonnerre <> | Subject | Re: [PATCH] xsa_use_interrupts flag [WAS: xilinx_sysace] |
| |
Salut,
On Thu, Sep 23, 2004 at 02:12:07AM +0100, Jon Masters wrote: > @@ -832,10 +859,17 @@ > register_disk(&xsa_gendisk, MKDEV(xsa_major, 0), > NR_HD << PARTN_BITS, &xsa_fops, size); > > - printk(KERN_INFO > - "%s at 0x%08X mapped to 0x%08X, irq=%d, %ldKB\n", > - DEVICE_NAME, save_BaseAddress, cfg->BaseAddress, XSA_IRQ, > - size / 2); > + if (xsa_use_interrupts) { > + printk(KERN_INFO > + "%s at 0x%08X mapped to 0x%08X, irq=%d, %ldKB\n", > + DEVICE_NAME, save_BaseAddress, cfg->BaseAddress, XSA_IRQ, > + size / 2); > + } else { > + printk(KERN_INFO > + "%s at 0x%08X mapped to 0x%08X, polled IO, %ldKB\n", > + DEVICE_NAME, save_BaseAddress, cfg->BaseAddress, > + size / 2);
(No XSA_IRQ here!)
> + } > > /* Hook our reset function into system's restart code. */ > old_restart = ppc_md.restart;
Tonnerre [unhandled content-type:application/pgp-signature] | |