mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@engr.sgi.com>
To: Jon Smirl <jonsmirl@gmail.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: multi-domain PCI and sysfs
Date: Sat, 4 Sep 2004 14:57:46 -0700	[thread overview]
Message-ID: <200409041457.46578.jbarnes@engr.sgi.com> (raw)
In-Reply-To: <9e4733910409041300139dabe0@mail.gmail.com>

On Saturday, September 4, 2004 1:00 pm, Jon Smirl wrote:
> How do multiple PCI domains appear in sysfs? I don't own a machine
> with these so I can't just look.
>
> Do they appear like:
> /sys/devices/pci0000:00
> /sys/devices/pci0001:00
> /sys/devices/pci0002:00

Yep, on all the machines I've used.

sn2 (ia64):
[root@flatearth ~]# ls -l /sys/devices
total 0
drwxr-xr-x  5 root root 0 Sep  5 08:07 pci0000:01
drwxr-xr-x  3 root root 0 Sep  5 08:07 pci0000:02
drwxr-xr-x  2 root root 0 Sep  5 08:07 platform
drwxr-xr-x  5 root root 0 Sep  5 08:07 system
[root@flatearth ~]# ls -l /sys/devices/pci0000\:02
total 0
drwxr-xr-x  2 root root     0 Sep  5 08:07 0000:02:01.0
-rw-r--r--  1 root root 16384 Sep  5 08:07 detach_state

ppc32:
jbarnes@mill:~$ ls -l /sys/devices
total 0
drwxr-xr-x   5 root root 0 Sep  4 13:37 pci0000:00/
drwxr-xr-x  13 root root 0 Sep  4 13:37 pci0001:01/
drwxr-xr-x   7 root root 0 Sep  4 13:37 pci0002:06/
drwxr-xr-x   3 root root 0 Sep  4 13:37 platform/
drwxr-xr-x   4 root root 0 Sep  4 13:37 system/
drwxr-xr-x   5 root root 0 Sep  4 13:37 uni-n-i2c/
jbarnes@mill:~$ ls -l /sys/devices/pci0001\:01/
total 0
drwxr-xr-x  3 root root    0 Sep  4 13:37 0001:01:0b.0/
drwxr-xr-x  3 root root    0 Sep  4 13:37 0001:01:12.0/
drwxr-xr-x  3 root root    0 Sep  4 13:37 0001:01:13.0/
drwxr-xr-x  4 root root    0 Sep  4 13:37 0001:01:17.0/
drwxr-xr-x  3 root root    0 Sep  4 13:37 0001:01:18.0/
drwxr-xr-x  3 root root    0 Sep  4 13:37 0001:01:19.0/
drwxr-xr-x  4 root root    0 Sep  4 13:37 0001:01:1a.0/
drwxr-xr-x  4 root root    0 Sep  4 13:37 0001:01:1b.0/
drwxr-xr-x  4 root root    0 Sep  4 13:37 0001:01:1b.1/
drwxr-xr-x  3 root root    0 Sep  4 13:37 0001:01:1b.2/
-rw-r--r--  1 root root 4096 Sep  4 13:37 detach_state
drwxr-xr-x  2 root root    0 Sep  4 13:37 power/

Jesse

  reply	other threads:[~2004-09-04 21:58 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-04 20:00 Jon Smirl
2004-09-04 21:57 ` Jesse Barnes [this message]
2004-09-04 22:12   ` Jon Smirl
2004-09-04 22:27     ` Jesse Barnes
2004-09-04 22:45       ` Jon Smirl
2004-09-04 23:03         ` Jesse Barnes
2004-09-05 23:04           ` Matthew Wilcox
2004-09-05 23:50             ` Jon Smirl
2004-09-05 23:00               ` Alan Cox
2004-09-06  1:40               ` Matthew Wilcox
2004-09-07 22:58                 ` Jon Smirl
2004-09-07 23:11                   ` David S. Miller
2004-09-08  3:39                     ` Jon Smirl
2004-09-08  4:12                       ` David S. Miller
2004-09-08  4:16                       ` Jesse Barnes
2004-09-08  4:15                     ` Jesse Barnes
2004-09-08  4:16                       ` David S. Miller
2004-09-08  4:25                         ` Jesse Barnes
2004-09-08  6:01                           ` Jon Smirl
2004-09-08 13:02                             ` Alan Cox
2004-09-08 16:02                             ` Jesse Barnes
2004-09-08 18:20                               ` David S. Miller
2004-09-08 18:32                                 ` Jesse Barnes
2004-09-08 18:54                                   ` David S. Miller
2004-09-08  6:55                           ` Jon Smirl
2004-09-08 11:11                             ` Geert Uytterhoeven
2004-09-08 11:38                               ` Matthew Wilcox
2004-09-08 18:21                             ` David S. Miller
2004-09-08 22:41                               ` Alan Cox
2004-09-09  0:31                                 ` Jon Smirl
2004-09-09 13:06                                   ` Alan Cox
2004-09-08 15:03                   ` Matthew Wilcox
2004-09-06  0:06             ` Jesse Barnes
2004-09-06  0:31               ` Jon Smirl
2004-09-06  1:38               ` Jon Smirl

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=200409041457.46578.jbarnes@engr.sgi.com \
    --to=jbarnes@engr.sgi.com \
    --cc=jonsmirl@gmail.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

Powered by JetHome