cvs commit: src/sys/dev/tx if_tx.c if_txvar.h

John Baldwin jhb at
Tue Jun 10 17:59:51 UTC 2008

jhb         2008-06-10 17:59:43 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/tx           if_tx.c if_txvar.h 
  SVN rev 179706 on 2008-06-10 17:59:43Z by jhb
  Make tx(4) MPSAFE
  - Add a mutex to the softc to protect the softc and device hardware.
  - Use a private timer to implement a watchdog for tx timeouts and drive
    the timer for auto negotiation.
  - Use bus_foo() rather than bus_space_foo() and remove the bus space
    tag & handle from the softc.
  - Call bus_setup_intr() after ether_ifattach().
  Tested by:      Florian Smeets  flo of
  Revision  Changes    Path
  1.98      +121 -107  src/sys/dev/tx/if_tx.c
  1.20      +13 -10    src/sys/dev/tx/if_txvar.h

More information about the cvs-src mailing list