Date: Tue, 25 Oct 2005 03:56:21 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/hme if_hme.c if_hmereg.h if_hmevar.h Message-ID: <200510250356.j9P3uLn0076334@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510250356.j9P3uLn0076334>