From fa4f8e8bbfdcdf1646f02cdad392d158b63f38c6 Mon Sep 17 00:00:00 2001 From: skrll Date: Mon, 29 Aug 2022 07:32:46 +0000 Subject: Make this build again. Sorry about that. --- sys/dev/scsipi/if_se.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/scsipi/if_se.c b/sys/dev/scsipi/if_se.c index 6877341db26..c7bb89c848a 100644 --- a/sys/dev/scsipi/if_se.c +++ b/sys/dev/scsipi/if_se.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_se.c,v 1.117 2022/08/28 09:48:12 skrll Exp $ */ +/* $NetBSD: if_se.c,v 1.118 2022/08/29 07:32:46 skrll Exp $ */ /* * Copyright (c) 1997 Ian W. Dall @@ -59,7 +59,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_se.c,v 1.117 2022/08/28 09:48:12 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_se.c,v 1.118 2022/08/29 07:32:46 skrll Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -207,7 +207,9 @@ static void se_ifstart(struct ifnet *); static void sedone(struct scsipi_xfer *, int); static int se_ioctl(struct ifnet *, u_long, void *); +#if 0 static void sewatchdog(struct ifnet *); +#endif #if 0 static inline uint16_t ether_cmp(void *, void *); @@ -217,7 +219,9 @@ static void se_recv_worker(struct work *wk, void *cookie); static void se_recv(struct se_softc *); static struct mbuf *se_get(struct se_softc *, char *, int); static int se_read(struct se_softc *, char *, int); +#if 0 static void se_reset(struct se_softc *); +#endif static int se_add_proto(struct se_softc *, int); static int se_get_addr(struct se_softc *, uint8_t *); static int se_set_media(struct se_softc *, int); @@ -778,7 +782,6 @@ sewatchdog(struct ifnet *ifp) se_reset(sc); } -#endif static void se_reset(struct se_softc *sc) @@ -794,6 +797,7 @@ se_reset(struct se_softc *sc) #endif se_init(sc); } +#endif static int se_add_proto(struct se_softc *sc, int proto) -- cgit