summaryrefslogtreecommitdiff
path: root/include/linux/errqueue.h
diff options
context:
space:
mode:
authorRoland Dreier <roland@topspin.com>2004-07-01 23:32:11 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2004-07-01 23:32:11 -0700
commitab4038ad4febd95b14596baf011a85b9f3fb1151 (patch)
tree9c2ded11940d797924b455ab699134e84a532834 /include/linux/errqueue.h
parentf423c7aa723c32e5fc12dfd9d2932c8b2425835d (diff)
[PATCH] PCI: Add some PCI Express constants to pci.h
This patch adds some PCI Express register constants to <linux/pci.h> For my device, setting the Max_Read_Request_Size value in the PCI Express device control register makes a huge performance difference. I wanted my driver code that does this to be a little more self-documenting than: pci_read_config_word(mdev->pdev, cap + 8, &val); val = (val & ~(5 << 12)) | (5 << 12); I went a little overboard and added all the basic device register fields. If desired I could go even further overboard and add the link, slot and root registers as well. This patch is based on Matthew Wilcox's patch for pciutils, corrected for some PCI Express spec 1.0a changes. Signed-off-by: Roland Dreier <roland@topspin.com> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions