]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r211089:
authoryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 15 Aug 2010 21:43:51 +0000 (21:43 +0000)
committeryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 15 Aug 2010 21:43:51 +0000 (21:43 +0000)
commitbedbef489b555690771d88d90a1a80152943987b
tree94b29bbbb62721c8620464078fa00ffed5734c02
parentd43a75b50c34edf8cfc9e612ccbee636a5b15474
MFC r211089:
  It seems some old Sundace(now IC Plus Corp.) controllers do not
  like memory mapped register access. Typical problem from the issue
  was MII access returned unreliable values. I'm not sure this comes
  from lack of register flushing in MII access after accessing
  STE_PHYCTL register though.
  To address the issue, read hints data that controls which type of
  memory mapping should be used in driver. ste(4) still prefers
  memory mapping to io mapping but honor hints entered by user except
  for controllers that have problems with memory mapping.
  The hint to use iomapping could be given by adding the following
  line to /boot/device.hints file.

  hint.ste.0.prefer_iomap="1"

  PR: kern/149285

git-svn-id: svn://svn.freebsd.org/base/stable/8@211357 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/ste/if_ste.c