CVS commit: src

2023-05-14 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sun May 14 16:13:05 UTC 2023

Modified Files:
src/distrib/amiga/stand: loadbsd.uue
src/sys/arch/amiga/stand/loadbsd: Makefile README loadbsd.c
Added Files:
src/sys/arch/amiga/stand/loadbsd: startit.s vmakefile

Log Message:
Update loadbsd source and distribution binary to version 3.3.
- Loading the kernel to the highest priority memory segment is default now.
- New option -l to revert the to the previous behaviour of largest segment.
- New option -M to define a minimum size for the memory segment.
- Fixed some warnings and typos.
- Put assembler inline source into its own source text startit.s.
- Can be built with Bebbo's gcc6 Amiga port or with vbcc.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/distrib/amiga/stand/loadbsd.uue
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/amiga/stand/loadbsd/Makefile
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/amiga/stand/loadbsd/README
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/amiga/stand/loadbsd/loadbsd.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/amiga/stand/loadbsd/startit.s \
src/sys/arch/amiga/stand/loadbsd/vmakefile

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

Modified files:

Index: src/distrib/amiga/stand/loadbsd.uue
diff -u src/distrib/amiga/stand/loadbsd.uue:1.3 src/distrib/amiga/stand/loadbsd.uue:1.4
--- src/distrib/amiga/stand/loadbsd.uue:1.3	Tue Sep  6 17:50:18 2022
+++ src/distrib/amiga/stand/loadbsd.uue	Sun May 14 16:13:05 2023
@@ -1,611 +1,614 @@
 begin 755 loadbsd
-M```#\P`#``(``!22ZP```&P```/I```4DB/(
+M```#\P`#``(``!0```&!.KO\N(GD$(`EG"BQY
-M8$ZN_F(B>0@@"6<*+'D```!@3J[^8BQ?3G5G0!E>'!A;G-I;VXN;&EB0!C86XG="!O<&5N(&5X<&%NF4])3`X;'@@871TF4Z("5L9`H`9F%I;&5D(&%L;&]C("5D`'5N86)L92!T
-M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DOO`#@B92X`E\G6B2`)9@8D;P`P8+!*
-MN0```)AG("\)+P=('VX@&8``,93B2`)`(``#___*@!2A2]%`#0H`9B%#(1`9UHB
-M`E*!(`'0@="!,:H`#@VPH"`"T(+0@N6(0?0(`!`J``E(@#%```XA10`(
-M(40`!"H"5(4O2P`T+'D```!@($-P`B)-3J[]!B)O`#0N`)?)UHDD!6``_T0R
-M?``!T\)!\9@`T``43KH)B'+_1D'"@&=H(@!T&.2I%#P`
-M?;2!9R9"0$A`#(2P9QIB'@R"6&<0#(/H9P@,@?1F'B0?
-M+%].=0R+N&?R#(^@9^H,@```!]!GXB\`2'K^^$ZY```WK$AX``%.
-MN0```&1#^O\)3J[_H$J`9R@`N0^@``"`(CD```"`(`%"04A!2H%FI@"`
-M!]```"/`@&"80_K^X2QY8$ZN_Z!*@&;&0_K^VRQY8$ZN_Z!*
-M@&:T0_K^U2QY8$ZN_Z!*@&<,`+D+N```@&"@0_K^PRQY8$ZN
-M_Z!*@&;B0_K^O2QY8$ZN_@Y*@&0```&`,
-M:``D`!1C"B/H`C@```",3G4(,``"`?((`,]F#B`\``KLA2/`C$YU
-M(#P`"M,#8/!.=29/+'@`!$OZ``9.[O_B1OPG`$_Z_^PB:P`$)"L`""QK``P@
-M:P`0("L`%"(K`!@N*P`<*&L`("HK`"0H*P`H)BL`+"1K`#`L*P`TF\T,*P!]
-M`"1G``!<,_P"``#?\)8(!0`#9P``))?+3GNP`TY[N`9.>[@'3GNP!$Y[L`5.
-M>[`&3GNP!V```"I'^@"8\!-``$?Z`(

CVS commit: src

2023-05-14 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sun May 14 16:13:05 UTC 2023

Modified Files:
src/distrib/amiga/stand: loadbsd.uue
src/sys/arch/amiga/stand/loadbsd: Makefile README loadbsd.c
Added Files:
src/sys/arch/amiga/stand/loadbsd: startit.s vmakefile

Log Message:
Update loadbsd source and distribution binary to version 3.3.
- Loading the kernel to the highest priority memory segment is default now.
- New option -l to revert the to the previous behaviour of largest segment.
- New option -M to define a minimum size for the memory segment.
- Fixed some warnings and typos.
- Put assembler inline source into its own source text startit.s.
- Can be built with Bebbo's gcc6 Amiga port or with vbcc.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/distrib/amiga/stand/loadbsd.uue
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/amiga/stand/loadbsd/Makefile
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/amiga/stand/loadbsd/README
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/amiga/stand/loadbsd/loadbsd.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/amiga/stand/loadbsd/startit.s \
src/sys/arch/amiga/stand/loadbsd/vmakefile

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



CVS commit: src

2023-05-03 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed May  3 13:49:30 UTC 2023

Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4/man4.amiga: Makefile
src/sys/arch/amiga/amiga: conf.c
src/sys/arch/amiga/conf: WSCONS files.amiga
src/sys/arch/amiga/dev: zbus.c
Added Files:
src/share/man/man4/man4.amiga: zz9k.4
src/sys/arch/amiga/dev: zz9k.c zz9k_ax.c zz9k_fb.c zz9k_if.c zz9k_usb.c
zz9kreg.h zz9kvar.h

Log Message:
Driver for the MNT ZZ9000 Zorro board. Submitted by Alain Runa.

It was formerly known as mntzz, which Alain released three years ago.
Since then, the ZZ9000 had several firmware updates which changed some
hardware interface details rendering the former driver non functional in some
aspects. Also the audio card plug-in ZZ9000AX became available from MNT
Research. Considering the major rewrite of the driver in some areas he
decided to rename it to zz9k(9). The driver consists of several sub-drivers
each addressing different functionality of the MNT ZZ9000 & ZZ9000AX combo
card.

zz9k* is the main card driver and need to be enabled if any of the sub-driver
is enabled. zz9k on its own is not very useful, it only provides a common
zz9kbus for the other sub-drivers to connect to, so only enable it if one of
the zz9k sub-drivers are enabled.
zzfb* represents the graphics driver for the boot console and the dumb
framebuffer for X11 based on WSCONS. ZZFB_CONSOLE option enables the ZZ9000
to become the boot console.
zz* represents the ethernet interface of the ZZ9000. It basically works but
is considered experimental.
zzax* represents the ZZ9000AX audio card driver, audio* attaches to it to
provide audio output and input functionality. The driver is not functional
yet.
zzusb* represents the ZZ9000AX usb driver. It was not implemented yet and
probably never will.


To generate a diff of this commit:
cvs rdiff -u -r1.1758 -r1.1759 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.33 -r1.34 src/share/man/man4/man4.amiga/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/man4.amiga/zz9k.4
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/amiga/amiga/conf.c
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/amiga/conf/WSCONS
cvs rdiff -u -r1.184 -r1.185 src/sys/arch/amiga/conf/files.amiga
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/amiga/dev/zbus.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/amiga/dev/zz9k.c \
src/sys/arch/amiga/dev/zz9k_ax.c src/sys/arch/amiga/dev/zz9k_fb.c \
src/sys/arch/amiga/dev/zz9k_if.c src/sys/arch/amiga/dev/zz9k_usb.c \
src/sys/arch/amiga/dev/zz9kreg.h src/sys/arch/amiga/dev/zz9kvar.h

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

Modified files:

Index: src/distrib/sets/lists/man/mi
diff -u src/distrib/sets/lists/man/mi:1.1758 src/distrib/sets/lists/man/mi:1.1759
--- src/distrib/sets/lists/man/mi:1.1758	Thu Dec 22 11:05:54 2022
+++ src/distrib/sets/lists/man/mi	Wed May  3 13:49:29 2023
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1758 2022/12/22 11:05:54 nat Exp $
+# $NetBSD: mi,v 1.1759 2023/05/03 13:49:29 phx Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -870,6 +870,7 @@
 ./usr/share/man/cat4/amiga/xsurf.0		man-sys-catman		.cat
 ./usr/share/man/cat4/amiga/z3rambd.0		man-sys-catman		.cat
 ./usr/share/man/cat4/amiga/zssc.0		man-sys-catman		.cat
+./usr/share/man/cat4/amiga/zz9k.0		man-sys-catman		.cat
 ./usr/share/man/cat4/amr.0			man-sys-catman		.cat
 ./usr/share/man/cat4/ams.0			man-sys-catman		.cat
 ./usr/share/man/cat4/an.0			man-sys-catman		.cat
@@ -4180,6 +4181,7 @@
 ./usr/share/man/html4/amiga/xsurf.html		man-sys-htmlman		html
 ./usr/share/man/html4/amiga/z3rambd.html	man-sys-htmlman		html
 ./usr/share/man/html4/amiga/zssc.html		man-sys-htmlman		html
+./usr/share/man/html4/amiga/zz9k.html		man-sys-htmlman		html
 ./usr/share/man/html4/amr.html			man-sys-htmlman		html
 ./usr/share/man/html4/ams.html			man-sys-htmlman		html
 ./usr/share/man/html4/an.html			man-sys-htmlman		html
@@ -7186,6 +7188,7 @@
 ./usr/share/man/man4/amiga/xsurf.4		man-sys-man		.man
 ./usr/share/man/man4/amiga/z3rambd.4		man-sys-man		.man
 ./usr/share/man/man4/amiga/zssc.4		man-sys-man		.man
+./usr/share/man/man4/amiga/zz9k.4		man-sys-man		.man
 ./usr/share/man/man4/amr.4			man-sys-man		.man
 ./usr/share/man/man4/ams.4			man-sys-man		.man
 ./usr/share/man/man4/an.4			man-sys-man		.man

Index: src/share/man/man4/man4.amiga/Makefile
diff -u src/share/man/man4/man4.amiga/Makefile:1.33 src/share/man/man4/man4.amiga/Makefile:1.34
--- src/share/man/man4/man4.amiga/Makefile:1.33	Mon Sep 21 08:46:07 2020
+++ src/share/man/man4/man4.amiga/Makefile	Wed May  3 13:49:30 2023
@@ -1,12 +1,12 @@
 # 	from: @(#)Makefile	8.2 (Berkeley) 2/16/94
-#	$NetBSD: Makefile,v 1.33 2020/09/21 08:46:07 kim Exp $
+#	$NetBSD: Makefile,v 1.34 2023/05/03 13:49:30 phx Exp $
 
 MAN=a1k2cp.4 a2kbbc.4 a34kbbc.4 acafh.4 afsc.4 ahsc.4 amidisplaycc.4 \
 	atzsc.4 autoconf.4 console.4 bah

CVS commit: src

2023-05-03 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed May  3 13:49:30 UTC 2023

Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4/man4.amiga: Makefile
src/sys/arch/amiga/amiga: conf.c
src/sys/arch/amiga/conf: WSCONS files.amiga
src/sys/arch/amiga/dev: zbus.c
Added Files:
src/share/man/man4/man4.amiga: zz9k.4
src/sys/arch/amiga/dev: zz9k.c zz9k_ax.c zz9k_fb.c zz9k_if.c zz9k_usb.c
zz9kreg.h zz9kvar.h

Log Message:
Driver for the MNT ZZ9000 Zorro board. Submitted by Alain Runa.

It was formerly known as mntzz, which Alain released three years ago.
Since then, the ZZ9000 had several firmware updates which changed some
hardware interface details rendering the former driver non functional in some
aspects. Also the audio card plug-in ZZ9000AX became available from MNT
Research. Considering the major rewrite of the driver in some areas he
decided to rename it to zz9k(9). The driver consists of several sub-drivers
each addressing different functionality of the MNT ZZ9000 & ZZ9000AX combo
card.

zz9k* is the main card driver and need to be enabled if any of the sub-driver
is enabled. zz9k on its own is not very useful, it only provides a common
zz9kbus for the other sub-drivers to connect to, so only enable it if one of
the zz9k sub-drivers are enabled.
zzfb* represents the graphics driver for the boot console and the dumb
framebuffer for X11 based on WSCONS. ZZFB_CONSOLE option enables the ZZ9000
to become the boot console.
zz* represents the ethernet interface of the ZZ9000. It basically works but
is considered experimental.
zzax* represents the ZZ9000AX audio card driver, audio* attaches to it to
provide audio output and input functionality. The driver is not functional
yet.
zzusb* represents the ZZ9000AX usb driver. It was not implemented yet and
probably never will.


To generate a diff of this commit:
cvs rdiff -u -r1.1758 -r1.1759 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.33 -r1.34 src/share/man/man4/man4.amiga/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/man4.amiga/zz9k.4
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/amiga/amiga/conf.c
cvs rdiff -u -r1.72 -r1.73 src/sys/arch/amiga/conf/WSCONS
cvs rdiff -u -r1.184 -r1.185 src/sys/arch/amiga/conf/files.amiga
cvs rdiff -u -r1.77 -r1.78 src/sys/arch/amiga/dev/zbus.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/amiga/dev/zz9k.c \
src/sys/arch/amiga/dev/zz9k_ax.c src/sys/arch/amiga/dev/zz9k_fb.c \
src/sys/arch/amiga/dev/zz9k_if.c src/sys/arch/amiga/dev/zz9k_usb.c \
src/sys/arch/amiga/dev/zz9kreg.h src/sys/arch/amiga/dev/zz9kvar.h

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



CVS commit: src

2022-09-06 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Sep  6 17:50:18 UTC 2022

Modified Files:
src/distrib/amiga/stand: loadbsd.uue
src/sys/arch/amiga/stand/loadbsd: Makefile README loadbsd.c

Log Message:
Update loadbsd source and distribution binary to version 3.2.
Including the following changes by Gunther Nikl:
- Added detection of A600.
- Fix handling of multiple -n options.
Make it compile with recent AmigaOS gcc ports (for example gcc6), as
older ports no longer work with current NetBSD header files.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/distrib/amiga/stand/loadbsd.uue
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/amiga/stand/loadbsd/Makefile
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/amiga/stand/loadbsd/README
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/amiga/stand/loadbsd/loadbsd.c

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

Modified files:

Index: src/distrib/amiga/stand/loadbsd.uue
diff -u src/distrib/amiga/stand/loadbsd.uue:1.2 src/distrib/amiga/stand/loadbsd.uue:1.3
--- src/distrib/amiga/stand/loadbsd.uue:1.2	Wed Nov 11 16:13:55 2015
+++ src/distrib/amiga/stand/loadbsd.uue	Tue Sep  6 17:50:18 2022
@@ -1,484 +1,611 @@
 begin 755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[`&3GNP!V`F1_H`C/`30`!'
-M^@"`\!-,`/`32``(!0`"9PQ'^@!R\!,(`/`3#`!*AF<$*DC=R"K968)D^D/Z
-M`!PO#71`*ME9@F3Z"`4``V<"]/AT`$Y[(`).=20%X9H,`@!]9AZ7RTY[L`-.
-M>[@&3GNX!TY[L`1.>[`%3GNP!DY[L`=T`'P`(D8F1BI&+DXL1D[7?_\``0``
-M``!U2!M;V1E+"!I9B!A
-M=F%I;&%B;&4N"@DM8B`@07-K(&9O7!E+B!;92YG
-M(#,P,#`[('5S92`S,C`P,"M.(&9O2P@9F]R(&9I;F1I;F<@;6EN
-M:6UU;2!A;6]U;G0*"2`@("!O9B!M96UO71E2!F87-T97(*"2`@("`H:2YE
-M+B`S,B!B:70@;65M;W)Y*2P@8G5

CVS commit: src

2022-09-06 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Sep  6 17:50:18 UTC 2022

Modified Files:
src/distrib/amiga/stand: loadbsd.uue
src/sys/arch/amiga/stand/loadbsd: Makefile README loadbsd.c

Log Message:
Update loadbsd source and distribution binary to version 3.2.
Including the following changes by Gunther Nikl:
- Added detection of A600.
- Fix handling of multiple -n options.
Make it compile with recent AmigaOS gcc ports (for example gcc6), as
older ports no longer work with current NetBSD header files.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/distrib/amiga/stand/loadbsd.uue
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/amiga/stand/loadbsd/Makefile
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/amiga/stand/loadbsd/README
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/amiga/stand/loadbsd/loadbsd.c

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



Re: CVS commit: src/sys/arch

2015-11-13 Thread Frank Wille
On Fri, 13 Nov 2015 08:45:29 +1100
matthew green  wrote:

> > I didn't manage to make the "wskbd" protocol the default in the X
> > server, so you have to provide a small xorg.conf with Option "Protocol"
> > "wskbd". The standard protocol will not work as the Amiga wskbd cannot
> > be switched into raw mode and has no AT-scancode translation in the
> > kernel.
> 
> try having a look at xorg-server/dist/hw/xfree86/common/xf86AutoConfig.c
> listPossibleVideoDrivers().

As far as I understand this function tries possible video drivers and
finally selects a default one, which is "vesa" for x86 and "wsfb" for the
rest. I'm fine with that.

What I need is -DDEFAULT_TO_WSKBD for the keyboard protocol, which happens
in xf86-input-keyboard/dist/configure. But adding "m68k" and "amiga" there
and in configure.ac didn't help:

case $host_os in
  netbsd*)
case $host in
  *powerpc-*|*sparc-*|*sparc64-*|*vax-*)
OS_FLAGS="$OS_FLAGS -DDEFAULT_TO_WSKBD"
;;
esac
case "$(uname -m 2>&1)" in
  evbarm|sgimips|shark)   
OS_FLAGS="$OS_FLAGS -DDEFAULT_TO_WSKBD"
;;
esac
;;
esac

-- 
Frank Wille


Re: CVS commit: src/sys/arch/amiga/include

2015-06-11 Thread Frank Wille
On Wed, 10 Jun 2015 13:07:01 +0200
Radoslaw Kujawa  wrote:

> > Modified Files:
> > src/sys/arch/amiga/include: vmparam.h
> > 
> > Log Message:
> > Remove unused KUSER_AREA, SYSPTSIZE, USRPTSIZE.
> > Bump MAXTSIZ and MAXDSIZ to the same values atari is using.
> > This makes gcc 4.8 (/usr/libexec/cc1) load and execute.
> 
> Shall we pull this to NetBSD 7? It also includes gcc 4.8, so has the same
> exact problem.

Yes, I was about to write a pull-up request, but first I wanted to test
mlelstv's other vmparam.h changes mentioned in this thread:

http://mail-index.netbsd.org/port-m68k/2015/05/31/msg000599.html

Already tested on A3000/060. Will also test it on A1200/030 now.
When it works it makes sense to include a second patch.

-- 
Frank Wille


Re: CVS commit: src/sys/arch/sandpoint/sandpoint

2012-01-30 Thread Frank Wille
David Young wrote:

> You should be able to detach it so that you know that the driver can
> return the hardware to initial conditions, and so that in a modular
> universe you can unload the old driver software and load new.

Ok, you're right. I forgot about the modules. I have reverted my changes.

-- 
Frank Wille


Re: CVS commit: src/sys/arch/sandpoint/sandpoint

2012-01-24 Thread Frank Wille
David Holland wrote:

> On Tue, Jan 24, 2012 at 12:10:07PM +0100, Frank Wille wrote:
>> > > A detach function for the onboard flash probably makes no sense,
>> > > so remove it.
>> > 
>> > Sure it makes sense.
>> 
>> Hmm... how do you detach it? With drvctl(8)? Why should you do that?
>
> Power consumption comes to mind...

I doubt that detaching the driver will change power consumption a lot.
And I cannot remove the NOR flash chip from the mainboard. ;)

-- 
Frank Wille



Re: CVS commit: src/sys/arch/sandpoint/sandpoint

2012-01-24 Thread Frank Wille
On Mon, 23 Jan 2012 18:52:11 -0600
David Young  wrote:

> > Log Message:
> > A detach function for the onboard flash probably makes no sense, so
> > remove it.
> 
> Sure it makes sense.

Hmm... how do you detach it? With drvctl(8)? Why should you do that?


> Has it been tested, though?

The detach function? No.


Regards,

-- 
Frank Wille


Re: CVS commit: src/sys/arch/sandpoint/stand/altboot

2011-10-31 Thread Frank Wille
David Laight wrote:

> This isn't really an ideal solution, I've have to fight membar
> instructions embedded into byteswapping accesses on ppc linux.
> Drivers may want to do several accesses that can be reordered
> before/after one that matters - so need greater control than
> enforcing specific membars.

Hm. What would you suggest? Is it better to revert this change?

If it is only a matter of performance, I would prefer a slower driver
with increased stability. This is just the boot loader, which reads from
disks with PIO0.

-- 
Frank Wille


Re: CVS commit: src/sys/arch/sandpoint/stand/altboot

2011-03-20 Thread Frank Wille
David Laight wrote:

> Can anything be done with the 'initrd' image - either as an image file
> or something in the tar archive (IIRC it is likely to be one these days)?

Altboot could theoretically use information from the initrd image. For
example I thought about passing the bootargs in it.

But I guess you would never need that. For installation you have to
connect a serial console anyway, where you can use the interactive mode
of altboot to load the netbsd-INSTALL kernel via TFTP.

-- 
Frank Wille


Re: device major numbers

2011-02-28 Thread Frank Wille
Matt Thomas wrote:

> As the overall powerpc port maintainer, I'd rather see all new
> majors be allocated from major.powerpc.  This is that eventually
> all powerpc ports can use the same major number and that will
> eliminate one reason why we can't have a shared userland.

Ok, agreed. We make it so.

-- 
Frank Wille



re: device major numbers

2011-02-28 Thread Frank Wille
matthew green wrote:

> since satmgr(4) is sandpoint specific, it very much does not 
> belong in the 144-159 range.
>
> why does it need to be changed?

Because I fear that the next developer who adds a new device to
majors.powerpc will use 100, without realizing it is in use by sandpoint.


> this meanst hat new kernels
> with an older userland won't work with satmgr at all.

This is not a problem as satmgr(4) is quite new, so there was no release
including it yet. It is still a good time to make it right.


> can the 100 value be reserved in other ppc majors, or it just
> moved to a generic major?

The device is very sandpoint specific (only 8245-based NAS systems will
ever need it). So I would like to avoid wasting one of the few device
majors we have left.


> either way, 144 is wrong.

Ok. So you would suggest to allocate 100 for all powerpc ports?

Would be nice if we had a number range reserved for the specific ports here.

-- 
Frank Wille


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

2010-03-05 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Fri Mar  5 17:58:15 UTC 2010

Modified Files:
src/sys/arch/amigappc/conf: std.amigappc

Log Message:
Link the kernel with -q option to be able to relocate it with the boot loader.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/amigappc/conf/std.amigappc

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



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

2010-03-05 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Fri Mar  5 17:58:15 UTC 2010

Modified Files:
src/sys/arch/amigappc/conf: std.amigappc

Log Message:
Link the kernel with -q option to be able to relocate it with the boot loader.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/amigappc/conf/std.amigappc

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/amigappc/conf/std.amigappc
diff -u src/sys/arch/amigappc/conf/std.amigappc:1.7 src/sys/arch/amigappc/conf/std.amigappc:1.8
--- src/sys/arch/amigappc/conf/std.amigappc:1.7	Tue Jul 21 09:49:15 2009
+++ src/sys/arch/amigappc/conf/std.amigappc	Fri Mar  5 17:58:15 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: std.amigappc,v 1.7 2009/07/21 09:49:15 phx Exp $
+#	$NetBSD: std.amigappc,v 1.8 2010/03/05 17:58:15 phx Exp $
 #
 # standard, required NetBSD/amigappc 'options'
 
@@ -17,4 +17,6 @@
 options		MSGBUFADDR=0xfff7
 options		MSGBUFSIZE=0x1
 
+# The kernel has to be relocated by the boot loader
 makeoptions TEXTADDR=0x0800
+makeoptions	EXTRA_LINKFLAGS="-q"



CVS commit: src/sys/arch/amigappc/amigappc

2010-03-05 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Fri Mar  5 17:56:46 UTC 2010

Modified Files:
src/sys/arch/amigappc/amigappc: machdep.c

Log Message:
A1200 (BPPC) BAT init.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/amigappc/amigappc/machdep.c

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



CVS commit: src/sys/arch/amigappc/amigappc

2010-03-05 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Fri Mar  5 17:56:46 UTC 2010

Modified Files:
src/sys/arch/amigappc/amigappc: machdep.c

Log Message:
A1200 (BPPC) BAT init.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/amigappc/amigappc/machdep.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/amigappc/amigappc/machdep.c
diff -u src/sys/arch/amigappc/amigappc/machdep.c:1.41 src/sys/arch/amigappc/amigappc/machdep.c:1.42
--- src/sys/arch/amigappc/amigappc/machdep.c:1.41	Fri Feb  5 12:05:25 2010
+++ src/sys/arch/amigappc/amigappc/machdep.c	Fri Mar  5 17:56:46 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.41 2010/02/05 12:05:25 phx Exp $ */
+/* $NetBSD: machdep.c,v 1.42 2010/03/05 17:56:46 phx Exp $ */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.41 2010/02/05 12:05:25 phx Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.42 2010/03/05 17:56:46 phx Exp $");
 
 #include "opt_ddb.h"
 #include "opt_ipkdb.h"
@@ -547,18 +547,30 @@
 
 	/*
 	 * Initialize BAT tables.
+	 * The CSPPC RAM (A3000/A4000) always starts at 0x0800 and is
+	 * up to 128MB big.
+	 * The BPPC RAM (A1200) can be up to 256MB and may start at nearly
+	 * any address between 0x4000 and 0x8000 depending on which
+	 * RAM module of which size was inserted into which bank:
+	 * The RAM module in bank 1 is located from 0x?800 downwards.
+	 * The RAM module in bank 2 is located from 0x?800 upwards.
+	 * Whether '?' is 4, 5, 6 or 7 probably depends on the size.
+	 * So we have to use the 'startkernel' symbol for BAT-mapping
+	 * our RAM.
 	 */
-	if (!is_a1200()) {
+	if (is_a1200()) {
+		amigappc_batinit(0x, BAT_BL_16M, BAT_I|BAT_G,
+		(startkernel & 0xf000), BAT_BL_256M, 0,
+		0xfff0, BAT_BL_512K, 0,
+		~0);
+	} else {
 		/* A3000 or A4000 */
 		amigappc_batinit(0x, BAT_BL_16M, BAT_I|BAT_G,
-		0x0800, BAT_BL_128M, 0,
+		(startkernel & 0xf800), BAT_BL_128M, 0,
 		0xfff0, BAT_BL_512K, 0,
 		0x4000, BAT_BL_256M, BAT_I|BAT_G,
 		~0);
 	}
-	else {
-		panic("A1200 BPPC batinit?");
-	}
 
 	/*
 	 * Set up trap vectors and interrupt handler



CVS commit: src/sys/arch/amigappc/amigappc

2010-03-05 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Fri Mar  5 17:55:42 UTC 2010

Modified Files:
src/sys/arch/amigappc/amigappc: locore.S

Log Message:
Removed useless code.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/amigappc/amigappc/locore.S

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



CVS commit: src/sys/arch/amigappc/amigappc

2010-03-05 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Fri Mar  5 17:55:42 UTC 2010

Modified Files:
src/sys/arch/amigappc/amigappc: locore.S

Log Message:
Removed useless code.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/amigappc/amigappc/locore.S

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/amigappc/amigappc/locore.S
diff -u src/sys/arch/amigappc/amigappc/locore.S:1.20 src/sys/arch/amigappc/amigappc/locore.S:1.21
--- src/sys/arch/amigappc/amigappc/locore.S:1.20	Wed Mar  3 00:30:15 2010
+++ src/sys/arch/amigappc/amigappc/locore.S	Fri Mar  5 17:55:42 2010
@@ -1,4 +1,4 @@
-/*  $NetBSD: locore.S,v 1.20 2010/03/03 00:30:15 pooka Exp $   */
+/*  $NetBSD: locore.S,v 1.21 2010/03/05 17:55:42 phx Exp $   */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -185,10 +185,8 @@
 /*
  * Pass boot arguments
  */
-/* XXX eclockfreq not needed for amigappc
 	lis	11,_C_LABEL(eclockfreq)@ha
 	stw	20,_C_LABEL(eclockfreq)@l(11)
-*/
 	mr	3,26			/* boothowto */
 	mr	4,23			/* fphystart */
 	mr	5,24			/* fphysize */
@@ -252,187 +250,6 @@
 
 
 /*
- * Dump registers to (r3) - for debugging
- */
-	.globl	_C_LABEL(dumpregs)
-_C_LABEL(dumpregs):
-	/* save IBATs */
-	mfspr	0,528
-	stw	0,0(3)
-	mfspr	0,529
-	stw	0,4(3)
-	mfspr	0,530
-	stw	0,8(3)
-	mfspr	0,531
-	stw	0,12(3)
-	mfspr	0,532
-	stw	0,16(3)
-	mfspr	0,533
-	stw	0,20(3)
-	mfspr	0,534
-	stw	0,24(3)
-	mfspr	0,535
-	stw	0,28(3)
-	mfspr	0,536
-
-	/* save DBATs */
-	stw	0,32(3)
-	mfspr	0,537
-	stw	0,36(3)
-	mfspr	0,538
-	stw	0,40(3)
-	mfspr	0,539
-	stw	0,44(3)
-	mfspr	0,540
-	stw	0,48(3)
-	mfspr	0,541
-	stw	0,52(3)
-	mfspr	0,542
-	stw	0,56(3)
-	mfspr	0,543
-	stw	0,60(3)
-
-	/* save SRs */
-	addi	12,3,60
-	li	11,0
-1:	mfsrin	0,11
-	stwu	0,4(12)
-	addis	11,11,0x1...@h
-	cmpwi	11,0
-	bne	1b
-
-	/* HID0, HID1, TBL, TBU */
-	mfspr	0,1008
-	stw	0,128(3)
-	mfspr	0,1009
-	stw	0,132(3)
-	mfspr	0,268
-	stw	0,136(3)
-	mfspr	0,269
-	stw	0,140(3)
-
-	/* DEC, EAR, SDR1, MSR */
-	mfspr	0,22
-	stw	0,144(3)
-	mfspr	0,282
-	stw	0,148(3)
-	mfspr	0,25
-	stw	0,152(3)
-	mfmsr	0
-	stw	0,156(3)
-
-	blr
-
-	.globl	_C_LABEL(test_int),_C_LABEL(test_int_size)
-_C_LABEL(test_int):
-	mtsprg0 0
-	mtsprg1 3
-	mtsprg2	4
-	mtsprg3	5
-	mflr	4
-	bl	1f
-1:	mflr	5
-	andi.	5,5,0x3f00
-	lis	3,crash_d...@ha
-	addi	3,3,crash_d...@l
-	mtlr	3
-	blr
-	_C_LABEL(test_int_size) = .-_C_LABEL(test_int)
-
-crash_dump:
-	lis	3,0xfff70...@h
-	stw	5,0(3)
-	mfmsr	0
-	stw	0,4(3)
-	mfsrr0	0
-	stw	0,8(3)
-	mfsrr1	0
-	stw	0,0xc(3)
-	mfdar	0
-	stw	0,0x10(3)
-	mfdsisr	0
-	stw	0,0x14(3)
-	mfspr	0,1008
-	stw	0,0x18(3)
-	mfspr	0,1009
-	stw	0,0x1c(3)
-	stw	4,0x20(3)
-	mfcr	0
-	stw	0,0x24(3)
-	mfctr	0
-	stw	0,0x28(3)
-	mfspr	0,22
-	stw	0,0x2c(3)
-	stw	1,0x34(3)
-	stw	2,0x38(3)
-	stmw	6,0x48(3)
-	mfsprg0	0
-	stw	0,0x30(3)
-	mfsprg1	0
-	stw	0,0x3c(3)
-	mfsprg2	0
-	stw	0,0x40(3)
-	mfsprg3	0
-	stw	0,0x44(3)
-	mfspr	0,528
-	stw	0,0xb0(3)
-	mfspr	0,529
-	stw	0,0xb4(3)
-	mfspr	0,530
-	stw	0,0xb8(3)
-	mfspr	0,531
-	stw	0,0xbc(3)
-	mfspr	0,532
-	stw	0,0xc0(3)
-	mfspr	0,533
-	stw	0,0xc4(3)
-	mfspr	0,534
-	stw	0,0xc8(3)
-	mfspr	0,535
-	stw	0,0xcc(3)
-	mfspr	0,536
-	stw	0,0xd0(3)
-	mfspr	0,537
-	stw	0,0xd4(3)
-	mfspr	0,538
-	stw	0,0xd8(3)
-	mfspr	0,539
-	stw	0,0xdc(3)
-	mfspr	0,540
-	stw	0,0xe0(3)
-	mfspr	0,541
-	stw	0,0xe4(3)
-	mfspr	0,542
-	stw	0,0xe8(3)
-	mfspr	0,543
-	stw	0,0xec(3)
-	mfpvr	0
-	stw	0,0xf0(3)
-	mftbu	0
-	stw	0,0xf4(3)
-	mftbl	0
-	stw	0,0xf8(3)
-	mfspr	0,25
-	stw	0,0xfc(3)
-	addi	12,3,0xfc
-	li	11,0
-2:	mfsrin	0,11
-	stwu	0,4(12)
-	addis	11,11,0x1...@h
-	cmpwi	11,0
-	bne	2b
-	lis	3,0xdff...@ha
-	addi	3,3,0xdff...@l
-3:	li	0,0xf80
-	sth	0,0(3)
-	sync
-	li	0,0x00a
-	sth	0,0(3)
-	sync
-	b	3b
-
-
-/*
  * Pull in common switch / setfault code.
  */
 #include 



CVS commit: src/doc

2010-02-11 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Thu Feb 11 14:08:56 UTC 2010

Modified Files:
src/doc: CHANGES

Log Message:
Mention amigappc improvements.


To generate a diff of this commit:
cvs rdiff -u -r1.1358 -r1.1359 src/doc/CHANGES

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



CVS commit: src/doc

2010-02-11 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Thu Feb 11 14:10:22 UTC 2010

Modified Files:
src/doc: CHANGES

Log Message:
Forgot the [develope date].


To generate a diff of this commit:
cvs rdiff -u -r1.1359 -r1.1360 src/doc/CHANGES

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



CVS commit: src/sys/arch

2010-02-09 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Feb  9 18:13:10 UTC 2010

Modified Files:
src/sys/arch/amiga/amiga: device.h
src/sys/arch/amiga/dev: atzsc.c grf_cvreg.h gtsc.c
src/sys/arch/amiga/include: cpu.h
src/sys/arch/amigappc/include: cpu.h

Log Message:
Moved the macros amiga_cpu_sync() and amiga_membarrier() from amiga/device.h
to the MD include/cpu.h.
Also make sure that grf_cvreg.h includes cpu.h as it is needed by Xamiga
in xsrc/xfree/xc/programs/Xserver/hw/netbsd/amiga/s3/amigaCV.h.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/amiga/amiga/device.h
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/amiga/dev/atzsc.c
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/amiga/dev/grf_cvreg.h
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/amiga/dev/gtsc.c
cvs rdiff -u -r1.74 -r1.75 src/sys/arch/amiga/include/cpu.h
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/amigappc/include/cpu.h

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



Re: CVS commit: src/sys/arch/amiga

2010-02-05 Thread Frank Wille
On Fri, 5 Feb 2010 19:17:41 +0100
Martin Husemann  wrote:

> On Fri, Feb 05, 2010 at 09:34:10PM +0900, Izumi Tsutsui wrote:
> > > Added two new macros to device.h:
> > > amiga_membarrier() enforces a reorder protection on memory
> > > read/writes.
> 
> We have __insn_barrier() in sys/cdefs.h for that.

Hmm... this is a gcc feature. Does gcc insert an eieio instruction for
PowerPC in this case? Because that's what I need.

-- 
Frank Wille


CVS commit: src/sys/arch/amiga

2010-02-05 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Fri Feb  5 12:13:36 UTC 2010

Modified Files:
src/sys/arch/amiga/amiga: device.h
src/sys/arch/amiga/dev: ahsc.c atzsc.c cbiiisc.c grf_cv.c grf_cvreg.h
gtsc.c sbic.c sbicreg.h siop2.c

Log Message:
Added two new macros to device.h:
amiga_membarrier() enforces a reorder protection on memory read/writes.
amiga_cpu_sync() makes sure the instruction pipelines are flushed.
Both macros may be used in all amiga device drivers for compatibility with
amigappc. For the start I fixed some SCSI drivers.
cbiiisc and ahsc were tested and seem to work really fast with DMA now.
Some stability problems with amigappc remain nevertheless (spontaneous
kernel DSI traps with high CPU/SCSI load).


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/amiga/amiga/device.h
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/amiga/dev/ahsc.c
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/amiga/dev/atzsc.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/amiga/dev/cbiiisc.c
cvs rdiff -u -r1.50 -r1.51 src/sys/arch/amiga/dev/grf_cv.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/amiga/dev/grf_cvreg.h
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/amiga/dev/gtsc.c
cvs rdiff -u -r1.65 -r1.66 src/sys/arch/amiga/dev/sbic.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/amiga/dev/sbicreg.h
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/amiga/dev/siop2.c

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



CVS commit: src/sys/arch/amigappc/amigappc

2010-02-05 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Fri Feb  5 12:05:26 UTC 2010

Modified Files:
src/sys/arch/amigappc/amigappc: machdep.c

Log Message:
dma_cachectl() flushes the data cache for Amiga SCSI drivers.
Drop into the debugger after oea_dumpsys(), which doesn't dump anything ATM.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/amigappc/amigappc/machdep.c

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



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

2010-02-03 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed Feb  3 14:03:47 UTC 2010

Modified Files:
src/sys/arch/amigappc/conf: GENERIC

Log Message:
Enable all devices which can be compiled.
(Tested, or even working, are only few of them.)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/amigappc/conf/GENERIC

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



CVS commit: src/sys/arch

2010-02-03 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed Feb  3 13:56:53 UTC 2010

Modified Files:
src/sys/arch/amiga/amiga: amiga_bus_simple_4.c busfuncs.c
simple_busfuncs.c
src/sys/arch/amiga/include: bus.h
src/sys/arch/amigappc/include: bus.h

Log Message:
Ensure reorder protection for amigappc in all bus space functions.
The ne(4) driver (XSurf2), which is the only bus_space device I got,
works now.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/amiga/amiga/amiga_bus_simple_4.c \
src/sys/arch/amiga/amiga/simple_busfuncs.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/amiga/amiga/busfuncs.c
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/amiga/include/bus.h
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/amigappc/include/bus.h

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



CVS commit: src/sys/arch/amigappc/amigappc

2010-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Feb  2 20:56:13 UTC 2010

Modified Files:
src/sys/arch/amigappc/amigappc: locore.S

Log Message:
We need to provide eclockfreq, just for the aucc driver. The amigappc uses
mftb timecounters.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/amigappc/amigappc/locore.S

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



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

2010-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Feb  2 19:16:57 UTC 2010

Modified Files:
src/sys/arch/amigappc/include: cpu.h intr.h psl.h

Log Message:
Make it compile with all devices from amiga/dev.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/amigappc/include/cpu.h
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/amigappc/include/intr.h
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/amigappc/include/psl.h

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



CVS commit: src/sys/arch/amigappc/amigappc

2010-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Feb  2 19:15:33 UTC 2010

Modified Files:
src/sys/arch/amigappc/amigappc: autoconf.c machdep.c p5reg.h
pic_amiga.c

Log Message:
Rewrote the "amiga" PIC from scratch. Interrupts are based on IPL 1-6 now
and no longer on IRQ 0-13.
Fixed interrupt levels in amigappc_install_handlers() (IPL_SOFTxxx was very
bad!).
Compilation with all (most?) amiga devices was tested and fixed.
Some smaller fixes.
Status:
  With Cybervision64 and A3000 SBIC SCSI (with DMA disabled) the system
  reaches multiuser!
Lots of problems left...


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/amigappc/amigappc/autoconf.c \
src/sys/arch/amigappc/amigappc/p5reg.h \
src/sys/arch/amigappc/amigappc/pic_amiga.c
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/amigappc/amigappc/machdep.c

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



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

2010-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Feb  2 19:07:06 UTC 2010

Modified Files:
src/sys/arch/amigappc/conf: files.amigappc

Log Message:
IOBlix files were missing.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/amigappc/conf/files.amigappc

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



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

2010-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Feb  2 19:03:31 UTC 2010

Modified Files:
src/sys/arch/amiga/dev: com_supio.c gvpio.c hyper.c ioblix_zbus.c
zbusvar.h

Log Message:
Fix compilation warnings and errors with amigappc.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/amiga/dev/com_supio.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/amiga/dev/gvpio.c
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/amiga/dev/hyper.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/amiga/dev/ioblix_zbus.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/amiga/dev/zbusvar.h

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



CVS commit: src/distrib/sets/lists/comp

2010-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Feb  2 14:13:16 UTC 2010

Modified Files:
src/distrib/sets/lists/comp: md.amigappc

Log Message:
Make ./build release work with new amigappc port.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/distrib/sets/lists/comp/md.amigappc

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



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

2010-02-02 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Tue Feb  2 12:47:51 UTC 2010

Modified Files:
src/sys/arch/amigappc/conf: files.amigappc

Log Message:
Include majors.amigappc instead of majors.amiga.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/amigappc/conf/files.amigappc

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



CVS commit: src

2010-01-31 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sun Jan 31 21:52:24 UTC 2010

Modified Files:
src/share/man/man4: ddb.4
src/sys/ddb: db_write_cmd.c

Log Message:
New modifiers for the "write" command: /BHL. They act like /bhl but do not
read the old value from memory before writing.


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/share/man/man4/ddb.4
cvs rdiff -u -r1.23 -r1.24 src/sys/ddb/db_write_cmd.c

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



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

2010-01-31 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sun Jan 31 19:56:19 UTC 2010

Modified Files:
src/sys/arch/amiga/dev: grf_cv.c grf_cvreg.h

Log Message:
Fixed for amigappc by executing eieio after writing to a vga register.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/sys/arch/amiga/dev/grf_cv.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/amiga/dev/grf_cvreg.h

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



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

2010-01-30 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sat Jan 30 16:49:14 UTC 2010

Modified Files:
src/sys/arch/amiga/dev: grf_cv.c

Log Message:
Fixed compiler warnings when CV_INT_NUM == 2 or CV64CONSOLE is not defined.


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/amiga/dev/grf_cv.c

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



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

2010-01-30 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sat Jan 30 16:47:05 UTC 2010

Modified Files:
src/sys/arch/amiga/dev: ite.c

Log Message:
Do not crash when ite wasn't configured to be console.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/arch/amiga/dev/ite.c

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



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

2010-01-29 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Fri Jan 29 19:56:41 UTC 2010

Modified Files:
src/sys/arch/amiga/dev: siop.c siop2.c

Log Message:
Define DCIAS() for amigappc.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/amiga/dev/siop.c
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/amiga/dev/siop2.c

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



CVS commit: src/share/man/man4

2010-01-28 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Thu Jan 28 21:13:49 UTC 2010

Modified Files:
src/share/man/man4: ddb.4

Log Message:
New machine commands for PPC OEA.
bat: prints the BAT registers and translations
mmu: prints MMU registers (sdr1, sr0..15)
Previous PPC commands were for IBM4xx only, so make two sections now:
POWERPC 4xx and POWERPC OEA.


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 src/share/man/man4/ddb.4

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



CVS commit: src/sys/arch/powerpc

2010-01-28 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Thu Jan 28 21:10:49 UTC 2010

Modified Files:
src/sys/arch/powerpc/include: db_machdep.h
src/sys/arch/powerpc/powerpc: db_interface.c

Log Message:
New machine commands for PPC OEA:
bat: prints the BAT registers and translations
mmu: prints MMU registers (sdr1, sr0..15)


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/powerpc/include/db_machdep.h
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/powerpc/powerpc/db_interface.c

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



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

2010-01-28 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Thu Jan 28 19:01:33 UTC 2010

Modified Files:
src/sys/arch/powerpc/powerpc: db_disasm.c

Log Message:
Fixed some more instructions and their operands.
Print the register-indirect operand with displacement in load/store
instructions as d(rN).
Conditional branches are printed with their simplified mnemonic (i.e.
beq instead of bc x,y). Also append the branch-prediction flag +/-i.
Print real labels for 16-bit branches instead of just an offset.
Use the simplified mnemonic cmpw and cmpd, and much more enhancements...


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/powerpc/powerpc/db_disasm.c

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



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

2010-01-28 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Thu Jan 28 12:45:01 UTC 2010

Modified Files:
src/sys/arch/powerpc/powerpc: db_disasm.c db_interface.c

Log Message:
Reverted last commit for db_disasm.c and db_inteface.c.
Sorry, erroneously commited them...


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/powerpc/powerpc/db_disasm.c
cvs rdiff -u -r1.41 -r1.42 src/sys/arch/powerpc/powerpc/db_interface.c

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



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

2010-01-28 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Thu Jan 28 12:37:45 UTC 2010

Modified Files:
src/sys/arch/powerpc/powerpc: db_disasm.c db_interface.c pmap_subr.c

Log Message:
Fixed typo: PPC_OEA64_BIRDGE -> PPC_OEA64_BRIDGE


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/powerpc/powerpc/db_disasm.c
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/powerpc/powerpc/db_interface.c
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/powerpc/powerpc/pmap_subr.c

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



CVS commit: src/sys/arch/amigappc/amigappc

2010-01-24 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sun Jan 24 15:39:50 UTC 2010

Modified Files:
src/sys/arch/amigappc/amigappc: amiga_init.c

Log Message:
We will always return chip mem instead of z2 mem for amigappc.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/amigappc/amigappc/amiga_init.c

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



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

2010-01-24 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sun Jan 24 12:17:05 UTC 2010

Modified Files:
src/sys/arch/amigappc/conf: majors.amigappc

Log Message:
No include directive supported in a majors.* file. We have to copy the
port-amiga majors.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/amigappc/conf/majors.amigappc

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



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

2010-01-24 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sun Jan 24 10:36:35 UTC 2010

Modified Files:
src/sys/arch/amigappc/include: Makefile

Log Message:
Fixed a typo. Make ./build.sh release work.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/amigappc/include/Makefile

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



CVS commit: src/sys/arch/ofppc/ofppc

2010-01-20 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed Jan 20 17:12:08 UTC 2010

Modified Files:
src/sys/arch/ofppc/ofppc: machdep.c

Log Message:
Have to include rtas.h for NRTAS definition.


To generate a diff of this commit:
cvs rdiff -u -r1.108 -r1.109 src/sys/arch/ofppc/ofppc/machdep.c

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



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

2010-01-17 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sun Jan 17 16:47:17 UTC 2010

Modified Files:
src/sys/arch/powerpc/oea: ofwoea_machdep.c

Log Message:
Heed modeldata.ranges_offset while constructing the ranges bitmap.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/powerpc/oea/ofwoea_machdep.c

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



CVS commit: src/sys/arch/ofppc/ofppc

2010-01-16 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sat Jan 16 21:05:28 UTC 2010

Modified Files:
src/sys/arch/ofppc/ofppc: machdep.c

Log Message:
Allow compilation without rtas device being configured.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/sys/arch/ofppc/ofppc/machdep.c

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



CVS commit: src/sys/arch/ofppc/ofppc

2010-01-15 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Fri Jan 15 20:57:25 UTC 2010

Modified Files:
src/sys/arch/ofppc/ofppc: mainbus.c

Log Message:
Fixed crash, when /rtas was not found: OF_finddevice() returns -1 when
the device is not found.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/ofppc/ofppc/mainbus.c

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



CVS commit: src/lib/libm/arch/m68060

2010-01-06 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed Jan  6 14:11:53 UTC 2010

Modified Files:
src/lib/libm/arch/m68060: Makefile.list e_acos.S e_acosf.S e_asin.S
e_asinf.S e_atanh.S e_atanhf.S e_cosh.S e_coshf.S e_exp.S e_expf.S
e_log.S e_log10.S e_log10f.S e_logf.S e_sinh.S e_sinhf.S e_sqrt.S
e_sqrtf.S fplsp_wrap.S k_tan.S k_tanf.S s_atan.S s_atanf.S s_cos.S
s_cosf.S s_expm1.S s_expm1f.S s_log1p.S s_log1pf.S s_logb.S
s_logbf.S s_sin.S s_sinf.S s_tan.S s_tanf.S s_tanh.S s_tanhf.S

Log Message:
Jump through the PLT in PIC mode to fix the DT_TEXTREL warning on creating
the shared object.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libm/arch/m68060/Makefile.list \
src/lib/libm/arch/m68060/e_acos.S src/lib/libm/arch/m68060/e_acosf.S \
src/lib/libm/arch/m68060/e_asin.S src/lib/libm/arch/m68060/e_asinf.S \
src/lib/libm/arch/m68060/e_atanh.S src/lib/libm/arch/m68060/e_atanhf.S \
src/lib/libm/arch/m68060/e_cosh.S src/lib/libm/arch/m68060/e_coshf.S \
src/lib/libm/arch/m68060/e_exp.S src/lib/libm/arch/m68060/e_expf.S \
src/lib/libm/arch/m68060/e_log.S src/lib/libm/arch/m68060/e_log10.S \
src/lib/libm/arch/m68060/e_log10f.S src/lib/libm/arch/m68060/e_logf.S \
src/lib/libm/arch/m68060/e_sinh.S src/lib/libm/arch/m68060/e_sinhf.S \
src/lib/libm/arch/m68060/e_sqrt.S src/lib/libm/arch/m68060/e_sqrtf.S \
src/lib/libm/arch/m68060/k_tan.S src/lib/libm/arch/m68060/k_tanf.S \
src/lib/libm/arch/m68060/s_atan.S src/lib/libm/arch/m68060/s_atanf.S \
src/lib/libm/arch/m68060/s_cos.S src/lib/libm/arch/m68060/s_cosf.S \
src/lib/libm/arch/m68060/s_expm1.S src/lib/libm/arch/m68060/s_expm1f.S \
src/lib/libm/arch/m68060/s_log1p.S src/lib/libm/arch/m68060/s_log1pf.S \
src/lib/libm/arch/m68060/s_logb.S src/lib/libm/arch/m68060/s_logbf.S \
src/lib/libm/arch/m68060/s_sin.S src/lib/libm/arch/m68060/s_sinf.S \
src/lib/libm/arch/m68060/s_tan.S src/lib/libm/arch/m68060/s_tanf.S \
src/lib/libm/arch/m68060/s_tanh.S src/lib/libm/arch/m68060/s_tanhf.S
cvs rdiff -u -r1.6 -r1.7 src/lib/libm/arch/m68060/fplsp_wrap.S

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



CVS commit: src/lib/libm/arch/m68060

2010-01-06 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed Jan  6 14:10:57 UTC 2010

Modified Files:
src/lib/libm/arch/m68060: makeas.sh

Log Message:
Jump through the PLT in PIC mode to fix the DT_TEXTREL warning on creating
the shared object.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libm/arch/m68060/makeas.sh

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