Module Name:    src
Committed By:   chs
Date:           Fri Jan 23 03:36:58 UTC 2015

Modified Files:
        src/sys/arch/next68k/stand/boot: en.c

Log Message:
fix build with gcc48.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/next68k/stand/boot/en.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/next68k/stand/boot/en.c
diff -u src/sys/arch/next68k/stand/boot/en.c:1.17 src/sys/arch/next68k/stand/boot/en.c:1.18
--- src/sys/arch/next68k/stand/boot/en.c:1.17	Mon Oct 26 19:16:57 2009
+++ src/sys/arch/next68k/stand/boot/en.c	Fri Jan 23 03:36:58 2015
@@ -1,4 +1,4 @@
-/*      $NetBSD: en.c,v 1.17 2009/10/26 19:16:57 cegger Exp $        */
+/*      $NetBSD: en.c,v 1.18 2015/01/23 03:36:58 chs Exp $        */
 /*
  * Copyright (c) 1996 Rolf Grossmann
  * All rights reserved.
@@ -277,13 +277,17 @@ en_get(struct iodesc *desc, void *pkt, s
 {
 	volatile struct en_regs *er;
 	volatile struct dma_dev *rxdma;
+#if 0
 	volatile struct dma_dev *txdma;
+#endif
 	int state, rxs;
 	size_t rlen;
 	char *gotpkt;
 
 	rxdma = (struct dma_dev *)P_ENETR_CSR;
+#if 0
 	txdma = (struct dma_dev *)P_ENETX_CSR;
+#endif
 	er = (struct en_regs *)P_ENET;
 
 	DPRINTF(("en_get: rxdma->dd_csr = %x\n",rxdma->dd_csr));

Reply via email to