public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arkadiusz Miskiewicz <arekm@pld-linux.org>
To: Greg KH <greg@kroah.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: finding which pci device works as ide controller for root fs
Date: Fri, 15 Aug 2003 02:38:30 +0200	[thread overview]
Message-ID: <200308150238.30618.arekm@pld-linux.org> (raw)
In-Reply-To: <20030815001552.GA4776@kroah.com>

On Friday 15 of August 2003 02:15, Greg KH wrote:
> On Thu, Aug 14, 2003 at 06:26:30PM +0200, Arkadiusz Miskiewicz wrote:
> > [arekm@mobarm arekm]$ ls -l /sys/block/hda/device
> > lrwxrwxrwx    1 root     root           46 2003-08-14 00:49
> > /sys/block/hda/device -> ../../devices/pci0000:00/0000:00:11.1/ide0/0.0
> >
> > Is it possible to get PCI ID from sysfs for specified device?
>
> It's right there in the path to the ide device "0000:00:11.1"
How's that related to awk ' { print $2 } ' /proc/bus/pci/devices?

> greg k-h

-- 
Arkadiusz Miśkiewicz    CS at FoE, Wroclaw University of Technology
arekm@sse.pl   AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux


  reply	other threads:[~2003-08-15  0:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-14 16:26 finding which pci device works as ide controller for root fs Arkadiusz Miskiewicz
2003-08-15  0:15 ` Greg KH
2003-08-15  0:38   ` Arkadiusz Miskiewicz [this message]
2003-08-15  2:39     ` Charles Lepple

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=200308150238.30618.arekm@pld-linux.org \
    --to=arekm@pld-linux.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox