]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
CFG_ERR, DATA_UNDERRUN and DELIM_UNDERRUN are all flags, rather than
authorAdrian Chadd <adrian@FreeBSD.org>
Wed, 20 Feb 2013 11:14:55 +0000 (11:14 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Wed, 20 Feb 2013 11:14:55 +0000 (11:14 +0000)
commit158cb431db62c70bb7acec539a05b2b229b47b7a
treede0e8818a2f86dad79c84e90190d851d23df1526
parent8ce3e01e09403c2f34b7fd373a301e0f2eaa1504
CFG_ERR, DATA_UNDERRUN and DELIM_UNDERRUN are all flags, rather than
part of ts_status. Thus:

* make sure we decode them from ts_flags, rather than ts_status;
* make sure we decode them regardless of whether there's an error or not.

This correctly exposes descriptor configuration errors, TX delimiter
underruns and TX data underruns.
sys/dev/ath/if_ath.c