Date: Tue, 12 Jul 2011 13:22:17 +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_casvar.h Message-ID: <201107121322.p6CDMaAT067636@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2011-07-12 13:22:17 UTC
FreeBSD src repository
Modified files:
sys/dev/cas if_cas.c if_casvar.h
Log:
SVN rev 223951 on 2011-07-12 13:22:17Z by marius
Partially merge r223648, r223648 and r223949 from gem(4):
- Consistently use the newly introduced sc_mac_rxcfg throughout the driver
instead of reading the old content of CAS_MAC_RX_CONF.
- Increment if_iqdrops instead of if_ierrors in case of RX buffer allocation
failure.
- According to the Cassini datasheet the RX MAC should also be disabled in
cas_setladrf() before changing its configuration.
- Add error messages to gem_disable_{r,t}x() and take advantage of these
throughout the driver instead of duplicating their functionality all over
the place.
Revision Changes Path
1.11 +40 -46 src/sys/dev/cas/if_cas.c
1.4 +2 -0 src/sys/dev/cas/if_casvar.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107121322.p6CDMaAT067636>
