cvs commit: src/sys/dev/xe if_xe.c if_xe_pccard.c if_xevar.h

John Baldwin jhb at FreeBSD.org
Mon Jun 2 19:43:41 UTC 2008


jhb         2008-06-02 19:43:41 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/xe           if_xe.c if_xe_pccard.c if_xevar.h 
  Log:
  SVN rev 179492 on 2008-06-02 19:43:24Z by jhb
  
  Add locking and make xe(4) MPSAFE:
  - Add a mutex to protect the softc and device hardware.
  - Use a callout rather than a callout_handle for the media timer.
  - Use a dedicated timer for managing the tx watchdog rather than if_timer.
  - Fix some resource leaks if xe_attach() fails.
  - Shutdown the device before detaching the driver.
  - Setup the interrupt handler after ether_ifattach().
  
  Tested by:      Ian FREISLICH  ianf of clue.co.za
  
  Revision  Changes    Path
  1.65      +89 -69    src/sys/dev/xe/if_xe.c
  1.33      +7 -3      src/sys/dev/xe/if_xe_pccard.c
  1.7       +8 -1      src/sys/dev/xe/if_xevar.h


More information about the cvs-src mailing list