cvs commit: src/sys/dev/hme if_hme.c if_hmereg.h if_hmevar.h

Pyun YongHyeon yongari at FreeBSD.org
Wed Nov 30 02:23:54 GMT 2005


yongari     2005-11-30 02:23:53 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/dev/hme          if_hme.c if_hmereg.h if_hmevar.h 
  Log:
  MFC if_hme.c:1.44, if_hmereg.h:1.7, if_hmevar.h:1.9 to RELENG_6:
    - Convert hme(4) to use TX side bus_dmamap_load_mbuf_sg(9).
    - Move hardware counter reading/zeroing to hme_tick(). This saves
       8 register access per interrupt. [1]
    - Use imax macro for getting max. argument between two integers.
    - Invoke bus_dmamap_sync(9) first before freeing mbuf.
    - Check driver queue first to reduce locking operation in hme_start_locked()
      and interrupt handler.
    - Simplyfy watchdog timer setup in interrupt handler.
    - Don't log normal errors such as RX overrun. If we have DMA stuck
      condition, reinitialize the driver and log it.
  
  Revision  Changes    Path
  1.37.2.5  +128 -142  src/sys/dev/hme/if_hme.c
  1.6.8.1   +6 -0      src/sys/dev/hme/if_hmereg.h
  1.8.2.1   +1 -0      src/sys/dev/hme/if_hmevar.h


More information about the cvs-src mailing list