From owner-cvs-all Sun Jan 23 6:41:10 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 3593914D7A; Sun, 23 Jan 2000 06:41:08 -0800 (PST) (envelope-from peter@FreeBSD.org) Received: (from peter@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA11404; Sun, 23 Jan 2000 06:41:07 -0800 (PST) (envelope-from peter@FreeBSD.org) Message-Id: <200001231441.GAA11404@freefall.freebsd.org> From: Peter Wemm Date: Sun, 23 Jan 2000 06:41:07 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ppbus if_plip.c lpbb.c lpt.c pcfclock.c ppbconf.c ppi.c pps.c vpo.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk peter 2000/01/23 06:41:07 PST Modified files: sys/dev/ppbus if_plip.c lpbb.c lpt.c pcfclock.c ppbconf.c ppi.c pps.c vpo.c Log: Some newbus-inspired tidy-ups. Use device_identify() rather than scanning the resource table to locate children. The 'at ppbus?' can go again. Remove a few #if Nxxx > 0' type things, config arranges this for us. Move the newbus method glue next to the DRIVER_MODULE() stuff so we don't need extra prototypes. Don't set device descriptions until after the possibility of the probe returning an error. Remove all cdevsw_add() calls, all the drivers that did this also use make_dev() correctly, so it's not required. A couple of other minor nits. Revision Changes Path 1.17 +21 -22 src/sys/dev/ppbus/if_plip.c 1.11 +35 -37 src/sys/dev/ppbus/lpbb.c 1.12 +22 -29 src/sys/dev/ppbus/lpt.c 1.2 +23 -28 src/sys/dev/ppbus/pcfclock.c 1.17 +34 -71 src/sys/dev/ppbus/ppbconf.c 1.21 +22 -29 src/sys/dev/ppbus/ppi.c 1.24 +22 -21 src/sys/dev/ppbus/pps.c 1.20 +24 -26 src/sys/dev/ppbus/vpo.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message