Date: Mon, 11 Oct 2010 19:20:53 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/usb/net if_axe.c if_axereg.h Message-ID: <201010111921.o9BJL4jG013659@repoman.freebsd.org>
index | next in thread | raw e-mail
yongari 2010-10-11 19:20:53 UTC
FreeBSD src repository
Modified files:
sys/dev/usb/net if_axe.c if_axereg.h
Log:
SVN rev 213696 on 2010-10-11 19:20:53Z by yongari
Do not setup interrupt endpoint for axe(4).
It seems axe(4) controllers support interrupt endpoint such that
enabling interrupt endpoint generates about 1000 interrupts/sec.
Controllers transfer 8 bytes data through interrupt endpoint and
the data include link UP/DOWN state as well as some PHY related
information. Previously axe(4) didn't use the transferred data and
didn't even try to read the data. Because axe(4) counts on mii(4)
to detect link state changes there is no need to use interrupt
endpoint here.
This change fixes generation of unnecessary interrupts which was
seen when interface is brought to UP.
No objections from: hselasky
Revision Changes Path
1.25 +0 -33 src/sys/dev/usb/net/if_axe.c
1.5 +0 -1 src/sys/dev/usb/net/if_axereg.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010111921.o9BJL4jG013659>
