]> git.hungrycats.org Git - linux/commit
[PATCH] USB: usbnet:ax8817x - use interrupt URB for link detection
authorDavid T. Hollis <dhollis@davehollis.com>
Wed, 14 Jul 2004 07:48:36 +0000 (00:48 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 14 Jul 2004 07:48:36 +0000 (00:48 -0700)
commit8e9305b24566a38f0172a55f9d99aacd11b859fe
treea24878ff8dffb4797243dbbd11e060cdb99e4555
parent67cca2e61234fa193d6fc2f2036964ad9775ac6c
[PATCH] USB: usbnet:ax8817x - use interrupt URB for link detection

This patch uses the interrupt URB on the ax8817x for link detection.
This allows the driver to notify userspace when link drops/comes back
so it can take action such as run dhclient, etc.

I was also able to reduce the bind function by using some of the stock
mii_xxx calls as well as my own for handling initial link negotiation.

Signed-off-by: David Hollis <dhollis@davehollis.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/usb/net/usbnet.c