DragonFly BSD
DragonFly commits List (threaded) for 2005-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/dev/netif/xe if_xe.c


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 13 Jul 2005 10:46:05 -0700 (PDT)

joerg       2005/07/13 10:46:05 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/xe     if_xe.c 
  Log:
  Call bus_setup_intr in xe_attach, not xe_activate. This prevents
  race conditions and avoids calling ether_detach without first calling
  ether_attach.
  Call bus_teardown_intr in xe_detach, not xe_deactivate. This is
  symmetrical to the attach path. Use a critical section in xe_detach
  to protect against concurrent interrupts.
  
  Submitted-by: Sepherosa Ziehau <sepherosa@xxxxxxxxx>
  
  Revision  Changes    Path
  1.26      +18 -13    src/sys/dev/netif/xe/if_xe.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/xe/if_xe.c.diff?r1=1.25&r2=1.26&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]