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

Pyun YongHyeon yongari at FreeBSD.org
Mon Oct 24 20:56:22 PDT 2005


yongari     2005-10-25 03:56:21 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/hme          if_hme.c if_hmereg.h if_hmevar.h 
  Log:
  - 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.
  
  Reviewed by:    marius
  Obtained from:  OpenBSD [1]
  
  Revision  Changes    Path
  1.44      +128 -142  src/sys/dev/hme/if_hme.c
  1.7       +6 -0      src/sys/dev/hme/if_hmereg.h
  1.9       +1 -0      src/sys/dev/hme/if_hmevar.h


More information about the cvs-src mailing list