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

cvs commit: src/sys/dev/netif/xl if_xl.c if_xlreg.h


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 23 Sep 2005 20:50:30 -0700 (PDT)

sephe       2005/09/23 20:50:30 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/xl     if_xl.c if_xlreg.h 
  Log:
  in if_xl.c, xl_detach():
  - do not use XL_FLAG_ATTACH_MAPPED to test whether xl_stop(), xl_reset() and
    ether_ifdetach() can be performed, use device_is_attached() instead.  this
    can prevent ether_ifdetach() from being called if ether_ifattach() is not
    done yet (e.g. xl_attach() fails before calling ether_ifattch())
  - adjust white spaces
  
  in if_xl.c, xl_attach():
  - in various busdma operation, use BUS_DMA_WAITOK instead of BUS_DMA_NOWAIT,
    since xl_attach() is already intr safe
  - use BUS_DMA_ZERO in bus_dmamem_alloc() instead of calling bzero() afterwards
    Suggested-by: joerg
  - do not set XL_FLAG_ATTACH_MAPPED in xl_softc.xl_flags
  - minor cleanup
  
  in if_xlreg.h
  - GC now unused XL_FLAG_ATTACH_MAPPED macro
  
  Revision  Changes    Path
  1.32      +18 -25    src/sys/dev/netif/xl/if_xl.c
  1.7       +0 -1      src/sys/dev/netif/xl/if_xlreg.h


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/xl/if_xl.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/xl/if_xlreg.h.diff?r1=1.6&r2=1.7&f=u



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