diff options
author | Russ Meyerriecks <rmeyerriecks@digium.com> | 2010-01-18 21:00:22 +0000 |
---|---|---|
committer | Russ Meyerriecks <rmeyerriecks@digium.com> | 2010-01-18 21:00:22 +0000 |
commit | c4b59261fb9d8223bfdf9be6f38c69bd9a54891d (patch) | |
tree | 6976cd14c9cabe63f91863b114ee2154ed4db986 /drivers/dahdi/wct4xxp/base.c | |
parent | 6d413da966b2788c2277b36288fc86128575c4c3 (diff) |
wct4xxp: One more readback in the _in routines to make sure the writes
clear bridges and such
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7932 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wct4xxp/base.c')
-rw-r--r-- | drivers/dahdi/wct4xxp/base.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dahdi/wct4xxp/base.c b/drivers/dahdi/wct4xxp/base.c index 1df3064..0ce2fa1 100644 --- a/drivers/dahdi/wct4xxp/base.c +++ b/drivers/dahdi/wct4xxp/base.c @@ -698,6 +698,8 @@ static inline unsigned int __t4_raw_oct_in(struct t4 *wc, const unsigned int add __t4_gpio_set(wc, 0xff, 0x00); } __t4_pci_out(wc, WC_LADDR, (WC_LREAD | WC_LALE | WC_LCS)); + if (!pedanticpci) + __t4_pci_in(wc, WC_VERSION); if (octopt) { ret = __t4_pci_in(wc, WC_LDATA) & 0xffff; } else { |