Date: Wed, 31 Jan 2018 07:37:34 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328619 - head/sys/dev/etherswitch/arswitch Message-ID: <201801310737.w0V7bYqB024297@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Wed Jan 31 07:37:33 2018 New Revision: 328619 URL: https://svnweb.freebsd.org/changeset/base/328619 Log: [arswitch] Fix ATU programming on the AR8327 switch. Doing a flush actually requires setting this bit. Modified: head/sys/dev/etherswitch/arswitch/arswitch_8327.c Modified: head/sys/dev/etherswitch/arswitch/arswitch_8327.c ============================================================================== --- head/sys/dev/etherswitch/arswitch/arswitch_8327.c Wed Jan 31 07:36:51 2018 (r328618) +++ head/sys/dev/etherswitch/arswitch/arswitch_8327.c Wed Jan 31 07:37:33 2018 (r328619) @@ -1054,7 +1054,7 @@ ar8327_atu_flush(struct arswitch_softc *sc) if (!ret) arswitch_writereg(sc->sc_dev, AR8327_REG_ATU_FUNC, - AR8327_ATU_FUNC_OP_FLUSH); + AR8327_ATU_FUNC_OP_FLUSH | AR8327_ATU_FUNC_BUSY); return (ret); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801310737.w0V7bYqB024297>