]> git.proxmox.com Git - mirror_edk2.git/commit
OptionRomPkg: Ax88772b: Fixing register access issue in Apple Eth Adapter
authorShivamurthy Shastri <shivamurthy.shastri@linaro.org>
Wed, 30 Mar 2016 09:14:14 +0000 (17:14 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Thu, 31 Mar 2016 00:53:51 +0000 (08:53 +0800)
commit7361d3ff88e51a82282d86f268d83366f79a5075
tree7d2de8f397708167473fcf0de32d212fa047e001
parent45e675f2d0eeda0511b5d6e0ed54f62f94c3826f
OptionRomPkg: Ax88772b: Fixing register access issue in Apple Eth Adapter

The USB command CMD_RXQTC ("RX Queue Cascade Threshold Control") tries
to access the register and is always failing when using the Apple
Ethernet adapter.

It is fixed by checking flag before sending command.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Shivamurthy Shastri <shivamurthy.shastri@linaro.org>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/Ax88772.c
OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/Ax88772.h
OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/DriverBinding.c