summaryrefslogtreecommitdiff
path: root/sys/arch/hpcmips
AgeCommit message (Collapse)Author
2023-05-06s/regster/register/ in comments and error messages.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
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-09-25s/inerrupt/interrupt/ and s/intrrupt/interrupt/ in comments.andvar
2022-09-05G/C ISSET() macro copies. It has been defined in <sys/types.h> since 2006.tsutsui
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-26s/functin/function/ in copy pasted comment.andvar
2022-07-21fix typos in comments and log messages, mainly s/intrrupt/interrupt/.andvar
2022-07-08alredy -> alreadyskrll
2022-07-03fix various typos in comments, mainly s/pallete/palette/.andvar
2022-05-31s/disbale/disable/ and s/enbale/enable/ in comments. also one more typo fix.andvar
2022-05-28fixed typo with another typo in my last commit. fixing it again.andvar
2022-05-28fix various typos, mainly in comments.andvar
2022-05-23s/controll/control/ in comments.andvar
2022-04-16s/setted/set/andvar
2022-04-08fix various typos, mainly in comments, but also log messages, docs, game text.andvar
2022-03-03mips: Use device_set_private for cpuN on older ports.riastradh
Specifically, for those that don't use cpu_attach_common of mips_subr.c.
2022-01-24s/begining/beginning/ in comments and messages.andvar
2021-12-12fix typos in word "operation(s)".andvar
2021-09-07Make this compile again.rin
XXX Unfortunately, kernel does not boot on TX3922-based machines...
2021-08-09fix typos in asymmetry, asymmetric(al), symmetrical.andvar
2021-08-09fix various typos in comments and messages.andvar
2021-08-07Merge thorpej-cfargs2.thorpej
2021-07-31s/dependend/dependent/andvar
2021-06-29Remove uscanner(4) drivernia
This exists for compatibility with a Linux interface which was apparently deprecated in Linux 2.6. There are various mailing list threads going back to 2004 where the usefulness of this driver is discussed, but the conclusion is that scanner software has all moved to using ugen(4) instead, and enabling this driver will not help you scan things.
2021-06-26Set VMSWAP_DEFAULT_PLAINTEXT for hpcarm and hpcmips, that suffer fromrin
slow CPU as well as memory shortage. For hpcsh, this option is already enabled by std.sh3.
2021-05-22Be explicit about our interface attributes.thorpej
2021-04-25it8368_attach_socket(): Pass the device_t to config_found(), not thethorpej
softc. This was missed due to a (void *) cast when the device_t / softc split changes occurred.
2021-04-24Merge thorpej-cfargs branch:thorpej
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments. Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.) Remove unnecessary or redundant interface attributes where they're not needed. There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles) ...and a sentinel value CFARG_EOL. Add some extra sanity checking to ensure that interface attributes aren't ambiguous. Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
2021-01-13Don't advertise AUDIO_PROP_CAPTURE - no capture method is providedskrll
[ 1.0000000] audio0 at vraiu0: missing capture method
2021-01-12Turn on DIAGNOSTIC to help track down problem in hpcmips test runsskrll
2020-11-21malloc(9) -> kmem(9)thorpej
2020-09-06Fix some more uvm header fallout. Add include guards while here.riastradh
2020-08-10Clean up _LKM --> _MODULE leftovers.rin
Note that _KERNEL is always defined for modules.
2020-08-01Remove references to BRIDGE_IPF, it is now compiled in by default.maxv
2020-05-16Remove uyap, USB YAP phone firmware loader.maya
And the associated ezload EZ-USB code, which is only used by uyap. It could theoretically be used by other drivers, but none of them are in tree. I suspect that this device isn't in use, as phone technology has improved a lot since 2001 when uyap(4) was added to the tree. Proposed with no objections on netbsd-users on 13 April 2020
2020-04-04mark nsmb major obsoletejdolecek
2020-02-23Make start_input/halt_input optional if the driver has no recording,isaki
make start_output/halt_output optional if the driver has no playback. And remove such never called functions.
2020-02-17spellingsevan
2020-01-29remove urio(4), a driver for the Rio500 MP3 player.maya
At this point it is highly unlikely this 1999 device still has users, but it still comes up in the context of maxv's USB-fuzzing (and any device could pretend to be a urio(4)), so it's best to get rid of it. Renamed all major entries to obsolete, as was done in previous removals. This still requires an update to sanitizers, but they're located in "external", perhaps it should be first committed upstream? Proposed on tech-kern a month ago.
2019-11-10in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAITchs
and remove code to handle failures that can no longer happen.
2019-09-23Provide PRIxBUSADDR, PRIxBUSSIZE, PRIuBUSSIZE, and PRIxBSH for all archesskrll
to follow arm and (generic) mips. Reviewed by christos.
2019-08-21 Fix typo (s/contoller/controller/).msaitoh
2019-06-08Clean get_props().isaki
- Make get_props() return AUDIO_PROP_{PLAYBACK,CAPTURE} properly. This eliminates need for audio.c to take care of such (old) drivers which don't return both of PLAYBACK and CAPTURE. - All get_props() doesn't need to return AUDIO_PROP_MMAP. It is handled in the audio layer now.
2019-05-08Merge isaki-audio2 branch, the overhaul of audio subsystem.isaki
- Interrupt-oriented system rather than thread-oriented. - Improve stability, quality and performance. - Split playback and record cleanly. Improve halfduplex support. - Many bugs are fixed including deadlocks, resource leaks, abuses, etc. - Simplify audio filter mechanism. The encoding/channels/frequency conversions are completely handled in the upper layer. So the hard- ware driver only converts its hardware encoding (if necessary). - audio_hw_if changes: - Obsoletes query_encoding and add query_format instead. - Obsoletes set_params and add set_format instead. - Remove drain, setfd, mappage. - The call sequences are changed. - ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted. - ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced. - cleanup config attributes: au*conv and mulaw. - All hardware drivers should follow it (I've done as much as possible). Some file paths are changed: - dev/audio.c -> dev/audio/audio.c (rewritten) - dev/audiovar.h -> dev/audio/audiovar.h - dev/audio_dai.h -> dev/audio/audio_dai.h - dev/audio_if.h -> dev/audio/audio_if.h - dev/audiobell.c -> dev/audio/audiobell.c - dev/audiobellvar.h -> dev/audio/audiobellvar.h - dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c
2019-04-26Enable BUFQ_PRIOCSCAN, CARP, Veriexec by default in GENERIC kernel configs.sevan
On ports without a GENERIC kernel config enable in individul files, e.g evbmips. Omit on: atari, dreamcast, emips, epoc32, evbppc/VIRTEX*, ia64, luna68x, mvme68k, mvmeppc, playstation2, riscv, sun2, sun3, x68k, zaurus due to resource constraints or port infancy.
2019-04-13Add drvctl to kernel which has audio device.isaki
audiocfg(1) requires drvctl(4).
2019-03-28protect kernel variableschristos
2019-03-16Use C99 style struct initializer to audio_hw_if.isaki
2019-02-06Add ure(4) to kernel config files. Also add PHY drivers where necessary.rin