From owner-freebsd-current@FreeBSD.ORG Fri Sep 17 11:59:24 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CAB616A4CE for ; Fri, 17 Sep 2004 11:59:24 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8376443D49 for ; Fri, 17 Sep 2004 11:59:23 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id i8HBxM56093873 for ; Fri, 17 Sep 2004 13:59:22 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: current@freebsd.org From: "Poul-Henning Kamp" In-Reply-To: Your message of "Fri, 17 Sep 2004 11:53:46 -0000." <200409171153.i8HBrkPD077518@repoman.freebsd.org> Date: Fri, 17 Sep 2004 13:59:22 +0200 Message-ID: <93872.1095422362@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Subject: TTY cleanups have started... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2004 11:59:24 -0000 I've started cleaning up the TTY code, and the first driver hit big time is ucom which drives a lot of USB serial gadgets. The P4::phk_tty branch is 3028 lines shorter than current and I will be perambulating the rest of the tty drivers with similar cleanups in the coming weeks. Let me know if I break something underway, I'm doing my best, but I don't have all the hardware to test all our drivers. Poul-Henning In message <200409171153.i8HBrkPD077518@repoman.freebsd.org>, Poul-Henning Kamp writes: >phk 2004-09-17 11:53:46 UTC > > FreeBSD src repository > > Modified files: > sys/dev/usb ucom.c ucomvar.h umodem.c uplcom.c > uvscom.c > Log: > Overhaul ucom serial driver by using generic stuff instead of homerolled > all over the place. > > Revision Changes Path > 1.52 +142 -415 src/sys/dev/usb/ucom.c > 1.5 +0 -16 src/sys/dev/usb/ucomvar.h > 1.54 +4 -3 src/sys/dev/usb/umodem.c > 1.22 +3 -2 src/sys/dev/usb/uplcom.c > 1.24 +4 -3 src/sys/dev/usb/uvscom.c > -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.