diff options
author | Jason Wang <jasowang@redhat.com> | 2012-03-05 11:08:59 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-03-16 01:04:51 +0200 |
commit | eb46c5eda7d8b38c1407dd55f67cf4a6aa3b7b23 (patch) | |
tree | 7e05acadec1cee8610bb358976d993a6df9e28f2 /compiler.h | |
parent | 7fc8d918b9674c3e9233d6d25da2457345d414a0 (diff) |
rtl8139: correctly check the opmode
According to the spec, only when opmode is "Config. Register Write
Enable" could driver write to CONFIG0,1,3,4 and bits 13,12,8 of BMCR.
Currently, we allow modifying to those registers also when 8139 is in
"Auto-load" mode and "93C46 (93C56) Programming" mode. This patch
fixes this.
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'compiler.h')
0 files changed, 0 insertions, 0 deletions