Date: Mon, 9 Aug 2010 01:47:09 +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: <201008090147.o791lKVn055672@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2010-08-09 01:47:09 UTC FreeBSD src repository Modified files: sys/dev/ste if_ste.c Log: SVN rev 211089 on 2010-08-09 01:47:09Z by yongari 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 MFC after: 5 days Revision Changes Path 1.33 +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?201008090147.o791lKVn055672>