CVS commit: [matt-nb5-mips64] src/sys/conf

2014-03-24 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Mar 24 18:50:51 UTC 2014

Modified Files:
src/sys/conf [matt-nb5-mips64]: files

Log Message:
Add sata_fis to ahcisata


To generate a diff of this commit:
cvs rdiff -u -r1.924.4.1.4.4 -r1.924.4.1.4.5 src/sys/conf/files

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

Modified files:

Index: src/sys/conf/files
diff -u src/sys/conf/files:1.924.4.1.4.4 src/sys/conf/files:1.924.4.1.4.5
--- src/sys/conf/files:1.924.4.1.4.4	Fri Feb 14 18:35:15 2014
+++ src/sys/conf/files	Mon Mar 24 18:50:51 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: files,v 1.924.4.1.4.4 2014/02/14 18:35:15 matt Exp $
+#	$NetBSD: files,v 1.924.4.1.4.5 2014/03/24 18:50:51 matt Exp $
 #	@(#)files.newconf	7.5 (Berkeley) 5/10/93
 
 version 	20080610
@@ -930,7 +930,7 @@ file	dev/ic/lpt_upc.c		lpt_upc
 # AHCI-compatible SATA controllers
 define ahcisata_core
 file dev/ic/ahcisata_core.c ahcisata_core
-device ahcisata: ata, ata_dma, ata_udma, sata, ahcisata_core
+device ahcisata: ata, ata_dma, ata_udma, sata, sata_fis, ahcisata_core
 
 # Silicon Image SteelVine SATA-II controllers
 define	siisata



CVS commit: [matt-nb5-mips64] src/sys/conf

2014-03-24 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Mar 24 18:50:51 UTC 2014

Modified Files:
src/sys/conf [matt-nb5-mips64]: files

Log Message:
Add sata_fis to ahcisata


To generate a diff of this commit:
cvs rdiff -u -r1.924.4.1.4.4 -r1.924.4.1.4.5 src/sys/conf/files

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



CVS commit: [matt-nb5-mips64] src/sys/conf

2014-02-14 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Feb 14 18:36:14 UTC 2014

Modified Files:
src/sys/conf [matt-nb5-mips64]: Makefile.kern.inc

Log Message:
SYSTEM_DEP?= - SYSTEM_DEP+=
Add KERNLDSCRIPT to SYSTEM_DEP


To generate a diff of this commit:
cvs rdiff -u -r1.118.4.2.4.3 -r1.118.4.2.4.4 src/sys/conf/Makefile.kern.inc

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

Modified files:

Index: src/sys/conf/Makefile.kern.inc
diff -u src/sys/conf/Makefile.kern.inc:1.118.4.2.4.3 src/sys/conf/Makefile.kern.inc:1.118.4.2.4.4
--- src/sys/conf/Makefile.kern.inc:1.118.4.2.4.3	Wed Jan 27 07:28:09 2010
+++ src/sys/conf/Makefile.kern.inc	Fri Feb 14 18:36:14 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.kern.inc,v 1.118.4.2.4.3 2010/01/27 07:28:09 matt Exp $
+#	$NetBSD: Makefile.kern.inc,v 1.118.4.2.4.4 2014/02/14 18:36:14 matt Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -198,7 +198,10 @@ ${_cfile:T:R}.o: ${_cfile}
 #	${SYSTEM_LD} swapxxx.o
 #	${SYSTEM_LD_TAIL}
 SYSTEM_OBJ?=	${MD_OBJS} ${MI_OBJS} ${OBJS} ${SYSLIBCOMPAT} ${LIBKERN}
-SYSTEM_DEP?=	Makefile ${SYSTEM_OBJ:O} .gdbinit
+SYSTEM_DEP+=	Makefile ${SYSTEM_OBJ:O} .gdbinit
+.if defined(KERNLDSCRIPT)
+SYSTEM_DEP+=	${KERNLDSCRIPT} 
+.endif
 SYSTEM_LD_HEAD?=@rm -f $@
 SYSTEM_LD?=	@${_MKSHMSG}link  ${.CURDIR:T}/${.TARGET}; \
 		${_MKSHECHO}\



CVS commit: [matt-nb5-mips64] src/sys/conf

2014-02-14 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Feb 14 18:36:14 UTC 2014

Modified Files:
src/sys/conf [matt-nb5-mips64]: Makefile.kern.inc

Log Message:
SYSTEM_DEP?= - SYSTEM_DEP+=
Add KERNLDSCRIPT to SYSTEM_DEP


To generate a diff of this commit:
cvs rdiff -u -r1.118.4.2.4.3 -r1.118.4.2.4.4 src/sys/conf/Makefile.kern.inc

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



CVS commit: [matt-nb5-mips64] src/sys/conf

2013-11-13 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Nov 13 22:39:58 UTC 2013

Modified Files:
src/sys/conf [matt-nb5-mips64]: files

Log Message:
Add usb_dma, xhci


To generate a diff of this commit:
cvs rdiff -u -r1.924.4.1.4.2 -r1.924.4.1.4.3 src/sys/conf/files

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

Modified files:

Index: src/sys/conf/files
diff -u src/sys/conf/files:1.924.4.1.4.2 src/sys/conf/files:1.924.4.1.4.3
--- src/sys/conf/files:1.924.4.1.4.2	Tue Dec 27 17:35:47 2011
+++ src/sys/conf/files	Wed Nov 13 22:39:58 2013
@@ -1,4 +1,4 @@
-#	$NetBSD: files,v 1.924.4.1.4.2 2011/12/27 17:35:47 matt Exp $
+#	$NetBSD: files,v 1.924.4.1.4.3 2013/11/13 22:39:58 matt Exp $
 #	@(#)files.newconf	7.5 (Berkeley) 5/10/93
 
 version 	20080610
@@ -1100,19 +1100,28 @@ defparam USB_MEM_RESERVE
 define	usbroothub
 file	dev/usb/usbroothub_subr.c	usbroothub
 
-device	uhci: usbus, usbroothub
+define	usb_dma
+
+# UHCI USB controller
+#
+device	uhci: usbus, usbroothub, usb_dma
 file	dev/usb/uhci.c			uhci			needs-flag
 
 # OHCI USB controller
 #
-device	ohci: usbus, usbroothub
+device	ohci: usbus, usbroothub, usb_dma
 file	dev/usb/ohci.c			ohci			needs-flag
 
-# EHCI USB controller
+# EHCI USB2 controller
 #
-device	ehci: usbus, usbroothub
+device	ehci: usbus, usbroothub, usb_dma
 file	dev/usb/ehci.c			ehci			needs-flag
 
+# XHCI USB3 controller
+#
+device	xhci: usbus, usbroothub, usb_dma
+file	dev/usb/xhci.c			xhci			needs-flag
+
 # SL811HS/T USB controller
 defflag	opt_slhci.h	SLHCI_DEBUG SLHCI_TRY_LSVH SLHCI_PROFILE_TRANSFER
 device	slhci: usbus, usbroothub



CVS commit: [matt-nb5-mips64] src/sys/conf

2013-11-13 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Nov 13 22:39:58 UTC 2013

Modified Files:
src/sys/conf [matt-nb5-mips64]: files

Log Message:
Add usb_dma, xhci


To generate a diff of this commit:
cvs rdiff -u -r1.924.4.1.4.2 -r1.924.4.1.4.3 src/sys/conf/files

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



CVS commit: [matt-nb5-mips64] src/sys/conf

2011-05-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri May 20 16:35:37 UTC 2011

Modified Files:
src/sys/conf [matt-nb5-mips64]: copyright

Log Message:
Add 2011


To generate a diff of this commit:
cvs rdiff -u -r1.5.24.1.2.1 -r1.5.24.1.2.2 src/sys/conf/copyright

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



CVS commit: [matt-nb5-mips64] src/sys/conf

2010-01-26 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jan 27 07:28:09 UTC 2010

Modified Files:
src/sys/conf [matt-nb5-mips64]: Makefile.kern.inc

Log Message:
If we're making a gdb kernel, insert the symtab in that as well.


To generate a diff of this commit:
cvs rdiff -u -r1.118.4.2.4.2 -r1.118.4.2.4.3 src/sys/conf/Makefile.kern.inc

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



CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-12 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Sep 12 16:51:41 UTC 2009

Modified Files:
src/sys/conf [matt-nb5-mips64]: Makefile.kern.inc

Log Message:
Allow DBSYM to error out now that binutils can strip $L locals.


To generate a diff of this commit:
cvs rdiff -u -r1.118.4.2.4.1 -r1.118.4.2.4.2 src/sys/conf/Makefile.kern.inc

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

Modified files:

Index: src/sys/conf/Makefile.kern.inc
diff -u src/sys/conf/Makefile.kern.inc:1.118.4.2.4.1 src/sys/conf/Makefile.kern.inc:1.118.4.2.4.2
--- src/sys/conf/Makefile.kern.inc:1.118.4.2.4.1	Sat Sep  5 03:49:50 2009
+++ src/sys/conf/Makefile.kern.inc	Sat Sep 12 16:51:41 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.kern.inc,v 1.118.4.2.4.1 2009/09/05 03:49:50 matt Exp $
+#	$NetBSD: Makefile.kern.inc,v 1.118.4.2.4.2 2009/09/12 16:51:41 matt Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -235,7 +235,7 @@
 SYSTEM_LD_TAIL+=; \
 	if grep '^\#define.*SYMTAB_SPACE' opt_ddbparam.h  /dev/null; then \
 		echo ${DBSYM} $@; \
-		${DBSYM} $@ || true; \
+		${DBSYM} $@; \
 	fi
 
 SYSTEM_LD_HEAD+=${SYSTEM_LD_HEAD_EXTRA}



Re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-09 Thread Jason Thorpe


On Sep 4, 2009, at 9:19 PM, Matt Thomas wrote:



On Sep 4, 2009, at 8:59 PM, Izumi Tsutsui wrote:


Modified Files:
src/sys/conf [matt-nb5-mips64]: Makefile.kern.inc

Log Message:
Don't abort if DBSYM fails.


It was intentionally changed to fatal:
http://cvsweb.NetBSD.org/bsdweb.cgi/src/sys/conf/Makefile.kern.inc#rev1.70

. Make this error a fatal build time error

---
Izumi Tsutsui


I see no reason to make it fatal.  It means that when I build a  
kernel with

DEBUG, my kernel build will fail.  That's stupid.

/u1/netbsd-nb5-mips64/tools/bin/mips64el--netbsd-strip -g -X -o  
netbsd netbsd.gdb

/u1/netbsd-nb5-mips64/tools/bin/mips64el--netbsd-dbsym netbsd
mips64el--netbsd-dbsym: symbol table (6124416 bytes) too big for  
buffer (175000 bytes)

Increase options SYMTAB_SPACE in your kernel config

-rwxr-xr-x  1 matt  staff   9262360 Sep  4 20:28 MALTA64/netbsd
-rwxr-xr-x  1 matt  staff  29851080 Sep  4 20:28 MALTA64/netbsd.gdb


We should figure out a way to make symbols appendable as an ELF  
section.




  textdata bss dec hex filename
2609483  223104  267656 3100243  2f4e53 MALTA64/netbsd
2609483  223104  267656 3100243  2f4e53 MALTA64/netbsd.gdb


-- thorpej



re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-05 Thread matthew green

I see no reason to make it fatal.
   
   Otherwise we cannot detect errors on release build,
   i.e. no ksym(4) supports.
   
It means that when I build a kernel  
with
DEBUG, my kernel build will fail.  That's stupid.
   
   Then disable it only if DEBUG, or keep it only in your local tree.


why can't we make it size for DEBUG builds and not fail anywhere?


.mrg.


Re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-05 Thread Simon Burge
matthew green wrote:

 I see no reason to make it fatal.

Otherwise we cannot detect errors on release build,
i.e. no ksym(4) supports.

 It means that when I build a kernel  
 with
 DEBUG, my kernel build will fail.  That's stupid.

Then disable it only if DEBUG, or keep it only in your local tree.
 
 
 why can't we make it size for DEBUG builds and not fail anywhere?

The proper fix would be to dynamically size this somehow, so that no
space is ever wasted.

Cheers,
Simon.


Re: CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-04 Thread Matt Thomas


On Sep 4, 2009, at 8:59 PM, Izumi Tsutsui wrote:


Modified Files:
src/sys/conf [matt-nb5-mips64]: Makefile.kern.inc

Log Message:
Don't abort if DBSYM fails.


It was intentionally changed to fatal:
http://cvsweb.NetBSD.org/bsdweb.cgi/src/sys/conf/Makefile.kern.inc#rev1.70

 . Make this error a fatal build time error

---
Izumi Tsutsui


I see no reason to make it fatal.  It means that when I build a kernel  
with

DEBUG, my kernel build will fail.  That's stupid.

/u1/netbsd-nb5-mips64/tools/bin/mips64el--netbsd-strip -g -X -o netbsd  
netbsd.gdb

/u1/netbsd-nb5-mips64/tools/bin/mips64el--netbsd-dbsym netbsd
mips64el--netbsd-dbsym: symbol table (6124416 bytes) too big for  
buffer (175000 bytes)

Increase options SYMTAB_SPACE in your kernel config

-rwxr-xr-x  1 matt  staff   9262360 Sep  4 20:28 MALTA64/netbsd
-rwxr-xr-x  1 matt  staff  29851080 Sep  4 20:28 MALTA64/netbsd.gdb

   textdata bss dec hex filename
2609483  223104  267656 3100243  2f4e53 MALTA64/netbsd
2609483  223104  267656 3100243  2f4e53 MALTA64/netbsd.gdb



CVS commit: [matt-nb5-mips64] src/sys/conf

2009-09-04 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Sep  5 03:49:50 UTC 2009

Modified Files:
src/sys/conf [matt-nb5-mips64]: Makefile.kern.inc

Log Message:
Don't abort if DBSYM fails.


To generate a diff of this commit:
cvs rdiff -u -r1.118.4.2 -r1.118.4.2.4.1 src/sys/conf/Makefile.kern.inc

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

Modified files:

Index: src/sys/conf/Makefile.kern.inc
diff -u src/sys/conf/Makefile.kern.inc:1.118.4.2 src/sys/conf/Makefile.kern.inc:1.118.4.2.4.1
--- src/sys/conf/Makefile.kern.inc:1.118.4.2	Fri Mar 27 14:50:36 2009
+++ src/sys/conf/Makefile.kern.inc	Sat Sep  5 03:49:50 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.kern.inc,v 1.118.4.2 2009/03/27 14:50:36 msaitoh Exp $
+#	$NetBSD: Makefile.kern.inc,v 1.118.4.2.4.1 2009/09/05 03:49:50 matt Exp $
 #
 # This file contains common `MI' targets and definitions and it is included
 # at the bottom of each `MD' ${MACHINE}/conf/Makefile.${MACHINE}.
@@ -235,7 +235,7 @@
 SYSTEM_LD_TAIL+=; \
 	if grep '^\#define.*SYMTAB_SPACE' opt_ddbparam.h  /dev/null; then \
 		echo ${DBSYM} $@; \
-		${DBSYM} $@; \
+		${DBSYM} $@ || true; \
 	fi
 
 SYSTEM_LD_HEAD+=${SYSTEM_LD_HEAD_EXTRA}