Commit Graph

287322 Commits

Author SHA1 Message Date
christos e21885fc4c use MACHINE_MIPS64 2021-04-25 15:16:56 +00:00
christos 2e3d1ab31f mipsn64* is native 64 2021-04-25 15:12:02 +00:00
christos 433776ffe2 Make mips-elf2ecoff available for all mips 2021-04-25 15:11:28 +00:00
christos 2b59ea2015 fix cargo-cult 2021-04-25 15:09:08 +00:00
christos ff47a56302 - include <bsd.init.mk>
- use MACHINE_MIPS64
2021-04-25 15:08:28 +00:00
christos 962e2e4b64 MACHINE_CPU is always mips (no functional change) 2021-04-25 15:06:49 +00:00
christos 8c4355e24e - since we are using regex already, shorten by merging arm and mips entries
- add a MACHINE_MIPS64 macro shorthand
- pass -m{soft,hard}-float to the assembler when we are passing it to the
  compiler
2021-04-25 14:32:20 +00:00
thorpej 3d62e7b9fd PCI busses do not attach directly to mainbus (they attach to shpcic,
which in turn attaches to mainbus), so there is no need for mainbus
to carry the "pcibus" interface attribute.

Fixes kern/56126.
2021-04-25 13:33:27 +00:00
thorpej aed28984bf PCI busses do not attach to "ebus", therefore there is no need for
it to carry the "pcibus" interface attribute.

Fixes kern/56124.
2021-04-25 13:22:49 +00:00
mrg ed99c7dc49 armv6 little endian has problems with GCC 10.
rpi# cat bar.s
        .cfi_startproc
        .cfi_endproc
rpi# as bar.s
bar.s: Assembler messages:
bar.s: Internal error (Illegal instruction).
Please report this bug.
2021-04-25 10:08:25 +00:00
lukem 9f8e2c9192 ftp(1): consistently use FTP for protocol use. 2021-04-25 09:09:55 +00:00
lukem 094f09734d ftp(1): consistent Ic (not Nm) for commands 2021-04-25 08:46:19 +00:00
lukem 4f096ae03f better XXX comment for buggy ftp server 2021-04-25 08:26:35 +00:00
mrg 9aab5f6a62 switch powerpc and arm64 to GCC 10. 2021-04-25 08:01:54 +00:00
lukem 5eb596e7f8 postinstall: re-align list output 2021-04-25 06:21:37 +00:00
nia d6f5a14b2b these sysctl variables were removed 2021-04-25 05:52:22 +00:00
thorpej 799aab805f config_found_ia() -> config_found(). 2021-04-25 05:33:20 +00:00
rin 501dfeba17 Sample # of RX packets as entropy source. 2021-04-25 05:16:26 +00:00
rin 94f3f4a3ef Sample # of TX packets as entropy source.
For RX packets, individual drivers need to be modified.
2021-04-25 05:15:20 +00:00
lukem 31d619c58b postinstall: sort the items. keep obsolete* last
Consistency and quality of life improvements to postinstall:

Order all of the items (including disabled) alphabetically.
Consistent comment style before each item block.
Move other functions used by do_*() before rather than after do_*().
2021-04-25 01:44:55 +00:00
lukem 792fdb70f9 postinstall: comment and usage style
Use NOTE: for comments to be aware of.
Remove double space before "fix|check" in some items.
2021-04-25 01:15:39 +00:00
thorpej f468820e06 thorpej-cfargs has been merged. 2021-04-25 01:01:09 +00:00
lukem e314ca6bb1 postinstall: ensure SRC_DIR and DEST_DIR are quoted 2021-04-25 00:36:47 +00:00
lukem 797de592da postinstall: use correct DEST_DIR in obsolete_stand 2021-04-25 00:29:52 +00:00
thorpej be6b3f34c5 Bienvenido a NetBSD 9.99.82 (thorpej-cfargs merge). 2021-04-24 23:40:16 +00:00
thorpej 2685996b0e Merge thorpej-cfargs branch:
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-24 23:36:23 +00:00
mrg 0973f141b9 move the NetBSD version of:
__convert_from_v(const __c_locale& __cloc, char* __out,
		    const int __size __attribute__ ((__unused__)),
		    const char* __fmt, ...)

from the .h file into the .cc file.

NetBSD version relies upon vasprintf_l() being defined and compile
contexts such as _XOPEN_SOURCE=600 or _POSIX_C_SOURCE < 200809 may
not provide the definition of it, cause compile time issues for
3rdparty applications in c++locale.h.  This ensure that all the
required definitions are present when this code is compiled.
2021-04-24 21:17:40 +00:00
skrll 10d97f11ed Trailing whitespace 2021-04-24 20:34:34 +00:00
skrll 8bba7313d2 Fix __sync_lock_release_4 to actually zeroise the whole 4bytes/32bits. 2021-04-24 20:29:04 +00:00
tsutsui 42d75e04a6 Tidy up callout(9) implementation to handle mouse packets.
- define and use proper macro to specify ticks
- use callout_schedule(9) rather than callout_reset(9) to restart timer

No functional changes.
2021-04-24 16:24:14 +00:00
tsutsui 656156df93 Restore comments for f_stackadj and reenter_syscall().
Taken from sys/compat/linux/arch/m68k/linux_machdep.c which was
originally implemented to use reenter_syscall() for sigreturn of
Linux binaries.
2021-04-24 16:14:08 +00:00
tsutsui 8ea52577e2 For netboot via DHCP, "next-server" in dhcpd.conf(5) is mandatory.
Pointed out by Anders Gustafsson on port-hp300@.
 https://mail-index.netbsd.org/port-hp300/2021/04/21/msg000201.html

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

XXX: kernel should use the dhcpd/bootp server address for nfsroot
     if the specified next-server (siaddr) is 0.0.0.0?
2021-04-24 15:38:10 +00:00
riastradh 1d53811a13 arm/sunxi: Wire up sun8icrypto(4) on Allwinner H5.
Tested on NanoPi Neo PLUS2.
2021-04-24 13:01:35 +00:00
jkoshy 18a6f9e0e2 Remove files that no longer exist upstream. 2021-04-24 09:42:00 +00:00
nia 220adab0b9 wsfontload.8: clean up examples
add an example of loading a larger font since a lot of people ask.
2021-04-24 09:18:44 +00:00
nia 373ad9488f wsfontload: clarify more 2021-04-24 09:03:05 +00:00
nia 779072058e wsfontload: clarify documentation of -l 2021-04-24 08:59:09 +00:00
skrll 51bb6d42a0 Fix ARMv8 instructions 2021-04-24 07:58:12 +00:00
wiz dfc8604311 wsfontload: make -l mode a separate line in the usage
Document it in the manpage.
2021-04-24 07:52:07 +00:00
nia 4986201e82 update information 2021-04-24 07:12:17 +00:00
mrg 258e49078f remove diff to upstream. 2021-04-24 06:45:56 +00:00
mrg d09fcf21ff reduce diffs to upstream. 2021-04-24 06:44:24 +00:00
mrg ca4eb663da make netbsd section more GNU-style. 2021-04-24 06:44:01 +00:00
skrll 3a6fd5092c G/C 2021-04-24 06:38:39 +00:00
rin 138c755404 Fix build with MKDEBUG=yes for aarch64. 2021-04-24 06:34:52 +00:00
mrg f0fc1517e8 reduce diffs to upstream. 2021-04-24 06:32:09 +00:00
mrg 399f6b5a0b use GCC_NO_IMPLICIT_FALLTHRU 2021-04-24 04:50:47 +00:00
macallan 1322e99212 add -l option to dump a list of available fonts 2021-04-24 00:49:26 +00:00
macallan 207794b100 add an ioctl() to get a list of fonts currently available via wsfont 2021-04-24 00:15:37 +00:00
mrg 4568bc619b cc1objplus and lto-dump are now enabled. 2021-04-23 22:53:03 +00:00