PCI: Add and use standard PCI-X Capability register names
authorBjorn Helgaas <bhelgaas@google.com>
Wed, 5 Dec 2012 20:51:17 +0000 (13:51 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 5 Dec 2012 20:51:17 +0000 (13:51 -0700)
commit7793eeabc89fd342b96fdadce5a50c46ab77f3f9
treea4b3e65fcb4dda9043bf70ced68e961b3f2500b1
parent8f0d8163b50e01f398b14bcd4dc039ac5ab18d64
PCI: Add and use standard PCI-X Capability register names

Add and use #defines for PCI-X Capability registers and fields.
Note that the PCI-X Capability has a different layout for
type 0 (endpoint) and type 1 (bridge) devices.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/probe.c
include/uapi/linux/pci_regs.h