Date: Sun, 15 Aug 2010 21:46:23 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ste if_ste.c Message-ID: <201008152146.o7FLkYZT003003@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2010-08-15 21:46:23 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/dev/ste if_ste.c
Log:
SVN rev 211358 on 2010-08-15 21:46:23Z by yongari
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
Revision Changes Path
1.32.2.9 +20 -7 src/sys/dev/ste/if_ste.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008152146.o7FLkYZT003003>
