From e5d303ce2263d41a10604f506b5c9caa0f2fc9b3 Mon Sep 17 00:00:00 2001 From: julian Date: Fri, 19 Nov 1999 09:19:44 +0000 Subject: fix braino.. line misplaced. --- sys/dev/sr/if_sr.c | 2 +- sys/dev/sr/if_sr_isa.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/sr') 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. -- cgit v1.1