Date: Tue, 18 Mar 2008 02:11:40 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/bfe if_bfe.c if_bfereg.h Message-ID: <200803180211.m2I2Beka087599@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2008-03-18 02:11:40 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/bfe if_bfe.c if_bfereg.h Log: MFC if_bfe.c rev 1.44, if_bfereg.h rev 1.11 to RELENG_7: Fix link state handling in bfe(4). o conversion to callout(9) API. o add a missing driver lock in bfe_ifmedia_sts(). o use our callout to drive watchdog timer. o restart Tx routine if pending queued packets are present in watchdog handler. o unarm watchdog timer only if there are no queued packets. o don't blindly reset phy and let phy driver handle link change request in bfe_init_locked(). o return the status of mii_mediachg() to caller in bfe_ifmedia_upd(). Previously it always returned 0 to caller. o add check for IFF_DRV_RUNNING flag as well as IFF_DRV_OACTIVE in bfe_start_locked(). o implement miibus_statchg method that keeps track of current link state changes as well as negotiated speed/duplex/ flow-control configuration. Reprogram MAC to appropriate duplex state. Flow-control configuration was also implemented but commented out at the moment. The flow-control configuration will be enabled again after we have general flow-control framework in mii layer. Revision Changes Path 1.42.2.2 +82 -47 src/sys/dev/bfe/if_bfe.c 1.10.2.1 +6 -1 src/sys/dev/bfe/if_bfereg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803180211.m2I2Beka087599>