mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Nick Andrew <nick@nick-andrew.net>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: [RFC] x86: Cleanup prose of Documentation/i386/IO-APIC.txt
Date: Sun, 13 Apr 2008 10:45:36 +0200	[thread overview]
Message-ID: <20080413084536.GB24429@elte.hu> (raw)
In-Reply-To: <20080411154053.GD18242@tull.net>


* Nick Andrew <nick@nick-andrew.net> wrote:

> I'm doing a couple of cleanups to Documentation/i386/IO-APIC.txt
> and I have a problem with this line, which is supposed to compute
> a sample pirq= kernel parameter:
> 
>    echo -n pirq=; echo `scanpci | grep T_L | cut -c56-` | sed 's/ /,/g'
> 
> The 'scanpci' command used to be part of xutils and/or XFree86.
> Xorg implements "Xorg -scanpci" but the output is different and it won't
> run while X is running.
> 
> Firstly I propose using the $( ) construct rather than backticks, since
> it is easier to read:
> 
>    echo -n pirq=; echo $( scanpci | grep T_L | cut -c56- ) | sed 's/ /,/g'
> 
> Inside the backtics, instead of scanpci, I could do:
> 
>    lspci -v | grep IRQ | sed -e 's/.* IRQ \(\w\+\)/\1/'
> 
> Is this an acceptable substitution?

yeah, i guess so.

Btw., that's rather arcane text - do people still have to use pirq= boot 
lines to get their boxes to boot?

	Ingo

  reply	other threads:[~2008-04-13  8:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-11 15:40 Nick Andrew
2008-04-13  8:45 ` Ingo Molnar [this message]
2008-04-13 11:25   ` Nick Andrew
2008-04-14  9:46     ` Ingo Molnar
2008-04-14 10:17       ` Nick Andrew
2008-04-14 10:28         ` Ingo Molnar

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=20080413084536.GB24429@elte.hu \
    --to=mingo@elte.hu \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nick@nick-andrew.net \
    --cc=tglx@linutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®