summaryrefslogtreecommitdiff
path: root/sys/arch/bebox
AgeCommit message (Collapse)Author
2023-06-19Fix typo. unknwon -> unknownmsaitoh
2023-06-03bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBERlukem
Provide a single variable CC_WNO_ADDRESS_OF_PACKED_MEMBER with options for both clang and gcc, to replace CLANG_NO_ADDR_OF_PACKED_MEMBER CC_NO_ADDR_OF_PACKED_MEMBER GCC_NO_ADDR_OF_PACKED_MEMBER Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2023-05-26set error to EIO on SKEY_ABORTED_COMMAND.andvar
It is usually the case for other SCSI drivers, though they do implement retries too. potentially same should be committed to prep(?). discussed with riastradh.
2023-05-26initialize error on definition to fix 'error' may not be initialized issue.andvar
the commit unifies code between bebox and prep machines. reported by Mootja _08.
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-07fix various typos in comments, documentation and messages.andvar
mainly s/paramater/parameter/ and s/reduntant/redundant/.
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-06-07This kernel has no midi configured, so comment out pseudo-device sequencermartin
2022-06-03fix folloing->following typos in more files.andvar
also s/begginning/beginning/.
2022-05-23s/beggining/beginning/ in comments.andvar
2022-05-22fix various small typos, mainly in comments.andvar
2022-04-29Fix fallout from libsa change; stand.h includes <sys/param.h> now.rin
SCANWAIT and PWAIT are renamed to SCANDELAY and SCANWAIT, respectively, in order not to redefine PWAIT.
2022-02-16powerpc: Sprinkle "memory" clobbers on eieio and nearby asm blocks.riastradh
Otherwise the compiler may reorder these around loads and stores, which mostly defeats the purpose. `asm volatile' just ensures the instruction isn't _deleted_; it may still move around.
2022-01-01s/coudn/couldn/ and s/couln/couldn/ in comment and log messages.andvar
2021-12-12s/Miscellanous/Miscellaneous/ in copypasta comments.andvar
2021-08-07Merge thorpej-cfargs2.thorpej
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-04-14more -fcommon.mrg
2021-04-01Define __HAVE_LEGACY_INTRCNT to indicate this port uses legacy intrcntsimonb
interrupt accounting.
2021-04-01Whitespace: #define<tab>simonb
2021-02-27Don't put #ifdefs in prep_initppc(). Instead, let callers specify thethorpej
additional BAT-mapped regions they care about.
2021-02-26Declare oeacpufeat once, in powerpc/oea/cpu_subr.c, rather than inthorpej
N different locore.S files.
2021-01-21add a commented out compat_ossaudio wherever there's compat_linuxnia
requested by mrg
2020-11-18malloc(9) -> kmem(9)thorpej
2020-09-27vether: Add to kernel configurationsroy
It's only enabled if the kernel enabled bridge AND tap. Otherwise it's commented out.
2020-09-15bump bebox and prep image sizes for GCC 9.mrg
2020-09-07apply some GCC_NO_ADDR_OF_PACKED_MEMBER.mrg
2020-08-01Remove references to BRIDGE_IPF, it is now compiled in by default.maxv
2020-07-07Overhaul the interface to pci_configure_bus():thorpej
- Don't expose how PCI bus configuration resource management is implemented. Provide a new resource provider API: ==> pciconf_resource_init() -- Initialize a PCI configuration resources container. ==> pciconf_resource_add() -- Add a PCI configuration resource to the container (I/O, MEM, or prefetchable MEM). Multiple resources of each type may be added. ==> pciconf_resource_fini() -- Tear down the PCI configurtation resources container once the bus has been configured. This is much easier to use than the previous method of providing an extent map for each kind of resource, and works better for e.g. ACPI platforms that provide potentially multiple PCI resources in tables provided by firmware. - Re-implement PCI configuration resource management using vmem arenas, rather than extent maps.
2020-06-14replace EX_NOWAIT with EX_WAITOK in device attach methods.chs
remove checks for failures that can no longer occur.
2020-04-04mark nsmb major obsoletejdolecek
2020-03-25remove 'file-system SMBFS' and 'pseudo-device nsmb' from all kernel configsjdolecek
to prepare for their eventual removal
2020-01-19Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It isthorpej
long since obsolete.
2019-12-27s/transfered/transferred/msaitoh
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-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-01-28Systematize handling of removed drivers.dholland
- Every driver that was removed and whose number hasn't already been reused is now listed with a commented-out "obsolete" line. - The format of these has been systematized. Future format changes can probably be safely done with a script. - This does not include a few cases of assignments that only lasted a couple days, or stuff from before major reorgs. Some of these may be included nonetheless, because there was a lot of ground to cover and therefore not a lot of time to dig into history in detail. Note that the obsolete listings do not mean the major numbers can never be reused; that's up to portmasters and/or core. It does mean that they won't be reused by accident, however, which in some cases (depending on the driver, how widely used it was, its family of device nodes, their default permissions, etc.) can be quite dangerous. Note that some of the things now explicitly listed as obsolete are really ancient history. My scan went back as far as when the majors files were added. (But not before that.)
2019-01-27Restore satlink's majors entries commented out and marked obsolete.dholland
Otherwise they might accidentally get reused later and cause a security problem.
2019-01-27Remove the satlink driver. It was disabled everywhere, had no man page andmaxv
no use either. Spotted by thorpej in PR/21345, ok christos.
2019-01-08no need to include <machine/param.h> if <sys/param.h> already includedjdolecek
2019-01-08no need for <machine/param.h>christos
2019-01-08Include <sys/param.h> for DEV_BSIZE/DEV_BSHIFTchristos
2018-12-19Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,maxv
but also as discussed several times in the past.
2018-09-23Remove ISDN from the kernel. It has remained unmaintained for a long time,maxv
is of poor quality, and is now an obstacle to MP-ification. It was removed ten years ago from FreeBSD for the same reason. This retires a big user of the mbuf API, and will ease maintenance of the kernel.
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-15Retire ipkdb entirely. The option was removed from the config filesmaxv
yesterday. ok kamil christos
2018-07-14Remove "options IPKDB", and the other associated options, from the configmaxv
files. ipkdb is being retired. Its code is really old, and hasn't kept pace with today's expectations: IPv6, SMP, modern NICs. The associated code for x86 was already removed because it was too incorrect to stay. There are plans to rewrite a similar feature from scratch. ok kamil christos
2018-07-14Remove "options DEBUG_BY_TOOLS", it doesn't exist.maxv