Date: Sun, 24 Oct 2010 21:28:58 +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: <201010242129.o9OLTONG030825@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2010-10-24 21:28:58 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/dev/usb/net if_axe.c if_axereg.h Log: SVN rev 214301 on 2010-10-24 21:28:58Z by yongari MFC r213696: 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.12.2.12 +0 -33 src/sys/dev/usb/net/if_axe.c 1.3.2.2 +0 -1 src/sys/dev/usb/net/if_axereg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010242129.o9OLTONG030825>