viaide(4): explicitly enable channels for VT6410 add-in cards.
VT6410 and VT6415 have different reasons for "missing" enable bits.
VT6410 uses the standard 0x40 offset for channel enable bits, but some add-in
cards have both channels disabled by default. This requires explicitly
writing the enable bits; otherwise, devices will not be detected. The same
bug is present in Linux and OpenBSD, where the bits are also simulated.
It was reported in Linux but closed as no-fix due to an unidentified root cause.
VT6415 returns 0 at offsets 0x40-0x43 and likely uses a different location
for its single channel enable bit, or it may not expose it at all. Until
the correct offset is identified (if ever), the driver must simulate the
enable bits.
PR bin/59449: use setregid(2)/setreuid(2) instead of setgid(2)/setuid(2)
This allows the calls to succeed when a non-root user runs
with e[gu]id != [gu]id and then produce the correct output.
Fix suggested by @kre.
Pull up following revision(s) (requested by rin in ticket #1125):
sys/dev/pci/igc/if_igc.c: revision 1.19
sys/dev/pci/igc/if_igc.c: revision 1.20
share/man/man4/igc.4: revision 1.3
igc(4): TSOv[46]: Fix and register into capabilities
by syncing TX mbuf **after** L3/L4 headers are fixed up.
igc(4): Merge and clean up igc_{tx_ctx,tso}_setup(), NFC
igc.4: TSO is supported now. Bump date.
Pull up following revision(s) (requested by jmcneill in ticket #1124):
sys/dev/pci/if_rge.c: revision 1.34
sys/dev/pci/if_rgereg.h: revision 1.9
share/man/man4/rge.4: revision 1.5
rge(4): Add support for RTL8126
Patch from FUKAUMI Naoki in PR# 59044
Pull up following revision(s) (requested by tsutsui in ticket #1957):
sys/arch/hp300/dev/tvrx.c: revision 1.5
Fix inverted logic botch in tvrxcnattach().
This has been wrong since my initial hp300 wscons commit in 2011,
and probably never worked. (sigh)
(Un)fortunately, tvrxcnattach() also failed on 362 and 382 with
EVRX sti(4) because bus_space_map(9) failed with the default 4KB page
size. It turns out it succeeds with an 8KB page setting, then sti(4)
or gendiofb(4) won't be attached in that case.
Pull up following revision(s) (requested by tsutsui in ticket #1123):
sys/arch/hp300/dev/tvrx.c: revision 1.5
Fix inverted logic botch in tvrxcnattach().
This has been wrong since my initial hp300 wscons commit in 2011,
and probably never worked. (sigh)
(Un)fortunately, tvrxcnattach() also failed on 362 and 382 with
EVRX sti(4) because bus_space_map(9) failed with the default 4KB page
size. It turns out it succeeds with an 8KB page setting, then sti(4)
or gendiofb(4) won't be attached in that case.
evbarm/std.marvell: Bump DRAM_BLOCKS to 4
Now, OPENBLOCKS_A6 kernel becomes working on OpenBlocks A7,
for which all of 4 SDRAM banks of SoC are fully occupied.
viaide(4): use via_chip_map() to attach VT8261 SATA controller in RAID mode.
Similarly to VT8251 and CX700, VT8261 has two ports per channel, while
via_sata_chip_map supports only one drive per channel. This caused disks on
secondary ports (2, 4) to not be detected, which is addressed by this change.
More cleanup and cosmetics in bootloader 1bpp ite sources.
- use C99 exact width integer types where appropriate
- make local variables static and read only variables const
- misc KNF
No visible regression on HP9000/380 with 1bpp DIO-II Hyperion.
Add a manual page for apc(4), a driver for the Aurora Personality Chip
(APC) found on SPARCstation-4/5, and emulated by qemu to idle the simulator
when the CPU is idle.