]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r213696:
authoryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Oct 2010 21:28:58 +0000 (21:28 +0000)
committeryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 24 Oct 2010 21:28:58 +0000 (21:28 +0000)
commit30585e6bba91519325dba1fc89ae0c61aad66ac2
treea8782a4ba607e737e1d5c1cf9345fbf5a6e4f4d1
parentc190aac0f1a1fddcffb072d8db1652161a802b76
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

git-svn-id: svn://svn.freebsd.org/base/stable/8@214301 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/usb/net/if_axe.c
sys/dev/usb/net/if_axereg.h