From: Alex Chiang Date: Fri, 20 Mar 2009 20:56:36 +0000 (-0600) Subject: PCI: Introduce /sys/bus/pci/devices/.../remove X-Git-Tag: v2.6.30-rc1~419^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77c27c7b49d69d45ccb94e481653f024f1ac6650;p=pandora-kernel.git PCI: Introduce /sys/bus/pci/devices/.../remove This patch adds an attribute named "remove" to a PCI device's sysfs directory. Writing a non-zero value to this attribute will remove the PCI device and any children of it. Trent Piepho wrote the original implementation and documentation. Thanks to Vegard Nossum for testing under kmemcheck and finding locking issues with the sysfs interface. Cc: Trent Piepho Tested-by: Vegard Nossum Signed-off-by: Alex Chiang Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed