Date: Sat, 20 Jan 2007 10:47:16 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/le lance.c Message-ID: <200701201047.l0KAlHi5076845@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2007-01-20 10:47:16 UTC FreeBSD src repository Modified files: sys/dev/le lance.c Log: For setting the port PCnet chips must be powered down or stopped and unlike documented may not take effect without an initialization. So don't invoke (*sc_mediachange) directly in lance_mediachange() but go through lance_init_locked(). It's suboptimal to impose this for all chips but given that besides the affected PCI bus front-end the only other front-end which supports media selection is and likely ever will be the 'ledma' front-end I see not enough reason to break the in-driver API for this (though one could argue both ways here). Revision Changes Path 1.4 +15 -7 src/sys/dev/le/lance.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701201047.l0KAlHi5076845>