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

2025-04-09 Thread Nathanial Sloss
On Thu, 10 Apr 2025 00:44:02 Izumi Tsutsui wrote: > > Module Name:src > > Committed By: nat > > Date: Wed Apr 9 00:04:41 UTC 2025 > > > > Modified Files: > > src/sys/arch/m68k/m68k: fpu.c > > > > Log Message: > > Add workaround for fpu test for kernels defined wit

CVS commit: src/sys/arch/m68k/m68k

2025-04-05 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Mar 30 04:44:26 UTC 2025 Modified Files: src/sys/arch/m68k/m68k: switch_subr.s Log Message: Sprinkle nop. This is the kernel part of addressing the issue with fpu emulation on lc040 cpus. The idea is that we might be switch fro

CVS commit: src/sys/arch/m68k/m68k

2025-04-05 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Mar 31 13:03:23 UTC 2025 Modified Files: src/sys/arch/m68k/m68k: switch_subr.s Log Message: Wrap up lc040 compatability nops in a macro. Also add a comment describing why they are there so they wont be accidently removed in the

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

2025-04-05 Thread Nathanial Sloss
On Mon, 31 Mar 2025 22:48:39 Tetsuya Isaki wrote: > At Sun, 30 Mar 2025 04:44:26 +, > > Nathanial Sloss wrote: > > Module Name:src > > Committed By: nat > > Date: Sun Mar 30 04:44:26 UTC 2025 > > > > Modified Files: > &

CVS commit: src/sys/arch/m68k/m68k

2025-03-29 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Mar 30 04:44:26 UTC 2025 Modified Files: src/sys/arch/m68k/m68k: switch_subr.s Log Message: Sprinkle nop. This is the kernel part of addressing the issue with fpu emulation on lc040 cpus. The idea is that we might be switch fro

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

2025-03-11 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Mar 10 11:29:25 UTC 2025 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: Serialize pdma xfers. The same is done for pdma interrupt xfers. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/arch/m

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

2025-03-11 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Mar 10 11:32:24 UTC 2025 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: Remove CHECKMORE. This was a performance penalty and was found to be unnecessary as the root cause of errors doing pdma interrupt xfers was add

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

2025-03-10 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Mar 10 11:29:25 UTC 2025 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: Serialize pdma xfers. The same is done for pdma interrupt xfers. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/arch/m

CVS commit: src/share/man/man4

2025-01-20 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Jan 20 16:06:01 UTC 2025 Modified Files: src/share/man/man4: akbd.4 Log Message: Add example to use xmodmap to remap Option to Command key. Clarification on keys that generate middle and right button events. Clarification for bri

CVS commit: src/share/man/man4

2025-01-20 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Jan 20 16:06:01 UTC 2025 Modified Files: src/share/man/man4: akbd.4 Log Message: Add example to use xmodmap to remap Option to Command key. Clarification on keys that generate middle and right button events. Clarification for bri

CVS commit: src/sys/arch/mac68k/obio

2025-01-12 Thread Nathanial Sloss
$ */ /*- * Copyright (c) 2017, 2023 Nathanial Sloss @@ -29,7 +29,7 @@ /* Based on pad(4) and asc(4) */ #include -__KERNEL_RCSID(0, "$NetBSD: ascaudio.c,v 1.2 2024/10/13 12:34:56 nat Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ascaudio.c,v 1.3 2025/01/12 09:28:26 nat Exp $");

CVS commit: src/sys/arch/mac68k/obio

2025-01-12 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Jan 12 09:28:26 UTC 2025 Modified Files: src/sys/arch/mac68k/obio: ascaudio.c ascreg.h Log Message: Overhaul of ascaudio(4). Simpler interrrupt function. Volume control works properly on different variants of EASCs. Alternate FI

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

2025-01-12 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Jan 12 09:07:02 UTC 2025 Modified Files: src/sys/arch/macppc/dev: aed.c akbd.c Log Message: Catch up macppc to the same as mac68k. Unfortunately these files could not be tested fully as aed/akbd/ams and adb_direct have suffered

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

2025-01-12 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Jan 12 09:07:02 UTC 2025 Modified Files: src/sys/arch/macppc/dev: aed.c akbd.c Log Message: Catch up macppc to the same as mac68k. Unfortunately these files could not be tested fully as aed/akbd/ams and adb_direct have suffered

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

2025-01-11 Thread Nathanial Sloss
:59 nat Exp $ */ /* * Copyright (c) 2024 Nathanial Sloss @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aed.c,v 1.41 2024/12/09 10:32:53 nat Exp $"); +__KERNEL_RCSID(0, "$NetBSD: aed.c,v 1.42 2025/01/12 05:56:59 nat Exp $"); #include "op

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

2025-01-11 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Jan 12 05:56:59 UTC 2025 Modified Files: src/sys/arch/mac68k/dev: aed.c akbd.c Log Message: Stop echoing keys for special key sequences. This includes brightness and emulated mouse buttons. To generate a diff of this commit: c

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

2025-01-11 Thread Nathanial Sloss
Nathanial Sloss @@ -35,7 +35,7 @@ /* From: pm_direct.c 1.3 03/18/98 Takashi Hamada */ #include -__KERNEL_RCSID(0, "$NetBSD: pm_direct.c,v 1.36 2024/09/26 01:16:50 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pm_direct.c,v 1.37 2025/01/12 05:53:45 nat Exp $"); #include &qu

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

2025-01-11 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Jan 12 05:53:45 UTC 2025 Modified Files: src/sys/arch/mac68k/dev: pm_direct.c Log Message: Fix brightness controls on PowerBook 500 and similar. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/arch/mac68k/

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

2024-12-15 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Dec 16 03:45:53 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: ams.c Log Message: Fix matching of the PowerBook 500 trackpad. Addresses PR port-mac68k/58883. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src

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

2024-12-15 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Dec 16 03:45:53 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: ams.c Log Message: Fix matching of the PowerBook 500 trackpad. Addresses PR port-mac68k/58883. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src

CVS commit: src/doc

2024-12-09 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Dec 9 10:35:51 UTC 2024 Modified Files: src/doc: CHANGES Log Message: Mention backlight control on PowerBooks (mac68k). To generate a diff of this commit: cvs rdiff -u -r1.3117 -r1.3118 src/doc/CHANGES Please note that diffs

CVS commit: src/doc

2024-12-09 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Dec 9 10:35:51 UTC 2024 Modified Files: src/doc: CHANGES Log Message: Mention backlight control on PowerBooks (mac68k). To generate a diff of this commit: cvs rdiff -u -r1.3117 -r1.3118 src/doc/CHANGES Please note that diffs

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

2024-12-09 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Dec 9 10:32:53 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: aed.c genfb_grfbus.c Log Message: Add support for backlight control. Currently it is only supported on PowerBooks. The backlight can be turned off or on via pmf(9

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

2024-12-09 Thread Nathanial Sloss
1.40 2024/09/14 20:59:45 nat Exp $ */ +/* $NetBSD: aed.c,v 1.41 2024/12/09 10:32:53 nat Exp $ */ /* * Copyright (c) 2024 Nathanial Sloss @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aed.c,v 1.40 2024/09/14 20:59:45 nat Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ae

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

2024-12-07 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Dec 7 10:23:54 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: ams.c amsvar.h Log Message: Usability enhancement. For the emulated middle and right mouse buttons, one has to hold the combo keys and it is sent on the mouse cli

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

2024-12-07 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Dec 7 10:23:54 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: ams.c amsvar.h Log Message: Usability enhancement. For the emulated middle and right mouse buttons, one has to hold the combo keys and it is sent on the mouse cli

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

2024-11-21 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Fri Nov 22 07:27:17 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: Make writing of dummy byte conditional. This is insurance against devices that do not leave ACK hanging at the end of each transfer. Final par

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

2024-11-21 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Fri Nov 22 07:27:17 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: Make writing of dummy byte conditional. This is insurance against devices that do not leave ACK hanging at the end of each transfer. Final par

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

2024-11-21 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Fri Nov 22 07:23:04 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: This delay is no longer necessary. The delays throught the code were there to ensure error free transfers. This has been fixed in an eariler c

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

2024-11-21 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Fri Nov 22 07:23:04 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: This delay is no longer necessary. The delays throught the code were there to ensure error free transfers. This has been fixed in an eariler c

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

2024-11-21 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Fri Nov 22 07:20:06 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: No need any additional delay waiting for DREQ. This results in utilites like time(1) reporting results closer to reality when timing the transf

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

2024-11-21 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Fri Nov 22 07:20:06 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: No need any additional delay waiting for DREQ. This results in utilites like time(1) reporting results closer to reality when timing the transf

CVS commit: src/sys/arch/mac68k

2024-11-21 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Fri Nov 22 07:16:01 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c sbcvar.h src/sys/arch/mac68k/obio: sbc_obio.c Log Message: Serialize drq interrupt. This results in error free transfers between disks. Part of PR

CVS commit: src/sys/arch/mac68k

2024-11-21 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Fri Nov 22 07:16:01 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c sbcvar.h src/sys/arch/mac68k/obio: sbc_obio.c Log Message: Serialize drq interrupt. This results in error free transfers between disks. Part of PR

Re: CVS commit: src/lib/libm

2024-10-30 Thread Nathanial Sloss
On Wed, 30 Oct 2024 06:59:45 Taylor R Campbell wrote: > > Date: Wed, 30 Oct 2024 04:30:44 +0900 > > From: Izumi Tsutsui > > > > riastradh@ wrote: > > > Is this configuration > > > relevant for real-world hardware or is it more of a `for fun' option? > > > > The only use case is to run NetBSD/mac

Re: CVS commit: src/sys/dev/scsipi

2024-10-29 Thread Nathanial Sloss
My aplogies. I've removed scsipi_done_once and have commited your alternative change. I must have tried this earlier and made an error (not as you intended). Best regards, Nat

CVS commit: src/sys/dev/ic

2024-10-29 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Tue Oct 29 15:58:14 UTC 2024 Modified Files: src/sys/dev/ic: ncr5380sbc.c Log Message: A simpler fix for handling aborted requests. >From riastradh@. To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/sys/dev/ic/ncr

CVS commit: src/sys/dev/ic

2024-10-29 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Tue Oct 29 15:58:14 UTC 2024 Modified Files: src/sys/dev/ic: ncr5380sbc.c Log Message: A simpler fix for handling aborted requests. >From riastradh@. To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/sys/dev/ic/ncr

CVS commit: src/share/man/man9

2024-10-29 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Tue Oct 29 15:45:59 UTC 2024 Modified Files: src/share/man/man9: scsipi.9 Log Message: Revert to previous - scsipi_done_once is not necessary. >From riastradh@. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sha

CVS commit: src/sys/dev

2024-10-29 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Tue Oct 29 15:50:07 UTC 2024 Modified Files: src/sys/dev/ic: ncr5380sbc.c src/sys/dev/scsipi: scsipi_base.c scsipiconf.h Log Message: Revert to previous - scsipi_done_once is not necessary. A follow up commit will contain a

CVS commit: src/share/man/man9

2024-10-29 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Tue Oct 29 15:45:59 UTC 2024 Modified Files: src/share/man/man9: scsipi.9 Log Message: Revert to previous - scsipi_done_once is not necessary. >From riastradh@. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 src/sha

Re: CVS commit: src/lib/libm

2024-10-29 Thread Nathanial Sloss
On Tue, 29 Oct 2024 23:30:47 Taylor R Campbell wrote: > > Module Name:src > > Committed By: nat > > Date: Tue Oct 29 01:34:18 UTC 2024 > > > > Modified Files: > > src/lib/libm: Makefile > > > > Log Message: > > Pull in missing functions for MKSOFTFLOAT. > > That's interes

CVS commit: src/share/man/man4

2024-10-28 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Tue Oct 29 01:44:25 UTC 2024 Modified Files: src/share/man/man4: akbd.4 Log Message: Document option key sequences for changing screen brightness on PowerBooks. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/

CVS commit: src/lib/libm

2024-10-28 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Tue Oct 29 01:34:18 UTC 2024 Modified Files: src/lib/libm: Makefile Log Message: Pull in missing functions for MKSOFTFLOAT. To generate a diff of this commit: cvs rdiff -u -r1.239 -r1.240 src/lib/libm/Makefile Please note that dif

CVS commit: src/share/man/man4

2024-10-28 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Tue Oct 29 01:44:25 UTC 2024 Modified Files: src/share/man/man4: akbd.4 Log Message: Document option key sequences for changing screen brightness on PowerBooks. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/

CVS commit: src/lib/libm

2024-10-28 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Tue Oct 29 01:34:18 UTC 2024 Modified Files: src/lib/libm: Makefile Log Message: Pull in missing functions for MKSOFTFLOAT. To generate a diff of this commit: cvs rdiff -u -r1.239 -r1.240 src/lib/libm/Makefile Please note that dif

CVS commit: src/sys/dev/ic

2024-10-28 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Oct 28 14:28:01 UTC 2024 Modified Files: src/sys/dev/ic: ncr5380sbc.c Log Message: Abort current request upon reset. Part of kern/58452. As posted to tech-kern: https://mail-index.netbsd.org/tech-kern/2024/08/02/msg029652.html

CVS commit: src/sys/dev/ic

2024-10-28 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Oct 28 14:32:04 UTC 2024 Modified Files: src/sys/dev/ic: ncr5380sbc.c Log Message: Avoid spamming console with abort messages. This is common when using a device such as dse(4) and is a harmless message. Part of kern/58452. As

CVS commit: src/share/man/man9

2024-10-28 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Oct 28 15:04:26 UTC 2024 Modified Files: src/share/man/man9: scsipi.9 Log Message: Document scsipi_done_once(9). Same as scsipi_done(9) but does not run more commands from the xfer queue. It is up to the caller of scsipi_done o

CVS commit: src/share/man/man9

2024-10-28 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Oct 28 15:04:26 UTC 2024 Modified Files: src/share/man/man9: scsipi.9 Log Message: Document scsipi_done_once(9). Same as scsipi_done(9) but does not run more commands from the xfer queue. It is up to the caller of scsipi_done o

CVS commit: src/sys/dev

2024-10-28 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Oct 28 14:36:43 UTC 2024 Modified Files: src/sys/dev/ic: ncr5380sbc.c src/sys/dev/scsipi: scsipi_base.c scsipiconf.h Log Message: Introduce scsipi_done_once. This allows for transfers to be sucessfully aborted on the ncr

CVS commit: src/sys/dev/scsipi

2024-10-28 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Oct 28 14:42:06 UTC 2024 Modified Files: src/sys/dev/scsipi: scsipi_base.c Log Message: Allow medium errors to be retried. This was necessary for some variants of the BlueSCSI-v2. For these devices retrying upon receiving a med

CVS commit: src/sys/dev/scsipi

2024-10-28 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Oct 28 14:42:06 UTC 2024 Modified Files: src/sys/dev/scsipi: scsipi_base.c Log Message: Allow medium errors to be retried. This was necessary for some variants of the BlueSCSI-v2. For these devices retrying upon receiving a med

CVS commit: src/sys/dev

2024-10-28 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Oct 28 14:36:43 UTC 2024 Modified Files: src/sys/dev/ic: ncr5380sbc.c src/sys/dev/scsipi: scsipi_base.c scsipiconf.h Log Message: Introduce scsipi_done_once. This allows for transfers to be sucessfully aborted on the ncr

CVS commit: src/sys/dev/ic

2024-10-28 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Oct 28 14:32:04 UTC 2024 Modified Files: src/sys/dev/ic: ncr5380sbc.c Log Message: Avoid spamming console with abort messages. This is common when using a device such as dse(4) and is a harmless message. Part of kern/58452. As

CVS commit: src/sys/dev/ic

2024-10-28 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Mon Oct 28 14:28:01 UTC 2024 Modified Files: src/sys/dev/ic: ncr5380sbc.c Log Message: Abort current request upon reset. Part of kern/58452. As posted to tech-kern: https://mail-index.netbsd.org/tech-kern/2024/08/02/msg029652.html

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

2024-10-26 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Oct 26 21:02:51 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: Spinkle a little delay. This was needed to ensure a reliable transfer of data. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63

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

2024-10-26 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Oct 26 21:02:51 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: Spinkle a little delay. This was needed to ensure a reliable transfer of data. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63

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

2024-10-26 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Oct 26 20:58:35 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: Write an extra byte to handle the last ACK from 5380. This was found from the example code in the NCR5380 Interface Manual. This is not needed

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

2024-10-26 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Oct 26 20:58:35 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: Write an extra byte to handle the last ACK from 5380. This was found from the example code in the NCR5380 Interface Manual. This is not needed

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

2024-10-26 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Oct 26 20:53:08 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: Rework of previous. While here set the priority in sync witho pdma_in/out. Use sbc_ready same as pdma_in/out. To generate a diff of this comm

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

2024-10-26 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Oct 26 20:53:08 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: Rework of previous. While here set the priority in sync witho pdma_in/out. Use sbc_ready same as pdma_in/out. To generate a diff of this comm

CVS commit: src/sys/arch/mac68k/obio

2024-10-13 Thread Nathanial Sloss
Nathanial Sloss @@ -29,7 +29,7 @@ /* Based on pad(4) and asc(4) */ #include -__KERNEL_RCSID(0, "$NetBSD: ascaudio.c,v 1.1 2024/03/13 07:55:28 nat Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ascaudio.c,v 1.2 2024/10/13 12:34:56 nat Exp $"); #include #include @@ -134,7 +1

CVS commit: src/sys/arch/mac68k/obio

2024-10-13 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Oct 13 12:34:56 UTC 2024 Modified Files: src/sys/arch/mac68k/obio: ascaudio.c Log Message: Match against an EASC chip that reports a different version id. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch

CVS commit: src/sys/dev/scsipi

2024-09-29 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Sep 29 12:36:41 UTC 2024 Modified Files: src/sys/dev/scsipi: scsiconf.c Log Message: Add quirk for the standard PiSCSI cdrom emulation. To generate a diff of this commit: cvs rdiff -u -r1.304 -r1.305 src/sys/dev/scsipi/scsiconf

CVS commit: src/sys/dev/scsipi

2024-09-29 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Sep 29 12:36:41 UTC 2024 Modified Files: src/sys/dev/scsipi: scsiconf.c Log Message: Add quirk for the standard PiSCSI cdrom emulation. To generate a diff of this commit: cvs rdiff -u -r1.304 -r1.305 src/sys/dev/scsipi/scsiconf

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

2024-09-17 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Wed Sep 18 01:34:08 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: adb.c Log Message: The delay is only required for machines with built-in floppy drives. I doubt the vibration from an external drive on the Duos would affect adb

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

2024-09-17 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Wed Sep 18 01:34:08 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: adb.c Log Message: The delay is only required for machines with built-in floppy drives. I doubt the vibration from an external drive on the Duos would affect adb

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

2024-09-17 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Wed Sep 18 01:29:02 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: adb.c Log Message: Use attach delay only on affected machines. It is only required for machines with built-in trackballs. Requested by rin@. To generate a diff

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

2024-09-17 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Wed Sep 18 01:29:02 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: adb.c Log Message: Use attach delay only on affected machines. It is only required for machines with built-in trackballs. Requested by rin@. To generate a diff

CVS commit: src/doc

2024-09-14 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Sep 14 21:21:43 UTC 2024 Modified Files: src/doc: CHANGES Log Message: Mention recent changes to mac68k. To generate a diff of this commit: cvs rdiff -u -r1.3092 -r1.3093 src/doc/CHANGES Please note that diffs are not public d

CVS commit: src/doc

2024-09-14 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Sep 14 21:21:43 UTC 2024 Modified Files: src/doc: CHANGES Log Message: Mention recent changes to mac68k. To generate a diff of this commit: cvs rdiff -u -r1.3092 -r1.3093 src/doc/CHANGES Please note that diffs are not public d

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

2024-09-14 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Sep 14 21:11:07 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: sbc.c Log Message: Use smaller size when sending PDMA data, and check that the next block can be sent before sending it. This fixes PDMA support (which previously

CVS commit: src/sys/arch/mac68k

2024-09-14 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Sep 14 21:04:25 UTC 2024 Modified Files: src/sys/arch/mac68k/conf: files.mac68k src/sys/arch/mac68k/dev: pm_direct.c Log Message: Add support for the power button on the PowerBook 160/180. To generate a diff of this com

CVS commit: src/sys/arch/mac68k

2024-09-14 Thread Nathanial Sloss
/dev/pm_direct.c Sat Sep 14 21:04:24 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: pm_direct.c,v 1.34 2024/09/14 21:02:46 nat Exp $ */ +/* $NetBSD: pm_direct.c,v 1.35 2024/09/14 21:04:24 nat Exp $ */ /* * Copyright (c) 2024 Nathanial Sloss @@ -35,7 +35,7 @@ /* From: pm_direct.c 1.3 03/18/98 Takashi Hamada

CVS commit: src/sys/arch/mac68k

2024-09-14 Thread Nathanial Sloss
:45 2024 +++ src/sys/arch/mac68k/dev/pm_direct.c Sat Sep 14 21:02:46 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: pm_direct.c,v 1.33 2024/09/14 20:59:45 nat Exp $ */ +/* $NetBSD: pm_direct.c,v 1.34 2024/09/14 21:02:46 nat Exp $ */ /* * Copyright (c) 2024 Nathanial Sloss @@ -35,7 +35,7 @@ /* From

CVS commit: src/sys/arch/mac68k

2024-09-14 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Sep 14 21:02:46 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: pm_direct.c pm_direct.h src/sys/arch/mac68k/mac68k: machdep.c Log Message: Add support for poweroff on PowerBook 1xx. This excludes the PowerBook 150 and

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

2024-09-14 Thread Nathanial Sloss
$ */ +/* $NetBSD: aed.c,v 1.40 2024/09/14 20:59:45 nat Exp $ */ /* + * Copyright (c) 2024 Nathanial Sloss + * All rights reserved. + * * Copyright (C) 1994 Bradley A. Grantham * All rights reserved. * @@ -26,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: aed.c,v 1.39 2024/06/05 11:

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

2024-09-14 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Sep 14 20:59:46 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: aed.c pm_direct.c pm_direct.h Log Message: Add support for brightness control on Powerbook 1xx. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src

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

2024-09-14 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sat Sep 14 20:56:51 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: adb.c Log Message: Allow a few seconds for adb devices to settle. The spin up of the floppy drive motor would cause a crash on my PowerBook when adb was attached.

CVS commit: src/sys/dev/scsipi

2024-09-07 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Sep 8 04:42:49 UTC 2024 Modified Files: src/sys/dev/scsipi: if_dse.c Log Message: Only input needs to be polled. Tested with PDMA on mac68k (on emulated hw). To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys

CVS commit: src/sys/dev/scsipi

2024-09-07 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Sep 8 04:42:49 UTC 2024 Modified Files: src/sys/dev/scsipi: if_dse.c Log Message: Only input needs to be polled. Tested with PDMA on mac68k (on emulated hw). To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys

CVS commit: src/sys/dev/scsipi

2024-09-07 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Sep 8 04:40:34 UTC 2024 Modified Files: src/sys/dev/scsipi: if_dse.c Log Message: Use aprint_normal_dev for ethernet address. NFC. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/scsipi/if_dse.c Pleas

CVS commit: src/sys/dev/scsipi

2024-09-07 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Sun Sep 8 04:40:34 UTC 2024 Modified Files: src/sys/dev/scsipi: if_dse.c Log Message: Use aprint_normal_dev for ethernet address. NFC. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/dev/scsipi/if_dse.c Pleas

CVS commit: src

2024-08-01 Thread Nathanial Sloss
/01 13:41:14 nat Exp $ +.\" Copyright (c) 2024 Nathanial Sloss +.\" 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

2024-08-01 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Thu Aug 1 13:41:15 UTC 2024 Modified Files: src/distrib/sets/lists/man: mi src/share/man/man4/man4.mac68k: Makefile Added Files: src/share/man/man4/man4.mac68k: ascaudio.4 Log Message: Add manual page for ascaudio(4)

CVS commit: src/sys/arch/mac68k/mac68k

2024-06-06 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Fri Jun 7 02:51:45 UTC 2024 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Relax the video size sanity check. If stride and height are defined, compute the required size. Fixes external video on my Powerbook 16

CVS commit: src/sys/arch/mac68k/mac68k

2024-06-06 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Fri Jun 7 02:51:45 UTC 2024 Modified Files: src/sys/arch/mac68k/mac68k: machdep.c Log Message: Relax the video size sanity check. If stride and height are defined, compute the required size. Fixes external video on my Powerbook 16

CVS commit: src/sys/arch

2024-06-05 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Wed Jun 5 11:01:47 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: aed.c src/sys/arch/macppc/dev: aed.c Log Message: Pass event up to adb device. While here do the same for macppc. Addresses PR/58303 To generate a diff

CVS commit: src/sys/arch

2024-06-05 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Wed Jun 5 11:01:47 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: aed.c src/sys/arch/macppc/dev: aed.c Log Message: Pass event up to adb device. While here do the same for macppc. Addresses PR/58303 To generate a diff

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

2024-04-25 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Fri Apr 26 00:59:08 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: pm_direct.c Log Message: Return early if PM data is not available. This avoids random crashes on my Powerbook when using the mouse or keyboard. The same was need

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

2024-04-25 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Fri Apr 26 00:59:08 UTC 2024 Modified Files: src/sys/arch/mac68k/dev: pm_direct.c Log Message: Return early if PM data is not available. This avoids random crashes on my Powerbook when using the mouse or keyboard. The same was need

CVS commit: src/doc

2024-03-13 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Wed Mar 13 08:13:56 UTC 2024 Modified Files: src/doc: CHANGES Log Message: Mention ascaudio(4). To generate a diff of this commit: cvs rdiff -u -r1.3043 -r1.3044 src/doc/CHANGES Please note that diffs are not public domain; they a

CVS commit: src/doc

2024-03-13 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Wed Mar 13 08:13:56 UTC 2024 Modified Files: src/doc: CHANGES Log Message: Mention ascaudio(4). To generate a diff of this commit: cvs rdiff -u -r1.3043 -r1.3044 src/doc/CHANGES Please note that diffs are not public domain; they a

CVS commit: src/sys/arch/mac68k

2024-03-13 Thread Nathanial Sloss
1,970 @@ +/* $NetBSD: ascaudio.c,v 1.1 2024/03/13 07:55:28 nat Exp $ */ + +/*- + * Copyright (c) 2017, 2023 Nathanial Sloss + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following condition

CVS commit: src/sys/arch/mac68k

2024-03-13 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Wed Mar 13 07:55:29 UTC 2024 Modified Files: src/sys/arch/mac68k/conf: files.mac68k majors.mac68k Added Files: src/sys/arch/mac68k/conf: AUDIO AUDIOSBC src/sys/arch/mac68k/obio: ascaudio.c ascaudiovar.h ascreg.h Log M

CVS commit: src/sys/netbt

2024-03-13 Thread Nathanial Sloss
c/sys/netbt/hci_le.h diff -u /dev/null src/sys/netbt/hci_le.h:1.1 --- /dev/null Wed Mar 13 07:22:16 2024 +++ src/sys/netbt/hci_le.h Wed Mar 13 07:22:16 2024 @@ -0,0 +1,368 @@ +/* $NetBSD: hci_le.h,v 1.1 2024/03/13 07:22:16 nat Exp $ */ + +/*- + * Copyright (c) 2020 Nathanial Sloss + * All rights res

CVS commit: src/sys/netbt

2024-03-13 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Wed Mar 13 07:22:16 UTC 2024 Added Files: src/sys/netbt: hci_le.h Log Message: Bluetooth low energy - A beginning at least. This was the start of support for low energy bluetooth support that I have not as yet completed. I'm commit

CVS commit: src/sys/arch

2024-02-27 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Tue Feb 27 16:07:02 UTC 2024 Modified Files: src/sys/arch/evbcf/include: cpu.h src/sys/arch/m68k/include: cpu.h src/sys/arch/mac68k/include: cpu.h Log Message: Use proper clockframe size for those platforms that requi

CVS commit: src/sys/arch

2024-02-27 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Tue Feb 27 16:07:02 UTC 2024 Modified Files: src/sys/arch/evbcf/include: cpu.h src/sys/arch/m68k/include: cpu.h src/sys/arch/mac68k/include: cpu.h Log Message: Use proper clockframe size for those platforms that requi

  1   2   >