Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 14:07:28 UTC Now

2024-05-09 15:11:11 UTC MAIN commitmail json YAML

2024-05-07 19:55:14 UTC MAIN commitmail json YAML

Use proper signedness for the LIF file system data structures.

Ancient 4.3BSD used short and int for location, file size, file type,
and addresses etc. but all of them should be unsigned.
Also rename several variables and add comments for readability.

The LIF file system info can be found in "The HPDir Project" page:
https://www.hp9845.net/9845/projects/hpdir/

The same uboot.lif binaries are generated.

(tsutsui)

2024-05-07 19:24:33 UTC MAIN commitmail json YAML

2024-05-06 18:08:49 UTC MAIN commitmail json YAML

Misc cosmetic changes for mostly readability.

- KNF and add some newlines per blocks
- define and use proper bintobcd() macro
- make local functions and variables static

The same uboot.lif binaries are generated.

(tsutsui)

2024-05-06 13:27:50 UTC MAIN commitmail json YAML

Fix "stray level 1 interrupt" panic by pressing keys during autoconf(9).

Also explicitly initialize sc->sc_status = HIL_STATUS_BUSY in hil_attach().

Previously hil_intr(9) returned immediately during 'cold', but
all interrupts are enabled at the end of configure() (actually
in MD cpu_configure()) and cold is cleared in confiugre2()
after configure(), so there is a small window when hil interrupts
can be triggered during cold.

It looks there is no problem to process hil_intr() before
hil_attach_deferre() is called via configure2() because
we already check 'sc->sc_status != HIL_STATUS_BUSY' on
processing a kthread.

Note this seems also to appease the similar panic on mame's hp9k370
emulation (though mame's emulation around DMAC looks still incomplete).

Should be pulled up to netbsd-10 and netbsd-9.

(tsutsui)

2024-05-05 07:36:38 UTC MAIN commitmail json YAML

Fix integer overflow of strtol(3) for "loadpoint" address on ILP32 hosts.

This strtol(3) was introduced in rev 1.12 for PR/57909 after netbsd-10,
but it returns LONG_MAX (0x7FFFFFFF) for 0xFFF00000 on ILP32 hosts and
the wrong loadpoint causes "NOT ENOUGH MEMORY" error by the BOOTROMs
on loading uboot.lif on (at least) my 9000/360 and 9000/425t.

(tsutsui)

2024-05-04 16:57:15 UTC MAIN commitmail json YAML

Note about recent hp300 topcat(4) framebuffer improvements.

(tsutsui)

2024-05-04 16:06:57 UTC MAIN commitmail json YAML

Add comments about quirks of 98542/98543 framebuffers with 1024x400 pixels.

(tsutsui)

2024-05-01 19:40:56 UTC MAIN commitmail json YAML

Add 98542 and 98543 framebuffers to supported "Graphics Devices" section.

I hope someone will sync a list of supported devices in port wiki pages
with one in this installation notes.

(tsutsui)

2024-05-01 19:34:19 UTC MAIN commitmail json YAML

Note that 98542 and 98543 variants are also supported by topcat(4).

(tsutsui)

2024-05-01 19:28:33 UTC MAIN commitmail json YAML

Fix topcat(4) problems on some models that cause garbages on screen.

- Make sure that windowmove (hardware BITBLT) ops complete by checking
  tc_busywait() before calling putchar functions by MI rasops(9).
  It looks CPU accesses against VRAM during windowmove (copy, erase,
  and cursor) ops causes unexpected garbages at least on 98543 on HP360,
  98547 on HP370, and also on 98543 on 040 HP380 (but not on 98549).

- Handle 'sparse VRAM' on 98543 (and probably 98542) properly:
- Prepare and use own topcat_putchar1_4() function for sparse VRAM.
- Pass proper 'VRAM width' rather than actuall font width to all
  windowmove (copycols, erasecols, copyrows, eraserows, and do_cursor)
  operation functions.

Now all topcat(4) consoles on 98543 on HP360/HP380 and 98547 on HP370
work fine, and no visible regression on 98549 on HP380 and 98544 on HP360.

Worth to pullup netbsd-10.

(tsutsui)

2024-05-01 08:58:34 UTC MAIN commitmail json YAML

Add DELAY(9) to make palette register settings stable on 98543 in HP360.

Note 98547 (6 bpp variant) on HP370 (68030 33MHz) doesn't need these
DELAYs so maybe only some old variants (98543 and 98545?) on 020/030
have such restriction (actually only one nop seems enough.)

(tsutsui)

2024-04-30 09:55:46 UTC MAIN commitmail json YAML

Fix another fatal typo that prevents dma(4) interrupts.

(tsutsui)

2024-04-30 05:06:09 UTC MAIN commitmail json YAML

Fix fatal typo that prevents all intio devices probed.

(tsutsui)

2024-04-29 17:47:27 UTC MAIN commitmail json YAML

Check tc_waitbusy() before writing palette registers in topcat_setcolor().

This seems to make palette operations more stable on my HP360 with HP98543.

(tsutsui)

2024-04-29 17:39:59 UTC MAIN commitmail json YAML

Use proper planemask per a vaild number of planes.

(tsutsui)

2024-04-29 17:25:11 UTC MAIN commitmail json YAML

Fix MD allocattr to return proper attributes what MI rasops(9) expects.

(tsutsui)

2024-04-29 15:34:57 UTC MAIN commitmail json YAML

Move a check of topcat(4) specific fb width quirks to topcat.c.

We need to check fb->planes but it's propbed in topcat.c after
common diofb_fbinquire() is called.

Also add a comment that it looks these 1 bpp and 4 bpp boards have
VRAM with sparse address layout and we have to handle
512 pixels per line with 1024 bytes per line.

(tsutsui)

2024-04-29 14:58:32 UTC MAIN commitmail json YAML

Increase DELAY() for waitbusy macroes as pre-wscons and 4.4BSD did.

It looks necessary for sane palette ops at least on HP98543 topcat
on 68030 HP 9000/360.

(tsutsui)

2024-04-29 14:42:07 UTC MAIN commitmail json YAML

Don't panic as a fatal error on receiving packets with invalid length.

Such errors could happen on aged and fragile 10BASE-2 hub etc.

(tsutsui)

2024-04-29 07:13:42 UTC MAIN commitmail json YAML

Use LINKS to create hard links to generate proper METALOG files.

Also use the default ${PROG} variable and "install" target.

Fixes PR port-hp300/58211.
Should be pulled up to netbsd-10 and netbsd-9.

(tsutsui)

2024-04-27 14:42:21 UTC MAIN commitmail json YAML

Disable dmf* and dmz* entries and add warns "not integrated yet."

Also note tty[EFGH]? have been used by MI wscons and new tty node names
should be assigned once dmf(4) is committed.

Ok'ed by ragge@ on port-vax@.
https://mail-index.netbsd.org/port-vax/2024/02/13/msg004859.html

(tsutsui)

2024-04-07 14:40:34 UTC MAIN commitmail json YAML

Switch vax to HAVE_XORG_SERVER_VER=120.

Tested on my VAXstation 3100/m30 with smg(4).
Ok'ed by mrg@ on tech-x11@:
https://mail-index.netbsd.org/tech-x11/2024/04/thread1.html#002457

(tsutsui)

2024-04-07 14:36:23 UTC MAIN commitmail json YAML

Use default X11FLAGS to build Xorg servers on vax.

It looks necessary on HAVE_XORG_SERVER_VER=120.

(tsutsui)

2024-02-22 14:11:52 UTC MAIN commitmail json YAML

Pull a change of newfs/mkfs.c rev 1.136:

> if the window size works but is 0, assume it didn't work and use 80.

(tsutsui)

2024-02-17 17:41:43 UTC MAIN commitmail json YAML

Fix SCSI tranfer corruption on VAXstation 3100/m30 (KA420) on netboot.

See my post on port-vax@ for details:
https://mail-index.netbsd.org/port-vax/2024/02/16/msg004866.html
and "go ahead!" from ragge@.  Should be pulled up to netbsd-10 and -9.

(tsutsui)

2024-02-17 06:35:25 UTC MAIN commitmail json YAML

Fix another fatal typo that causes zskbd_cngetc() to stall as dzkbd.

Tested on my DEC 3000/300 and LK421.
Should be pulled up to netbsd-10 and netbsd-9.

XXX: sys/arch/vax/uba/qvkbd.c seems missed in the following lk201 changes:
https://mail-index.netbsd.org/source-changes/2015/01/02/msg062024.html

(tsutsui)

2024-02-14 12:59:44 UTC MAIN commitmail json YAML

Use proper macro for return values and remove #if 0'ed out block.

Mostly from OpenBSD/vax. No binary changes.

(tsutsui)

2024-02-14 12:49:47 UTC MAIN commitmail json YAML

Fix a fatal typo that causes dzkbd_cngetc() to stall.

Should be pulled up to netbsd-10 and netbsd-9.

(tsutsui)

2024-02-03 21:25:03 UTC MAIN commitmail json YAML

Add entries added to CHANGES in netbsd-10 but missed here.

(tsutsui)

2024-02-03 21:00:45 UTC MAIN commitmail json YAML

Note several visible changes pulled up to netbsd-10 branch.

- X.org server on newsmips
- gas(1) fix for MIPS1
- X.org server on vax smg(4)

(tsutsui)

2024-02-03 20:38:50 UTC MAIN commitmail json YAML

Move entries pulled up to netbsd-10 from CHANGES to CHANGES.prev.

(tsutsui)

2024-02-03 16:35:10 UTC MAIN commitmail json YAML

Misc cleanup.

- move function declarations after struct declarations and
  before global variables
- sort function declarations per actual implementation
- some KNF

No functional change.

(tsutsui)

2024-02-03 16:21:25 UTC MAIN commitmail json YAML

Make local variables static.

(tsutsui)

2024-02-03 16:18:10 UTC MAIN commitmail json YAML

Misc cleanup.

- move function declarations after struct declarations and
  before global variables
- sort function declarations per actual implementation
- explicitly denote 'static' for static functions
- some KNF

No functional change (though gcc generates different binary).

(tsutsui)

2024-02-02 15:59:30 UTC MAIN commitmail json YAML

Add WSDISPLAY_GINFO, LINEBYTES, and SMODE ioctl(2)s and mmap(2) support.

mlterm-wscons partially works (no 2 bpp support) with these APIs.
XXX: Xorg server needs wsmouse support.

(tsutsui)

2024-02-02 15:44:43 UTC MAIN commitmail json YAML

2024-02-01 22:26:19 UTC MAIN commitmail json YAML

Use "wsvt25" rather than "sun" for (commented out) wscons tty lines.

Note historically vax port seems to use "ttyw?" rather than common "ttyE?"
for wscons (wsdisplay) tty devices in ttys(5).

No particular comment on port-vax@:
https://mail-index.netbsd.org/port-vax/2024/01/thread1.html#004828

(tsutsui)

2024-02-01 22:22:05 UTC MAIN commitmail json YAML

Make sure to create wscons devices on the default "MAKEDEV all" target.

Necessary to make the X.org server work on the default installation.
Proposed on port-vax@, and ok'ed by mrg@:
https://mail-index.netbsd.org/port-vax/2024/01/thread1.html#004828

Worth to pull up to netbsd-10.

(tsutsui)

2024-01-28 06:20:02 UTC MAIN commitmail json YAML

Also put back libfb.a in xorg_server_ver=110 case.

It looks required only on building Xorg server binary and
unnecessary for release (actually marked as obsolete only on vax),
but no simple settings to "build static libraries without installation"
and most ports will be switched to Xorg 1.20 soon.

(tsutsui)

2024-01-27 10:57:05 UTC MAIN commitmail json YAML

Revert previous (stop building static libfb.a module for Xorg 1.10).

It breaks builds in xorg-server.old/hw/xfree86/Xorg on alpha,
netwinder, and sgimips (but not vax).

>> dependall ===> external/mit/xorg/server/xorg-server.old/hw/xfree86/Xorg
>> nbmake[13]: don't know how to make [...]/xorg-server.old/hw/xfree86/dixmods/fb/libfb.a. Stop

(tsutsui)

2024-01-26 13:37:21 UTC MAIN commitmail json YAML

Handle "LSBit is left" bitorder VRAM of smg(4) and qv(4) on VAXen.

Confirmed on smg(4) on my VAXstation 3100/30.
Should be pulled up to netbsd-10.

(tsutsui)

2024-01-26 13:06:37 UTC MAIN commitmail json YAML

Put back xorg_server_ver=110 specific files lost in 21.1.3 updates.

Also fix syspkg names and reorder entries for readabilities.
Fixes "fail to load libfb.so" errors in case of HAVE_XORG_SERVER_VER=110.
(Note these ports have been switched to HAVE_XORG_SERVER_VER=120)

Ok'ed by mrg@ on tech-x11@:
https://mail-index.netbsd.org/tech-x11/2024/01/24/msg002434.html

(tsutsui)

2024-01-26 12:58:51 UTC MAIN commitmail json YAML

2024-01-26 11:32:12 UTC MAIN commitmail json YAML

Stop building static libfb.a module for Xorg server 1.10 ports.

It looks unused and marked as obsolete in
src/distrib/sets/lists/xserver/md.* list files since netbsd-8.

(tsutsui)

2024-01-25 19:12:49 UTC MAIN commitmail json YAML

Fix mmap(2) address for smg(4) as other framebuffers.

Now X.org server can render onto framebuffer (but inverted bitorder).
Should be pulled up to netbsd-10 and netbsd-9.

(tsutsui)

2024-01-17 16:33:56 UTC MAIN commitmail json YAML

Add missed "rasops1" attribute to smg(4) rasops'fied a year ago.

This fixes silent boot failure on VS3100 with smg(4) framebuffer console.
Should be pulled up to netbsd-10.

(tsutsui)

2024-01-14 12:05:34 UTC MAIN commitmail json YAML

Add three button trackballs (M1309A) to a supported HP-HIL device list.

Asked by Jonathan Stone on port-hp300@, and tested by me:
https://mail-index.netbsd.org/port-hp300/2024/01/14/msg000238.html

(tsutsui)

2024-01-13 19:31:40 UTC MAIN commitmail json YAML

Disable more several pseudo-devices to shrink binary size.

My 3/60 fails to boot from a SCSI disk without this change.
https://mail-index.netbsd.org/port-sun3/2024/01/13/msg000207.html

Should be pulled up to netbsd-10.

(tsutsui)

2024-01-04 18:09:37 UTC MAIN commitmail json YAML

Fix a typo of a kernel name on detecting a running machine type.

Should be pulled up to netbsd-10.

(tsutsui)

2023-12-29 02:30:36 UTC MAIN commitmail json YAML

Use proper macro for the 030/040 TT registers to map LUNA's I/O spaces.

No binary change.

(tsutsui)

2023-12-28 12:13:56 UTC MAIN commitmail json YAML

2023-12-20 15:07:16 UTC MAIN commitmail json YAML

Return a proper exit status on failure on creating msdosfs.

No particular comment in PR bin/57752.
Should be pulled up to netbsd-10 and netbsd-9.

(tsutsui)

2023-12-08 16:29:04 UTC MAIN commitmail json YAML

Replace several magic numbers with macro to describe GPT's hybrid MBR boot.

(tsutsui)

2023-12-05 17:23:20 UTC MAIN commitmail json YAML

Fix an incorrect comment.

(tsutsui)

2023-12-03 07:20:23 UTC MAIN commitmail json YAML

Use defined ${GPTSECTORS} rather than hardcoded 2048.

(tsutsui)

2023-12-03 07:17:11 UTC MAIN commitmail json YAML

Document USE_GPTMBR and GPTSECTORS.

(tsutsui)

2023-11-17 23:08:27 UTC MAIN commitmail json YAML

binutils.old: apply the same fix for mips gas from binutils.

> binutils: fix gas that doesn't handle MIPS1 FPR load hazard correctly.
> Fixes PR/57680.

(tsutsui)

2023-11-17 23:06:05 UTC MAIN commitmail json YAML

binutils: fix gas that doesn't handle MIPS1 FPR load hazard correctly.

Fixes PR/57680.
Should be pulled up to netbsd-10, netbsd-9, and netbsd-8.

(tsutsui)

2023-11-17 22:46:19 UTC MAIN commitmail json YAML

Move more changes pulled up to netbsd-10 from CHANGES to CHANGES.prev.

(tsutsui)

2023-11-17 22:14:16 UTC MAIN commitmail json YAML

Remove a duplicated entry of OpenSSL 3.0.9 import.

(tsutsui)

2023-11-17 21:52:14 UTC MAIN commitmail json YAML

Fix formats for "Recent changes" pages on www.NetBSD.org.

(tsutsui)

2023-11-17 21:48:12 UTC MAIN commitmail json YAML

Move a pulled up newsmips LCD-MONO framebuffer entry to CHANGES.prev.

(tsutsui)

2023-11-07 14:34:36 UTC MAIN commitmail json YAML

xf86-input-keyboard: add build glue to enable USE_WSKBD_GETMAP.

(tsutsui)

2023-11-07 14:29:01 UTC MAIN commitmail json YAML

2023-11-04 18:13:25 UTC MAIN commitmail json YAML

Use DELAY(9), not empty for() loop that could be optimized out.

No visible regression on NWS-3260 and NWS-3470.

(tsutsui)

2023-11-04 15:33:27 UTC MAIN commitmail json YAML

doc: note support for LCD-MONO framebuffer on NWS-32x0 laptop machines.

(tsutsui)

2023-11-04 15:30:53 UTC MAIN commitmail json YAML

Add support for LCD-MONO framebuffer on NWS-32x0 laptop machines.

Tested on NWS-3260, which was sent from ryo@'s belongins and repaired
by me, and also tested on my NWS-3470D, including Xorg mono server.
(Note X.org server on NEWS machines requires keymap modifications)
Also add proper initialization on consinit() in NMB-253 case.

Worth to pull up to netbsd-10 and netbsd-9.

(tsutsui)

2023-10-28 21:06:05 UTC MAIN commitmail json YAML

Remove trailing spaces and tab.

(tsutsui)

2023-10-28 20:05:45 UTC MAIN commitmail json YAML

Use C99 designated struct initializers.

(tsutsui)

2023-10-28 20:00:04 UTC MAIN commitmail json YAML

Use proper C99 exact-width integer types.

(tsutsui)

2023-10-28 19:55:18 UTC MAIN commitmail json YAML

Make local functions and variables static.

(tsutsui)

2023-10-28 19:46:49 UTC MAIN commitmail json YAML

2023-10-28 19:34:44 UTC MAIN commitmail json YAML

Use FONT_SONY12x24 for Sony fans, rather than Gallant fonts used on Sun.

(tsutsui)

2023-10-25 12:59:09 UTC MAIN commitmail json YAML

Don't use aprint_error(9) for a normal attach message.

Found on testing NetBSD/newsmips 9.3 on NWS-3260 sent from
ryo@'s belongings.

(tsutsui)

2023-10-15 10:46:51 UTC MAIN commitmail json YAML

Remove obsolete #if blocks.

(tsutsui)

2023-10-14 15:31:36 UTC MAIN commitmail json YAML

Remove ancient and obsolete #if blocks.

(tsutsui)

2023-10-13 16:35:14 UTC MAIN commitmail json YAML

2023-10-13 16:30:01 UTC MAIN commitmail json YAML

Fix spelling. From OpenBSD/luna88k.

(tsutsui)

2023-10-13 16:10:24 UTC MAIN commitmail json YAML

Fix typo.  From OpenBSD/luna88k.

(tsutsui)

2023-10-08 03:57:48 UTC MAIN commitmail json YAML

2023-09-26 14:33:55 UTC MAIN commitmail json YAML

2023-09-26 12:46:30 UTC MAIN commitmail json YAML

2023-08-30 17:10:17 UTC MAIN commitmail json YAML

2023-08-08 14:38:44 UTC MAIN commitmail json YAML

2023-08-08 14:34:21 UTC MAIN commitmail json YAML

2023-07-31 16:09:01 UTC MAIN commitmail json YAML

Use proper variables for interface names in examples.

(tsutsui)

2023-07-29 15:46:45 UTC MAIN commitmail json YAML

No need to ask whether to use the TCP option on NFS mount.

TCP mount has been default since NetBSD 9.0.

(tsutsui)

2023-06-24 08:00:52 UTC MAIN commitmail json YAML

Add comments and remove nonexistent status registers.

(tsutsui)

2023-06-24 07:02:11 UTC MAIN commitmail json YAML

Fix a wrong cdb size of SCSI disk write command.  From OpenBSD/luna88k.

(tsutsui)

2023-05-17 18:20:30 UTC MAIN commitmail json YAML

Update URL of the technical manual.

(tsutsui)

2023-05-17 09:54:59 UTC MAIN commitmail json YAML

2023-04-23 06:58:00 UTC MAIN commitmail json YAML

Explicitly check machine type (LUNA-II) on secondary spc(4) probe.

So that individual mainbus_attach_args for both LUNA and LUNA-II
are no longer necessary.
While here, use proper address macro in <machine/board.h>.

Tested on both LUNA and LUNA-II.

(tsutsui)

2023-04-22 10:09:12 UTC MAIN commitmail json YAML

2023-04-22 10:00:24 UTC MAIN commitmail json YAML

2023-04-21 23:01:59 UTC MAIN commitmail json YAML

2023-04-21 22:44:27 UTC MAIN commitmail json YAML

2023-04-21 22:43:11 UTC MAIN commitmail json YAML

Avoid an extern declaration in .c file.  Just declare it as static.

Suggested on tech-userlevel@.

(tsutsui)

2023-04-15 18:16:28 UTC MAIN commitmail json YAML

Fix a wrong year in r1.168.  Pointed out by Nishi.

(tsutsui)

2023-04-13 11:44:10 UTC MAIN commitmail json YAML

Fix device name for xpbus at mainbus for LUNA-II, missed on psgpam merge.

Fortunately harmless because xpbus_match() doesn't check ma_name in
mainbus_attach_args.

(tsutsui)

2023-04-11 13:26:19 UTC MAIN commitmail json YAML

Fix missing locore.d dependency output on make depend.

Reported from isaki@.  Looks missed in rev 1.13 (22 years ago):
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/luna68k/conf/Makefile.luna68k#rev1.13

Should be pulled up to netbsd-8, netbsd-9, and netbsd-10.

(tsutsui)

2023-03-10 18:26:47 UTC MAIN commitmail json YAML

Note more user visible changes by me that will appear in NetBSD 10.0.

(tsutsui)

2023-03-10 18:00:27 UTC MAIN commitmail json YAML

Move changes pulled up to netbsd-10 from CHANGES to CHANGES.prev.

(tsutsui)

2023-02-12 10:18:23 UTC MAIN commitmail json YAML

Actually bump version (missed in the previous commit).

(tsutsui)

2023-02-12 10:04:56 UTC MAIN commitmail json YAML

Replace DELAY() with one in hp300 bootloader and adjust cpuspeed counts.

Fix boot failure on my ancient Seagate ST52160N drive.
It looks some of such old drives can't respond to SCSI
test-unit-ready command without proper wait after SCSI bus reset.
Bump version again to denote a fix.

XXX we should re-evaluate cpuspeed counts for DELAY() in bootloaders
    (where cache is disabled) on other m68k ports, hp300 and luna68k etc.

(tsutsui)

2023-02-12 08:25:10 UTC MAIN commitmail json YAML

2023-02-11 19:12:31 UTC MAIN commitmail json YAML

2023-02-11 18:30:45 UTC MAIN commitmail json YAML

Use MI <dev/ic/dc503reg.h> (added for vax smg(4)) for pmax pm(4) too.

(tsutsui)

2023-02-11 18:09:55 UTC MAIN commitmail json YAML

Bump version again to denote NeXT_CUBE_TURBO support.

(tsutsui)

2023-02-11 18:06:22 UTC MAIN commitmail json YAML

Bump version to 1.6 to denote recent bootloader's >20 years old bug fixes.

All these fixes should be pulled up to netbsd-10 and netbsd-9.

(tsutsui)

2023-02-11 08:27:21 UTC MAIN commitmail json YAML

Disable rarely used options and devices, and add options MODULAR instead.

Also enable files-system MSDOS for file exchange via removable media.

(tsutsui)

2023-02-11 07:42:25 UTC MAIN commitmail json YAML

Remove unnecessary commented out lines.

(tsutsui)

2023-02-11 07:32:44 UTC MAIN commitmail json YAML

2023-02-11 07:22:30 UTC MAIN commitmail json YAML

2023-02-11 07:12:34 UTC MAIN commitmail json YAML

Enable file-system CD9660.

It's useful for installation especially on emulators.

(tsutsui)

2023-02-11 06:02:56 UTC MAIN commitmail json YAML

Add comments that "options VAX410" also supports VS3100/m30,m38,m40,m48.

(tsutsui)

2023-02-11 05:59:39 UTC MAIN commitmail json YAML

Port rasops'fied smg(4) framebuffer driver for VS3100 from OpenBSD/vax.

This allows using more fonts other than 8x15 pixels on smg(4).
Tested on my VAXstation 3100/m30.

Note the bitorder of smg(4) VRAM is LSB first (i.e. LSBit is the
most left side pixel) and this requires more complicated changes
to bitmask ops in MI rasops(9) because several LE machines have
VRAMs whose MSBit is connected to the most left side pixel,
but for now I prepared smg(4) specific putchar and cursor ops
based on old luna68k omrasops.

(tsutsui)

2023-02-11 02:34:15 UTC MAIN commitmail json YAML

NeXT Turbo Color doesn't have NEXT_P_C16_CMD_REG.

Info from Andreas Grabher on port-next68k@.

(tsutsui)

2023-02-11 02:33:27 UTC MAIN commitmail json YAML

2023-02-11 02:31:34 UTC MAIN commitmail json YAML

2023-02-09 15:20:40 UTC MAIN commitmail json YAML

2023-02-09 15:00:56 UTC MAIN commitmail json YAML

Request only 36 bytes for a response of INQUIRY command for legacy drives.

Some drives don't respond larger requested size for newer
SCSI3 devices and not all drivers can handle short xfers.
We should fix drivers to handle such short xfers properly,
but we need only SCSI device type here (and the 36 bytes are
enough even if we want vendor and product names on a bootloader).

The problem is reported from Andreas Grabher (a maintainer of NeXT
Computer Emulator)a on port-next68k@:
https://mail-index.netbsd.org/port-next68k/2023/02/thread1.html

(tsutsui)

2023-02-09 14:41:54 UTC MAIN commitmail json YAML

Avoid possible division by zero trap in error cases to make debug easier.

(tsutsui)

2023-02-07 14:27:59 UTC MAIN commitmail json YAML

Make sure to specify volatile explicitly on DMA register accesses.

It looks booting from SCSI disks on next68k have been broken
since NetBSD 1.6 days, but now it works.
Should be pulled up to netbsd-10 and netbsd-9.

(tsutsui)

2023-02-06 13:30:02 UTC MAIN commitmail json YAML

Remove an obsolete comment.

(tsutsui)

2023-02-06 13:13:06 UTC MAIN commitmail json YAML

Add a support for gpx(4) color framebuffer found on VAXstation 3100.

Poted from OpenBSD/vax. Note smg(4) monochrome onboard framebuffer
driver is also changed attached only if gpx(4) is not installed
or flags 1 is specified in config files, as OpenBSD did.

Tested on my VAXstation 3100/m30 with and without 8bpp gpx(4).
Revied on port-vax@ and "Please go ahead!" from ragge@.
https://mail-index.netbsd.org/port-vax/2023/01/thread1.html#004147

Worth to pullup to netbsd-10.

(tsutsui)

2023-02-04 14:38:09 UTC MAIN commitmail json YAML

2023-02-04 08:42:45 UTC MAIN commitmail json YAML

Remove leftover "last kernel PT page" settings derived from hp300.

Whilehere, also remove VM definitions for obsolete COMPAT_HPUX stuff.

All hp300 machines has RAMs at a region from the highest address
i.e. 0xFFFFFFFF to smaller address (as HP claims "it's the MSB first"),
so kernels have to prepare PA==KVA mappings as the "last PT page" to
guarantee the running kernel works both before and after the MMU is
turned on.  For such a special mapping, we have to set up necessary
segment table and page table during early startup, in pmap_bootstrap()
invoked from locore.s.

On the other hand, NeXT machines have RAMs at a region from 0x40000000
to below (i.e. to larger address) so we still need a PA==KVA mapping.
However currently NetBSD/next68k just uses the transparent translation
registers to achieve the PA==KVA mapping, so unlike hp300 we don't have
to prepare special segment table and page table for it.

Note many other m68k ports (like luna68k, news68k, x68k etc.) have
RAMs at a region from 0x00000000 so usually we can assume PA==KVA
and don't have to bother to prepare such speicial mappings.

No user visible changes (except now freed wasted pages for the tables).
Tested on my NeXTstation slab.

(tsutsui)

2023-02-04 07:07:41 UTC MAIN commitmail json YAML

Remove #ifdef'ed out hp300 specific stuff.

(tsutsui)

2023-02-04 02:08:03 UTC MAIN commitmail json YAML

2023-02-03 23:22:34 UTC MAIN commitmail json YAML

2023-02-03 23:21:18 UTC MAIN commitmail json YAML

2023-02-03 23:19:03 UTC MAIN commitmail json YAML

Use proper LIST(3) macro.

(tsutsui)

2023-02-03 23:17:49 UTC MAIN commitmail json YAML

Make local functions static.

(tsutsui)

2023-02-03 23:16:07 UTC MAIN commitmail json YAML

Misc cleanup.

- use C99 designated initializer
- misc KNF
- TAB/space cleanup

(tsutsui)

2023-02-03 23:13:01 UTC MAIN commitmail json YAML

2023-02-03 23:07:47 UTC MAIN commitmail json YAML

2023-02-03 23:06:42 UTC MAIN commitmail json YAML

2023-02-03 23:04:36 UTC MAIN commitmail json YAML

Use proper C99 int types.

(tsutsui)

2023-02-03 23:02:56 UTC MAIN commitmail json YAML

2023-02-03 23:00:33 UTC MAIN commitmail json YAML

Add proper rnd_add_uint32(9) calls to next68k xe(4) driver.

(tsutsui)

2023-02-03 22:57:05 UTC MAIN commitmail json YAML

Use explicit CPU strings and remove hp300 derived stuff.

(tsutsui)

2023-01-29 17:00:12 UTC MAIN commitmail json YAML

Make a vax bootloader work on 8MB VAXen.

64KB (0x800000 - 0x7f0000) is not enough for the bootloader itself
and more spaces are required for heap on loading a kernel.
https://mail-index.netbsd.org/port-vax/2023/01/24/msg004149.html

"Go ahead" from ragge@.  Should be pulled up to netbsd-10 and netbsd-9.

(tsutsui)

2023-01-27 23:29:15 UTC MAIN commitmail json YAML

2023-01-27 20:05:04 UTC MAIN commitmail json YAML

2023-01-27 20:03:03 UTC MAIN commitmail json YAML

mvme68k: Specify proper constraints for bus_space_read region and multi ops.

Sync with next68k.

(tsutsui)

2023-01-27 19:50:02 UTC MAIN commitmail json YAML

news68k: Specify proper constraints for bus_space_read region and multi ops.

Synk with next68k.
Also use consistent register name constrains, i.e. no '%' prefix.

(tsutsui)

2023-01-27 19:49:21 UTC MAIN commitmail json YAML

luna68k: Specify proper constraints for bus_space_read region and multi ops.

Sync with next68k.

(tsutsui)

2023-01-27 19:48:00 UTC MAIN commitmail json YAML

hp300: Specify proper constraints for bus_space_read region and multi ops.

Synk with next68k.
Also use consistent register name constrains, i.e. no '%' prefix.

(tsutsui)

2023-01-27 15:36:58 UTC MAIN commitmail json YAML

next68k:  Specify -fno-unwind-tables to shrink kernel binary size.

next68k bootloader cannot load a kernel larger than ~3.8 MB.

(tsutsui)

2023-01-27 15:31:05 UTC MAIN commitmail json YAML

next68k: Fix silent stall of next68k esp(4) SCSI.

next68k esp(4) driver requires nextdma(4) interrupts at ipl 6
during ncr53c9x_intr() for esp(4) at ipl 3.  It worked on netbsd-5
and prior, but on netbsd-5 splbio() was changed from ipl 3 to 6
for SMP support and on netbsd-6 ncr53c9x driver was changed to
use mutex(9) instead of simple_lock(9), so nextdma interrupts
were no longer raised during ncr53c9x interrupt handler.

For now, just call mutex_exit(9) and mutex_enter(9) during
waiting nextdma(4) interrupts in MD esp_dma_intr() handler.
This could be wrong and the interrupt handler for nextdma should
be reorganized, but it just works.

Should be pulled up to netbsd-10 and netbsd-9.

(tsutsui)

2023-01-27 15:25:47 UTC MAIN commitmail json YAML

next68k: Specify proper constraints for bus_space_read region and multi ops.

These functions write the read data into memory at a specified pointer,
but without the "memory" constraint gcc could optimize out these ops
if the memory is allocated on local stack.

With this fix nextkbd(4) works again.

Should be pulled up to netbsd-10 and netbsd-9.

(tsutsui)

2023-01-27 15:21:52 UTC MAIN commitmail json YAML

2023-01-26 17:16:57 UTC MAIN commitmail json YAML

2023-01-26 17:09:46 UTC MAIN commitmail json YAML

2023-01-15 16:45:32 UTC MAIN commitmail json YAML

Remove obsolete bpf entries not neceerary for clonified bpf(4).

Fixes "MAKEDEV: bpf8: unknown device" errors.

(tsutsui)

2023-01-15 06:19:46 UTC MAIN commitmail json YAML

2023-01-15 05:08:33 UTC MAIN commitmail json YAML

2023-01-13 19:45:45 UTC MAIN commitmail json YAML

Make sure to call wsfont_init(9) as other framebuffer drivers.

Otherwise wsfont_find(9) always fails and wsdisplay(4) is not attached.
XXX: still no output on the framebuffer console on my VAXstation 3100/m30

(tsutsui)

2023-01-06 10:28:28 UTC MAIN commitmail json YAML

2023-01-05 18:48:13 UTC MAIN commitmail json YAML

Disable (comment out) options DIAGNOSTIC in INSTALL kernels.

It has been there since the initial revision 1.1 while
it was disabled in GENERIC in revision 1.121 back in 2002:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/mac68k/conf/GENERIC#rev1.121

Briefly discussed in PR/57107, and maybe should be pulled up to
netbsd-9 and netbsd-10.

(tsutsui)

2023-01-05 18:27:48 UTC MAIN commitmail json YAML

Fix out of bounds invalidate (and writeback) in bus_dmamap_sync(9) ops.

Detected by the POOL_REDZONE check in sys/kern/subr_pool.c that
has been activated if options DIAGNOSTIC is enabled on post netbsd-9.
The extra invalidate on DMASYNC_PREREAD op discards redzone pattern
data allocated right after an mbuf cluster without proper writeback
to memory so that it triggers false redzone assertions on freeing mbufs.
This bug was my botch in rev 1.25 committed 15 years ago. (sigh)

Fixes PR/57107 (kernel panic on -current when configuring network
with sn(4) on mac68k), as actually the bus_dma(9) op changes
in the past days were introduced for mac68k sn(4) improvements
by using the MI SONIC (src/sys/dev/ic/dp83932.c) driver.
https://mail-index.netbsd.org/port-mac68k/2007/06/01/0001.html

Should be pulled up to netbsd-9 and netbsd-10.

(tsutsui)

2022-12-11 07:41:37 UTC MAIN commitmail json YAML

Enable UFS2 support.

Tested on 425t with HPDisk emulating 7958B using NetBSD 9.3 UFS2 image.

(tsutsui)

2022-12-11 07:39:30 UTC MAIN commitmail json YAML

2022-12-11 06:27:35 UTC MAIN commitmail json YAML

Remove a #if 0'ed out unused function.

(tsutsui)

2022-12-11 06:20:08 UTC MAIN commitmail json YAML

2022-12-11 04:20:52 UTC MAIN commitmail json YAML

Enable options DISKLABEL_EI by default as amd64.

No particular comment no port-i386@:
https://mail-index.netbsd.org/port-i386/2022/12/02/msg004063.html

(tsutsui)

2022-12-03 16:56:41 UTC MAIN commitmail json YAML

Explicitly include <sys/kernel.h> for hz(9) as man pages says.

XXX: it looks sys/param.h r1.615 and later also has extern int hz

(tsutsui)

2022-12-03 06:08:18 UTC MAIN commitmail json YAML

Add empty DIOCCACHESYNC ioctl(2) for rd(4).

Without this raid(4) always complains on various raidctl(8) ops:
> raid0: cache flush[0] to component 0 failed (22)

RAID1 configured by raid(4) just works HP-IB disks on hp300.

(tsutsui)

2022-12-01 15:02:11 UTC MAIN commitmail json YAML

Misc KNF and cosmetics.

(tsutsui)

2022-11-30 18:15:32 UTC MAIN commitmail json YAML

Remove more duplicated static function declarations.

(tsutsui)

2022-11-30 17:42:21 UTC MAIN commitmail json YAML

Use proper RAW_PART macro rather than a magic number.

(tsutsui)

2022-11-30 17:39:12 UTC MAIN commitmail json YAML

Set disk_geom parameters required by DIOCGPARTINFO in disk_ioctl().

With this change raid(4) no longer complains before mountroot:
> RAIDframe: can't get disk size for dev rd0 (22)

Should be pulled up to netbsd-9.

(tsutsui)

2022-11-30 17:07:30 UTC MAIN commitmail json YAML

Remove a duplicated static function declaration.

(tsutsui)

2022-11-30 17:01:56 UTC MAIN commitmail json YAML

Pass a correct dev_t arg to disk_ioctl().

Probably harmless.

(tsutsui)

2022-11-30 16:37:44 UTC MAIN commitmail json YAML

Check bounds of each partition by MI bounds_check_with_label(9).

The previous implementation was committed in rev 1.26 about 26 years ago
and it looks there is no quirk to use the old MD one.

(tsutsui)

2022-11-30 15:59:01 UTC MAIN commitmail json YAML

Check bounds of RAW_PART by bounds_check_with_mediasize() as other drivers.

With this check, dd(1) without a count value against a raw partition
is terminated properly at the end of media.  Tested on 425t and HPDisk.

Should be pulled up to netbsd-9.

(tsutsui)

2022-11-30 11:36:50 UTC MAIN commitmail json YAML

Fix silent bus error panic on 98543A topcat framebuffer on HP320 and HP360.

It looks DELAY(100)s before checking cmap_busy in old pre-wscons grf_tc.c
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/hp300/dev/Attic/grf_tc.c?rev=1.42
are actually necessary on 68020 (HP320) and 68030 (HP360) machines,
while it works without them on 68040 (HP380).

Should be pulled up to netbsd-9.

(tsutsui)

2022-11-26 00:25:36 UTC MAIN commitmail json YAML

Misc KNF and cosmetics.

No binary change.

(tsutsui)

2022-11-25 16:12:32 UTC MAIN commitmail json YAML

Remove unnecessary declarations.

(tsutsui)

2022-11-25 13:12:02 UTC MAIN commitmail json YAML

Service mode switch should not be treated as an error.

Use aprint_normal(9) to avoid confusing dmesg.

(tsutsui)

2022-11-25 13:06:27 UTC MAIN commitmail json YAML

Sync with rdreg.h integer type changes.

(tsutsui)

2022-11-25 13:02:51 UTC MAIN commitmail json YAML

Use proper integer types for HP-IB xfer parameters.

No visible regression on 425t and HPDisk.

(tsutsui)

2022-11-23 18:55:06 UTC MAIN commitmail json YAML

Remove now unused buffer members from softc prepared only for rdreset().

(tsutsui)

2022-11-23 18:53:22 UTC MAIN commitmail json YAML

Fix "rd(4) at punits not configured on HPDisk are misprobed" problem.

- check not only stat value returned by C_QSTAT command against
  each punit but also desc.d_name returned by C_DESC command
  because it looks HPDisk responds to commands against punits supported
  but not-configured punits at 1-3
- prepare rdreset_unit() function to manage reset punit ops during
  probe without valid softc

The stragety is taken from OpenBSD with several modification.
Tested on 425t with real 9122D and HPDisk emulating two 7937H drives.

Should be pulled up to netbsd-9.

(tsutsui)

2022-11-22 16:17:29 UTC MAIN commitmail json YAML

Use explicit struct to represent RX queue buffer data structure.

No binary change.

Maybe the similar change should be applied to MI com(4) and zsc(4)?

(tsutsui)

2022-11-21 16:22:37 UTC MAIN commitmail json YAML

Use common macro for numbers of cylinders and blocks for HP-IB disks.

No binary changes.

(tsutsui)

2022-11-21 15:36:29 UTC MAIN commitmail json YAML

Make local functions and variables static.

(tsutsui)

2022-11-21 15:05:44 UTC MAIN commitmail json YAML

Make local variables static and read only ones const.

(tsutsui)

2022-11-21 14:55:08 UTC MAIN commitmail json YAML

Sync a list of HP-IB disk IDs with kernel's one.

Now bootloader can boot from 2202A, 7908A, 7911A, and 7941A.
Tested on 425t and HPDisk.

(tsutsui)

2022-10-16 15:21:00 UTC MAIN commitmail json YAML

Use complete cpu name strings for readability.

(tsutsui)

2022-10-16 15:16:12 UTC MAIN commitmail json YAML

Use a consistent pointer variable.  No functional change.

(tsutsui)

2022-10-03 17:42:36 UTC MAIN commitmail json YAML

Remove global hwplanecount and use ri_depth in struct rasops instead.

No functional change.

(tsutsui)

2022-10-01 14:02:08 UTC MAIN commitmail json YAML

Set an actual framebuffer depth (bpp) to rasops ri_depth.

The previous value was derived from OpenBSD/luna88k but
it has not been referenced even via ioctl(2).

(tsutsui)

2022-10-01 13:51:55 UTC MAIN commitmail json YAML

Explicitly limit a number of rasops rows per size of rowattr[].

(tsutsui)

2022-10-01 13:41:12 UTC MAIN commitmail json YAML

2022-09-17 18:41:26 UTC MAIN commitmail json YAML

Use C99 designated initializers.

(tsutsui)

2022-09-17 18:29:54 UTC MAIN commitmail json YAML

Make local functions static.

(tsutsui)

2022-09-10 19:25:44 UTC MAIN commitmail json YAML

2022-09-10 19:23:03 UTC MAIN commitmail json YAML

wsfb: reduce diffs from upstream.

Mostly pulled/merged from the following upstream changes:

- Fix for dlopen() -based module loader.
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/b77092858a178aa169ed4c1c7fe733d5cd355702

- Remove useless loader symbol lists.
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/bce9fd21483fbeddc84672a1ef01fdd9b58c88ed

- Add compat-api.h for compatibility with xserver 1.13
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/586b722fb17b3eb0ab776c170ee21e6a66fc7f22

- Use own thunk functions instead of shadow*Weak
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/fa9aabe95a65c4dd12008e16ad66d5c773a7993a

- Remove obsolete #ifdef HAVE_XF1BPP and #ifdef HAVE_XF4BPP blocks,
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/16ac29883cb80053fb0b973166a3f664cae1fa44

- Remove unused variables
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/1c1bf30b612933a3303d414c75671c9a05ec450a

- Suppress a bunch of compiler warnings for using constant strings
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/1ff2e87ea1c19d1417b11886d940e205be376d78

- Replace LoaderGetOS with ifdef
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/8069c6970c731c38e105f5dddd5ce83ba88b0773

- Fix spelling/wording issues
  https://gitlab.freedesktop.org/xorg/driver/xf86-video-wsfb/-/commit/27c2d76404c7b440a6662446b189fa257c4cebfc

With minor adjustments:
- sync order of members in private struct WsfbRec
- add more const to avoid warning
- add newlines properly to xf86Msg() messages

No particular objection on tech-x11@:
https://mail-index.netbsd.org/tech-x11/2022/06/thread1.html#002311

(tsutsui)