From: Petko Manolov petkan@nucleusys.com
v3:
Pavel Skripkin again: make sure -ETIMEDOUT is returned by __mii_op() on timeout condition;
v2:
Special thanks to Pavel Skripkin for the review and who caught a few bugs. setup_pegasus_II() would not print an erroneous message on the success path.
v1:
Add error checking for get_registers() and derivatives. If the usb transfer fail then just don't use the buffer where the legal data should have been returned.
Remove DRIVER_VERSION per Greg KH request.
Petko Manolov (2): Check the return value of get_geristers() and friends; Remove the changelog and DRIVER_VERSION.
drivers/net/usb/pegasus.c | 138 +++++++++++++++++++++----------------- 1 file changed, 77 insertions(+), 61 deletions(-)