CVS commit: src/sys/arch/mips/mips

2015-02-08 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Feb 8 15:22:33 UTC 2015 Modified Files: src/sys/arch/mips/mips: bus_space_alignstride_chipdep.c Log Message: - add CHIP_WRONG_ENDIAN for things like PCI buses behind endianness converting hardware that can't be turned

CVS commit: src/sys/arch/sgimips/dev

2015-01-20 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jan 20 12:13:04 UTC 2015 Modified Files: src/sys/arch/sgimips/dev: crmfb.c crmfbreg.h Log Message: - remove scratch area, it's been unused since we're drawing characters by hardware - don't sync the rendering engine

CVS commit: src/sys/arch/sgimips/conf

2015-02-18 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Feb 18 11:15:19 UTC 2015 Modified Files: src/sys/arch/sgimips/conf: GENERIC64_32_IP2x GENERIC64_32_IP3x std.sgimips64_32 Log Message: cleanup compat options, disable COMPAT_LINUX for N32 kernels To generate a

CVS commit: src/sys/arch/mips/mips

2015-02-16 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Feb 16 14:10:00 UTC 2015 Modified Files: src/sys/arch/mips/mips: bus_dma.c Log Message: mmap() DMA buffers uncached if we know how. From sgimips, needed for X on O2. To generate a diff of this commit: cvs rdiff -u -r1.32

CVS commit: src/sys/arch/sgimips

2015-02-18 Thread Michael Lorenz
16:47:58 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: panel.c,v 1.2 2011/02/16 23:44:19 jmcneill Exp $ */ +/* $NetBSD: panel.c,v 1.3 2015/02/18 16:47:58 macallan Exp $ */ /*- * Copyright (c) 2009 Michael Lorenz @@ -27,7 +27,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: panel.c,v 1.2 2011/02

CVS commit: src/sys/arch/mips/mips

2015-02-17 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 17 09:58:33 UTC 2015 Modified Files: src/sys/arch/mips/mips: bus_dma.c Log Message: do as others do and mmap() DMA buffers uncached if we get BUS_DMA_PREFETCHABLE passed in flags To generate a diff of this commit: cvs

CVS commit: src/sys/arch/sgimips/mace

2015-02-17 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Feb 17 11:25:43 UTC 2015 Modified Files: src/sys/arch/sgimips/mace: mavb.c Log Message: move DAC1 output channel to master so things like OSS and kmix work as expected To generate a diff of this commit: cvs rdiff -u -r1.9

CVS commit: src/sys/dev/sbus

2015-01-06 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* a console driver for the SSB 4096V-MGX graphics card */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: mgx.c,v 1.2 2015/01/04 18:18:20 macallan Exp $); +__KERNEL_RCSID(0, $NetBSD: mgx.c,v 1.3 2015/01/06 13:54:18 macallan Exp $); #include

CVS commit: src/sys/arch/sparc64/conf

2015-01-07 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Wed Jan 7 09:50:05 UTC 2015 Modified Files: src/sys/arch/sparc64/conf: GENERIC Log Message: enable genfb at sbus output may not be pretty but it has a halfway decent chance to work at least to some degree on otherwise

CVS commit: src/sys/arch/mips/mips

2015-02-13 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Feb 13 14:11:12 UTC 2015 Modified Files: src/sys/arch/mips/mips: bus_space_alignstride_chipdep.c Log Message: fix previous for LP64 To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 \

CVS commit: src/sys/arch/mips/mips

2015-02-12 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Feb 12 13:29:15 UTC 2015 Modified Files: src/sys/arch/mips/mips: bus_space_alignstride_chipdep.c Log Message: in unmap(): - fix pasto in debug output - shut up a set-but-not-used warning To generate a diff of this commit:

CVS commit: src/sys/dev/sbus

2015-01-04 Thread Michael Lorenz
:34 2014 +++ src/sys/dev/sbus/mgx.c Sun Jan 4 18:18:20 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: mgx.c,v 1.1 2014/12/16 21:01:34 macallan Exp $ */ +/* $NetBSD: mgx.c,v 1.2 2015/01/04 18:18:20 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* a console driver for the SSB

CVS commit: src/sys/dev/sbus

2015-01-06 Thread Michael Lorenz
13:54:18 2015 +++ src/sys/dev/sbus/mgx.c Tue Jan 6 17:41:30 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: mgx.c,v 1.3 2015/01/06 13:54:18 macallan Exp $ */ +/* $NetBSD: mgx.c,v 1.4 2015/01/06 17:41:30 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* a console driver

CVS commit: src/sys/arch/sparc64/conf

2015-01-06 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jan 6 17:51:57 UTC 2015 Modified Files: src/sys/arch/sparc64/conf: GENERIC Log Message: add mgx driver To generate a diff of this commit: cvs rdiff -u -r1.177 -r1.178 src/sys/arch/sparc64/conf/GENERIC Please note that

CVS commit: src/sys/arch/alpha/conf

2015-01-06 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jan 6 17:50:24 UTC 2015 Modified Files: src/sys/arch/alpha/conf: GENERIC Log Message: attach wsdisplay at wsemuldisplaydev instead of every single driver To generate a diff of this commit: cvs rdiff -u -r1.363 -r1.364

CVS commit: src/sys/arch/mips/ingenic

2015-03-17 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -372,4 +372,12 @@ gpio_as_intr_level(uint32_t g, int pin) writereg(reg + JZ_GPIO_FLAGC, mask); /* clear it */ writereg(reg + JZ_GPIO_MASKC, mask); /* enable it */ } + +/* I2C / SMBus */ +#define JZ_SMB0_BASE 0x1005 +#define JZ_SMB1_BASE 0x10051000 +#define

CVS commit: src/sys/dev/usb

2015-03-17 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Mar 17 08:14:30 UTC 2015 Modified Files: src/sys/dev/usb: usbdevs Log Message: add Ingenic Semiconductor Ltd. To generate a diff of this commit: cvs rdiff -u -r1.692 -r1.693 src/sys/dev/usb/usbdevs Please note that diffs

CVS commit: src/sys/arch/evbmips/conf

2015-03-17 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Mar 17 07:28:18 UTC 2015 Modified Files: src/sys/arch/evbmips/conf: CI20 Log Message: do as arm does and get rid of addresses in kernel config To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11

CVS commit: src/sys/arch/mips/ingenic

2015-03-17 Thread Michael Lorenz
: apbus.c,v 1.8 2015/03/17 07:25:07 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* catch-all for on-chip peripherals */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: apbus.c,v 1.7 2015/03/09 13:24:21 macallan Exp $); +__KERNEL_RCSID(0, $NetBSD: apbus.c,v 1.8

CVS commit: src/sys/arch/mips/ingenic

2015-03-17 Thread Michael Lorenz
+1,4 @@ -/* $NetBSD: ingenic_dwctwo.c,v 1.8 2015/03/17 07:25:07 macallan Exp $ */ +/* $NetBSD: ingenic_dwctwo.c,v 1.9 2015/03/17 09:27:09 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -27,7 +27,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: ingenic_dwctwo.c,v 1.8 2015

CVS commit: src/sys/arch/mips/ingenic

2015-03-17 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* catch-all for on-chip peripherals */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: apbus.c,v 1.8 2015/03/17 07:25:07 macallan Exp $); +__KERNEL_RCSID(0, $NetBSD: apbus.c,v 1.9 2015/03/17 09:26:31 macallan Exp $); #include locators.h

CVS commit: src/sys/arch/mips/ingenic

2015-03-19 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* catch-all for on-chip peripherals */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: apbus.c,v 1.9 2015/03/17 09:26:31 macallan Exp $); +__KERNEL_RCSID(0, $NetBSD: apbus.c,v 1.10 2015/03/19 12:22:00 macallan Exp $); #include

CVS commit: src/sys/arch/mips/ingenic

2015-03-19 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -380,4 +380,71 @@ gpio_as_intr_level(uint32_t g, int pin) #define JZ_SMB3_BASE 0x10053000 #define JZ_SMB4_BASE 0x10054000 +/* SMBus register offsets, per port */ +#define JZ_SMBCON 0x00 /* SMB control */ + #define JZ_STPHLD 0x80 /* Stop Hold Enable bit */ + #define

CVS commit: src/sys/dev/pci

2015-03-19 Thread Michael Lorenz
21:59:19 2012 +++ src/sys/dev/pci/wcfb.c Fri Mar 20 01:20:15 2015 @@ -1,33 +1,26 @@ -/* $NetBSD: wcfb.c,v 1.12 2012/10/09 21:59:19 macallan Exp $ */ +/* $NetBSD: wcfb.c,v 1.13 2015/03/20 01:20:15 macallan Exp $ */ -/*- - * Copyright (c) 2010 Michael Lorenz - * All rights reserved

CVS commit: src/sys/arch/mips/ingenic

2015-03-09 Thread Michael Lorenz
Michael Lorenz @@ -221,7 +221,7 @@ MFC0(uint32_t r, uint32_t s) #define PCR_TXPREEMPH 0x0080 /* HS transm. pre-emphasis */ #define PCR_TXHSXVTUNE1 0x0060 /* dp/dm voltage adj. */ #define PCR_TXVREFTUNE1 0x0017 /* HS DC voltage adj. */ - #define PCR_TXRISETUNE1 0x0001 /* risa

CVS commit: src/sys/arch/mips/ingenic

2015-03-09 Thread Michael Lorenz
+++ src/sys/arch/mips/ingenic/apbus.c Mon Mar 9 13:24:21 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: apbus.c,v 1.6 2014/12/27 17:22:15 macallan Exp $ */ +/* $NetBSD: apbus.c,v 1.7 2015/03/09 13:24:21 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* catch-all for on-chip

CVS commit: src/sys/arch/mips/ingenic

2015-03-09 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -27,7 +27,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: ingenic_dwctwo.c,v 1.5 2014/12/27 17:22:15 macallan Exp $); +__KERNEL_RCSID(0, $NetBSD: ingenic_dwctwo.c,v 1.6 2015/03/09 13:23:57 macallan Exp $); /* * adapted from

CVS commit: src/sys/arch/evbmips/conf

2015-03-12 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Mar 10 18:20:20 UTC 2015 Modified Files: src/sys/arch/evbmips/conf: CI20 Log Message: add dme at apbus ( onboard ethernet ) To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/evbmips/conf/CI20

CVS commit: src/sys/arch/mips/ingenic

2015-03-07 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -27,7 +27,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: ingenic_com.c,v 1.3 2014/12/23 15:12:23 macallan Exp $); +__KERNEL_RCSID(0, $NetBSD: ingenic_com.c,v 1.4 2015/03/07 15:35:33 macallan Exp $); #include sys/param.h #include sys

CVS commit: src/sys/arch/mips/ingenic

2015-03-07 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -249,4 +249,11 @@ MFC0(uint32_t r, uint32_t s) #define JZ_DMR1 0x10001044 /* mask for PDMA */ #define JZ_DPR1 0x10001048 /* pending for PDMA */ +/* memory controller */ +#define JZ_DMMAP0 0x13010024 +#define JZ_DMMAP1 0x13010028 + #define DMMAP_BASE

CVS commit: src/sys/arch/evbmips/ingenic

2015-03-07 Thread Michael Lorenz
macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -27,7 +27,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: machdep.c,v 1.3 2014/12/23 15:09:13 macallan Exp $); +__KERNEL_RCSID(0, $NetBSD: machdep.c,v 1.4 2015/03/07 15:38:32 macallan Exp $); #include opt_ddb.h

CVS commit: src/sys/arch/evbmips/ingenic

2015-03-07 Thread Michael Lorenz
Michael Lorenz @@ -27,7 +27,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: intr.c,v 1.5 2015/03/05 17:42:29 macallan Exp $); +__KERNEL_RCSID(0, $NetBSD: intr.c,v 1.6 2015/03/07 15:37:46 macallan Exp $); #define __INTR_PRIVATE @@ -234,13 +234,13 @@ ingenic_irq(int ipl) while (bit

CVS commit: src/sys/arch/evbmips/conf

2015-03-07 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Mar 7 15:39:57 UTC 2015 Modified Files: src/sys/arch/evbmips/conf: CI20 Log Message: comment out debug spam, add more filesystems To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/evbmips/conf/CI20

CVS commit: src/sys/dev/ic

2015-03-07 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Mar 7 15:49:20 UTC 2015 Modified Files: src/sys/dev/ic: com.c comreg.h Log Message: more Ingenic support: - make sure we always set FIFO_UART_ON - deal with the absence of DCD support - enable the TX FIFO timeout interrupt

CVS commit: src/sys/dev/ic

2015-03-14 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Mar 14 13:45:44 UTC 2015 Modified Files: src/sys/dev/ic: dm9000.c Log Message: KNF police To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/ic/dm9000.c Please note that diffs are not public domain;

CVS commit: src/sys/dev/ic

2015-03-10 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Mar 10 18:01:04 UTC 2015 Modified Files: src/sys/dev/ic: dm9000.c Log Message: support 8bit mode, needed for ci20 To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/dm9000.c Please note that diffs

CVS commit: src/sys/arch/mips/ingenic

2015-03-10 Thread Michael Lorenz
$ */ +/* $NetBSD: ingenic_dwctwo.c,v 1.7 2015/03/10 18:03:17 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -27,7 +27,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: ingenic_dwctwo.c,v 1.6 2015/03/09 13:23:57 macallan Exp $); +__KERNEL_RCSID(0, $NetBSD

CVS commit: src/sys/arch/mips/ingenic

2015-03-10 Thread Michael Lorenz
/arch/mips/ingenic/ingenic_dme.c Tue Mar 10 18:15:47 2015 @@ -0,0 +1,165 @@ +/* $NetBSD: ingenic_dme.c,v 1.1 2015/03/10 18:15:47 macallan Exp $ */ + +/*- + * Copyright (c) 2015 Michael Lorenz + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without

CVS commit: src/sys/arch/mips/conf

2015-03-10 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Mar 10 18:16:20 UTC 2015 Modified Files: src/sys/arch/mips/conf: files.ingenic Log Message: config goop for dme To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/mips/conf/files.ingenic Please note

CVS commit: src/sys/arch/evbmips/ingenic

2015-03-11 Thread Michael Lorenz
/ingenic/intr.c:1.6 Sat Mar 7 15:37:46 2015 +++ src/sys/arch/evbmips/ingenic/intr.c Wed Mar 11 12:40:36 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: intr.c,v 1.6 2015/03/07 15:37:46 macallan Exp $ */ +/* $NetBSD: intr.c,v 1.7 2015/03/11 12:40:36 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -27,7

CVS commit: src/sys/arch/evbmips/ingenic

2015-03-10 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -27,7 +27,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: machdep.c,v 1.4 2015/03/07 15:38:32 macallan Exp $); +__KERNEL_RCSID(0, $NetBSD: machdep.c,v 1.5 2015/03/10 22:39:38 macallan Exp $); #include opt_ddb.h #include opt_kgdb.h @@ -149,7 +149,7

CVS commit: src/sys/arch/mips/include

2015-03-29 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Mar 29 12:00:02 UTC 2015 Modified Files: src/sys/arch/mips/include: cpuset.h types.h Log Message: use 32bit __cpuset_t in o32 kernels ok matt@ To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/evbmips/ingenic

2015-03-28 Thread Michael Lorenz
/evbmips/ingenic/intr.c:1.7 Wed Mar 11 12:40:36 2015 +++ src/sys/arch/evbmips/ingenic/intr.c Sat Mar 28 16:57:23 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: intr.c,v 1.7 2015/03/11 12:40:36 macallan Exp $ */ +/* $NetBSD: intr.c,v 1.8 2015/03/28 16:57:23 macallan Exp $ */ /*- * Copyright (c) 2014 Michael

CVS commit: src/sys/arch/mips/mips

2015-02-27 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Feb 27 14:44:16 UTC 2015 Modified Files: src/sys/arch/mips/mips: bus_space_alignstride_chipdep.c Log Message: on o32 kernels with MIPS3 use mips3_sd() and mips3_ld() in *read*_8() and *write*_8() methods needed by sgimips,

CVS commit: src/sys/arch/evbmips/ingenic

2015-03-05 Thread Michael Lorenz
) 2014 Michael Lorenz @@ -27,7 +27,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: intr.c,v 1.4 2014/12/26 18:06:52 macallan Exp $); +__KERNEL_RCSID(0, $NetBSD: intr.c,v 1.5 2015/03/05 17:42:29 macallan Exp $); #define __INTR_PRIVATE @@ -184,6 +184,7 @@ evbmips_iointr(int ipl, vaddr_t

CVS commit: src/sys/arch/mips

2015-03-08 Thread Michael Lorenz
:27 2015 @@ -0,0 +1,151 @@ +/* $NetBSD: ingenic_ehci.c,v 1.1 2015/03/08 17:14:27 macallan Exp $ */ + +/*- + * Copyright (c) 2015 Michael Lorenz + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided

CVS commit: src/sys/arch/evbmips/conf

2015-03-08 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Mar 8 17:15:58 UTC 2015 Modified Files: src/sys/arch/evbmips/conf: CI20 Log Message: add ohci and commented out ehci To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/evbmips/conf/CI20 Please note

CVS commit: src/sys/arch/mips/ingenic

2015-03-25 Thread Michael Lorenz
$ */ +/* $NetBSD: apbus.c,v 1.11 2015/03/25 11:25:10 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* catch-all for on-chip peripherals */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: apbus.c,v 1.10 2015/03/19 12:22:00 macallan Exp $); +__KERNEL_RCSID(0, $NetBSD: apbus.c

CVS commit: src/sys/arch/mips/ingenic

2015-03-25 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -162,6 +162,19 @@ MFC0(uint32_t r, uint32_t s) #define CP0_CORE_MBOX 20 /* select 0 for core 0, 1 for 1 */ /* power management */ +#define JZ_CPCCR 0x1000 /* Clock Control Register */ + #define JZ_PDIV_M 0x000f /* PCLK divider mask */ + #define

CVS commit: src/sys/arch/mips/ingenic

2015-04-21 Thread Michael Lorenz
Apr 4 12:28:52 2015 +++ src/sys/arch/mips/ingenic/jziic.c Tue Apr 21 06:12:41 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: jziic.c,v 1.1 2015/04/04 12:28:52 macallan Exp $ */ +/* $NetBSD: jziic.c,v 1.2 2015/04/21 06:12:41 macallan Exp $ */ /*- * Copyright (c) 2015 Michael Lorenz @@ -27,7 +27,7

CVS commit: src/sys/arch/mips/ingenic

2015-04-21 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -26,11 +26,12 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include mips/locore.h - #ifndef INGENIC_REGS_H #define INGENIC_REGS_H +/* for wbflush() */ +#include mips/locore.h + /* UARTs, mostly 16550 compatible with 32bit spaced registers */ #define

CVS commit: src/sys/arch/mips/ingenic

2015-04-21 Thread Michael Lorenz
macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -181,6 +181,12 @@ MFC0(uint32_t r, uint32_t s) #define JZ_PLLBP 0x0002 /* PLL bypass */ #define JZ_PLLEN 0x0001 /* PLL enable */ #define JZ_CLKGR0 0x1020 /* CLocK Gating Registers */ + #define CLK_OTG0 (1 2) + #define

CVS commit: src/sys/arch/mips/ingenic

2015-04-22 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -181,12 +181,39 @@ MFC0(uint32_t r, uint32_t s) #define JZ_PLLBP 0x0002 /* PLL bypass */ #define JZ_PLLEN 0x0001 /* PLL enable */ #define JZ_CLKGR0 0x1020 /* CLocK Gating Registers */ + #define CLK_NEMC (1 0) + #define CLK_BCH (1 1) #define

CVS commit: src/sys/arch/mips/ingenic

2015-04-21 Thread Michael Lorenz
11:25:10 2015 +++ src/sys/arch/mips/ingenic/apbus.c Tue Apr 21 19:57:41 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: apbus.c,v 1.11 2015/03/25 11:25:10 macallan Exp $ */ +/* $NetBSD: apbus.c,v 1.12 2015/04/21 19:57:41 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* catch-all

CVS commit: src/sys/arch/mips/ingenic

2015-04-28 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -557,4 +557,166 @@ gpio_as_intr_level(uint32_t g, int pin) #define JZ_MSC1_BASE 0x1346 #define JZ_MSC2_BASE 0x1347 +#define JZ_MSC_CTRL 0x00 + #define JZ_SEND_CCSD 0x8000 + #define JZ_SEND_AS_CCSD 0x4000 + #define JZ_EXIT_MULTIPLE 0x0080 + #define

CVS commit: src/sys/arch/mips/ingenic

2015-04-28 Thread Michael Lorenz
/apbus.c:1.12 Tue Apr 21 19:57:41 2015 +++ src/sys/arch/mips/ingenic/apbus.c Tue Apr 28 15:08:07 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: apbus.c,v 1.12 2015/04/21 19:57:41 macallan Exp $ */ +/* $NetBSD: apbus.c,v 1.13 2015/04/28 15:08:07 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7

CVS commit: src/sys/arch/mips/ingenic

2015-04-28 Thread Michael Lorenz
1.10 2015/04/28 15:07:07 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -27,7 +27,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: ingenic_dwctwo.c,v 1.9 2015/03/17 09:27:09 macallan Exp $); +__KERNEL_RCSID(0, $NetBSD: ingenic_dwctwo.c,v 1.10 2015/04/28 15:07:07

CVS commit: src/external/mit/xorg/lib/pixman

2015-05-02 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat May 2 14:54:18 UTC 2015 Modified Files: src/external/mit/xorg/lib/pixman: Makefile Log Message: build Loongson-MMI support only on mips64el To generate a diff of this commit: cvs rdiff -u -r1.31 -r1.32

CVS commit: src/sys/arch/mips/ingenic

2015-05-04 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -170,6 +170,8 @@ MFC0(uint32_t r, uint32_t s) #define JZ_CPCCR 0x1000 /* Clock Control Register */ #define JZ_PDIV_M 0x000f /* PCLK divider mask */ #define JZ_PDIV_S 16 /* PCLK divider shift */ + #define JZ_CDIV_M 0x000f /* CPU

CVS commit: src/sys/arch/mips/ingenic

2015-05-04 Thread Michael Lorenz
macallan Exp $ */ +/* $NetBSD: apbus.c,v 1.14 2015/05/04 12:23:15 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* catch-all for on-chip peripherals */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: apbus.c,v 1.13 2015/04/28 15:08:07 macallan Exp

CVS commit: src/sys/dev/ic

2015-05-04 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon May 4 20:25:48 UTC 2015 Modified Files: src/sys/dev/ic: com.c Log Message: fix pasto, use SET() and CLR() thanks jmcneill@ To generate a diff of this commit: cvs rdiff -u -r1.334 -r1.335 src/sys/dev/ic/com.c Please note

CVS commit: src/sys/arch/mips/ingenic

2015-05-18 Thread Michael Lorenz
/05/18 15:11:47 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -27,7 +27,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: ingenic_dwctwo.c,v 1.10 2015/04/28 15:07:07 macallan Exp $); +__KERNEL_RCSID(0, $NetBSD: ingenic_dwctwo.c,v 1.11 2015/05/18 15:11:47 macallan Exp

CVS commit: src/sys/arch/mips/ingenic

2015-05-18 Thread Michael Lorenz
$ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -269,6 +269,7 @@ MFC0(uint32_t r, uint32_t s) #define PCR_TXHSXVTUNE 0x0030 #define PCR_TXVREFTUNE 0x000f #define JZ_USBRDT 0x1040 /* Reset Detect Timer Register */ +#define JZ_USBVBFIL 0x1044 #define JZ_USBPCR1 0x1048 #define

CVS commit: src/sys/arch/mips/ingenic

2015-05-18 Thread Michael Lorenz
2015 @@ -1,4 +1,4 @@ -/* $NetBSD: apbus.c,v 1.14 2015/05/04 12:23:15 macallan Exp $ */ +/* $NetBSD: apbus.c,v 1.15 2015/05/18 15:07:52 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* catch-all for on-chip peripherals */ #include sys/cdefs.h -__KERNEL_RCSID(0

CVS commit: src/sys/arch/mips

2015-04-04 Thread Michael Lorenz
diff -u /dev/null src/sys/arch/mips/ingenic/jziic.c:1.1 --- /dev/null Sat Apr 4 12:28:52 2015 +++ src/sys/arch/mips/ingenic/jziic.c Sat Apr 4 12:28:52 2015 @@ -0,0 +1,380 @@ +/* $NetBSD: jziic.c,v 1.1 2015/04/04 12:28:52 macallan Exp $ */ + +/*- + * Copyright (c) 2015 Michael Lorenz + * All rights

CVS commit: src/sys/arch/evbmips/ingenic

2015-04-04 Thread Michael Lorenz
@@ -1,4 +1,4 @@ -/* $NetBSD: intr.c,v 1.8 2015/03/28 16:57:23 macallan Exp $ */ +/* $NetBSD: intr.c,v 1.9 2015/04/04 13:06:01 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -27,7 +27,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: intr.c,v 1.8 2015/03/28 16:57:23 macallan

CVS commit: src/sys/arch/sgimips/mace

2015-04-04 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Apr 4 14:19:00 UTC 2015 Modified Files: src/sys/arch/sgimips/mace: macekbc.c Log Message: malloc() - kmem_alloc() for private data, also kmem_free() them if we don't finish attaching for whatever reason found by Brainy

CVS commit: src/sys/arch/evbmips/conf

2015-04-04 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Apr 4 12:32:34 UTC 2015 Modified Files: src/sys/arch/evbmips/conf: CI20 Log Message: add jziic and RTC drivers To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/evbmips/conf/CI20 Please note

CVS commit: src/sys/arch/sgimips/dev

2015-04-04 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Apr 4 14:12:40 UTC 2015 Modified Files: src/sys/arch/sgimips/dev: scn.c Log Message: don't malloc a tiny, fixed size buffer to scribble into, then not use it and never free it either found by Brainy To generate a diff

CVS commit: src/sys/arch/mips/mips

2015-06-08 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Jun 8 18:22:23 UTC 2015 Modified Files: src/sys/arch/mips/mips: mips_machdep.c Log Message: sync _MTC0_V0_USERLOCAL with cpuregs.h now CI20 boots again To generate a diff of this commit: cvs rdiff -u -r1.265 -r1.266

CVS commit: src/sys/arch/evbmips/loongson

2015-06-09 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jun 9 16:10:48 UTC 2015 Modified Files: src/sys/arch/evbmips/loongson: gdium_machdep.c generic2e_machdep.c isa_machdep.c Log Message: more cpuregs.h To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/arch/evbmips/loongson

2015-06-09 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jun 9 16:29:01 UTC 2015 Modified Files: src/sys/arch/evbmips/loongson: yeeloong_machdep.c Log Message: another cpuregs.h To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7

CVS commit: src/sys/arch/mips/mips

2015-06-09 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jun 9 18:15:47 UTC 2015 Modified Files: src/sys/arch/mips/mips: cache_r3k.c Log Message: yet another cpuregs.h To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mips/mips/cache_r3k.c Please note

CVS commit: src/sys/arch/mips/mips

2015-06-09 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jun 9 17:53:25 UTC 2015 Modified Files: src/sys/arch/mips/mips: cache_r10k.c Log Message: yet another cpuregs.h To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mips/mips/cache_r10k.c Please note

CVS commit: src/sys/arch/mips/mips

2015-06-06 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Jun 6 17:46:47 UTC 2015 Modified Files: src/sys/arch/mips/mips: cpu_subr.c Log Message: use PRIxCPUSET now this builds again on o32 To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/sys/arch/mips/include

2015-06-06 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Jun 6 17:45:49 UTC 2015 Modified Files: src/sys/arch/mips/include: types.h Log Message: introduce PRIxCPUSET to deal with 32bit __cpuset_t on o32 To generate a diff of this commit: cvs rdiff -u -r1.55 -r1.56

CVS commit: src/sys/arch/mips/mips

2015-06-16 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jun 16 18:12:18 UTC 2015 Modified Files: src/sys/arch/mips/mips: locore_mips3.S Log Message: .set mips3 for __mips_o32 now o32 kernels boot again on my O2 To generate a diff of this commit: cvs rdiff -u -r1.109 -r1.110

CVS commit: src/sys/dev/ic

2015-06-12 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Jun 12 17:24:02 UTC 2015 Modified Files: src/sys/dev/ic: dm9000.c Log Message: actually check the return value from m_gethdr() and deal with errors now we no longer segfault in dme_allocate_buffer() To generate a diff of

CVS commit: src/sys/dev

2015-05-29 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri May 29 16:26:45 UTC 2015 Modified Files: src/sys/dev: cons.c Log Message: for some reason the previous commit causes ARCS firmware on sgimips64 to spew an endless stream of white ( or rather, blue ) spaces. So revert to the

CVS commit: src/sys/arch/mips/ingenic

2015-05-29 Thread Michael Lorenz
) 2014 Michael Lorenz @@ -706,7 +706,7 @@ gpio_as_input(uint32_t g, int pin) #define JZ_MSC_RESTO 0x10 /* 16bit response timeout in MSC_CLK */ #define JZ_MSC_RDTO RW 0x14 /* 32bit read timeout in MSC_CLK */ #define JZ_MSC_BLKLEN 0x18 /* 16bit block length */ -#define JZ_MSC_NOB RW 0x1c /* 16bit block

CVS commit: xsrc/external/mit/xf86-video-r128/dist/src

2015-07-06 Thread Michael Lorenz
Module Name:xsrc Committed By: macallan Date: Tue Jul 7 00:55:52 UTC 2015 Modified Files: xsrc/external/mit/xf86-video-r128/dist/src: r128_driver.c Log Message: don't forget to NULL terminate the mode list when adding a single mode from EDID. Now this works again on my

CVS commit: src/sys/arch/evbmips/ingenic

2015-06-11 Thread Michael Lorenz
/machdep.c:1.6 Sat Apr 4 13:06:01 2015 +++ src/sys/arch/evbmips/ingenic/machdep.c Thu Jun 11 15:38:18 2015 @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.6 2015/04/04 13:06:01 macallan Exp $ */ +/* $NetBSD: machdep.c,v 1.7 2015/06/11 15:38:18 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz

CVS commit: src/sys/arch/powerpc/include/oea

2015-07-07 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jul 7 15:41:46 UTC 2015 Modified Files: src/sys/arch/powerpc/include/oea: spr.h Log Message: add instruction cache throttling SPR found on 750 To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/external/mit/xorg/server/drivers/xf86-video-sunffb

2015-08-16 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sun Aug 16 17:48:24 UTC 2015 Modified Files: src/external/mit/xorg/server/drivers/xf86-video-sunffb: Makefile Log Message: add ffb_accel_common.c To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 \

CVS commit: xsrc/external/mit/xf86-video-sunffb/dist/src

2015-08-16 Thread Michael Lorenz
$ */ /* * Copyright (c) 2015 Michael Lorenz * All rights reserved. @@ -55,6 +55,12 @@ extern void VISmoveImageLR(unsigned char #define DPRINTF while (0) xf86Msg #endif +#define arraysize(ary)(sizeof(ary) / sizeof(ary[0])) + +int src_formats[] = {PICT_a8r8g8b8, PICT_x8r8g8b8, + PICT_a8b8g8r8

CVS commit: src/sys/sys

2015-08-17 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Aug 17 18:43:37 UTC 2015 Modified Files: src/sys/sys: interrupt.h Log Message: fix tpyo To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/sys/interrupt.h Please note that diffs are not public domain;

CVS commit: src/sys/arch/shark/ofw

2015-06-29 Thread Michael Lorenz
Michael Lorenz @@ -31,7 +31,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: igsfb_ofbus.c,v 1.15 2014/01/02 19:00:39 joerg Exp $); +__KERNEL_RCSID(0, $NetBSD: igsfb_ofbus.c,v 1.16 2015/06/30 03:52:54 macallan Exp $); #include sys/param.h #include sys/systm.h @@ -112,7 +112,7

CVS commit: src/sys/arch/sgimips/mace

2015-06-29 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Jun 30 03:55:23 UTC 2015 Modified Files: src/sys/arch/sgimips/mace: mace.c Log Message: shorten the interrupt name so the level field is actually readable in systat To generate a diff of this commit: cvs rdiff -u -r1.21

CVS commit: src/sys/arch/evbmips/ingenic

2015-06-29 Thread Michael Lorenz
:10:10 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -27,7 +27,7 @@ */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: clock.c,v 1.5 2014/12/31 15:25:08 martin Exp $); +__KERNEL_RCSID(0, $NetBSD: clock.c,v 1.6 2015/06/30 04:10:10 macallan Exp $); #include sys/param.h

CVS commit: xsrc/external/mit/xf86-video-r128/dist/src

2015-07-28 Thread Michael Lorenz
Module Name:xsrc Committed By: macallan Date: Wed Jul 29 01:51:18 UTC 2015 Modified Files: xsrc/external/mit/xf86-video-r128/dist/src: r128_driver.c r128_output.c Log Message: port static EDID support via WSDISPLAYIO_GET_EDID back, now this works again on my pismo To

CVS commit: xsrc/external/mit/xf86-video-r128/dist/src

2015-07-29 Thread Michael Lorenz
Module Name:xsrc Committed By: macallan Date: Wed Jul 29 19:27:37 UTC 2015 Modified Files: xsrc/external/mit/xf86-video-r128/dist/src: r128_driver.c Log Message: restore some more registers on exit, now we actually get back to a usable console To generate a diff of this

CVS commit: xsrc/external/mit/xf86-video-r128/dist/src

2015-07-29 Thread Michael Lorenz
Module Name:xsrc Committed By: macallan Date: Wed Jul 29 18:15:38 UTC 2015 Modified Files: xsrc/external/mit/xf86-video-r128/dist/src: r128.h r128_driver.c r128_output.c Log Message: - make sure the wsdisplay we talk to is actually the one handling the chip

CVS commit: src/external/mit/xorg/server/drivers/xf86-video-r128

2015-07-29 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Thu Jul 30 02:58:00 UTC 2015 Modified Files: src/external/mit/xorg/server/drivers/xf86-video-r128: Makefile Log Message: build EXA support To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 \

CVS commit: src/sys/arch/evbmips/conf

2015-08-07 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Fri Aug 7 17:41:43 UTC 2015 Modified Files: src/sys/arch/evbmips/conf: CI20 Log Message: add jzrng To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbmips/conf/CI20 Please note that diffs are not

CVS commit: src/sys/arch/mips/ingenic

2015-08-07 Thread Michael Lorenz
:37:54 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -118,7 +118,7 @@ static inline void writereg(uint32_t reg, uint32_t val) { - *(int32_t *)MIPS_PHYS_TO_KSEG1(reg) = val; + *(volatile int32_t *)MIPS_PHYS_TO_KSEG1(reg) = val; wbflush(); } @@ -126,7 +126,7 @@ static inline

CVS commit: src/sys/arch/mips

2015-08-07 Thread Michael Lorenz
19:00:04 macallan Exp $ */ +/* $NetBSD: apbus.c,v 1.17 2015/08/07 17:39:58 macallan Exp $ */ /*- * Copyright (c) 2014 Michael Lorenz @@ -29,7 +29,7 @@ /* catch-all for on-chip peripherals */ #include sys/cdefs.h -__KERNEL_RCSID(0, $NetBSD: apbus.c,v 1.16 2015/07/11 19:00:04 macallan Exp

CVS commit: xsrc/external/mit/xf86-video-sunffb/dist/src

2015-08-10 Thread Michael Lorenz
@@ +/* $NetBSD: ffb_exa.c,v 1.1 2015/08/11 03:57:36 macallan Exp $ */ +/* + * Copyright (c) 2015 Michael Lorenz + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met

CVS commit: src/external/mit/xorg/server/drivers/xf86-video-sunffb

2015-08-10 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Aug 11 03:58:18 UTC 2015 Modified Files: src/external/mit/xorg/server/drivers/xf86-video-sunffb: Makefile Log Message: build EXA support To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 \

CVS commit: src/sys/dev/adb

2015-07-27 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Mon Jul 27 19:27:04 UTC 2015 Modified Files: src/sys/dev/adb: adb_kbd.c Log Message: add a sysctl to optionally ender ddb when pressing the power button To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

CVS commit: src/sys/arch/sgimips/gio

2015-08-24 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Tue Aug 25 02:09:18 UTC 2015 Modified Files: src/sys/arch/sgimips/gio: newport.c Log Message: - pass the right address to bus_space_mmap() so this works on N32 kernels - don't mess with XMAP9 when switching to graphics mode

  1   2   3   4   5   6   7   8   9   10   >