All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tonnerre <tonnerre@thundrix.ch>
To: jonathan@jonmasters.org
Cc: linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH] xsa_use_interrupts flag [WAS: xilinx_sysace]
Date: Thu, 23 Sep 2004 06:51:14 +0200	[thread overview]
Message-ID: <20040923045114.GF6889@thundrix.ch> (raw)
In-Reply-To: <35fb2e59040922181249d18af6@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 939 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-09-23  4:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-06 14:24 xilinx_sysace Jon Masters
2004-09-19 20:18 ` xilinx_sysace Jon Masters
2004-09-23  1:12   ` [PATCH] xsa_use_interrupts flag [WAS: xilinx_sysace] Jon Masters
2004-09-23  1:12     ` Jon Masters
2004-09-23  4:51     ` Tonnerre [this message]
2004-09-23 13:40       ` Jon Masters
2004-09-23 13:40         ` Jon Masters
2004-09-23 13:36     ` Jeff Angielski
2004-09-23 13:43       ` Jon Masters

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040923045114.GF6889@thundrix.ch \
    --to=tonnerre@thundrix.ch \
    --cc=jonathan@jonmasters.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.