lkml.org 
[lkml]   [2004]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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]
\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.062 / U:0.496 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site