diff options
author | dt <dt@FreeBSD.org> | 1999-04-28 10:54:24 +0000 |
---|---|---|
committer | dt <dt@FreeBSD.org> | 1999-04-28 10:54:24 +0000 |
commit | ba8c622703d205067a8d74af1a1b2d95844349b2 (patch) | |
tree | 71852880cc0d9c678b247eb64d0e18a8b563840d /sys/i386 | |
parent | a444f336d9c283cad668b319a9f82fedb66e7d51 (diff) | |
download | FreeBSD-src-ba8c622703d205067a8d74af1a1b2d95844349b2.zip FreeBSD-src-ba8c622703d205067a8d74af1a1b2d95844349b2.tar.gz |
s/static foo_devsw_installed = 0;/static int foo_devsw_installed;/.
(Edited automatically)
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/cons.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/asc.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/atapi-cd.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/ctx.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/cx.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/gpib.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/gsc.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/istallion.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/joy.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/loran.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/matcd/matcd.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/mcd.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/mse.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/pcaudio.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/rc.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/scd.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/si.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/spigot.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/stallion.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/tw.c | 2 | ||||
-rw-r--r-- | sys/i386/isa/wd.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/wd_cd.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/wfd.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/wst.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/wt.c | 4 |
25 files changed, 43 insertions, 43 deletions
diff --git a/sys/i386/i386/cons.c b/sys/i386/i386/cons.c index 11e6216..9540125 100644 --- a/sys/i386/i386/cons.c +++ b/sys/i386/i386/cons.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * from: @(#)cons.c 7.2 (Berkeley) 5/9/91 - * $Id: cons.c,v 1.62 1999/04/27 11:14:29 phk Exp $ + * $Id: cons.c,v 1.63 1999/04/27 12:21:03 phk Exp $ */ #include "opt_devfs.h" @@ -414,7 +414,7 @@ cnputc(c) } } -static cn_devsw_installed = 0; +static int cn_devsw_installed; static void cn_drvinit(void *unused) diff --git a/sys/i386/isa/asc.c b/sys/i386/isa/asc.c index 754d79e..6a60374 100644 --- a/sys/i386/isa/asc.c +++ b/sys/i386/isa/asc.c @@ -34,7 +34,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* - * $Id: asc.c,v 1.33 1999/01/27 10:10:00 bde Exp $ + * $Id: asc.c,v 1.34 1999/01/28 01:59:53 dillon Exp $ */ #include "asc.h" @@ -883,7 +883,7 @@ ascpoll(dev_t dev, int events, struct proc *p) } -static asc_devsw_installed = 0; +static int asc_devsw_installed; static void asc_drvinit(void *unused) diff --git a/sys/i386/isa/atapi-cd.c b/sys/i386/isa/atapi-cd.c index e8f7add..c5a9097 100644 --- a/sys/i386/isa/atapi-cd.c +++ b/sys/i386/isa/atapi-cd.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: atapi-cd.c,v 1.14 1999/04/13 19:38:10 peter Exp $ + * $Id: atapi-cd.c,v 1.15 1999/04/27 11:14:51 phk Exp $ */ #include "wdc.h" @@ -1517,7 +1517,7 @@ atapi_dump(int ctrlr, int lun, char *label, void *data, int len) printf ("\n"); } -static acd_devsw_installed = 0; +static int acd_devsw_installed; static void acd_drvinit(void *unused) diff --git a/sys/i386/isa/ctx.c b/sys/i386/isa/ctx.c index 413302d..28d61a1 100644 --- a/sys/i386/isa/ctx.c +++ b/sys/i386/isa/ctx.c @@ -8,7 +8,7 @@ * of this software, nor does the author assume any responsibility * for damages incurred with its use. * - * $Id: ctx.c,v 1.28 1998/06/14 10:52:52 bde Exp $ + * $Id: ctx.c,v 1.29 1998/12/09 02:56:48 eivind Exp $ */ /* @@ -448,7 +448,7 @@ waitvb(int port) -static ctx_devsw_installed = 0; +static int ctx_devsw_installed; static void ctx_drvinit(void *unused) diff --git a/sys/i386/isa/cx.c b/sys/i386/isa/cx.c index 9a4a09e..7e2f800 100644 --- a/sys/i386/isa/cx.c +++ b/sys/i386/isa/cx.c @@ -964,7 +964,7 @@ void cxtimeout (void *a) #if defined(__FreeBSD__) && (__FreeBSD__ > 1 ) -static cx_devsw_installed = 0; +static int cx_devsw_installed; static void cx_drvinit(void *unused) { dev_t dev; diff --git a/sys/i386/isa/gpib.c b/sys/i386/isa/gpib.c index b03b712..b289f57 100644 --- a/sys/i386/isa/gpib.c +++ b/sys/i386/isa/gpib.c @@ -1159,7 +1159,7 @@ outb(CDOR,95); /*untalk*/ } -static gp_devsw_installed = 0; +static int gp_devsw_installed; static void gp_drvinit(void *unused) diff --git a/sys/i386/isa/gsc.c b/sys/i386/isa/gsc.c index 1fa8376..7295ae7 100644 --- a/sys/i386/isa/gsc.c +++ b/sys/i386/isa/gsc.c @@ -833,7 +833,7 @@ gscioctl (dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) } -static gsc_devsw_installed = 0; +static int gsc_devsw_installed; static void gsc_drvinit(void *unused) diff --git a/sys/i386/isa/istallion.c b/sys/i386/isa/istallion.c index 07fd937..5816c51 100644 --- a/sys/i386/isa/istallion.c +++ b/sys/i386/isa/istallion.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: istallion.c,v 1.24 1999/01/30 12:17:33 phk Exp $ + * $Id: istallion.c,v 1.25 1999/04/27 11:15:05 phk Exp $ */ /*****************************************************************************/ @@ -648,7 +648,7 @@ static struct cdevsw stli_cdevsw = { D_TTY, }; -static stli_devsw_installed = 0; +static int stli_devsw_installed; static void stli_drvinit(void *unused) { diff --git a/sys/i386/isa/joy.c b/sys/i386/isa/joy.c index f64d99e5..2561cd2 100644 --- a/sys/i386/isa/joy.c +++ b/sys/i386/isa/joy.c @@ -235,7 +235,7 @@ get_tick () } -static joy_devsw_installed = 0; +static int joy_devsw_installed; static void joy_drvinit(void *unused) { diff --git a/sys/i386/isa/loran.c b/sys/i386/isa/loran.c index f542302..491675e 100644 --- a/sys/i386/isa/loran.c +++ b/sys/i386/isa/loran.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: loran.c,v 1.14 1998/12/16 11:46:41 phk Exp $ + * $Id: loran.c,v 1.15 1999/04/11 03:06:06 eivind Exp $ * * This device-driver helps the userland controlprogram for a LORAN-C * receiver avoid monopolizing the CPU. @@ -644,7 +644,7 @@ static struct cdevsw loran_cdevsw = NULL, -1 }; -static loran_devsw_installed = 0; +static int loran_devsw_installed; static void loran_drvinit(void *unused) { diff --git a/sys/i386/isa/matcd/matcd.c b/sys/i386/isa/matcd/matcd.c index 4f1943a..515a3b7 100644 --- a/sys/i386/isa/matcd/matcd.c +++ b/sys/i386/isa/matcd/matcd.c @@ -337,7 +337,7 @@ static char MATCDVERSION[]="Version 1(26) 18-Oct-95"; static char MATCDCOPYRIGHT[] = "Matsushita CD-ROM driver, Copr. 1994,1995 Frank Durda IV"; /* The proceeding strings may not be changed*/ -/* $Id: matcd.c,v 1.36 1998/07/15 10:11:21 bde Exp $ */ +/* $Id: matcd.c,v 1.37 1998/12/13 23:36:16 eivind Exp $ */ /*--------------------------------------------------------------------------- Include declarations @@ -2730,7 +2730,7 @@ static int matcd_igot(struct ioc_capability * sqp) #endif /*FULLDRIVER*/ -static matcd_devsw_installed = 0; +static int matcd_devsw_installed; static void matcd_drvinit(void *unused) diff --git a/sys/i386/isa/mcd.c b/sys/i386/isa/mcd.c index a24a79f..8297679 100644 --- a/sys/i386/isa/mcd.c +++ b/sys/i386/isa/mcd.c @@ -40,7 +40,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mcd.c,v 1.100 1998/07/13 09:53:01 bde Exp $ + * $Id: mcd.c,v 1.101 1998/10/22 05:58:39 bde Exp $ */ static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; @@ -1849,7 +1849,7 @@ mcd_resume(int unit) } -static mcd_devsw_installed = 0; +static int mcd_devsw_installed; static void mcd_drvinit(void *unused) { diff --git a/sys/i386/isa/mse.c b/sys/i386/isa/mse.c index 6579de2..836ec9c 100644 --- a/sys/i386/isa/mse.c +++ b/sys/i386/isa/mse.c @@ -11,7 +11,7 @@ * this software for any purpose. It is provided "as is" * without express or implied warranty. * - * $Id: mse.c,v 1.38 1998/06/07 17:10:47 dfr Exp $ + * $Id: mse.c,v 1.39 1998/10/22 05:58:39 bde Exp $ */ /* * Driver for the Logitech and ATI Inport Bus mice for use with 386bsd and @@ -769,7 +769,7 @@ mse_getati(port, dx, dy, but) outb(port + MSE_PORTB, MSE_INPORT_INTREN); } -static mse_devsw_installed = 0; +static int mse_devsw_installed; static void mse_drvinit(void *unused) { diff --git a/sys/i386/isa/pcaudio.c b/sys/i386/isa/pcaudio.c index 4f84061..ad6ae1c 100644 --- a/sys/i386/isa/pcaudio.c +++ b/sys/i386/isa/pcaudio.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pcaudio.c,v 1.44 1998/12/13 23:32:44 eivind Exp $ + * $Id: pcaudio.c,v 1.45 1998/12/27 20:09:31 sos Exp $ */ #include "pca.h" @@ -548,7 +548,7 @@ pcapoll(dev_t dev, int events, struct proc *p) return (revents); } -static pca_devsw_installed = 0; +static int pca_devsw_installed; static void pca_drvinit(void *unused) { diff --git a/sys/i386/isa/rc.c b/sys/i386/isa/rc.c index ca9032e..613f8cb 100644 --- a/sys/i386/isa/rc.c +++ b/sys/i386/isa/rc.c @@ -1495,7 +1495,7 @@ rc_wait0(nec, unit, chan, line) unit, chan, line); } -static rc_devsw_installed = 0; +static int rc_devsw_installed; static void rc_drvinit(void *unused) { diff --git a/sys/i386/isa/scd.c b/sys/i386/isa/scd.c index 7eeca7b..cc5af14 100644 --- a/sys/i386/isa/scd.c +++ b/sys/i386/isa/scd.c @@ -41,7 +41,7 @@ */ -/* $Id: scd.c,v 1.40 1998/07/13 09:53:02 bde Exp $ */ +/* $Id: scd.c,v 1.41 1999/01/12 01:29:45 eivind Exp $ */ /* Please send any comments to micke@dynas.se */ @@ -1569,7 +1569,7 @@ scd_toc_entry (int unit, struct ioc_read_toc_single_entry *te) } -static scd_devsw_installed = 0; +static int scd_devsw_installed; static void scd_drvinit(void *unused) { diff --git a/sys/i386/isa/si.c b/sys/i386/isa/si.c index 670ef14..add5a0b 100644 --- a/sys/i386/isa/si.c +++ b/sys/i386/isa/si.c @@ -30,7 +30,7 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN * NO EVENT SHALL THE AUTHORS BE LIABLE. * - * $Id: si.c,v 1.80 1999/04/24 20:17:03 peter Exp $ + * $Id: si.c,v 1.81 1999/04/27 11:15:14 phk Exp $ */ #ifndef lint @@ -2812,7 +2812,7 @@ si_modulename(host_type, uart_type) return(""); } -static si_devsw_installed = 0; +static int si_devsw_installed; static void si_drvinit(void *unused) diff --git a/sys/i386/isa/spigot.c b/sys/i386/isa/spigot.c index f767d7f..347b260 100644 --- a/sys/i386/isa/spigot.c +++ b/sys/i386/isa/spigot.c @@ -275,7 +275,7 @@ struct spigot_softc *ss = (struct spigot_softc *)&spigot_softc[0]; } -static spigot_devsw_installed = 0; +static int spigot_devsw_installed; static void spigot_drvinit(void *unused) { diff --git a/sys/i386/isa/stallion.c b/sys/i386/isa/stallion.c index 9bb4890..52dbaaf 100644 --- a/sys/i386/isa/stallion.c +++ b/sys/i386/isa/stallion.c @@ -33,7 +33,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: stallion.c,v 1.26 1999/04/24 20:17:04 peter Exp $ + * $Id: stallion.c,v 1.27 1999/04/27 11:15:19 phk Exp $ */ /*****************************************************************************/ @@ -547,7 +547,7 @@ static struct cdevsw stl_cdevsw = { D_TTY, }; -static stl_devsw_installed = 0; +static int stl_devsw_installed; static void stl_drvinit(void *unused) { diff --git a/sys/i386/isa/tw.c b/sys/i386/isa/tw.c index 40dd43a..0060e51 100644 --- a/sys/i386/isa/tw.c +++ b/sys/i386/isa/tw.c @@ -1149,7 +1149,7 @@ static int twchecktime(int target, int tol) #endif /* HIRESTIME */ -static tw_devsw_installed = 0; +static int tw_devsw_installed; static void tw_drvinit(void *unused) { diff --git a/sys/i386/isa/wd.c b/sys/i386/isa/wd.c index 9db2fee..ae952a2 100644 --- a/sys/i386/isa/wd.c +++ b/sys/i386/isa/wd.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)wd.c 7.2 (Berkeley) 5/9/91 - * $Id: wd.c,v 1.193 1999/04/13 20:22:30 peter Exp $ + * $Id: wd.c,v 1.194 1999/04/16 21:22:25 peter Exp $ */ /* TODO: @@ -2393,7 +2393,7 @@ wdwait(struct disk *du, u_char bits_wanted, int timeout) return (-1); } -static wd_devsw_installed = 0; +static int wd_devsw_installed; static void wd_drvinit(void *unused) { diff --git a/sys/i386/isa/wd_cd.c b/sys/i386/isa/wd_cd.c index e8f7add..c5a9097 100644 --- a/sys/i386/isa/wd_cd.c +++ b/sys/i386/isa/wd_cd.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: atapi-cd.c,v 1.14 1999/04/13 19:38:10 peter Exp $ + * $Id: atapi-cd.c,v 1.15 1999/04/27 11:14:51 phk Exp $ */ #include "wdc.h" @@ -1517,7 +1517,7 @@ atapi_dump(int ctrlr, int lun, char *label, void *data, int len) printf ("\n"); } -static acd_devsw_installed = 0; +static int acd_devsw_installed; static void acd_drvinit(void *unused) diff --git a/sys/i386/isa/wfd.c b/sys/i386/isa/wfd.c index 6f42292..4f66643 100644 --- a/sys/i386/isa/wfd.c +++ b/sys/i386/isa/wfd.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: wfd.c,v 1.20 1999/04/13 19:38:11 peter Exp $ + * $Id: wfd.c,v 1.21 1999/04/27 11:15:21 phk Exp $ */ /* @@ -764,7 +764,7 @@ static int wfd_eject (struct wfd *t, int closeit) 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0); } -static wfd_devsw_installed = 0; +static int wfd_devsw_installed; static void wfd_drvinit(void *unused) { diff --git a/sys/i386/isa/wst.c b/sys/i386/isa/wst.c index 714e667..092846b 100644 --- a/sys/i386/isa/wst.c +++ b/sys/i386/isa/wst.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: wst.c,v 1.15 1999/01/12 01:28:00 eivind Exp $ + * $Id: wst.c,v 1.16 1999/04/13 19:38:11 peter Exp $ */ #include "wdc.h" @@ -784,7 +784,7 @@ wst_reset(struct wst *t) DELAY(30); } -static wst_devsw_installed = 0; +static int wst_devsw_installed; static void wst_drvinit(void *unused) diff --git a/sys/i386/isa/wt.c b/sys/i386/isa/wt.c index c8712ca..b6dd3b6 100644 --- a/sys/i386/isa/wt.c +++ b/sys/i386/isa/wt.c @@ -20,7 +20,7 @@ * the original CMU copyright notice. * * Version 1.3, Thu Nov 11 12:09:13 MSK 1993 - * $Id: wt.c,v 1.46 1998/10/22 05:58:41 bde Exp $ + * $Id: wt.c,v 1.47 1998/12/18 18:07:10 bde Exp $ * */ @@ -982,7 +982,7 @@ wtstatus (wtinfo_t *t) } -static wt_devsw_installed = 0; +static int wt_devsw_installed; static void wt_drvinit(void *unused) |