CVS commit: src/sys/arch/x68k/dev
Module Name:src Committed By: tsutsui Date: Sat Apr 24 16:24:14 UTC 2021 Modified Files: src/sys/arch/x68k/dev: ms.c Log Message: Tidy up callout(9) implementation to handle mouse packets. - define and use proper macro to specify ticks - use callout_schedule(9) rather than callout_reset(9) to restart timer No functional changes. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/arch/x68k/dev/ms.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Sun Feb 7 16:13:56 UTC 2021 Modified Files: src/sys/arch/x68k/dev: ms.c Log Message: Remove dumb middle button emulation code from the ms(4) driver. Also fix leftover comments (derived from the original Sun's "firm_event" implementation as seen in sys/dev/sun/ms.c) to sync with reality on x68k. The current implementation the ms(4) driver just checks whether two (left/right) buttons are changed in the same packet. This means it cannot handle a release event correctly if two buttons pressed simultaneously are released in the different timing. The middle button emulation should be handled in application layer as other Xservers do, and I'll import Emulate3Buttons support for the X68k Xorg based monolithic server. See my post on port-x68k@ for details: https://mail-index.netbsd.org/port-x68k/2021/02/05/msg74.html To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/sys/arch/x68k/dev/ms.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/x68k/dev
Module Name:src Committed By: isaki Date: Sat Feb 6 12:50:04 UTC 2021 Modified Files: src/sys/arch/x68k/dev: vs.c vsvar.h Log Message: Remove an unused variable. To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/sys/arch/x68k/dev/vs.c cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x68k/dev/vsvar.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/x68k/dev
Module Name:src Committed By: isaki Date: Sat Feb 6 09:27:35 UTC 2021 Modified Files: src/sys/arch/x68k/dev: vs.c vsvar.h Log Message: Remove sc_active flag. sc_[pr]intr can be used instead of it. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/arch/x68k/dev/vs.c cvs rdiff -u -r1.17 -r1.18 src/sys/arch/x68k/dev/vsvar.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/x68k/dev
Module Name:src Committed By: thorpej Date: Sat Dec 19 22:16:15 UTC 2020 Modified Files: src/sys/arch/x68k/dev: event.c Log Message: Use sel{record,remove}_knote(). To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x68k/dev/event.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/x68k/dev
Module Name:src Committed By: isaki Date: Sat Sep 30 04:07:04 UTC 2017 Modified Files: src/sys/arch/x68k/dev: vs.c vsvar.h Log Message: Avoid magic numbers and give appropriate names. To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/sys/arch/x68k/dev/vs.c cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x68k/dev/vsvar.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/x68k/dev
Module Name:src Committed By: isaki Date: Sat Sep 2 15:40:31 UTC 2017 Modified Files: src/sys/arch/x68k/dev: vs.c Log Message: - Finally MI audio supports 4bit precision format without null_filter hack! - Fix reusing play/rec argument as local variables. It is in/out parameter. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/sys/arch/x68k/dev/vs.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/x68k/dev
Module Name:src Committed By: isaki Date: Sat Sep 2 12:52:55 UTC 2017 Modified Files: src/sys/arch/x68k/dev: vs.c vsvar.h Log Message: - Revert temporary local conversion introduced at rev 1.43. - But does not revert to trigger method. trigger method is not suitable for x68k ADPCM+DMA mechanism. - Don't (re)start ADPCM when DMA is running. This solves the noise. From Y.Sugahara. - Cache dmac xfer. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/arch/x68k/dev/vs.c cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x68k/dev/vsvar.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/x68k/dev
Module Name:src Committed By: isaki Date: Fri Aug 11 07:30:01 UTC 2017 Modified Files: src/sys/arch/x68k/dev: dmacvar.h intio_dmac.c Log Message: Fix a Continue Operation. Patch from Y.Sugahara. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x68k/dev/dmacvar.h cvs rdiff -u -r1.36 -r1.37 src/sys/arch/x68k/dev/intio_dmac.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/x68k/dev
Module Name:src Committed By: isaki Date: Fri Aug 11 07:08:40 UTC 2017 Modified Files: src/sys/arch/x68k/dev: dmacvar.h fd.c intio_dmac.c vs.c Log Message: Allow dmac_alloc_channel() to specify DCR and OCR. FDC uses 'Cycle Steal Mode with Hold' but ADPCM should use 'Cycle Steal Mode without Hold' on x68k. >From Y.Suhagara and it was found by XM6i. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x68k/dev/dmacvar.h cvs rdiff -u -r1.119 -r1.120 src/sys/arch/x68k/dev/fd.c cvs rdiff -u -r1.35 -r1.36 src/sys/arch/x68k/dev/intio_dmac.c cvs rdiff -u -r1.45 -r1.46 src/sys/arch/x68k/dev/vs.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/x68k/dev
Module Name:src Committed By: isaki Date: Fri Aug 11 06:47:35 UTC 2017 Modified Files: src/sys/arch/x68k/dev: vs.c Log Message: Use dmac_prepare_xfer(). >From Y.Sugahara. To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/arch/x68k/dev/vs.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/x68k/dev
Module Name:src Committed By: isaki Date: Sat Aug 5 06:05:37 UTC 2017 Modified Files: src/sys/arch/x68k/dev: vs.c vsvar.h Log Message: Merge prate and rrate. These can not be separated. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/arch/x68k/dev/vs.c cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x68k/dev/vsvar.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/x68k/dev
Module Name:src Committed By: isaki Date: Sat Aug 5 05:22:55 UTC 2017 Modified Files: src/sys/arch/x68k/dev: vs.c Log Message: Remove temporary VS_USE_PREC8 option. vs(4) now supports slinear16be and slinear8 (but now work yet). To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/arch/x68k/dev/vs.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/x68k/dev
Module Name:src Committed By: isaki Date: Mon Jul 31 14:53:08 UTC 2017 Modified Files: src/sys/arch/x68k/dev: vs.c Log Message: Update confused vs_set_params(). play and rec are identical but pfil and rfil are independent. XXX I introduce VS_USE_PREC8 option for debugging purposes temporarily. I'll remove it if the problem is solved. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/arch/x68k/dev/vs.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/x68k/dev
Module Name:src Committed By: nat Date: Sat Jul 29 07:30:39 UTC 2017 Modified Files: src/sys/arch/x68k/dev: vs.c Log Message: Audio vchan auto config works again due to the use of a null_filter. Tested and confirmed working by isaki@. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/sys/arch/x68k/dev/vs.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/x68k/dev
Module Name:src Committed By: isaki Date: Sun Jul 9 12:49:26 UTC 2017 Modified Files: src/sys/arch/x68k/dev: vs.c Log Message: Catch up vs_set_params() to recent MI audio (after in-kernel mixer). Before that, MD part had to support all encodings I'd like to support, but currently it's no longer necessary. The hardware is 4bit/1ch/15.6kHz ADPCM but it behaves as 16bit/1ch/16.0kHz PCM. For audio.c < 1.362, the device attach succeeded and playback is still working. For audio.c >= 1.363, the device attach fails again. It does not work yet but I commit it for milestone. To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch/x68k/dev/vs.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/x68k/dev
Module Name:src Committed By: isaki Date: Sun Jun 25 06:26:40 UTC 2017 Modified Files: src/sys/arch/x68k/dev: vs.c vsvar.h Log Message: Avoid panic when the device is closed when not playing. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/arch/x68k/dev/vs.c cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x68k/dev/vsvar.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/x68k/dev
Module Name:src Committed By: isaki Date: Thu Jan 12 14:24:53 UTC 2017 Modified Files: src/sys/arch/x68k/dev: fd.c Log Message: Fix the possibility of off-by-one on the grammer. Reported by coypu. Currently it never happens because type is (minor number % 7) and the arraycount of fd_types[] is 8. I.e., it is a dead code... However, when the capacity of the FDTYPE() changes or the arraycount of fd_types[] changes, this correction will be effective. To generate a diff of this commit: cvs rdiff -u -r1.118 -r1.119 src/sys/arch/x68k/dev/fd.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/x68k/dev
Module Name:src Committed By: isaki Date: Fri Aug 5 05:32:02 UTC 2016 Modified Files: src/sys/arch/x68k/dev: zs.c Log Message: Revert a part of previous commit. If addr is not specified as "zsc0 at intio0" in kernel config (though it's not right of course), it will cause a panic. intio_map_allocate_region() should be called after address check. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/arch/x68k/dev/zs.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/x68k/dev
Module Name:src Committed By: dholland Date: Tue May 31 03:22:30 UTC 2016 Modified Files: src/sys/arch/x68k/dev: zs.c Log Message: PR 50759 David Binderman: fix out of bounds array access. If we don't find one of the expected device addresses, reject the match, but do it by checking whether the loop matched something rather than by testing an array entry that might be one past the end. Note: I have also moved the test to be with the loop; since the call to intio_map_allocate_region had gotten placed in between them, I've moved it to go before rather than after them as (a) it doesn't interact with the loop itself and (b) this seems like the best choice given the history as it was deliberately added before the original test. I have not tried running this, not having an x68k, but as best I can tell by reading the intio code it seems like it should be harmless even if it's not really correct. To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/arch/x68k/dev/zs.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/x68k/dev
Module Name:src Committed By: dholland Date: Tue May 31 03:12:49 UTC 2016 Modified Files: src/sys/arch/x68k/dev: intio.c Log Message: fix flagrantly wrong indent To generate a diff of this commit: cvs rdiff -u -r1.44 -r1.45 src/sys/arch/x68k/dev/intio.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/x68k/dev
Module Name:src Committed By: christos Date: Fri Feb 26 18:19:16 UTC 2016 Modified Files: src/sys/arch/x68k/dev: intio.c Log Message: PR/50859: David Binderman: Remove redundant code. To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/arch/x68k/dev/intio.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/x68k/dev
Module Name:src Committed By: christos Date: Sat Aug 22 14:11:19 UTC 2015 Modified Files: src/sys/arch/x68k/dev: opmbell.c Log Message: fix include filename. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/arch/x68k/dev/opmbell.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/x68k/dev
Module Name:src Committed By: christos Date: Fri Jan 2 15:53:26 UTC 2015 Modified Files: src/sys/arch/x68k/dev: fd.c Log Message: restore part decl. To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 src/sys/arch/x68k/dev/fd.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/x68k/dev
Module Name:src Committed By: christos Date: Thu Jan 1 17:48:56 UTC 2015 Modified Files: src/sys/arch/x68k/dev: fd.c Log Message: declare error To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/sys/arch/x68k/dev/fd.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/x68k/dev
Module Name:src Committed By: christos Date: Wed Mar 26 08:17:32 UTC 2014 Modified Files: src/sys/arch/x68k/dev: zs.c Log Message: fix unused, missing splx. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/arch/x68k/dev/zs.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Fri Mar 21 16:58:54 UTC 2014 Modified Files: src/sys/arch/x68k/dev: event.c event_var.h kbd.c ms.c Log Message: Replace tsleep(9)/wakeup(9) with condvar(9) as practice. Also replace malloc(9) with kmem_alloc(9). Pevent more possible races. Tested on both console and Xserver on X68030. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x68k/dev/event.c cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/dev/event_var.h cvs rdiff -u -r1.38 -r1.39 src/sys/arch/x68k/dev/kbd.c cvs rdiff -u -r1.31 -r1.32 src/sys/arch/x68k/dev/ms.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Fri Jan 31 18:42:45 UTC 2014 Modified Files: src/sys/arch/x68k/dev: grf.c Log Message: Fix build botched in previous. Christos, please at least compile before commit per the guideline. To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/sys/arch/x68k/dev/grf.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/x68k/dev
Module Name:src Committed By: christos Date: Sun Jan 26 00:09:46 UTC 2014 Modified Files: src/sys/arch/x68k/dev: grf.c Log Message: kill VM_DEFAULT_ADDRESS use. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/arch/x68k/dev/grf.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/x68k/dev
Module Name:src Committed By: christos Date: Fri May 24 18:24:27 UTC 2013 Modified Files: src/sys/arch/x68k/dev: fd.c Log Message: kill bogus inline To generate a diff of this commit: cvs rdiff -u -r1.105 -r1.106 src/sys/arch/x68k/dev/fd.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/x68k/dev
Module Name:src Committed By: isaki Date: Sun Apr 28 14:44:46 UTC 2013 Modified Files: src/sys/arch/x68k/dev: ite_tv.c Log Message: Fix a kernel panic by printf(1). The 2nd byte of ISO-2022-JP must be 0x21-0x7e. Especially, the character code less than 0x2121 causes SEGV, because a font address points outside of the CGROM. Reported by tsutsui@. Should be pulled up to netbsd-6. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x68k/dev/ite_tv.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Sun Oct 14 19:06:26 UTC 2012 Modified Files: src/sys/arch/x68k/dev: fd.c Log Message: KNF and space nits To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/sys/arch/x68k/dev/fd.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Sun Oct 14 18:38:32 UTC 2012 Modified Files: src/sys/arch/x68k/dev: fd.c fdreg.h Log Message: Add floppy format support. Mostly taken from sys/dev/isa/fd.c. Tested both fdNa (1232KB, 1024bytes/sector, 8sectors/track) and fdNc (1200KB, 512bytes/sector, 15sectors/track) format on X68030 using fdformat(1). Finally we can prepare NetBSD/x68k install floppies without Human68k (except actual initial bootstrap). To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/sys/arch/x68k/dev/fd.c cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/dev/fdreg.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Sun Oct 14 17:25:59 UTC 2012 Modified Files: src/sys/arch/x68k/dev: fd.c Log Message: Terminate DMAC and call bus_dmamap_unload(9) properly in all FDC xfer error paths, as sys/dev/isa/fd.c does. Fixes unexpected DMAC errors (and possible VM panic due to un-unloaded dmamap) on the first floppy access after read/write errors. To generate a diff of this commit: cvs rdiff -u -r1.102 -r1.103 src/sys/arch/x68k/dev/fd.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Sun Oct 14 17:20:18 UTC 2012 Modified Files: src/sys/arch/x68k/dev: fd.c Log Message: Before probing floppy drives, call NE7CMD_SENSEI and fdcresult() to drain possible pending FDC interrupts. Taken from sys/dev/isa/fd.c. Hopefully might fix occasional fd drive probe failure (but not confirmed). To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/sys/arch/x68k/dev/fd.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Sun Oct 14 16:36:32 UTC 2012 Modified Files: src/sys/arch/x68k/dev: intio_dmac.c Log Message: To abort DMA in dmac_abort_xfer(), set DMAC_CCR_SAB (software abort) rather than DMAC_CCR_HLT (halt operation). DMAC_CCR_HLT doesn't abort DMA xfers but only suspends DMA ops (i.e. clearing HLT bit will resume DMA xfers), so previously DMAC error always occurs on the next DMA xfer ops after dmac_abort_xfer() is called. Also suppress DMAC error messages in dmac_error() if it's caused by software abort command because it can happen during normal audio play/record DMA ops in vs(4) driver. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/x68k/dev/intio_dmac.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Sat Oct 13 06:43:00 UTC 2012 Modified Files: src/sys/arch/x68k/dev: grf_machdep.c par.c Log Message: Normalize autoconf(9) function arg names (parent, self, and aux) for clarification. from chs@. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/arch/x68k/dev/grf_machdep.c cvs rdiff -u -r1.38 -r1.39 src/sys/arch/x68k/dev/par.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Wed Oct 10 17:49:50 UTC 2012 Modified Files: src/sys/arch/x68k/dev: ite.c itevar.h Log Message: Fix device_t/softc split bothces. From Chuck Silvers' patch posted on current-users and tech-kern: http://mail-index.netbsd.org/current-users/2012/10/09/msg021233.html and several more fixes by me. Not sure if these are fatal (at least 6.0_RC2 works without thise fixes), but needs more investigation. To generate a diff of this commit: cvs rdiff -u -r1.59 -r1.60 src/sys/arch/x68k/dev/ite.c cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x68k/dev/itevar.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Wed Oct 10 16:55:50 UTC 2012 Modified Files: src/sys/arch/x68k/dev: mha.c Log Message: Fix device_t/softc split botches that could be fatal. From Chuck Silvers' patch posted current-users and tech-kern: http://mail-index.netbsd.org/current-users/2012/10/09/msg021233.html Should be pulled up to netbsd-6. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/arch/x68k/dev/mha.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Wed Aug 15 19:13:58 UTC 2012 Modified Files: src/sys/arch/x68k/dev: event_var.h Log Message: Make sure to take proc_lock mutex on calling psignal(9) in EV_WAKEUP() macro as sys/dev/sun/event_var.h does. Fixes immediate KASSERT(mutex_owned(proc_lock)) panic during running Xserver on DIAGNOSTIC kernel. Should be pulled up to netbsd-6. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x68k/dev/event_var.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/x68k/dev
Module Name:src Committed By: matt Date: Sun Jul 29 00:08:19 UTC 2012 Modified Files: src/sys/arch/x68k/dev: mhavar.h Log Message: Another failed typedef fixed. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/dev/mhavar.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Tue May 15 12:17:34 UTC 2012 Modified Files: src/sys/arch/x68k/dev: fd.c fdreg.h Log Message: - check bus_space_map(9) return value - use BUS_SPACE_MAP_SHIFTED_ODD for clarify - define and use proper macro instead of magic To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/sys/arch/x68k/dev/fd.c cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/dev/fdreg.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Sun May 13 03:00:41 UTC 2012 Modified Files: src/sys/arch/x68k/dev: fd.c Log Message: KNF and cosmetics. No binary change. To generate a diff of this commit: cvs rdiff -u -r1.99 -r1.100 src/sys/arch/x68k/dev/fd.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Sun May 13 00:47:16 UTC 2012 Modified Files: src/sys/arch/x68k/dev: fd.c Log Message: - use rather than - no need to include uvm_extern.h - include "ioconf.h" for struct cfdriver foo_cd To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/sys/arch/x68k/dev/fd.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Sat May 12 15:29:22 UTC 2012 Modified Files: src/sys/arch/x68k/dev: fd.c Log Message: Explicitly specify a proper FDC data register address for HD63450 DMAC to avoid confusion. Previous one (fdc->sc_addr + fddata) wasn't a right address for the FDC's data register but one for the command register by accident, but FDC ignores A0 address input (connected to A1 of x68k address bus) during DMA xfer (i.e. when DACK is asserted) so it happened to work as expected on the real X680x0 hardware, but caused trouble on emulators. The inconsistency was found by Y.Sugahara during debugging XM6i emulator (and it will be fixed in the next release). FDC behavior during DMA is confirmed by uPD72068 hardware application note. XXX: There is no proper MI API to specify DMA address for DMA controller (like MC68450) to access devices mapped to memory space by bus_space(9). To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/sys/arch/x68k/dev/fd.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Sun Oct 23 13:21:54 UTC 2011 Modified Files: src/sys/arch/x68k/dev: kbd.c Log Message: Calling psignal(9) (via EV_WAKEUP()) in interrupt handlers could cause mutex error panic, so defer it via softint(9). This should fix panic on heavy key strokes during running Xserver. Should be pulled up to netbsd-5. XXX: amiga and atari might have the similar problem? To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/arch/x68k/dev/kbd.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Thu May 5 13:44:35 UTC 2011 Modified Files: src/sys/arch/x68k/dev: mfp.c Log Message: Add a comment for the previous change. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/arch/x68k/dev/mfp.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Wed May 4 12:27:03 UTC 2011 Modified Files: src/sys/arch/x68k/dev: mfp.c Log Message: Don't call mfp_init() in mfp_attach(). It's already called from early mfp_config_console() via config_console() and reinitializing MFP could sometimes cause silent hang. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/x68k/dev/mfp.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Sun May 1 16:19:13 UTC 2011 Modified Files: src/sys/arch/x68k/dev: zs.c Log Message: Reset ZS chip properly in zscninit() so that zscngetc() works even before zsc is attached during configure. (i.e. make userconf(4) work on serial console) To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/sys/arch/x68k/dev/zs.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/x68k/dev
Module Name:src Committed By: tsutsui Date: Sun Apr 10 15:23:06 UTC 2011 Modified Files: src/sys/arch/x68k/dev: fd.c Log Message: Fix hangup on the first floppy access since 2008. Problem was reported by isaki@. On X680x0 (and most other machines other than ISA FDC), the ready line from FDD is connected to FDC and fdc driver can be notified of the ready state after fd_set_motor() by interrupts. In this case no need to use callout(9) to wait the FDD motor stabilized, and the callout(9) method used in ISA fdc(4) driver rather caused infinite unhandled interrupts since callout(9) was no longer invoked during interrupt storm after vmlocking2 merge, I guess. Should be pulled up to netbsd-5. To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/sys/arch/x68k/dev/fd.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/x68k/dev
Module Name:src Committed By: isaki Date: Sun Aug 8 09:30:29 UTC 2010 Modified Files: src/sys/arch/x68k/dev: bmd.c Log Message: Probe not only ctrl address but also bank window address. This prevents the wrong matching when other boards like Neptune-X exist. Reported by Yasushi Oshima. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x68k/dev/bmd.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/x68k/dev
Module Name:src Committed By: isaki Date: Sat Jul 24 13:15:13 UTC 2010 Modified Files: src/sys/arch/x68k/dev: slhci_intio.c Log Message: Probe not only Nereid Ctrl port but also SL811HS/T port. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x68k/dev/slhci_intio.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/x68k/dev
Module Name:src Committed By: isaki Date: Sat May 8 02:48:31 UTC 2010 Modified Files: src/sys/arch/x68k/dev: slhci_intio.c Log Message: Correct rev1.11. Fix panic reported by Yasushi Oshima. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x68k/dev/slhci_intio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.