Date: Mon, 3 May 2010 20:57:16 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/cas if_cas.c if_casreg.h Message-ID: <201005032057.o43KvYQ5079570@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2010-05-03 20:57:16 UTC
FreeBSD src repository
Modified files:
sys/dev/cas if_cas.c if_casreg.h
Log:
SVN rev 207585 on 2010-05-03 20:57:16Z by marius
- Don't set CAS_PCS_DATAPATH to anything except CAS_PCS_DATAPATH_SERDES
on Cassini using the external PCS SERDES otherwise unaligned access
traps and other strange effects happen with some machines. Don't touch
the MIF which is unused in that case either. These changes require the
PHY type to use to be determined via the OFW device tree or from the
VPD in machines without the former.
- Disable the SERDES pins of Saturn when not used in order to save power
and ensure they are enabled otherwise.
- In cas_attach() use the correct register offset for CAS_PCS_CONF_EN.
- Add some bus space barriers missing in the PCS code path.
These changes make the Sun GigaSwift Ethernet 1.0 MMF cards as well as
the on-board interfaces found in Sun Fire B100s Blade Server work.
PR: 144867
Revision Changes Path
1.5 +162 -70 src/sys/dev/cas/if_cas.c
1.2 +12 -0 src/sys/dev/cas/if_casreg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005032057.o43KvYQ5079570>
