login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
18
Re: [PATCH] PCI: create device, function symlinks in /sys/bus/pci/slots/N/
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
H. Peter Anvin <hpa@...>
To: Alex Chiang <achiang@...>, <jbarnes@...>, <matthew@...>, <linux-pci@...>, <linux-kernel@...>
Subject:
Re: [PATCH] PCI: create device, function symlinks in /sys/bus/pci/slots/N/
Date: Monday, August 18, 2008 - 6:03 pm
Alex Chiang wrote:
quoted text
> Create convenience symlinks in sysfs, linking slots to devices > and functions, and vice versa. These links make it easier for > users to figure out which devices actually live in what slots. > > The device symlink points to the device's first function. > > For example: > > sapphire:/sys/bus/pci/slots # ls > 1 10 2 3 4 5 6 7 8 9 > > sapphire:/sys/bus/pci/slots # ls -l 3 > total 0 > -r--r--r-- 1 root root 65536 Aug 18 14:10 address > lrwxrwxrwx 1 root root 0 Aug 18 14:10 device -> ../../../../devices/pci0000:23/0000:23:01.0 > lrwxrwxrwx 1 root root 0 Aug 18 14:10 function0 -> ../../../../devices/pci0000:23/0000:23:01.0 > lrwxrwxrwx 1 root root 0 Aug 18 14:10 function1 -> ../../../../devices/pci0000:23/0000:23:01.1 >
What's the point with "device" and "function0"? They appear to be the same thing by definition. -hpa --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] PCI: create device, function symlinks in /sys/bus/pc...
, Alex Chiang
, (Mon Aug 18, 4:21 pm)
Re: [PATCH] PCI: create device, function symlinks in /sys/bu...
, Gary Hade
, (Mon Aug 18, 7:19 pm)
Re: [PATCH] PCI: create device, function symlinks in /sys/bu...
, Alex Chiang
, (Tue Aug 19, 2:47 pm)
Re: [PATCH] PCI: create device, function symlinks in /sys/bu...
, Matthew Wilcox
, (Tue Aug 19, 12:37 pm)
Re: [PATCH] PCI: create device, function symlinks in /sys/bu...
, Alex Chiang
, (Tue Aug 19, 2:29 pm)
Re: [PATCH] PCI: create device, function symlinks in /sys/bu...
, H. Peter Anvin
, (Mon Aug 18, 6:03 pm)
Re: [PATCH] PCI: create device, function symlinks in /sys/bu...
, Alex Chiang
, (Tue Aug 19, 11:53 am)
Re: [PATCH] PCI: create device, function symlinks in /sys/bu...
, Greg KH
, (Mon Aug 18, 4:46 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Adrian Bunk
Re: LSM conversion to static interface
git
:
linux-netdev
:
Gerrit Renker
[PATCH 26/37] dccp: Integration of dynamic feature activation - part 1 (socket set...
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
Linus Torvalds
Re: [GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
975 guests
online.
Online users
zeekec
ionut
garminportable
Syndicate