- pass the proper argument vector so that subcommands can use getopt.
- add -q and -e for listwedges.
Use correct length for hdmi_infoframe_header_pack in <linux/hdmi.h>.

Fixes PR kern/49411.
Back out previous, fix PR kern/49411 correctly.

frame->header.length is not initialized in the vendor packet case.
Instead, make hdmi_infoframe_header_pack take the packet length and
subtract the size of the header when packing the header.

(Could make it take the payload length instead, but for callers it is
more convenient to have a name for the whole packet length.)
- generate the list of disks only once and select from them later
- don't generate empty/useless files when disklabel or dkctl don't have data
Fix pasto: BPI.local, not CUBIEBOARD.local
Fix bus_dmamap_sync usage.
Let pinsets override the default multi-driving select level.
Set GMAC pin drv level 3 on A31
Fix bounds checking in hdmi_infoframe_header_pack (PR kern/49411).
Don't return early when the incorrect size is passed to some of the
ptrace actions. Leaves locks dangling and causes panics with lockdebug.
XXX: Pullup 7
Print the shared lock(s) before we panic, to aid with debugging.
avoid shadowing a new global.
Revert previous again.

There are claims that it still violates strict-aliasing rule and
it is no sense to just appease compiler by incorrect implementation.
Specify -fno-strict-aliasing as a temporary workaround for gcc48.

The existing abcksum() also violates strict-aliasing rule
(while current gcc48 doesn't warn it) and fixing all violations
strictly requires whole reorganization of boot sector structures.
But it won't happen soon and this MD installboot should be integrated
into MI installboot(8) in future, and it requires whole overhaul anyway.
See long discussion in source-changes-d@ for details.

Should be pulled up to netbsd-7 if we switches m68k to using gcc48.
Add PCIe CRS Software Visibility bit.
Disable "OS bootversion check" on crunched binaries for installation media.

This oscheck() function seems implemented to check compatibility
between bootloaders and /netbsd kernel, but checking /netbsd using kvm(3)
doesn't make sense on installation or even future cross builds, and
probably we will never bump bootloader version without compatibility
per recent 14 years history.

This works around overflow of 1440KB 2HD sysinst.fs, and would also be
worth to pullup to netbsd-7.
Shrink GENERIC and enable options MODULAR instead, as other poor m68k ports.

This allows all (at least ATARITT and FALCON, which have certain users)
gzipped kernel binaries put into 1440KB 2HD floppy so that users can
load these kernels on the native TOS using LOADBSD.TTP utility for
installation.  Note SMALL030 kernel doesn't include any Ethernet
configuration and requires CD-ROM or other removable disks.

Should be pulled up to netbsd-7.
Regen config files from GENERIC.in rev 1.109 by makeconf:

> Shrink GENERIC and enable options MODULAR instead, as other poor m68k ports.
>
> This allows all (at least ATARITT and FALCON, which have certain users)
> gzipped kernel binaries put into 1440KB 2HD floppy so that users can
> load these kernels on the native TOS using LOADBSD.TTP utility for
> installation.  Note SMALL030 kernel doesn't include any Ethernet
> configuration and requires CD-ROM or other removable disks.
>
> Should be pulled up to netbsd-7.
Simplify the NAK holdoff change.
Add MLINKS