Commit Graph

281678 Commits

Author SHA1 Message Date
jnemeth
dcf9d0d48c Also edns-udp-size. 2020-10-11 22:14:55 +00:00
jnemeth
db7cb834a5 Set max-udp-size as per DNS flag day 2020, see
https://www.isc.org/blogs/dns-flag-day-2020-2/ .
2020-10-11 22:11:36 +00:00
jdc
b211248d17 Handle EDID:N entries, where N is the port number, so that we can set up
the display on port1 when port0 has no EDID information.
Try harder not to return NULL from radeonfb_modelookup() because we use
the result without checking later.
While here, adjust RADEONFB_DEBUG output:
  don't print RADEON_PIXCLKS_CNTL (fixes a crash on sparc64 because it's
  not aligned)
  don't ignore the bottom 200 lines of the display (for no apparent reason))
2020-10-11 21:41:57 +00:00
roy
2669b948a0 ifconfig: if SIOCGLIFADDR fails, continue to the next address 2020-10-11 21:32:37 +00:00
jdc
ce376e9f2c Add a static EDID entry for the Mesostation-999.
Use the same logic as macppc for adding the entry.
2020-10-11 19:39:22 +00:00
christos
df7f34cf57 mention hex numbers 2020-10-11 18:48:20 +00:00
christos
662c0e244b Remove is_hex_str() (trying to guess if a number was hex or not). It is not
documented and can lead to unexpected behavior.
2020-10-11 18:46:21 +00:00
christos
d32a26f01d simplify: use two arguments again, suggested by kre@ 2020-10-11 18:43:50 +00:00
thorpej
bca2ab8d4c initclocks() now fixes up tick and tickadj if hz changes, so we no
longer need to do it.
2020-10-11 18:39:48 +00:00
thorpej
b737778666 Call cpu_initclocks() before registering the default timecounter,
in case it updates hz.  If hz changes, recalculate tick and tickadj.
2020-10-11 18:39:09 +00:00
nia
369baf1326 Generate oldschool Latin-1 variants of Spleen fonts.
Needed so ctwm can load them. ctwm uses XCreateFontSet which for some
reason seems adverse to returning UTF-8 fonts...
2020-10-11 17:49:07 +00:00
christos
f1aebb0c36 From gson@
- don't assume -h is always on for large factors
- fix saved large factors printing when -h
2020-10-11 17:18:34 +00:00
christos
d4a34e5d29 Add tests for h and x flags 2020-10-11 17:17:39 +00:00
skrll
058bd28709 Define _ARM_ARCH_8 when __ARM_ARCH_8A (no trailing double underscore) as
it is defined by gcc.

__ARM_ARCH_8A__ (with trailing double underscore) seems to be a typo (or
maybe historical)
2020-10-11 16:22:02 +00:00
tnn
636014f4f9 rk3399_pci: support for PCI express switches / bridges / multiple buses
There were two isses that prevented this from working:

1. We must use type 1 configuration cycles when accessing bus 2 and
beyond, but type 0 configuration cycles for bus 0 and 1.

2. The hardware address decoder cannot be used to decode the bus portion
of the ECAM address. Due to the physical SoC address of the remote device
region not having sufficient alignment the wrong bus address would go out
on the wire. Also the mapped region is too small to address busses
beyond bus31.

Fix: Reduce the number of ECAM translated bits to dev+func only.
For each configuration space access, acquire an exclusive lock
and reprogram the translator with the correct bus number and access type.
Config space is accessed sufficiently infrequent for this to not cause
any performance problems.
2020-10-11 15:33:18 +00:00
jmcneill
2daa1c2c88 Exclude live images from install media 2020-10-11 14:54:08 +00:00
jmcneill
25ebdff55f Create a bootable El Torito installation ISO. 2020-10-11 14:24:50 +00:00
jmcneill
3794e8818c Sync with amd64 2020-10-11 14:24:31 +00:00
jmcneill
fe29b3ea10 Include newfs_msdos 2020-10-11 14:10:34 +00:00
jmcneill
e64bf27803 Copy release to /${RELEASEMACHINEDIR} instead of /${MACHINE} to match
sysinst expectations.
2020-10-11 14:10:04 +00:00
jmcneill
b5871b26b4 Add ISO9660 support. 2020-10-11 14:03:33 +00:00
nia
adf31424df slightly lower workspace manager size
this works nicely on a 12.5" FHD screen
2020-10-11 10:12:53 +00:00
nia
d201bbfa3c allow xsetroot to be used in default xinitrc 2020-10-11 10:08:26 +00:00
nia
0a5b11edd2 allow the root window to be freely painted with e.g. xsetroot
it came up during initial review that it may be confusing that xsetroot
doesn't work by default
2020-10-11 10:02:51 +00:00
nia
d8abfc1173 mute binding is annoying when there's hardware mute 2020-10-11 07:08:29 +00:00
rin
428b4e25bc Fix build; clean manpages only if they are generated automatically. 2020-10-11 07:07:31 +00:00
thorpej
c7f773292a Add some bus_dma instrumentation. 2020-10-11 00:33:30 +00:00
thorpej
d447adf945 G/C alpha_XXX_dmamap() / alpha_XXX_dmamap_or. They haven't been needed
for a long time.
2020-10-10 21:59:03 +00:00
jmcneill
348742fbbe For absolute pointers, report min/max X and Y values using
WSMOUSEIO_[SG]CALIBCOORDS ioctl.
2020-10-10 21:47:42 +00:00
thorpej
9b9c28142b Rename:
- EM_ALPHA (41) -> EM_OLD_ALPHA
- EM_ALPHA_EXP (36902) -> EM_ALPHA

36902 has been the value in common usage for a long time, and this naming
aligns with binutils, etc.

PR port-alpha/51926
2020-10-10 21:25:51 +00:00
thorpej
6b90ba5d47 In siisata_intr_port(), skip reading the error condition if
ata_queue_get_active_xfer() returns NULL.

PR kern/55682.  Fix suggested by mlelstv@.
2020-10-10 20:27:54 +00:00
christos
3c56a67128 - remove bitypes.h fossil
- define u_{char,short,int,long} if we don't have _NETBSD_SOURCE defined
  so that this compiles (and resolv.h since it includes this). This is
  the simplest solution. Others:
  - always define them (bad, pollutes namespace)
  - create <sys/utypes.h> (bad, overkill)
  - change them to unsigned {char, short, int long} (bad, too disruptive)
2020-10-10 19:51:48 +00:00
martin
6ddad1490c Remove more pm->ptstart abuse - calculate values localy where needed
instead.
2020-10-10 19:42:19 +00:00
sjg
876682479f Limit output of export tests to POSIX compatible env vars 2020-10-10 19:25:19 +00:00
jmcneill
e8fb0aadec Support EFI runtime and GOP FB for devicetree (non-ACPI) setups. 2020-10-10 19:17:39 +00:00
christos
ce9395ac74 remove extra break 2020-10-10 18:53:56 +00:00
martin
6a8fd65bf3 Use an install target hint to mark a new partition active.
When compiled with BOOTSEL support, also name the new partition "NetBSD".
2020-10-10 18:49:27 +00:00
martin
951934d3a6 When creating new partitions for "full disk" use, pass a install target
hint to the partitioning backend (for the outer NetBSD partition).
2020-10-10 18:48:32 +00:00
thorpej
d17473c867 Add some more detail/explanation to the calibration timing diagram. 2020-10-10 18:18:04 +00:00
christos
4963d964ed remove broken copy of TIOCGSID. 2020-10-10 17:25:11 +00:00
christos
0a6d6ce0fd TIOCGSID is used by tcgetsid() so it is not really compat :-)
This should reduce loading the compat module.
2020-10-10 15:59:41 +00:00
jmcneill
212af7edad Support using EFI runtime services for RTC when booting in devicetree mode. 2020-10-10 15:34:05 +00:00
jmcneill
2824038d80 Support early FB console attachment when booting with a devicetree
(non-ACPI mode). Inform the pciconf code about the framebuffer to
prevent pciconf from changing resources out from under us when framebuffer
memory is in VRAM.
2020-10-10 15:25:30 +00:00
jmcneill
45387a0c63 Add pciconf_resource_reserve. This allows MD code to mark specific memory
and I/O regions as in use. When pciconf finds a device already configured
to use one of these regions, the device config is left as-is.
2020-10-10 15:22:15 +00:00
christos
64014ae499 PR/55710: Kimmo Suominen: Delete manual pages so that they get copy from the
imported, already generated ones.
2020-10-10 14:25:21 +00:00
christos
25e0134e2d Use .PARSEDIR 2020-10-10 14:23:48 +00:00
christos
8cd1dd28ab Add rules for manual pages builds, remove including Makefile.inc 2020-10-10 14:23:34 +00:00
christos
663d916a0c include bsd.own.mk so that ../../Makefile.inc does not do it... 2020-10-10 14:23:05 +00:00
nia
bf7b939a1a tty: Negating INT_MIN will overflow int, bail out with EINVAL
Detected by UBSan

Reported-by: syzbot+92c0fca82b74a9798b78@syzkaller.appspotmail.com
2020-10-10 14:07:18 +00:00
christos
b65092432b Wait for the asynchronous dns resolver child to be done (and close the
socket descriptors) before returning. Otherwise we might get bind errors.
Reported by kim@, fixed by mlelstv@.
2020-10-10 13:41:14 +00:00