CVS commit: src/sys/arch/evbppc/virtex/dev

2020-02-03 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Tue Feb  4 07:36:04 UTC 2020

Modified Files:
src/sys/arch/evbppc/virtex/dev: if_temac.c

Log Message:
Adopt 


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/evbppc/virtex/dev/if_temac.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/evbppc/virtex/dev/if_temac.c
diff -u src/sys/arch/evbppc/virtex/dev/if_temac.c:1.15 src/sys/arch/evbppc/virtex/dev/if_temac.c:1.16
--- src/sys/arch/evbppc/virtex/dev/if_temac.c:1.15	Wed May 29 06:21:57 2019
+++ src/sys/arch/evbppc/virtex/dev/if_temac.c	Tue Feb  4 07:36:04 2020
@@ -1,4 +1,4 @@
-/* 	$NetBSD: if_temac.c,v 1.15 2019/05/29 06:21:57 msaitoh Exp $ */
+/* 	$NetBSD: if_temac.c,v 1.16 2020/02/04 07:36:04 skrll Exp $ */
 
 /*
  * Copyright (c) 2006 Jachym Holecek
@@ -40,7 +40,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: if_temac.c,v 1.15 2019/05/29 06:21:57 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_temac.c,v 1.16 2020/02/04 07:36:04 skrll Exp $");
 
 
 #include 
@@ -1212,7 +1212,7 @@ temac_rxreap(struct temac_softc *sc)
 			(TEMAC_ISINTR(tail) ? CDMAC_STAT_INTR : 0) |
 			(TEMAC_ISLAST(tail) ? CDMAC_STAT_STOP : 0);
 
-			ifp->if_ierrors++;
+			if_statinc(ifp, if_ierrors);
 			continue;
  		}
 



CVS commit: src/sys/arch/evbppc/virtex/dev

2012-07-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sun Jul 22 14:02:45 UTC 2012

Modified Files:
src/sys/arch/evbppc/virtex/dev: tft.c

Log Message:
Silence a gcc warning.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbppc/virtex/dev/tft.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/evbppc/virtex/dev/tft.c
diff -u src/sys/arch/evbppc/virtex/dev/tft.c:1.4 src/sys/arch/evbppc/virtex/dev/tft.c:1.5
--- src/sys/arch/evbppc/virtex/dev/tft.c:1.4	Fri Jul  1 19:03:50 2011
+++ src/sys/arch/evbppc/virtex/dev/tft.c	Sun Jul 22 14:02:45 2012
@@ -1,4 +1,4 @@
-/* 	$NetBSD: tft.c,v 1.4 2011/07/01 19:03:50 dyoung Exp $ */
+/* 	$NetBSD: tft.c,v 1.5 2012/07/22 14:02:45 matt Exp $ */
 
 /*
  * Copyright (c) 2006 Jachym Holecek
@@ -30,7 +30,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: tft.c,v 1.4 2011/07/01 19:03:50 dyoung Exp $);
+__KERNEL_RCSID(0, $NetBSD: tft.c,v 1.5 2012/07/22 14:02:45 matt Exp $);
 
 #include sys/param.h
 #include sys/systm.h
@@ -92,8 +92,7 @@ tft_attach(device_t self, struct wsdispl
 	sc-sc_ws_descr_storage[0] = tft_screen; 	/* struct copy */
 	sc-sc_ws_descr = sc-sc_ws_descr_storage;
 	sc-sc_ws_scrlist.nscreens = 1;
-	sc-sc_ws_scrlist.screens =
-	(const struct wsscreen_descr **)sc-sc_ws_descr;
+	sc-sc_ws_scrlist.screens = (void *) sc-sc_ws_descr;
 
 	vcons_init(sc-sc_vc_data, self, sc-sc_ws_descr, accessops);
 



CVS commit: src/sys/arch/evbppc/virtex/dev

2009-12-31 Thread Jachym Holecek
Module Name:src
Committed By:   freza
Date:   Thu Dec 31 13:10:47 UTC 2009

Modified Files:
src/sys/arch/evbppc/virtex/dev: if_temac.c

Log Message:
Remove unused variable, makes VIRTEX_* kernels compile again.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/evbppc/virtex/dev/if_temac.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/evbppc/virtex/dev/if_temac.c
diff -u src/sys/arch/evbppc/virtex/dev/if_temac.c:1.4 src/sys/arch/evbppc/virtex/dev/if_temac.c:1.5
--- src/sys/arch/evbppc/virtex/dev/if_temac.c:1.4	Tue Feb 12 18:03:43 2008
+++ src/sys/arch/evbppc/virtex/dev/if_temac.c	Thu Dec 31 13:10:46 2009
@@ -1,4 +1,4 @@
-/* 	$NetBSD: if_temac.c,v 1.4 2008/02/12 18:03:43 dyoung Exp $ */
+/* 	$NetBSD: if_temac.c,v 1.5 2009/12/31 13:10:46 freza Exp $ */
 
 /*
  * Copyright (c) 2006 Jachym Holecek
@@ -40,7 +40,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: if_temac.c,v 1.4 2008/02/12 18:03:43 dyoung Exp $);
+__KERNEL_RCSID(0, $NetBSD: if_temac.c,v 1.5 2009/12/31 13:10:46 freza Exp $);
 
 #include bpfilter.h
 
@@ -649,7 +649,6 @@
 temac_ioctl(struct ifnet *ifp, u_long cmd, void *data)
 {
 	struct temac_softc 	*sc = (struct temac_softc *)ifp-if_softc;
-	struct ifreq 		*ifr = (struct ifreq *)data;
 	int 			s, ret;
 
 	s = splnet();



CVS commit: src/sys/arch/evbppc/virtex/dev

2009-10-25 Thread Adam Hoka
Module Name:src
Committed By:   ahoka
Date:   Sun Oct 25 09:32:25 UTC 2009

Modified Files:
src/sys/arch/evbppc/virtex/dev: tft_plb.c

Log Message:
Remove obscenity from comments.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/evbppc/virtex/dev/tft_plb.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/evbppc/virtex/dev/tft_plb.c
diff -u src/sys/arch/evbppc/virtex/dev/tft_plb.c:1.2 src/sys/arch/evbppc/virtex/dev/tft_plb.c:1.3
--- src/sys/arch/evbppc/virtex/dev/tft_plb.c:1.2	Sun Mar  4 05:59:46 2007
+++ src/sys/arch/evbppc/virtex/dev/tft_plb.c	Sun Oct 25 09:32:25 2009
@@ -1,4 +1,4 @@
-/* 	$NetBSD: tft_plb.c,v 1.2 2007/03/04 05:59:46 christos Exp $ */
+/* 	$NetBSD: tft_plb.c,v 1.3 2009/10/25 09:32:25 ahoka Exp $ */
 
 /*
  * Copyright (c) 2006 Jachym Holecek
@@ -30,7 +30,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: tft_plb.c,v 1.2 2007/03/04 05:59:46 christos Exp $);
+__KERNEL_RCSID(0, $NetBSD: tft_plb.c,v 1.3 2009/10/25 09:32:25 ahoka Exp $);
 
 #include sys/param.h
 #include sys/systm.h
@@ -134,7 +134,7 @@
 	/* XXX hack, use predefined base addr */
 	sc-sc_image = (void *)(uintptr_t)0x3c0;
 
-	/* XXX fuck the hack above, use virtex-tft-framebuffer-base prop */
+	/* XXX forget the hack above, use virtex-tft-framebuffer-base prop */
 
 	tft_attach(self, plb_tft_accessops);
 
@@ -151,7 +151,7 @@
 	bus_space_write_4(sc-sc_iot, sc-sc_ioh, TFT_CTRL, CTRL_ENABLE);
 
 #if 0
-	/* XXX how the fuck do we change framebuffer base? */
+	/* XXX how do we change framebuffer base? */
 	bus_space_write_4(sc-sc_iot, sc-sc_ioh, TFT_CTRL, CTRL_RESET);
 	bus_space_write_4(sc-sc_iot, sc-sc_ioh, TFT_CTRL, CTRL_ENABLE);
 	bus_space_write_4(sc-sc_iot, sc-sc_ioh, TFT_ADDR,