From owner-cvs-src@FreeBSD.ORG Thu Jun 21 14:42:36 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 32B4316A421; Thu, 21 Jun 2007 14:42:36 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2290C13C483; Thu, 21 Jun 2007 14:42:36 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l5LEgam5094276; Thu, 21 Jun 2007 14:42:36 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l5LEgZdt094275; Thu, 21 Jun 2007 14:42:35 GMT (envelope-from imp) Message-Id: <200706211442.l5LEgZdt094275@repoman.freebsd.org> From: Warner Losh Date: Thu, 21 Jun 2007 14:42:35 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/usb ehci_pci.c if_rum.c if_ural.c ohci_pci.c ubser.c ucycom.c udbp.c ufm.c ufoma.c uhci_pci.c uhid.c uhub.c uipaq.c ukbd.c ulpt.c umass.c umodem.c ums.c urio.c usb_quirks.c usb_quirks.h uscanner.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jun 2007 14:42:36 -0000 imp 2007-06-21 14:42:35 UTC FreeBSD src repository Modified files: sys/dev/usb ehci_pci.c if_rum.c if_ural.c ohci_pci.c ubser.c ucycom.c udbp.c ufm.c ufoma.c uhci_pci.c uhid.c uhub.c uipaq.c ukbd.c ulpt.c umass.c umodem.c ums.c urio.c usb_quirks.c usb_quirks.h uscanner.c Log: Latest round of usb cleanups: o Consistently use device_foo_t and bus_foo_t for functions implementing device_foo and bus_foo respectively. Adjust those routines that were wrong (we should do this throughout the tree). o make all the modules depend on usb. Otherwise these modules won't load. o ucycom doesn't need usb_port.h o Minor unifdefing o uhub, umass, ums, urio, uscanner conversion complete. o ukbd: Remove the NO_SET_PROTO quirk (fixes a PR 77940). NetBSD removed their check and setting the proto a long time ago. o umodem panic fixed. UQ_ASSUME_CM_OVER_DATA quirk removed because I've never seen a umodem that needed this rejection for proection (this gets rid of ~20% of the quirks). Approved by: re@ (kensmith) PR: 77940 Revision Changes Path 1.27 +5 -5 src/sys/dev/usb/ehci_pci.c 1.11 +1 -0 src/sys/dev/usb/if_rum.c 1.63 +1 -0 src/sys/dev/usb/if_ural.c 1.50 +4 -4 src/sys/dev/usb/ohci_pci.c 1.29 +1 -1 src/sys/dev/usb/ubser.c 1.6 +3 -4 src/sys/dev/usb/ucycom.c 1.39 +1 -0 src/sys/dev/usb/udbp.c 1.36 +1 -0 src/sys/dev/usb/ufm.c 1.9 +3 -3 src/sys/dev/usb/ufoma.c 1.61 +4 -7 src/sys/dev/usb/uhci_pci.c 1.96 +0 -1 src/sys/dev/usb/uhid.c 1.80 +38 -20 src/sys/dev/usb/uhub.c 1.7 +1 -1 src/sys/dev/usb/uipaq.c 1.70 +1 -9 src/sys/dev/usb/ukbd.c 1.80 +1 -0 src/sys/dev/usb/ulpt.c 1.152 +30 -9 src/sys/dev/usb/umass.c 1.68 +7 -12 src/sys/dev/usb/umodem.c 1.94 +37 -23 src/sys/dev/usb/ums.c 1.48 +31 -172 src/sys/dev/usb/urio.c 1.60 +1 -34 src/sys/dev/usb/usb_quirks.c 1.24 +0 -3 src/sys/dev/usb/usb_quirks.h 1.87 +31 -13 src/sys/dev/usb/uscanner.c