login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
19
Re: [PATCH] PCI: create device, function symlinks in /sys/bus/pci/slots/N/
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Alex Chiang
Subject:
Re: [PATCH] PCI: create device, function symlinks in /sys/bus/pci/slots/N/
Date: Tuesday, August 19, 2008 - 8:53 am
* H. Peter Anvin <hpa@zytor.com>:
quoted text
> Alex Chiang wrote: >> 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.
Good point, I'll remove 'device'. Thanks. /ac --
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/ ...
, Alex Chiang
, (Mon Aug 18, 1:21 pm)
Re: [PATCH] PCI: create device, function symlinks in /sys/ ...
, Greg KH
, (Mon Aug 18, 1:46 pm)
Re: [PATCH] PCI: create device, function symlinks in /sys/ ...
, H. Peter Anvin
, (Mon Aug 18, 3:03 pm)
Re: [PATCH] PCI: create device, function symlinks in /sys/ ...
, Gary Hade
, (Mon Aug 18, 4:19 pm)
Re: [PATCH] PCI: create device, function symlinks in /sys/ ...
, Alex Chiang
, (Tue Aug 19, 8:53 am)
Re: [PATCH] PCI: create device, function symlinks in /sys/ ...
, Matthew Wilcox
, (Tue Aug 19, 9:37 am)
Re: [PATCH] PCI: create device, function symlinks in /sys/ ...
, Alex Chiang
, (Tue Aug 19, 11:29 am)
Re: [PATCH] PCI: create device, function symlinks in /sys/ ...
, Alex Chiang
, (Tue Aug 19, 11:47 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ken Chen
[patch] sched: fix inconsistency when redistribute per-cpu tg->cfs_rq shares.
Hugh Dickins
Re: Linux 2.6.26-rc1 - pgtable_32.c:178 pmd_bad
Bernhard Beck
[PATCH 001/001] usb-serial: Add ThinkOptics WavIT
Oleg Nesterov
Re: [PATCH 4/5] don't panic if /sbin/init exits or killed
Greg KH
[patch 07/21] rtc-pcf8563: detect polarity of century bit automatically
git
:
Jonathan del Strother
Re: [PATCH] Fixing path quoting issues
Gerrit Pape
[PATCH] fix skipping merge-order test with NO_OPENSSL=1.
Linus Torvalds
Re: Implementing branch attributes in git config
Johannes Schindelin
Re: Trying to use git-filter-branch to compress history by removing large, obsolet...
Gerrit Pape
[PATCH] hooks--update: fix test for properly set up project description file
linux-netdev
:
David Miller
Re: [PATCH 04/15] tg3: Preserve LAA when device control is released
Jean-Louis Dupond
Re: tg3 driver not advertising 1000mbit
Sven Wegener
[PATCH] ipvs: Add missing locking during connection table hashing and unhashing
David Miller
Re: [PATCH] qlcnic: dont assume NET_IP_ALIGN is 2
Stephen Hemminger
[PATCH 2/2] sky2: fix transmit state on resume
git-commits-head
:
Linux Kernel Mailing List
[SCSI] scsi ioctl: fix kernel-doc warning
Linux Kernel Mailing List
ALSA: HDA - Correct trivial typos in comments.
Linux Kernel Mailing List
i2c-viapro: Add support for SMBus Process Call transactions
Linux Kernel Mailing List
i2c: Documentation: upgrading clients HOWTO
Linux Kernel Mailing List
[PATCH] fix sysctl_nr_open bugs
openbsd-misc
:
Die Gestalt
Re: How to re-build openssl with SHA1 support?
Edwin Eyan Moragas
Re: managing routes for multiple PPPoE connections
Brian Candler
Re: OBSD's perspective on SELinux
Jonathan Schleifer
Why is getaddrinfo breaking POSIX?
Predrag Punosevac
Re: Kernel developers guide/tutorial
Colocation donated by:
Syndicate