summaryrefslogtreecommitdiff
path: root/sys/arch/sbmips
AgeCommit message (Collapse)Author
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-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-05-28fix various typos in comments.andvar
2022-03-04fix few typos in comments for word "because".andvar
2021-08-07Merge thorpej-cfargs2.thorpej
2021-06-05Use the libsa dev_net.c (fixes the build since this defined netmaskchristos
which has moved to a different file in libsa).
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?).
2020-09-27vether: Add to kernel configurationsroy
It's only enabled if the kernel enabled bridge AND tap. Otherwise it's commented out.
2020-08-01Remove references to BRIDGE_IPF, it is now compiled in by default.maxv
2020-01-19Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It isthorpej
long since obsolete.
2019-12-27s/transfered/transferred/msaitoh
2019-08-21 Fix typo (s/contoller/controller/).msaitoh
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-03centralize setdisklabel(9)christos
2019-01-07move DEV_BSIZE, DEV_BSHIFT out of MD param.h, they are same on all portsjdolecek
also move BLKDEV_IOSIZE, MAXPHYS, but allow override since some ports have different value (powerpc uses NBPG for BLKDEV_IOSIZE, sun2/sun3 have lower MAXPHYS)
2018-10-23remove the 'wd* at umass?' for the non-standardized and rare (extinct?)jdolecek
In-System Design ATA protocol over Bulk-Only devices from most kernels, leave only in i386/amd64 ALL; it's unmaintained and likely currently broken, lack of test hardware makes it impossible to support
2018-08-01Unreference IPF/PF from all the config files, and enable NPF instead whenmaxv
wanted. This also fixes some inconsistencies I saw in several files (eg IPF options while IPF was not compiled, IPF+PF enabled by default, etc).
2018-07-12Remove the kernel PMC code. Sent yesterday on tech-kern@.maxv
This change: * Removes "options PERFCTRS", the associated includes, and the associated ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is good. * Removes the PMC code of ARM XSCALE. * Removes all the pmc.h files. They were all empty, except for ARM XSCALE. * Reorders the x86 PMC code not to rely on the legacy pmc.h file. The definitions are put in sysarch.h. * Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control and sys_pmc_get_info syscalls. They are marked as OBSOL in kern, netbsd32 and rump. * Removes the pmc_evid_t and pmc_ctr_t types. * Removes all the associated man pages. The sets are marked as obsolete.
2017-11-06Cleanup and clarify the ELFSIZE mess:christos
We now have 2 variables automatically set in elf_machdep.h: ARCH_ELFSIZE: the size for userland binaries KERN_ELFSIZE: the size for the kernel binaries DB_ELFSIZE has been deleted and KERN_ELFSIZE should have always the same values DB_ELFSIZE used to have. In sys/exec_elf.h, if ELFSIZE is not set, it is set to KERN_ELFSIZE for the kernel and ARCH_ELFSIZE for userland. These defaults should eliminate the need for most manual ELFSIZE setting.
2017-09-14clean up COMPAT_* options for native netbsd code:mrg
- new series of files that are useful for saying "i want everything since netbsd 1.4", etc. - use the fact COMPAT_* options have future dependancies to remove many redundant options. removes about 3000 lines total across kernel configuration files. tested about 30 random kernels in the changed list.
2017-09-13Remove support for VERIFIED_EXEC_FP_RMD160, VERIFIED_EXEC_FP_SHA1, and ↵sevan
VERIFIED_EXEC_FP_MD5 options. These algorithms are either broken or on their way to being broken. Discussed on tech-security http://mail-index.netbsd.org/tech-security/2017/08/21/msg000936.html ok riastradh
2017-07-29Remove TCP_COMPAT_42 from the config files. Pass 3.maxv
2017-04-08centralize vers.c building for standalone programs.christos
2017-01-26provide __HAVE_COMPAT_NETBSD32 and fix multiple include protection consistently.christos
2016-12-22switch all ports to use uvm_init.c:uvm_md_init()cherry
uvm_setpagesize() is now subsumed within this funciton.
2016-07-21remove .MIPS.abiflags to avoid objcopy creating a 0x20000000 large boot file.christos
2016-07-21make this compile.christos
2016-06-11PR 51200 gets in libsa considered harmful: use kgetsdholland
2015-12-21Add mips fenv.h (From FreeBSD)christos
2015-08-07Remove KMEMSTATS.maxv
2014-11-20use the inline bcdtobin and bintobcd directly instead through a macro.christos
2014-11-16Remove unused extended attributes kernel optionsmanu
As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them as they have been obsolete for a long time: UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
2014-11-12Support for UFS1 extended attributes in GENERIC and GENERIC-like kernelsmanu
This change just brings UFS1 extended attribute *support* in the kernel, extended attributes are not enabled unless three conditions are met: 1) filesystem is UFS1 (newfs -O1) 2) .attribute/system and .attribute/user directories are created at fs root 3) filesystem is mounted with -o extattr Some GENERIC kernels are obviously memory constrained, the extended attributes options were not enabled for them, but just added commented out. (kernel were considered memory constrained if QUOTA option was disabled)
2014-10-18src is too big these days to tolerate superfluous apostrophes. It'ssnj
"its", people!
2014-08-23Systematize (and in many cases, fix) the comments on options COMPAT_NN.dholland
There are quite a few configs that are missing some COMPAT_NN options in ways that don't make sense; this should probably get cleaned up too, but for the time being I've not added or removed anything.
2014-08-17Reorganize symbol table embedding. The existing option SYMTAB_SPACE isjoerg
replaced by the make option COPY_SYMTAB set to any value. The copy of the symbol table is no longer put into a buffer in kern_ksyms.o, but a small helper object. This object is build first with a dummy size, then the kernel is linked to compute the real dimension of the symbol table buffer. After that, the helper object is rebuild and the kernel linked again.
2014-08-16Add "options COMPAT_70" to all kernel configuration files thatapb
already had "options COMPAT_60".
2014-08-06Consistently define WARN in a way that passes format string checks, i.e.joerg
always uses the same number of arguments as given in the format string.
2014-07-23Rename sljitarch.h to sljit_machdep.h.alnsn
2014-07-20Include sljit files.alnsn
2014-07-20Add commented out bpfjit options to mips kernels.alnsn
While here, add 2 missing RCS ids.
2014-06-19Fix compile error of -Werror=unused-but-set-variable.msaitoh
2014-03-24- fix unusedchristos
- use cpu_{g,s}etmodel
2014-01-16eliminate use of bsd.sys.mk from Makefileschristos
2014-01-12Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.tsutsui
XXX: probabry we should have bsd.saprog.mk or something.
2013-08-21Use <bsd.klinks.mk>matt
2013-06-30G/C PFIL_HOOKS from the kernel configs.rmind
2013-06-05remove obsolete networking optionschristos
2013-05-16Complete the dosparts -> mbrparts conversion. Only x86k new uses dospartschristos
because it also uses struct dos_partition.