Commit Graph

11606 Commits

Author SHA1 Message Date
msaitoh 761e1e94b4 Print ACPI_HEST_GHES_ASSIST flag (ACPI 6.2). 2017-09-28 06:55:08 +00:00
msaitoh 0fd02e45f9 Cosmetic change (tab and newline). 2017-09-27 08:14:18 +00:00
msaitoh 597a86a670 - Print SAPIC EID of Processor Local APIC/SAPIC Affinity.
- Print GIC Interrupt Translation Service(ITS) Affinity (ACPI 6.2)
- KNF
- Whilte space cleanup.
2017-09-27 05:43:55 +00:00
gson 0eb663cba7 Clear the screen after running installboot. If we don't, there will
be a leftover line saying "Status: Finished" at the top of the next
screen, along with some random punctuation in the left and right
margins.  Inspired by ../landisk/md.c 1.3.
2017-09-11 15:24:28 +00:00
christos 11aeb6ae69 Don't start another copy of rtadvd if one is running. 2017-09-11 14:12:28 +00:00
christos 7931fdd27d KNF, fix time printing formats. 2017-09-11 14:12:07 +00:00
ginsbach b68988e2c2 Use looked up remote host for remote message without a hostname
An incoming remote message may not necessarily have a hostname
between the timestamp and the message. The the source of the remote
sender is already looked up so use that hostname/IP address rather
than the local hostname.

XXX: pullup-8
XXX: pullup-7
XXX: pullup-6
2017-09-10 17:01:07 +00:00
wiz 96dff12048 Fix enumeration. 2017-09-10 10:13:47 +00:00
mrg e7f4cf6f3c two minor fixes for -x and -y mode:
- the header is only 1 line not 2, account for this when calculating
  when to display the next header.
- when ndrives > 1, don't display the header every time, but only when
  the previous one disappears.

now i don't feel the need to run "iostat -x wd0 1 & iostat -c wd1 1"
to get less repeated header output on my display.
2017-09-09 23:51:58 +00:00
sevan 5bd038bb6e Remove the ability to generate a signature database with the hash algorithms
MD5, SHA1 & RMD160 which are either broken or on their way to being broken.

Discussed on tech-security
http://mail-index.netbsd.org/tech-security/2017/08/21/msg000936.html

ok riastradh
2017-09-09 21:27:23 +00:00
msaitoh ed892e9a7b Define CPUID Fn00000001 %ebx bits and use them. No functional change. 2017-09-07 06:40:42 +00:00
msaitoh 50d91653ef Don't define GAS adddess ID constants in acpidump.h and use actypes.h's
definitions. No functional change.
2017-09-07 04:40:56 +00:00
nakayama d1ef03659a Don't modify strings stored in hash, otherwise filling up of
directory hierarchy stops if the same hash value occurs in
directory and leaf.

Fix the issue that
"./usr/share/locale/pl/LC_MESSAGES/gettext-tools.mo" isn't included
in sets file in the case of MKUNPRIVED=no.
2017-09-07 04:04:13 +00:00
msaitoh 0f0f0fe40a - Space, tab and newline change for consistency output.
- Print a type number for unknown HEST sub entry ID.
2017-09-04 08:12:29 +00:00
msaitoh 084106f3ab - Calculate offset of a sub header correctly in acpi_handle_hest() to print
all of sub entries in HEST correctly.
- Print a SpaceID number for unknown ID in acpi_print_gas().
- Use PRINTFLAG() in acpi_print_hest_notify().
- Use %u instead of %d for unsgined values in acpi_print_hest_generic().
2017-09-04 08:08:41 +00:00
msaitoh 8dabdd9fc2 Fix calculation the offset of the Action Table in WDAT to print each
entries correctly.
2017-09-04 07:59:15 +00:00
nat 866993a422 Fix copyright error.
Ok plunky@.
2017-09-03 22:54:12 +00:00
msaitoh 5d527485aa Decode the following entries:
- DBG2 (Debug Port Table 2)
 - SPMI (Server Platform Management Interface Table)
 - WDDT (Watchdog Timer Description Table)
 - UEFI (UEFI, not fully decoded yet)
2017-09-01 18:35:50 +00:00
msaitoh ff98ea4622 - Add "Performance Server" and "Tablet" for Preferred_PM_Profile.
- Don't print FADT_RESET_REG if FADT version is 1.
- Print FADT ArmBootFlags, MinorRevision, SleepControl, SleepStatus and
  HypervisorId.
- Print "{}" even if any flags aren't set.
2017-09-01 05:53:09 +00:00
msaitoh 1c01428a98 Part of FreeBSD r323045:
- Print Valid Field in ACPI_NFIT_CONTROL_REGION with 0x%02x.
 - Fix Flags of ACPI_NFIT_CONTROL_REGION.
2017-08-31 09:27:51 +00:00
msaitoh 792e611dc6 - Decode ACPI_HEST_GENERIC_V2.
- Decode ACPI_MADT_GENERIC_MSI_FRAME.
- Add NMI, CMCI, MCE, GPIO-Signal, ARMv8 SEA, ARMv8 SEI and GSIV
  in acpi_print_hest_notify().
- Add ACPI_EINJ_SET_ERROR_TYPE_WITH_ADDRESS and ACPI_EINJ_GET_EXECUTE_TIMINGS
  in acpi_print_einj_action().
- Add ACPI_ERST_EXECUTE_TIMINGS in acpi_print_erst_action().
- Decode NFIT (NVDIMM Firmware Interface Table) from FreeBSD.
2017-08-31 06:53:58 +00:00
wiz 68fe156435 New sentence, new line. Remove superfluous Pp. 2017-08-27 20:45:47 +00:00
nat eeb06bda56 Connection state machine improvement upon transition from AVDTP_OPEN to
AVDTP_START/SUSPEND.
2017-08-27 10:39:18 +00:00
jmcneill ae2cfe2a2a Try to use standard wsdisplay ioctls when HPCFBIO_GCONF is not available. 2017-08-27 02:19:08 +00:00
ginsbach a6da7f121b Support -4 and -6. 2017-08-26 19:26:32 +00:00
ginsbach 6b34aef124 Sort options alphabetically. 2017-08-26 18:16:05 +00:00
christos b766bbedd5 don't lock for RUMP 2017-08-21 17:01:04 +00:00
msaitoh 8f0f46f919 Add new function acpi_select_address() derived from acpi_get_fadt_revision().
On some systems, 32bit address is used for (X)Dsdt even if (X)Facs uses 64bit.
Don't assume an address size from FADT revision.
2017-08-21 02:58:49 +00:00
msaitoh 9ffd944419 Check DSDT signature in acpi_handle_fadt() for broken ACPI table. 2017-08-18 09:49:24 +00:00
christos 39c7ca3b3a fix path to the warmstart file. 2017-08-17 07:45:24 +00:00
ginsbach b683e9a94a Fix compile warnings.
(Restore changes clobbered by merge of FreeBSD changes. Hi christos!)
2017-08-17 00:08:10 +00:00
ginsbach 16400a904e Revert accidently committed enabling WARMSTART. 2017-08-17 00:06:00 +00:00
ginsbach 5f912a847a Write the "warm start" file to /var/run rather than /tmp.
(Restore changes clobbered by merge of FreeBSD changes. Hi christos!)
2017-08-16 23:38:16 +00:00
wiz 8b8f265dcd Use today's date. Sort options. Remove superfluous Tn macro. Wording improvement. 2017-08-16 18:23:03 +00:00
christos 6f43c19b6f fix typo, date, document -L 2017-08-16 14:22:58 +00:00
christos 34b7ffd922 merge FreeBSD changes:
- fixes CVE-2015-7236
- adds -h hostip to bind, -6 for only ipv6 access, -a for abort gracefully
- documents -w (warmstart)
XXX: should fix warmstart file to go to /var/run instead of /tmp
2017-08-16 08:44:40 +00:00
wiz e217b7d046 Remove superfluous Tn macros. 2017-08-15 21:21:18 +00:00
mrg c62a157eb2 merge the rest of sbmips into evbmips. install the stand files in
/usr/mdec/sbmips/ and document them in installboot(8) even though
it isn't really ported yet.  also build the SBMIPS kernels.

unfortunately, sbmips has been broken since mips64 merge, but the
fix can happen in the evbmips version, which we might merge into
the older trees anyway.

XXX: releng can turn off sbmips* builds now for -current.
2017-08-15 10:11:31 +00:00
nat 52943eab20 Set controller clock based on baud rate. 2017-08-14 05:28:23 +00:00
wiz 3ee579e3bc Indent to avoid line breaks in tag; give tag width in table; use Nm
to refer to hciattach because we'll probably never have hciattach(8).
2017-08-13 18:34:03 +00:00
ginsbach 94951b0fc5 PR bin/42464: Timothy McIntosh: Fix timed interoperability
Fix is a combination of FreeBSD fix and submitted patch.

[From the FreeBSD change]
The timed protocol is not implemented in a compatible way by all
vendors; the size of the tsp_name field is OS-dependent.  4.3BSD
used a 32-byte field, FreeBSD uses MAXHOSTNAMELEN and RedHat
apparently uses a 64-byte field.  As a result, sanity checking code
added a few months ago to detect short packets will fail when
interoperating with one of these other vendors.

Change the short packet detection code to expect a minimum packet
size corresponding to the 4.3BSD implementation, which should be
a safe minimum size.
2017-08-11 16:47:42 +00:00
jmcneill 6ad4d0f8e5 Make the "bcm43xx" type use H4 transport and add a new "bcm43xx-3wire"
type for use with H5 transport. The naming of the types here matches
those used in a series of BlueZ patches from the Raspberry Pi foundation.
2017-08-11 11:54:08 +00:00
jmcneill 8622efc43c Derive the firmware name from the device's local name instead of
hard-coding BCM4340A1. Search hw.firmware.path for the firmware image
instead of loading it from the current directory.
2017-08-10 20:43:12 +00:00
jakllsch 6598524cdc remove currently-unused variables that trip up the build 2017-08-10 18:45:20 +00:00
nat e5d9803b71 Add support for bcm 43xx devices using the btuart h5 protocol.
Currently It will only load 1 firmware image for rpi3.

To use change to the directory containing the firmware BCM4340A1.hcd.
Then issue: btattach -FPi 115200 bcm43xx /dev/ttydevice 921600.

Then you can use the bluetooth device btfive0.

This enables the embedded bluetooth controller on rpi3.
2017-08-10 13:34:29 +00:00
maya 7db80fab74 evbmips can "boot root FFSv2"
It typically uses a non-NetBSD bootloader (PMON, u-boot...) and those
don't differentiate from v1 from v2 - both are unsupported and it requires
a separate boot partition.
2017-08-09 23:01:06 +00:00
ginsbach 7333bec30e Make use of the defined YP errors when ypbind encounters one rather than
just returning an empty (successful) RPC result.

Don't exit when allocating memory for a new bound domain received via a RPC.
2017-08-09 01:56:42 +00:00
ginsbach 19bce2a53d Fix compile warnings. 2017-08-06 01:55:21 +00:00
ginsbach 17894e71a8 Write the "warm start" file to /var/run rather than /tmp. 2017-08-06 01:02:44 +00:00
wiz 406adb2faa Fix punctuation markup, remove superfluous Pp. 2017-08-05 20:24:17 +00:00