Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
ST-506 support. Remove redundant 'precomp' variables/fields and rename
remaining few to 'features' to be consistant with the rest of the code.
Consensus that no ST-506 disks (requiring ISA cards, <120MB, usually
rife with bad sectors that can't be worked around) are still running
OpenBSD.
|
|
initialized yet.
|
|
one leak reported by Maxime Villard
initial patch from Christian Schulte (with spelling corrections in comments)
second leak corrected by myself
ok kettenis@
|
|
querying the 6845 registers, and preserve it if it is larger than 80x25 yet
plausible.
This is necessary to properly operate on the Alphabook 1 where the vga display
is running in a 100x37 textmode.
Other platforms are not affected.
|
|
|
|
which will have it depend upon wsdisplayvar.h.
|
|
reading this code. No intentional functional change.
|
|
ok bluhm@, claudio@, dlg@
|
|
|
|
<sys/audioio.h>
|
|
Note that pseudo-drivers not using if_input() are not affected by this
conversion.
ok mikeb@, kettenis@, claudio@, dlg@
|
|
From Brainy via Maxime Villard via tech@.
ok kettenis@
|
|
|
|
mfi(4). Based on FreeBSD, but done without mfiutil(8).
OK deraadt@
|
|
interrupts at pckbc attach time, and get rid of the `intr_establish'
pckbc callback.
Tested on hppa (gsckbc) and sgi (pckbc@hpc); not tested on sparc64 (pckbc@ebus)
but this attachment was already behaving this way and its intr_establish
callback was an empty function.
|
|
|
|
|
|
in the tree.
|
|
ok dlg@
|
|
ok dlg@
|
|
While mfi(4) should pass SCSI transfer flags (e.g. SCSI_POLL and
SCSI_NOSLEEP) down to the management function, make it at least
use "cold" consistently for now.
ok dlg
|
|
ok krw@ miod@
|
|
the kernel_lock), as we already do better conversions in
user-mode. Yet, no need for every single driver to fiddle with the
conversion code as they are done transparently by common MI code. With
help from armani and miod, support from mpi
ok armani@
|
|
diff from natano@bitrig
|
|
ok krw@ miod@
|
|
ok krw@
|
|
For PS/2 - status byte - bit 5:
The bit is '1' if the data on input port 60h came from the AUX port, or '0' if
the data came from the keyboard or from the keyboard controller itself.
KBS_TERR (kbd transmission error) was valid for AT-mode, but not for PS/2-mode.
ok ratchov@, miod@
|
|
precedence than ?:
ok guenther@ krw@ miod@
|
|
ok krw@
|
|
|
|
|
|
|
|
ok miod@
|
|
Brainy Code Scanner.
|
|
F_5227 flag, sort PCI IDs, and fix a typo in a comment. No functional change.
from brad
|
|
don't setup DMA correctly until more configuration has been done -
enabling RX too soon causes DMA to bad places. KVM corruption problems
reported by Adam Wolk on Lenovo G50-70 (RTL8111GU).
Diff derived by Brad from FreeBSD commit; see bz# 197535 and 193743, inspired by
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d6e572911a4cb2b9fcd1c26a38d5317a3971f2fd
Tested on the following by Brad, Adam Wolk, box963 at gmail, Jim Smith
re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D (0x2800), apic 2 int 16, address 00:0a:cd:1a:86:04
re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x0c: RTL8168G/8111G (0x4c00), msi, address 80:ee:73:76:8e:8a
re0 at pci0 dev 3 function 0 "Realtek 8169" rev 0x10: RTL8110S (0x0400), ivec 0x78c, address 00:22:3f:ee:fa:25
re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E (0x2c00), msi, address 00:0d:b9:31:2e:88
re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x10: RTL8168GU/8111GU (0x5080), msi, address 68:f7:28:18:35:8e
ok mpi@ dlg@
|
|
there's no need to do it in m_devget(9).
Stop passing an ``ifp'' will help for upcoming interface pointer -> index
conversion.
While here remove unused ``ifp'' argument from m_clget(9) and kill two
birds^W layer violations in one commit.
ok henning@
|
|
> fix a regression on re chips which have
> 7k jumbo support (RL_JUMBO_MTU_7K) as reported by daniel jakots
> and emilio perea. the regression was caused because RL_JUMBO_FRAMELEN
> was changed to 9k and i missed fixing up the RL_JUMBO_MTU_7K macro.
nice of him to fix the thing he broke ;)
ok sthen@
|
|
ok dlg@
|
|
|
|
based upon the old HP ngle X11 driver. Currently limited to CRX (720/735/750),
Timber (710, old 715), Artist (712, 715) and EG (B-series), however the
colormap isn't set up correctly on Timber and EG yet.
Joint work with Artem Falcon, now in good enough shape to be worked further
in the tree.
|
|
loop for WSDISPLAYIO_PUTCMAP ioctl with idx == 0; reported by Artem Falcon.
[according to my investigation, none of the other for() loops in the kernel
are affected by a similar issue]
|
|
|
|
ramdisks that don't have the pms driver), setup a dummy interrupt
handler to receive and discard data from the slot.
This is a less invasive way of fixing the repeating keys/delay
problem that occurs on newer ThinkPads when touching the
trackpad/trackstick while typing during the installer.
This has been in snapshots for a bit.
|
|
Tested by sebastia@
|