Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 11/11/2006 12:41:57
Module Name: src
Committed By: tsutsui
Date: Sat Nov 11 12:41:57 UTC 2006
Modified Files:
src/sys/dev/ic: rtl8169.c
Log Message:
Some minor tweaks in re_intr():
- check status bits at once (I'm not sure how gcc optimized them though)
- no need to check (ifp->if_flags & IFF_UP) twice
(re_init() must be called at splnet() anyway)
- call re_start() only if the interrupt is actually handled here
- call re_start() directly rather than via (*ifp->if_start)()
To generate a diff of this commit:
cvs rdiff -r1.56 -r1.57 src/sys/dev/ic/rtl8169.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.