diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c index 3f1ed13f865a..4b22ae52bc6c 100644 --- a/sys/dev/ie/if_ie.c +++ b/sys/dev/ie/if_ie.c @@ -47,7 +47,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ie.c,v 1.56 1998/08/10 17:21:48 bde Exp $ + * $Id: if_ie.c,v 1.57 1998/10/22 05:58:39 bde Exp $ */ /* @@ -2261,7 +2261,9 @@ static int ieioctl(struct ifnet *ifp, u_long command, caddr_t data) { struct ifaddr *ifa = (struct ifaddr *) data; +#if defined(IPX) || defined(NS) struct ie_softc *ie = ifp->if_softc; +#endif struct ifreq *ifr = (struct ifreq *) data; int s, error = 0; diff --git a/sys/i386/isa/if_ie.c b/sys/i386/isa/if_ie.c index 3f1ed13f865a..4b22ae52bc6c 100644 --- a/sys/i386/isa/if_ie.c +++ b/sys/i386/isa/if_ie.c @@ -47,7 +47,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ie.c,v 1.56 1998/08/10 17:21:48 bde Exp $ + * $Id: if_ie.c,v 1.57 1998/10/22 05:58:39 bde Exp $ */ /* @@ -2261,7 +2261,9 @@ static int ieioctl(struct ifnet *ifp, u_long command, caddr_t data) { struct ifaddr *ifa = (struct ifaddr *) data; +#if defined(IPX) || defined(NS) struct ie_softc *ie = ifp->if_softc; +#endif struct ifreq *ifr = (struct ifreq *) data; int s, error = 0; diff --git a/sys/pci/ide_pci.c b/sys/pci/ide_pci.c index 670443ad5c33..70a457092987 100644 --- a/sys/pci/ide_pci.c +++ b/sys/pci/ide_pci.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: ide_pci.c,v 1.14 1998/07/15 02:32:26 bde Exp $ + * $Id: ide_pci.c,v 1.15 1998/12/04 21:41:18 archie Exp $ */ #include "pci.h" @@ -1265,7 +1265,10 @@ ide_pci_dmasetup(void *xcp, char *vaddr, u_long vcount, int dir) u_long prd_base, prd_count; u_long nbase, ncount, nend; int iobase_bm; - u_long count, checkcount; + u_long count; +#ifdef DIAGNOSTIC + u_long checkcount; +#endif prd = cp->prd;