diff options
author | John Crispin <john@openwrt.org> | 2014-09-12 06:53:09 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-09-12 06:53:09 +0000 |
commit | 78c914ffe52e84b05c6d6ad33d9232fb980f1725 (patch) | |
tree | 4da13d32f9f34042252f44a71ae1a86ed48640be /tools | |
parent | dbdd8906ac776e9b8d51284d4dc0ce24920a2231 (diff) | |
download | upstream-78c914ffe52e84b05c6d6ad33d9232fb980f1725.tar.gz upstream-78c914ffe52e84b05c6d6ad33d9232fb980f1725.tar.bz2 upstream-78c914ffe52e84b05c6d6ad33d9232fb980f1725.zip |
atheros: ar2315-pci: rework the configuration access code
Use __raw_{read,write}l accessors and use Abort interrupt to detect a
configuration space read/write errors. The second change improves errors
detection, what improves the device presence detection and helps us to
avoid following (and similar) errors:
pci 0000:00:00.2: ignoring class 0x7e0200 (doesn't match header type 02)
pci 0000:00:00.2: bridge configuration invalid ([bus 03-90]), reconfiguring
pci 0000:00:00.2: not setting up bridge for bus 0000:01
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 42502
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions