CVS commit: src/sys/dev/ppbus
Module Name:src Committed By: andvar Date: Mon Feb 13 22:44:52 UTC 2023 Modified Files: src/sys/dev/ppbus: ppbus_base.c Log Message: s/charater/character/ in one more comment. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/ppbus/ppbus_base.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/ppbus
Module Name:src Committed By: andvar Date: Mon Feb 13 22:44:52 UTC 2023 Modified Files: src/sys/dev/ppbus: ppbus_base.c Log Message: s/charater/character/ in one more comment. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/dev/ppbus/ppbus_base.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/ppbus/ppbus_base.c diff -u src/sys/dev/ppbus/ppbus_base.c:1.22 src/sys/dev/ppbus/ppbus_base.c:1.23 --- src/sys/dev/ppbus/ppbus_base.c:1.22 Tue Jan 17 14:13:48 2023 +++ src/sys/dev/ppbus/ppbus_base.c Mon Feb 13 22:44:52 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: ppbus_base.c,v 1.22 2023/01/17 14:13:48 msaitoh Exp $ */ +/* $NetBSD: ppbus_base.c,v 1.23 2023/02/13 22:44:52 andvar Exp $ */ /*- * Copyright (c) 1997, 1998, 1999 Nicolas Souchu @@ -30,7 +30,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ppbus_base.c,v 1.22 2023/01/17 14:13:48 msaitoh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ppbus_base.c,v 1.23 2023/02/13 22:44:52 andvar Exp $"); #include "opt_ppbus_1284.h" #include "opt_ppbus.h" @@ -236,7 +236,7 @@ ppbus_write(device_t dev, char * buf, in return (bus->ppbus_write(device_parent(bus->sc_dev), buf, len, how, cnt)); } -/* Read charaters from the port */ +/* Read characters from the port */ int ppbus_read(device_t dev, char * buf, int len, int how, size_t * cnt) {
CVS commit: src/sys/dev/ppbus
Module Name:src Committed By: rjs Date: Sun Sep 4 15:59:08 UTC 2022 Modified Files: src/sys/dev/ppbus: if_plip.c Log Message: Add standard inet headers. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/dev/ppbus/if_plip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/sys/dev/ppbus
Module Name:src Committed By: rjs Date: Sun Sep 4 15:59:08 UTC 2022 Modified Files: src/sys/dev/ppbus: if_plip.c Log Message: Add standard inet headers. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/dev/ppbus/if_plip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/sys/dev/ppbus/if_plip.c diff -u src/sys/dev/ppbus/if_plip.c:1.37 src/sys/dev/ppbus/if_plip.c:1.38 --- src/sys/dev/ppbus/if_plip.c:1.37 Fri Sep 2 23:48:10 2022 +++ src/sys/dev/ppbus/if_plip.c Sun Sep 4 15:59:08 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: if_plip.c,v 1.37 2022/09/02 23:48:10 thorpej Exp $ */ +/* $NetBSD: if_plip.c,v 1.38 2022/09/04 15:59:08 rjs Exp $ */ /*- * Copyright (c) 1997 Poul-Henning Kamp @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_plip.c,v 1.37 2022/09/02 23:48:10 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_plip.c,v 1.38 2022/09/04 15:59:08 rjs Exp $"); /* * Parallel port TCP/IP interfaces added. I looked at the driver from @@ -103,8 +103,10 @@ __KERNEL_RCSID(0, "$NetBSD: if_plip.c,v #include #ifdef INET +#include +#include #include -/* #include */ +#include #else #error Cannot config lp/plip without inet #endif
Re: CVS commit: src/sys/dev/ppbus
On Sat, Nov 07, 2009 at 09:46:01AM +0100, Christoph Egger wrote: > Shouldn't ppbus replace lpt ? I don't see why not. Will somebody test it to see if it works? It might help if the lpt(4) drivers (both ppbus and isa attachments) were modularized so that one could swap one for the other at run-time. Dave -- David Young OJC Technologies dyo...@ojctech.com Urbana, IL * (217) 278-3933
Re: CVS commit: src/sys/dev/ppbus
David Young wrote: > Module Name: src > Committed By: dyoung > Date: Sat Nov 7 00:05:49 UTC 2009 > > Modified Files: > src/sys/dev/ppbus: ppbus_conf.c > > Log Message: > Don't deactivate a child before detaching it, that's not necessary. > > Don't take a device off of the ppbus(4)'s list of children in the > detach routine, but add a child-detachment hook that does it for > us. As a nice side-effect, we can probably detach ppbus(4) children > with drvctl(8), now. > > Compile-tested, only. > > XXX Does anybody even use ppbus(4)? It's not even in the ALL > XXX configuration for i386! At last, hans@ wrote a gpio backend for ppbus. Shouldn't ppbus replace lpt ? Christoph