summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
AgeCommit message (Collapse)Author
2023-04-21Remove ancient /* ARGSUSED */ lint comments.tsutsui
2023-04-21Remove ancient /* ARGSUSED */ lint comments.tsutsui
2023-04-21Avoid an extern declaration in .c file. Just declare it as static.tsutsui
Suggested on tech-userlevel@.
2023-02-12fix various typos in comments.andvar
2023-02-12Add optoion GENERIC.local include to the end of ~all GENERIC configsabs
This excludes atari, sgimips, evbmips, evbppc, evbsh3, and hpcarm all of which have somewhat specific kernel config file layouts
2023-01-27hp300: Specify proper constraints for bus_space_read region and multi ops.tsutsui
Synk with next68k. Also use consistent register name constrains, i.e. no '%' prefix.
2023-01-15TAB/space cleanup.tsutsui
2022-12-11Enable UFS2 support.tsutsui
Tested on 425t with HPDisk emulating 7958B using NetBSD 9.3 UFS2 image.
2022-12-11Make hp300 bootloaders UFS2 ready.tsutsui
2022-12-11Remove a #if 0'ed out unused function.tsutsui
2022-12-11Cleanup extern declarations.tsutsui
2022-12-03Explicitly include <sys/kernel.h> for hz(9) as man pages says.tsutsui
XXX: it looks sys/param.h r1.615 and later also has extern int hz
2022-12-03Add empty DIOCCACHESYNC ioctl(2) for rd(4).tsutsui
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.
2022-12-01Misc KNF and cosmetics.tsutsui
2022-11-30Remove more duplicated static function declarations.tsutsui
2022-11-30Use proper RAW_PART macro rather than a magic number.tsutsui
2022-11-30Set disk_geom parameters required by DIOCGPARTINFO in disk_ioctl().tsutsui
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.
2022-11-30Remove a duplicated static function declaration.tsutsui
2022-11-30Pass a correct dev_t arg to disk_ioctl().tsutsui
Probably harmless.
2022-11-30Check bounds of each partition by MI bounds_check_with_label(9).tsutsui
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.
2022-11-30Check bounds of RAW_PART by bounds_check_with_mediasize() as other drivers.tsutsui
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.
2022-11-30Fix silent bus error panic on 98543A topcat framebuffer on HP320 and HP360.tsutsui
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.
2022-11-26Misc KNF and cosmetics.tsutsui
No binary change.
2022-11-25Remove unnecessary declarations.tsutsui
2022-11-25Service mode switch should not be treated as an error.tsutsui
Use aprint_normal(9) to avoid confusing dmesg.
2022-11-25Sync with rdreg.h integer type changes.tsutsui
2022-11-25Use proper integer types for HP-IB xfer parameters.tsutsui
No visible regression on 425t and HPDisk.
2022-11-23Remove now unused buffer members from softc prepared only for rdreset().tsutsui
2022-11-23Fix "rd(4) at punits not configured on HPDisk are misprobed" problem.tsutsui
- 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.
2022-11-21Use common macro for numbers of cylinders and blocks for HP-IB disks.tsutsui
No binary changes.
2022-11-21Make local functions and variables static.tsutsui
2022-11-21Make local variables static and read only ones const.tsutsui
2022-11-21Sync a list of HP-IB disk IDs with kernel's one.tsutsui
Now bootloader can boot from 2202A, 7908A, 7911A, and 7941A. Tested on 425t and HPDisk.
2022-10-16Use complete cpu name strings for readability.tsutsui
2022-09-29swwdog(4): Add to GENERIC kernels.riastradh
Plus a handful of others that I'm familiar with. Lots of special- purpose kernels should probably have this too but I'm not going through all the arm, mips, and ppc evaluation board kernels to see which ones are relevant. Omitted from systems I know to be very small: - sun2/GENERIC - dreamcast/GENERIC Feel free to remove it from others that need to be kept smaller. Compile-tested a few of these just in case: - alpha/GENERIC - amd64/GENERIC - evbmips/OCTEON - i386/GENERIC - riscv/GENERIC PR kern/29702
2022-08-07UFS/LFS dirhash:simonb
- Enable UFS_DIRHASH if the architecture or kernel model specific config file can use 128MB of RAM or more. - Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel and by a number of NetBSD developers for years. - Add LFS_DIRHASH if LFS was enabled. - Be somewhat consistent with FS options order.
2022-07-03fix various typos in comments, mainly s/pallete/palette/.andvar
2022-05-30s/identifing/identifying/ and s/multipler/multiplier/ in comments.andvar
2022-05-23s/boundries/boundaries/, s/itterate/iterate/ and few more typos.andvar
2022-04-12s/sould/should/ and s/shoud/should/andvar
2022-04-10fix various typos in comments and output/log messages.andvar
2021-12-05s/corect/correct/ in comment.msaitoh
2021-10-09Call cnpollc(9) before cngetc(9) as the cons(9) man page says.tsutsui
Currently most ports do nothing in cnpollc(9), but this is required to handle wskbd(9) .set_leds op in cngetc(9) properly, at least on luna68k.
2021-09-25Call cnpollc(9) before cngetc(9) as the cons(9) man page says.tsutsui
Affects only inside #ifdef DEBUG part on "trap during panic" in trap.c derived from hp300.
2021-09-06fix typos in word "segment" and two additional typos in if_tl.c.andvar
2021-08-07Merge thorpej-cfargs2.thorpej
2021-08-06Add comments how mm_md_physacc() for hp300 works.tsutsui
mm_md_physacc() for all other hp300 pmap based m68k ports that copied hp300 implemantation should have been fixed properly. XXX: no mm(9) man pages that describe MD implementation API definitions.
2021-07-31s/threshhold/thresholdandvar
2021-07-24Fix all remaining typos, mainly in comments but also in few definitions and ↵andvar
log messages, reported by me in PR kern/54889. Also fixed some additional typos in comments, found on review of same files or typos.
2021-07-11Add Device and drive info of 2202A, 7908A, 7911A, and 7941A.tsutsui
Geometries and description info are taken from hpdrive.ini.sample in HPDrive. Briefly tested on HPDisk.