linux-kernel-test/drivers/pci
Arjan van de Ven 9f125d3048 [PATCH] PCI: Add a "enable" sysfs attribute to the pci devices to allow userspace (Xorg) to enable devices without doing foul direct access
This patch adds an "enable" sysfs attribute to each PCI device. When read it
shows the "enabled-ness" of the device, but you can write a "0" into it to
disable a device, and a "1" to enable it.

This later is needed for X and other cases where userspace wants to enable
the BARs on a device (typical example: to run the video bios on a secundary
head). Right now X does all this "by hand" via bitbanging, that's just evil.
This allows X to no longer do that but to just let the kernel do this.

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
CC: Peter Jones <pjones@redhat.com>
Acked-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-06-21 11:59:59 -07:00
..
hotplug [PATCH] PCI Hotplug: Fix recovery path from errors during pcie_init() 2006-06-19 14:13:24 -07:00
pcie [PATCH] PCI: kzalloc() conversion in drivers/pci 2006-03-23 14:35:17 -08:00
.gitignore Add some basic .gitignore files 2005-10-18 08:26:15 -07:00
access.c [PATCH] PCI: drivers/pci/: small cleanups 2005-11-10 16:09:18 -08:00
bus.c [PATCH] PCI: Add pci_walk_bus function to PCI core (nonrecursive) 2005-09-08 15:04:30 -07:00
hotplug.c [PATCH] driver core: replace "hotplug" by "uevent" 2006-01-04 16:18:08 -08:00
Kconfig [PATCH] PCI: Provide a boot parameter to disable MSI 2006-03-23 14:35:16 -08:00
Makefile [PATCH] PCI: msi abstractions and support for altix 2006-06-21 11:59:58 -07:00
msi-altix.c [PATCH] PCI: altix: msi support 2006-06-21 11:59:59 -07:00
msi-apic.c [PATCH] PCI: msi abstractions and support for altix 2006-06-21 11:59:58 -07:00
msi.c [PATCH] PCI: per-platform IA64_{FIRST,LAST}_DEVICE_VECTOR definitions 2006-06-21 11:59:59 -07:00
msi.h [PATCH] PCI: msi abstractions and support for altix 2006-06-21 11:59:58 -07:00
pci-acpi.c [PATCH] pci: correctly allocate return buffers for osc calls 2006-05-21 12:59:18 -07:00
pci-driver.c [PATCH] PCI: Error handling on PCI device resume 2006-06-11 14:02:27 -07:00
pci-sysfs.c [PATCH] PCI: Add a "enable" sysfs attribute to the pci devices to allow userspace (Xorg) to enable devices without doing foul direct access 2006-06-21 11:59:59 -07:00
pci.c Merge branch 'master' into upstream 2006-06-13 20:29:04 -04:00
pci.h [PATCH] PCI: MSI(X) save/restore for suspend/resume 2006-04-14 12:25:25 -07:00
probe.c [PATCH] PCI: fix to pci ignore pre-set 64-bit bars on 32-bit platforms 2006-06-21 11:59:59 -07:00
proc.c [PATCH] PCI: the scheduled removal of PCI_LEGACY_PROC 2006-03-23 14:35:16 -08:00
quirks.c [PATCH] smbus unhiding kills thermal management 2006-05-15 11:20:57 -07:00
remove.c [PATCH] PCI: drivers/pci: some cleanups 2006-01-09 12:13:20 -08:00
rom.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
search.c [PATCH] PCI: Move pci_dev_put outside a spinlock 2006-03-23 14:35:14 -08:00
setup-bus.c cardbus: limit IO windows to 256 bytes 2005-10-23 16:31:16 -07:00
setup-irq.c
setup-res.c [PATCH] PCI: Add pci_assign_resource_fixed -- allow fixed address assignments 2006-06-21 11:59:59 -07:00
syscall.c [PATCH] PCI: Block config access during BIST 2005-10-28 15:36:58 -07:00