cvs commit: src/sys/dev/le lance.c

Marius Strobl marius at FreeBSD.org
Sat Jan 20 10:47:17 UTC 2007


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


More information about the cvs-src mailing list