summaryrefslogtreecommitdiffstats
path: root/sys/dev/sr
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1999-11-19 09:19:44 +0000
committerjulian <julian@FreeBSD.org>1999-11-19 09:19:44 +0000
commite5d303ce2263d41a10604f506b5c9caa0f2fc9b3 (patch)
tree8eb203c5f5816d910a306581ecebc377c3286f2e /sys/dev/sr
parent54cbef02b29b84ccb928ebe54d8fd754173d791f (diff)
downloadFreeBSD-src-e5d303ce2263d41a10604f506b5c9caa0f2fc9b3.zip
FreeBSD-src-e5d303ce2263d41a10604f506b5c9caa0f2fc9b3.tar.gz
fix braino.. line misplaced.
Diffstat (limited to 'sys/dev/sr')
-rw-r--r--sys/dev/sr/if_sr.c2
-rw-r--r--sys/dev/sr/if_sr_isa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sr/if_sr.c b/sys/dev/sr/if_sr.c
index 0bcc23b..66a7dd1 100644
--- a/sys/dev/sr/if_sr.c
+++ b/sys/dev/sr/if_sr.c
@@ -1160,7 +1160,6 @@ srstart(struct sr_softc *sc)
sca_descriptor *txdesc; /* working descriptor pointr */
struct buf_block *blkp;
- hc = sc->hc;
#ifndef NETGRAPH
#if BUGGY > 0
printf("sr: srstart( ifp=%08x)\n", ifp);
@@ -1169,6 +1168,7 @@ srstart(struct sr_softc *sc)
if ((ifp->if_flags & IFF_RUNNING) == 0)
return;
#endif /* NETGRAPH */
+ hc = sc->hc;
/*
* It is OK to set the memory window outside the loop because all tx
* buffers and descriptors are assumed to be in the same 16K window.
diff --git a/sys/dev/sr/if_sr_isa.c b/sys/dev/sr/if_sr_isa.c
index 0bcc23b..66a7dd1 100644
--- a/sys/dev/sr/if_sr_isa.c
+++ b/sys/dev/sr/if_sr_isa.c
@@ -1160,7 +1160,6 @@ srstart(struct sr_softc *sc)
sca_descriptor *txdesc; /* working descriptor pointr */
struct buf_block *blkp;
- hc = sc->hc;
#ifndef NETGRAPH
#if BUGGY > 0
printf("sr: srstart( ifp=%08x)\n", ifp);
@@ -1169,6 +1168,7 @@ srstart(struct sr_softc *sc)
if ((ifp->if_flags & IFF_RUNNING) == 0)
return;
#endif /* NETGRAPH */
+ hc = sc->hc;
/*
* It is OK to set the memory window outside the loop because all tx
* buffers and descriptors are assumed to be in the same 16K window.
OpenPOWER on IntegriCloud