Commit Graph

262763 Commits

Author SHA1 Message Date
maxv
74fced2cf1 Localify one function, and switch to C99 types while here. 2018-10-27 05:42:23 +00:00
maya
3b5e9d52bc Fix previous misnamed initializer elements
committed wrong version of patch, sorry!
2018-10-27 05:38:08 +00:00
maya
bf133c20d3 Add missing ata_recovery struct element, NULL, same as wdc_ata_bustype
in the NWD > 0 case.

Build fix for the case where wd(4) is not built, reported by
John D. Baker on current-users.
2018-10-27 05:35:41 +00:00
christos
3e34f26766 enable the sampling function for _NPF_RUMP 2018-10-26 23:35:06 +00:00
christos
544d488603 add an _NPF_RUMP define to expose the sampling function. 2018-10-26 23:34:32 +00:00
jmcneill
c3a4a69cca Add xhci at acpi 2018-10-26 23:34:05 +00:00
jmcneill
f2972b1beb Add xhci at acpi glue 2018-10-26 23:33:38 +00:00
christos
05a9a2fa5c fixed. 2018-10-26 22:28:59 +00:00
uwe
c71ebe1c3f Ignore terminfo padding specifications when checking whether
exit_attribute_mode contains exit_alt_charset_mode.

Fixes PR lib/53653.
2018-10-26 22:22:24 +00:00
christos
41c9b009a9 Add lzip support to gzip based on the example lzip decoder. 2018-10-26 22:10:15 +00:00
mrg
557f10a48f add "boot-file" support. now one can automatically boot a
non-default kernel with "setenv boot-file host/netbsd".

this is particularly useful with the current net / tftp
kernel boot, so the tftproot does not need a "/netbsd"
visible to all hosts, but some host-specific path.

some minor clean up.

version 1.4.

ok jmcneill@.
2018-10-26 20:56:35 +00:00
martin
7516098b7a Only print the "no console" warning when booting verbose or debug.
It is a normal condition in many setups and has no consequences for
the user, so do not scare them.
2018-10-26 18:16:42 +00:00
martin
290d09c518 Add support for MAKEDEV living in /etc instead of /dev, this is one of
the supported options when init(8) creates a union mounted tmpfs on /dev.
2018-10-26 18:06:34 +00:00
jmcneill
87251e4ef3 Add ehci at acpi 2018-10-26 10:46:49 +00:00
jmcneill
caa67e97a7 Add ehci at acpi glue 2018-10-26 10:46:21 +00:00
kre
7cb54cbbde Revert previous (unbreak build) - for now anyway.
It turns out _NPF_TESTING is needed for the (rump only) function
npf_state_setsampler() in sys/net/npf/npf_state.c
2018-10-26 06:23:02 +00:00
cherry
1fe45bdd64 Decompose hypervisor_enable_event() into functional steps.
The hypervisor_unmask_event() step is relevant for any event.

The pirq related step is only relevant for pirq bound events.

Prune blanket usage of this, so that usage is semantically appropriate.
2018-10-26 05:33:21 +00:00
macallan
0f10d4ce0d - map registers ourselves, no more schizo hackery
- remove some leftover debug code
- print address when attaching
- actually lock/unlock in acquire_bus()/release_bus()
should be ready for general consumption now
2018-10-26 01:57:59 +00:00
christos
b6b4afa4da Comment out _NPF_TESTING (really should be removed) 2018-10-26 01:33:33 +00:00
christos
897d94d29b need libnvpair 2018-10-26 00:38:52 +00:00
jdolecek
37e568de88 enable MSI support where available 2018-10-25 21:07:58 +00:00
jdolecek
b8d8c6e801 release intr if pci_intr_establish_xname() fails 2018-10-25 21:03:19 +00:00
uwe
53777b2a4b Mark html3/curses_insertch.html as obsolete too. 2018-10-25 13:20:01 +00:00
uwe
3efeeb08cd Oops, update name in .Dt, bump date. 2018-10-25 10:41:00 +00:00
jmcneill
b7635a004e Add support for 64-bit memory resources. 2018-10-25 10:38:57 +00:00
uwe
90fc733d35 Rename curses_insertch.3 to curses_insch.3 to match the function names
documented in that manpage.  With the letter salad used in curses
function names naming consistency is very important and this page was
the only one that didn't match.

Add mvinsch and mvwinsch links.  Update xrefs in other man pages.
2018-10-25 10:36:56 +00:00
mrg
4f6cb4fe05 in the !MP world, ci->ci_curlwp may not exist. just use curlwp.
XXX: can we just do this for MP builds, too?  i think so.
2018-10-25 09:30:45 +00:00
skrll
60117d739f Align struct cpu_info member names. NFC. 2018-10-25 07:13:55 +00:00
ozaki-r
156ab71b7e Remove a leftover debug printf
Pointed out by hannken@
2018-10-25 02:40:45 +00:00
jdolecek
e7384f9dfa ata_kill_active() needs to drop channel drop before calling kill_xfer() hook,
otherwise code tries to lock against itself when deactivating the xfer
2018-10-24 20:25:52 +00:00
jdolecek
80b0d5979e need now channel lock around siisata_device_reset() executed for fatal error 2018-10-24 20:07:37 +00:00
jdolecek
343ae19e93 remove TODO.ncq; the FIS note was added to atastart(), and the note
about dump to unopened wd(4) device was attached to PR kern/16789, and
nothing else remains
2018-10-24 20:03:07 +00:00
jdolecek
57a9a1405e add further note about FIS-based switching to atastart() 2018-10-24 20:01:13 +00:00
jdolecek
af070baeb7 move the comment (and expand) about NCQ TRIM to wd_trim() 2018-10-24 19:46:44 +00:00
jdolecek
654326fabc detach the controller itself on shutdown; adjust to not detach already
detached atabus/channel
2018-10-24 19:38:00 +00:00
jdolecek
a5b154d28f fix tyop, thanks Joerg 2018-10-24 18:27:15 +00:00
jmcneill
4fcc4af0bf Avoid overflow when calculating watchdog offset. 2018-10-24 11:04:54 +00:00
jmcneill
3561a8bb32 Add sbsawdt at acpi 2018-10-24 11:02:13 +00:00
jmcneill
99bf46d6a5 Add driver for ARM Server Base System Architecture (SBSA)-compliant
generic watchdog timers.
2018-10-24 11:01:47 +00:00
martin
9f1d91abfc Remove no longer needed include of ata_dma.h 2018-10-24 09:41:24 +00:00
jdolecek
87466f562e only include umass_isdata.c if atabus present, and likewise ata_subr.c 2018-10-24 07:42:12 +00:00
jdolecek
f1ea457298 only include ata_recovery.c with atabus (same as ata.c which provides
ata_thread_run() used here)
2018-10-24 06:53:26 +00:00
cherry
18953a5818 When using the intr_establish_xname() interface to register
XEN events, follow established x86/intr.c conventions - set
the 'legacy' irq value to -1, to indicate that the pic, pin
combination (&xen_pic, port) is used for registration.
2018-10-24 03:59:33 +00:00
cherry
e9dae938b7 When returning a cached shared irq event value, DTRT 2018-10-24 03:51:21 +00:00
christos
550eae4327 Avoid conflicts with "our" (the FreeBSD) nvpair/nvlist implementation by
prefixing all symbols with "opensolaris_".
2018-10-23 22:26:14 +00:00
christos
b87aa2b0b0 prefix all nv* symbols with opensolaris_ 2018-10-23 22:25:21 +00:00
jdolecek
34b039cb08 add support for DIOCCACHESYNC (!), and DIOCGCACHE; code adapted from ccd(4)
tested with Intel ATA Raid
2018-10-23 22:05:01 +00:00
jdolecek
85dbced9df make the section about In-System umass a 'NOTES' rather than 'BUGS' 2018-10-23 20:09:40 +00:00
jdolecek
ef2b5d4f55 remove the 'wd* at umass?' for the non-standardized and rare (extinct?)
In-System Design ATA protocol over Bulk-Only devices from most kernels,
leave only in i386/amd64 ALL; it's unmaintained and likely currently broken,
lack of test hardware makes it impossible to support
2018-10-23 19:58:52 +00:00
christos
b15150dc5e Apply revisions 1.21, 1.22 from OpenBSD:
In re_fastputc(), set lastline to the new line, not the previous
line so it gets initialized properly.  Fixes a crash in bc with
MALLOC_OPTIONS=UJ.  OK deraadt@, committing on behalf of yasuoka@

Initialize "old" screen buffer lines before use; otherwise, they would
never get NUL-terminated and cause read buffer overruns.
This fixes for example segfaults in sftp(1) that could be triggered
by typing in an extremely long string (more than one line - the longer,
the likelier to crash), then hitting backspace once.
Problem reported and patch OK'ed by sthen@.

XXX: pullup-8
2018-10-23 16:49:13 +00:00