Date: Thu, 18 Feb 2016 03:05:08 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r295738 - head/sys/dev/rl Message-ID: <201602180305.u1I358hQ076599@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yongari Date: Thu Feb 18 03:05:08 2016 New Revision: 295738 URL: https://svnweb.freebsd.org/changeset/base/295738 Log: Fix a bug introduced in r295736 TX descriptor address should be updated for valid chain. Pointed out by: jmallett Modified: head/sys/dev/rl/if_rl.c Modified: head/sys/dev/rl/if_rl.c ============================================================================== --- head/sys/dev/rl/if_rl.c Thu Feb 18 01:58:26 2016 (r295737) +++ head/sys/dev/rl/if_rl.c Thu Feb 18 03:05:08 2016 (r295738) @@ -1945,8 +1945,9 @@ rl_stop(struct rl_softc *sc) sc->rl_cdata.rl_tx_dmamap[i]); m_freem(sc->rl_cdata.rl_tx_chain[i]); sc->rl_cdata.rl_tx_chain[i] = NULL; + CSR_WRITE_4(sc, RL_TXADDR0 + (i * sizeof(uint32_t)), + 0x0000000); } - CSR_WRITE_4(sc, RL_TXADDR0 + (i * sizeof(uint32_t)), 0x0000000); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602180305.u1I358hQ076599>