Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/scsipi Make this build again. Sorry about that.



details:   https://anonhg.NetBSD.org/src/rev/9b16be16b71c
branches:  trunk
changeset: 369720:9b16be16b71c
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Aug 29 07:32:46 2022 +0000

description:
Make this build again.  Sorry about that.

diffstat:

 sys/dev/scsipi/if_se.c |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (54 lines):

diff -r 558ed4720149 -r 9b16be16b71c sys/dev/scsipi/if_se.c
--- a/sys/dev/scsipi/if_se.c    Mon Aug 29 01:48:34 2022 +0000
+++ b/sys/dev/scsipi/if_se.c    Mon Aug 29 07:32:46 2022 +0000
@@ -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 <ian.dall%dsto.defence.gov.au@localhost>
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__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    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(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 @@
 
        se_reset(sc);
 }
-#endif
 
 static void
 se_reset(struct se_softc *sc)
@@ -794,6 +797,7 @@
 #endif
        se_init(sc);
 }
+#endif
 
 static int
 se_add_proto(struct se_softc *sc, int proto)



Home | Main Index | Thread Index | Old Index