Date: Sun, 23 Jan 2000 06:41:07 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> 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 Message-ID: <200001231441.GAA11404@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001231441.GAA11404>