CVS commit: src/sys/modules/arch

2020-06-27 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Jun 27 06:50:00 UTC 2020

Modified Files:
src/sys/modules/arch: archdirs.mk
Added Files:
src/sys/modules/arch/powerpc/powerpc-ibm4xx: Makefile
bsd.powerpc-ibm4xx.mk
Removed Files:
src/sys/modules/arch/powerpc/powerpc-4xx: Makefile bsd.powerpc-4xx.mk

Log Message:
Rename module directory for ibm4xx from /stand/powerpc-4xx to
/stand/powerpc-ibm4xx to match with what we set in evbppc_machdep.c:

https://nxr.netbsd.org/xref/src/sys/arch/evbppc/evbppc/evbppc_machdep.c#86

(And we use ibm4xx not 4xx for directory in sys/arch/powerpc.)

Note that we had never enabled MODULAR for ibm4xx yet; kernel with
MODULAR option was unable to build. This should be why this discrepancy
had never been found until today...


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/modules/arch/archdirs.mk
cvs rdiff -u -r1.1 -r0 src/sys/modules/arch/powerpc/powerpc-4xx/Makefile
cvs rdiff -u -r1.3 -r0 \
src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk
cvs rdiff -u -r0 -r1.1 src/sys/modules/arch/powerpc/powerpc-ibm4xx/Makefile \
src/sys/modules/arch/powerpc/powerpc-ibm4xx/bsd.powerpc-ibm4xx.mk

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

Modified files:

Index: src/sys/modules/arch/archdirs.mk
diff -u src/sys/modules/arch/archdirs.mk:1.4 src/sys/modules/arch/archdirs.mk:1.5
--- src/sys/modules/arch/archdirs.mk:1.4	Wed Sep 19 16:11:53 2018
+++ src/sys/modules/arch/archdirs.mk	Sat Jun 27 06:50:00 2020
@@ -1,4 +1,4 @@
-#	$NetBSD: archdirs.mk,v 1.4 2018/09/19 16:11:53 maxv Exp $
+#	$NetBSD: archdirs.mk,v 1.5 2020/06/27 06:50:00 rin Exp $
 
 # list of subdirs used per-platform
 
@@ -11,7 +11,7 @@ ARCHDIR_SUBDIR=	x86/i386pae-xen
 .endif
 
 .if ${MACHINE_ARCH} == "powerpc"
-ARCHDIR_SUBDIR=	powerpc/powerpc-4xx powerpc/powerpc-booke
+ARCHDIR_SUBDIR=	powerpc/powerpc-ibm4xx powerpc/powerpc-booke
 .endif
 
 .if ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el"

Added files:

Index: src/sys/modules/arch/powerpc/powerpc-ibm4xx/Makefile
diff -u /dev/null src/sys/modules/arch/powerpc/powerpc-ibm4xx/Makefile:1.1
--- /dev/null	Sat Jun 27 06:50:00 2020
+++ src/sys/modules/arch/powerpc/powerpc-ibm4xx/Makefile	Sat Jun 27 06:50:00 2020
@@ -0,0 +1,5 @@
+#	$NetBSD: Makefile,v 1.1 2020/06/27 06:50:00 rin Exp $
+
+BSD_MK_COMPAT_FILE=${.CURDIR}/bsd.powerpc-ibm4xx.mk
+
+.include "../../compatsubdir.mk"
Index: src/sys/modules/arch/powerpc/powerpc-ibm4xx/bsd.powerpc-ibm4xx.mk
diff -u /dev/null src/sys/modules/arch/powerpc/powerpc-ibm4xx/bsd.powerpc-ibm4xx.mk:1.1
--- /dev/null	Sat Jun 27 06:50:00 2020
+++ src/sys/modules/arch/powerpc/powerpc-ibm4xx/bsd.powerpc-ibm4xx.mk	Sat Jun 27 06:50:00 2020
@@ -0,0 +1,17 @@
+#	$NetBSD: bsd.powerpc-ibm4xx.mk,v 1.1 2020/06/27 06:50:00 rin Exp $
+
+.ifndef _BSD_POWERPC_IBM4XX_MK_
+_BSD_POWERPC_IBM4XX_MK_=1
+
+KMODULEARCHDIR:=	powerpc-ibm4xx
+
+CPPFLAGS+=	-mcpu=403
+PPC_IBM4XX=	1
+
+# hack into bsd.kmodule.mk
+PPC_INTR_IMPL=\"powerpc/intr.h\"
+PPC_PCI_MACHDEP_IMPL=\"powerpc/pci_machdep.h\"
+
+AFLAGS+=	-mcpu=403
+
+.endif # _BSD_POWERPC_IBM4XX_MK_



CVS commit: src/sys/modules/arch

2020-06-27 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Jun 27 06:50:00 UTC 2020

Modified Files:
src/sys/modules/arch: archdirs.mk
Added Files:
src/sys/modules/arch/powerpc/powerpc-ibm4xx: Makefile
bsd.powerpc-ibm4xx.mk
Removed Files:
src/sys/modules/arch/powerpc/powerpc-4xx: Makefile bsd.powerpc-4xx.mk

Log Message:
Rename module directory for ibm4xx from /stand/powerpc-4xx to
/stand/powerpc-ibm4xx to match with what we set in evbppc_machdep.c:

https://nxr.netbsd.org/xref/src/sys/arch/evbppc/evbppc/evbppc_machdep.c#86

(And we use ibm4xx not 4xx for directory in sys/arch/powerpc.)

Note that we had never enabled MODULAR for ibm4xx yet; kernel with
MODULAR option was unable to build. This should be why this discrepancy
had never been found until today...


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/modules/arch/archdirs.mk
cvs rdiff -u -r1.1 -r0 src/sys/modules/arch/powerpc/powerpc-4xx/Makefile
cvs rdiff -u -r1.3 -r0 \
src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk
cvs rdiff -u -r0 -r1.1 src/sys/modules/arch/powerpc/powerpc-ibm4xx/Makefile \
src/sys/modules/arch/powerpc/powerpc-ibm4xx/bsd.powerpc-ibm4xx.mk

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



CVS commit: src/sys/modules/arch/powerpc/powerpc-booke

2018-11-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Nov 15 04:57:00 UTC 2018

Modified Files:
src/sys/modules/arch/powerpc/powerpc-booke: bsd.powerpc-booke.mk

Log Message:
Include  before using ACTIVE_CC.  Fixes make errors.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/sys/modules/arch/powerpc/powerpc-booke/bsd.powerpc-booke.mk

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

Modified files:

Index: src/sys/modules/arch/powerpc/powerpc-booke/bsd.powerpc-booke.mk
diff -u src/sys/modules/arch/powerpc/powerpc-booke/bsd.powerpc-booke.mk:1.3 src/sys/modules/arch/powerpc/powerpc-booke/bsd.powerpc-booke.mk:1.4
--- src/sys/modules/arch/powerpc/powerpc-booke/bsd.powerpc-booke.mk:1.3	Sun Aug 10 17:46:54 2014
+++ src/sys/modules/arch/powerpc/powerpc-booke/bsd.powerpc-booke.mk	Thu Nov 15 04:57:00 2018
@@ -1,10 +1,12 @@
-#	$NetBSD: bsd.powerpc-booke.mk,v 1.3 2014/08/10 17:46:54 joerg Exp $
+#	$NetBSD: bsd.powerpc-booke.mk,v 1.4 2018/11/15 04:57:00 riastradh Exp $
 
 .ifndef _BSD_POWERPC_BOOKE_MK_
 _BSD_POWERPC_BOOKE_MK_=1
 
 KMODULEARCHDIR:=	powerpc-booke
 
+.include 
+
 # gcc emits bad code with these options
 #CPPFLAGS+=	-mcpu=8548
 CPPFLAGS+=	${${ACTIVE_CC} == "gcc":? -misel -Wa,-me500 :}



CVS commit: src/sys/modules/arch/powerpc/powerpc-booke

2018-11-14 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Thu Nov 15 04:57:00 UTC 2018

Modified Files:
src/sys/modules/arch/powerpc/powerpc-booke: bsd.powerpc-booke.mk

Log Message:
Include  before using ACTIVE_CC.  Fixes make errors.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/sys/modules/arch/powerpc/powerpc-booke/bsd.powerpc-booke.mk

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



CVS commit: src/sys/modules/arch

2015-06-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Jun 22 06:46:27 UTC 2015

Modified Files:
src/sys/modules/arch: archdirs.mk
Added Files:
src/sys/modules/arch/mips/mips-n32: Makefile bsd.mips-n32.mk

Log Message:
Add support for build mips64 kernel modules as N32


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/modules/arch/archdirs.mk
cvs rdiff -u -r0 -r1.1 src/sys/modules/arch/mips/mips-n32/Makefile \
src/sys/modules/arch/mips/mips-n32/bsd.mips-n32.mk

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



CVS commit: src/sys/modules/arch

2015-06-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Jun 22 06:46:27 UTC 2015

Modified Files:
src/sys/modules/arch: archdirs.mk
Added Files:
src/sys/modules/arch/mips/mips-n32: Makefile bsd.mips-n32.mk

Log Message:
Add support for build mips64 kernel modules as N32


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/modules/arch/archdirs.mk
cvs rdiff -u -r0 -r1.1 src/sys/modules/arch/mips/mips-n32/Makefile \
src/sys/modules/arch/mips/mips-n32/bsd.mips-n32.mk

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

Modified files:

Index: src/sys/modules/arch/archdirs.mk
diff -u src/sys/modules/arch/archdirs.mk:1.2 src/sys/modules/arch/archdirs.mk:1.3
--- src/sys/modules/arch/archdirs.mk:1.2	Mon Aug 11 03:43:25 2014
+++ src/sys/modules/arch/archdirs.mk	Mon Jun 22 06:46:27 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: archdirs.mk,v 1.2 2014/08/11 03:43:25 jnemeth Exp $
+#	$NetBSD: archdirs.mk,v 1.3 2015/06/22 06:46:27 matt Exp $
 
 # list of subdirs used per-platform
 
@@ -13,3 +13,7 @@ ARCHDIR_SUBDIR=	x86/i386-xen x86/i386pae
 .if ${MACHINE_ARCH} == powerpc
 ARCHDIR_SUBDIR=	powerpc/powerpc-4xx powerpc/powerpc-booke
 .endif
+
+.if ${MACHINE_ARCH} == mips64eb || ${MACHINE_ARCH} == mips64el
+ARCHDIR_SUBDIR= mips/mips-n32
+.endif

Added files:

Index: src/sys/modules/arch/mips/mips-n32/Makefile
diff -u /dev/null src/sys/modules/arch/mips/mips-n32/Makefile:1.1
--- /dev/null	Mon Jun 22 06:46:27 2015
+++ src/sys/modules/arch/mips/mips-n32/Makefile	Mon Jun 22 06:46:27 2015
@@ -0,0 +1,5 @@
+#	$NetBSD: Makefile,v 1.1 2015/06/22 06:46:27 matt Exp $
+
+BSD_MK_COMPAT_FILE=${.CURDIR}/bsd.mips-n32.mk
+
+.include ../../compatsubdir.mk
Index: src/sys/modules/arch/mips/mips-n32/bsd.mips-n32.mk
diff -u /dev/null src/sys/modules/arch/mips/mips-n32/bsd.mips-n32.mk:1.1
--- /dev/null	Mon Jun 22 06:46:27 2015
+++ src/sys/modules/arch/mips/mips-n32/bsd.mips-n32.mk	Mon Jun 22 06:46:27 2015
@@ -0,0 +1,19 @@
+#	$NetBSD: bsd.mips-n32.mk,v 1.1 2015/06/22 06:46:27 matt Exp $
+
+.ifndef _BSD_MIPS_N32_MK_
+.if ${MACHINE_ARCH} == mips64eb
+LD+=		-m elf32btsmipn32
+LDFLAGS+=	-Wl,-m,elf32btsmipn32
+.else
+LD+=		-m elf32ltsmipn32
+LDFLAGS+=	-Wl,-m,elf32ltsmipn32
+.endif
+
+_BSD_MIPS_N32_MK_=1
+
+KMODULEARCHDIR:=	mips-n32
+
+CPPFLAGS+=	-mabi=n32
+CPUFLAGS+=	-mabi=n32
+
+.endif # _BSD_MIPS_N32_MK_



CVS commit: src/sys/modules/arch/arm/arm-lpae

2015-04-17 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Apr 17 20:13:51 UTC 2015

Added Files:
src/sys/modules/arch/arm/arm-lpae: Makefile bsd.arm-lpae.mk

Log Message:
Latent support for ARM_HAS_LPAE.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/modules/arch/arm/arm-lpae/Makefile \
src/sys/modules/arch/arm/arm-lpae/bsd.arm-lpae.mk

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



CVS commit: src/sys/modules/arch/arm/arm-lpae

2015-04-17 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Fri Apr 17 20:13:51 UTC 2015

Added Files:
src/sys/modules/arch/arm/arm-lpae: Makefile bsd.arm-lpae.mk

Log Message:
Latent support for ARM_HAS_LPAE.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/modules/arch/arm/arm-lpae/Makefile \
src/sys/modules/arch/arm/arm-lpae/bsd.arm-lpae.mk

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

Added files:

Index: src/sys/modules/arch/arm/arm-lpae/Makefile
diff -u /dev/null src/sys/modules/arch/arm/arm-lpae/Makefile:1.1
--- /dev/null	Fri Apr 17 20:13:51 2015
+++ src/sys/modules/arch/arm/arm-lpae/Makefile	Fri Apr 17 20:13:51 2015
@@ -0,0 +1,5 @@
+#	$NetBSD: Makefile,v 1.1 2015/04/17 20:13:51 matt Exp $
+
+BSD_MK_COMPAT_FILE=${.CURDIR}/bsd.arm-lpae.mk
+
+.include ../../compatsubdir.mk
Index: src/sys/modules/arch/arm/arm-lpae/bsd.arm-lpae.mk
diff -u /dev/null src/sys/modules/arch/arm/arm-lpae/bsd.arm-lpae.mk:1.1
--- /dev/null	Fri Apr 17 20:13:51 2015
+++ src/sys/modules/arch/arm/arm-lpae/bsd.arm-lpae.mk	Fri Apr 17 20:13:51 2015
@@ -0,0 +1,11 @@
+#	$NetBSD: bsd.arm-lpae.mk,v 1.1 2015/04/17 20:13:51 matt Exp $
+
+.ifndef _BSD_ARM_LPAE_MK_
+_BSD_ARM_LPAE_MK_=1
+
+KMODULEARCHDIR:=	arm-lpae
+
+# gcc emits bad code with these options
+CPPFLAGS+=	-DARM_HAS_LPAE
+
+.endif # _BSD_ARM_LPAE_MK_



CVS commit: src/sys/modules/arch/arm

2013-08-07 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Aug  7 17:06:22 UTC 2013

Added Files:
src/sys/modules/arch/arm: kmodhide.awk kmodtramp.awk kmodwrap.awk

Log Message:
awk support scripts to generate trampolines in modules.
(adapted from previous LKM method).
machine/asm.h now has a KMODTRAMPOLINE macro to generate the trampoline


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/modules/arch/arm/kmodhide.awk \
src/sys/modules/arch/arm/kmodtramp.awk \
src/sys/modules/arch/arm/kmodwrap.awk

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

Added files:

Index: src/sys/modules/arch/arm/kmodhide.awk
diff -u /dev/null src/sys/modules/arch/arm/kmodhide.awk:1.1
--- /dev/null	Wed Aug  7 17:06:22 2013
+++ src/sys/modules/arch/arm/kmodhide.awk	Wed Aug  7 17:06:22 2013
@@ -0,0 +1,5 @@
+#	$NetBSD: kmodhide.awk,v 1.1 2013/08/07 17:06:22 matt Exp $
+
+substr($NF, 1, 7) == __wrap_ {
+	print  --localize-symbol $NF;
+}
Index: src/sys/modules/arch/arm/kmodtramp.awk
diff -u /dev/null src/sys/modules/arch/arm/kmodtramp.awk:1.1
--- /dev/null	Wed Aug  7 17:06:22 2013
+++ src/sys/modules/arch/arm/kmodtramp.awk	Wed Aug  7 17:06:22 2013
@@ -0,0 +1,18 @@
+#	$NetBSD: kmodtramp.awk,v 1.1 2013/08/07 17:06:22 matt Exp $
+#
+BEGIN {
+	print #include machine/asm.h
+}
+
+$2 == R_ARM_PC24 || $2 == R_ARM_CALL || $2 == R_ARM_JUMP24 {
+	if (x[$3] != )
+		next;
+	if (index($3, .text)  0)
+		next;
+	fn=$3
+	sub(__wrap_, , fn)
+	if (fn == $3)
+		next;
+	print KMODTRAMPOLINE(fn)
+	x[$3]=.;
+}
Index: src/sys/modules/arch/arm/kmodwrap.awk
diff -u /dev/null src/sys/modules/arch/arm/kmodwrap.awk:1.1
--- /dev/null	Wed Aug  7 17:06:22 2013
+++ src/sys/modules/arch/arm/kmodwrap.awk	Wed Aug  7 17:06:22 2013
@@ -0,0 +1,10 @@
+#	$NetBSD: kmodwrap.awk,v 1.1 2013/08/07 17:06:22 matt Exp $
+
+$2 == R_ARM_PC24 || $2 == R_ARM_CALL || $2 == R_ARM_JUMP24 {
+	if (x[$3] != )
+		next;
+	if (index($3, .text)  0)
+		next
+	printf  --wrap=$3;
+	x[$3]=.;
+}



CVS commit: src/sys/modules/arch/arm

2013-08-07 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Aug  7 17:29:15 UTC 2013

Modified Files:
src/sys/modules/arch/arm: kmodwrap.awk

Log Message:
Keep track of undefined symbols and then use to determine whether a wrap
is required.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/arch/arm/kmodwrap.awk

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

Modified files:

Index: src/sys/modules/arch/arm/kmodwrap.awk
diff -u src/sys/modules/arch/arm/kmodwrap.awk:1.1 src/sys/modules/arch/arm/kmodwrap.awk:1.2
--- src/sys/modules/arch/arm/kmodwrap.awk:1.1	Wed Aug  7 17:06:22 2013
+++ src/sys/modules/arch/arm/kmodwrap.awk	Wed Aug  7 17:29:15 2013
@@ -1,10 +1,12 @@
-#	$NetBSD: kmodwrap.awk,v 1.1 2013/08/07 17:06:22 matt Exp $
+#	$NetBSD: kmodwrap.awk,v 1.2 2013/08/07 17:29:15 matt Exp $
+
+$2 == *UND* {
+	undef[$4]=.;
+}
 
 $2 == R_ARM_PC24 || $2 == R_ARM_CALL || $2 == R_ARM_JUMP24 {
-	if (x[$3] != )
+	if (x[$3] !=  || undef[$3] != .)
 		next;
-	if (index($3, .text)  0)
-		next
 	printf  --wrap=$3;
 	x[$3]=.;
 }



CVS commit: src/sys/modules/arch/arm

2013-08-07 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Aug  7 17:06:22 UTC 2013

Added Files:
src/sys/modules/arch/arm: kmodhide.awk kmodtramp.awk kmodwrap.awk

Log Message:
awk support scripts to generate trampolines in modules.
(adapted from previous LKM method).
machine/asm.h now has a KMODTRAMPOLINE macro to generate the trampoline


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/modules/arch/arm/kmodhide.awk \
src/sys/modules/arch/arm/kmodtramp.awk \
src/sys/modules/arch/arm/kmodwrap.awk

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



CVS commit: src/sys/modules/arch/arm

2013-08-07 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Aug  7 17:29:15 UTC 2013

Modified Files:
src/sys/modules/arch/arm: kmodwrap.awk

Log Message:
Keep track of undefined symbols and then use to determine whether a wrap
is required.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/modules/arch/arm/kmodwrap.awk

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



CVS commit: src/sys/modules/arch/powerpc/powerpc-4xx

2011-06-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun 22 18:17:17 UTC 2011

Modified Files:
src/sys/modules/arch/powerpc/powerpc-4xx: bsd.powerpc-4xx.mk

Log Message:
ibm4xx now uses powerpc/pci_machdep.h


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk

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

Modified files:

Index: src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk
diff -u src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk:1.2 src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk:1.3
--- src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk:1.2	Mon Jun 20 20:18:43 2011
+++ src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk	Wed Jun 22 18:17:17 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.powerpc-4xx.mk,v 1.2 2011/06/20 20:18:43 matt Exp $
+#	$NetBSD: bsd.powerpc-4xx.mk,v 1.3 2011/06/22 18:17:17 matt Exp $
 
 .ifndef _BSD_POWERPC_4XX_MK_
 _BSD_POWERPC_4XX_MK_=1
@@ -10,7 +10,7 @@
 
 # hack into bsd.kmodule.mk
 PPC_INTR_IMPL=\powerpc/intr.h\
-PPC_PCI_MACHDEP_IMPL=\powerpc/ibm4xx/pci_machdep.h\
+PPC_PCI_MACHDEP_IMPL=\powerpc/pci_machdep.h\
 
 AFLAGS+=	-mcpu=403
 



CVS commit: src/sys/modules/arch/powerpc/powerpc-4xx

2011-06-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Jun 22 18:17:17 UTC 2011

Modified Files:
src/sys/modules/arch/powerpc/powerpc-4xx: bsd.powerpc-4xx.mk

Log Message:
ibm4xx now uses powerpc/pci_machdep.h


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk

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



CVS commit: src/sys/modules/arch/powerpc/powerpc-4xx

2011-06-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Jun 20 20:18:43 UTC 2011

Modified Files:
src/sys/modules/arch/powerpc/powerpc-4xx: bsd.powerpc-4xx.mk

Log Message:
IBM4xx now uses the pic-based intr.h


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk

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

Modified files:

Index: src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk
diff -u src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk:1.1 src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk:1.2
--- src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk:1.1	Wed Jun 15 09:45:59 2011
+++ src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk	Mon Jun 20 20:18:43 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.powerpc-4xx.mk,v 1.1 2011/06/15 09:45:59 mrg Exp $
+#	$NetBSD: bsd.powerpc-4xx.mk,v 1.2 2011/06/20 20:18:43 matt Exp $
 
 .ifndef _BSD_POWERPC_4XX_MK_
 _BSD_POWERPC_4XX_MK_=1
@@ -9,7 +9,7 @@
 PPC_IBM4XX=	1
 
 # hack into bsd.kmodule.mk
-PPC_INTR_IMPL=\powerpc/ibm4xx/ibm4xx_intr.h\
+PPC_INTR_IMPL=\powerpc/intr.h\
 PPC_PCI_MACHDEP_IMPL=\powerpc/ibm4xx/pci_machdep.h\
 
 AFLAGS+=	-mcpu=403



CVS commit: src/sys/modules/arch/powerpc/powerpc-4xx

2011-06-20 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Jun 20 20:18:43 UTC 2011

Modified Files:
src/sys/modules/arch/powerpc/powerpc-4xx: bsd.powerpc-4xx.mk

Log Message:
IBM4xx now uses the pic-based intr.h


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/sys/modules/arch/powerpc/powerpc-4xx/bsd.powerpc-4xx.mk

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