freebsd-skq/sys/dev/hme
yongari a337a58fa7 - 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]
2005-10-25 03:56:21 +00:00
..
if_hme_pci.c Add a missing mtx_destroy() in hme_pci_detach(). 2005-07-10 10:36:45 +00:00
if_hme_sbus.c Stop embedding struct ifnet at the top of driver softcs. Instead the 2005-06-10 16:49:24 +00:00
if_hme.c - Convert hme(4) to use TX side bus_dmamap_load_mbuf_sg(9). 2005-10-25 03:56:21 +00:00
if_hmereg.h - Convert hme(4) to use TX side bus_dmamap_load_mbuf_sg(9). 2005-10-25 03:56:21 +00:00
if_hmevar.h - Convert hme(4) to use TX side bus_dmamap_load_mbuf_sg(9). 2005-10-25 03:56:21 +00:00