]> git.baikalelectronics.ru Git - kernel.git/commit
bcma: change max PCI read request size to 128
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 23 Aug 2013 21:22:29 +0000 (23:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Aug 2013 18:09:02 +0000 (14:09 -0400)
commit938de576e8bdc8175c89ce7a335c651362164733
tree0d79aef2e8087c6f2615b3b204e0b3ba0cb97361
parent10bdbd38887c6e007261ceba27dc5c8c849e8e9e
bcma: change max PCI read request size to 128

This PCIe controller does not support a max read request size above 128
bytes. The sold card I tested this controller with used 128 as default
value, but some new routers are sold with BCM4331 chips, which have a
default max read request size of 512. This device fails at the first
DMA reqeust whch is bigger than 126 bytes.

This patch changes the max read request size to 128 for every device on
the PCIe link.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/driver_pci_host.c