summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/isp_openbsd.c3
-rw-r--r--sys/dev/ic/ncr5380sbc.c3
-rw-r--r--sys/dev/ic/rln.c4
-rw-r--r--sys/dev/ic/rlnsubr.c5
-rw-r--r--sys/dev/ic/wdc.c7
5 files changed, 5 insertions, 17 deletions
diff --git a/sys/dev/ic/isp_openbsd.c b/sys/dev/ic/isp_openbsd.c
index da8874b76f2..a21fe6d291f 100644
--- a/sys/dev/ic/isp_openbsd.c
+++ b/sys/dev/ic/isp_openbsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isp_openbsd.c,v 1.18 2001/04/04 22:07:40 mjacob Exp $ */
+/* $OpenBSD: isp_openbsd.c,v 1.19 2001/06/24 20:59:38 fgsch Exp $ */
/*
* Platform (OpenBSD) dependent common attachment code for Qlogic adapters.
*
@@ -189,7 +189,6 @@ ispminphys(struct buf *bp)
static int32_t
ispcmd_slow(XS_T *xs)
{
- extern int cold;
sdparam *sdp;
int tgt, chan;
u_int16_t f;
diff --git a/sys/dev/ic/ncr5380sbc.c b/sys/dev/ic/ncr5380sbc.c
index 70eb80528b1..e6758678970 100644
--- a/sys/dev/ic/ncr5380sbc.c
+++ b/sys/dev/ic/ncr5380sbc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr5380sbc.c,v 1.9 1997/09/11 01:02:41 kstailey Exp $ */
+/* $OpenBSD: ncr5380sbc.c,v 1.10 2001/06/24 20:59:39 fgsch Exp $ */
/* $NetBSD: ncr5380sbc.c,v 1.13 1996/10/13 01:37:25 christos Exp $ */
/*
@@ -597,7 +597,6 @@ ncr5380_scsi_cmd(xs)
struct ncr5380_softc *sc;
struct sci_req *sr;
int s, rv, i, flags;
- extern int cold; /* XXX */
sc = xs->sc_link->adapter_softc;
diff --git a/sys/dev/ic/rln.c b/sys/dev/ic/rln.c
index c1509effe85..db433db7b76 100644
--- a/sys/dev/ic/rln.c
+++ b/sys/dev/ic/rln.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rln.c,v 1.10 2001/06/23 23:17:35 fgsch Exp $ */
+/* $OpenBSD: rln.c,v 1.11 2001/06/24 20:59:40 fgsch Exp $ */
/*
* David Leonard <d@openbsd.org>, 1999. Public Domain.
*
@@ -155,7 +155,6 @@ rlninit(sc)
/* LLDInit() */
struct ifnet * ifp = &sc->sc_arpcom.ac_if;
int s;
- extern int cold;
s = splnet();
dprintf(" [init]");
@@ -408,7 +407,6 @@ rlnintr(arg)
void * arg;
{
struct rln_softc * sc = (struct rln_softc *)arg;
- extern int cold;
dprintf("!");
diff --git a/sys/dev/ic/rlnsubr.c b/sys/dev/ic/rlnsubr.c
index 70fb4741031..0f69a36cb70 100644
--- a/sys/dev/ic/rlnsubr.c
+++ b/sys/dev/ic/rlnsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rlnsubr.c,v 1.3 1999/08/26 22:28:15 d Exp $ */
+/* $OpenBSD: rlnsubr.c,v 1.4 2001/06/24 20:59:40 fgsch Exp $ */
/*
* David Leonard <d@openbsd.org>, 1999. Public Domain.
*
@@ -829,9 +829,6 @@ rln_mbox_wait(sc, seq, timeo)
int s;
int ret;
volatile struct rln_mbox * mb = &sc->sc_mbox[seq];
-#if defined(RLN_TSLEEP)
- extern int cold;
-#endif
dprintf(" <wait %d", seq);
diff --git a/sys/dev/ic/wdc.c b/sys/dev/ic/wdc.c
index ec7cc396e64..7e5f84877e5 100644
--- a/sys/dev/ic/wdc.c
+++ b/sys/dev/ic/wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc.c,v 1.34 2001/06/06 04:12:19 angelos Exp $ */
+/* $OpenBSD: wdc.c,v 1.35 2001/06/24 20:59:40 fgsch Exp $ */
/* $NetBSD: wdc.c,v 1.68 1999/06/23 19:00:17 bouyer Exp $ */
@@ -613,7 +613,6 @@ wdcattach(chp)
struct ata_atapi_attach aa_link;
struct ataparams params;
static int inited = 0;
- extern int cold;
#ifdef WDCDEBUG
int savedmask = wdcdebug_mask;
#endif
@@ -994,10 +993,6 @@ wdc_wait_for_status(chp, mask, bits, timeout)
u_char status;
int time = 0;
-#ifdef WDCNDELAY_DEBUG
- extern int cold;
-#endif
-
WDCDEBUG_PRINT(("wdcwait %s:%d\n", chp->wdc ?chp->wdc->sc_dev.dv_xname
:"none", chp->channel), DEBUG_STATUS);
chp->ch_error = 0;