Subject: CVS commit: [itohy-usb1] src/sys/dev/usb
To: None <source-changes@NetBSD.org>
From: ITOH Yasufumi <itohy@netbsd.org>
List: source-changes
Date: 06/12/2007 13:58:25
Module Name:	src
Committed By:	itohy
Date:		Tue Jun 12 13:58:25 UTC 2007

Modified Files:
	src/sys/dev/usb [itohy-usb1]: files.usb if_cdce.c if_cdcereg.h
Added Files:
	src/sys/dev/usb [itohy-usb1]: usb_ethersubr.c usb_ethersubr.h

Log Message:
Move commonly used code in USB Ethernet drivers to usb_ethersubr.[ch],
from FreeBSD.  The interface is modified to fit our new code.

(Note FreeBSD passes packets to different kernel thread, which I did NOT
adopt or now.  That is because I'm not sure it is really necessary,
and it enforces more context switchings per packet and probably causes
large latency and poor performace.)


To generate a diff of this commit:
cvs rdiff -r1.73.10.1 -r1.73.10.2 src/sys/dev/usb/files.usb
cvs rdiff -r1.12.10.3 -r1.12.10.4 src/sys/dev/usb/if_cdce.c
cvs rdiff -r1.2.40.1 -r1.2.40.2 src/sys/dev/usb/if_cdcereg.h
cvs rdiff -r0 -r1.1.2.1 src/sys/dev/usb/usb_ethersubr.c \
    src/sys/dev/usb/usb_ethersubr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.