]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
myri10ge: use pcie_get/set_readrq
authorBrice Goglin <brice@myri.com>
Fri, 24 Aug 2007 06:57:17 +0000 (08:57 +0200)
committerJeff Garzik <jeff@garzik.org>
Sat, 25 Aug 2007 06:31:22 +0000 (02:31 -0400)
commit302d242cfb64eb53fb6d2aa2ae68ddd1ab47079f
tree98c2ce776cc57068bd526124baa1dc7ee9ccae40
parent28721c890c9b71cfee45e835bda4639777862e2f
myri10ge: use pcie_get/set_readrq

Based on a patch from Peter Oruba, convert myri10ge to use pcie_get_readrq()
and pcie_set_readrq() instead of our own PCI calls and arithmetics.

These driver changes incorporate the proposed PCI-X / PCI-Express read byte
count interface.  Reading and setting those values doesn't take place
"manually", instead wrapping functions are called to allow quirks for some
PCI bridges.

Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off by: Peter Oruba <peter.oruba@amd.com>
Based on work by Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/myri10ge/myri10ge.c