summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2015-09-01size for free()Theo de Raadt
2015-08-30Track rom size, for free()Theo de Raadt
2015-08-29firmware sizes are known; use them for free()Theo de Raadt
2015-08-28fairly simple sizes for free(); ok teduTheo de Raadt
2015-08-27sizes for free()Theo de Raadt
2015-08-17The 80's called and want their interface back. Remove last fragments ofKenneth R Westerback
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.
2015-08-15Do not perform timeout maintainance on sc->poll_timeout if it has not beenMiod Vallat
initialized yet.
2015-08-12removes two mem leaks in ti (in error path).Sebastien Marie
one leak reported by Maxime Villard initial patch from Christian Schulte (with spelling corrections in comments) second leak corrected by myself ok kettenis@
2015-07-26When attaching on an alpha system, get the current textmode resolution byMiod Vallat
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.
2015-07-26Make pcic_ident_ok() completely silent in case of failure.Miod Vallat
2015-07-18Shuffle include file ordering in preparation for future changes in vgavar.h,Miod Vallat
which will have it depend upon wsdisplayvar.h.
2015-07-17Nuke a bunch of leading and trailing whitespace so I don't go blindKenneth R Westerback
reading this code. No intentional functional change.
2015-07-08MFREE(9) is dead, long live m_freem(9)!Martin Pieuchot
ok bluhm@, claudio@, dlg@
2015-07-06Make malo(4) compile with MALO_DEBUG. Problem found by Walter Daugherity.Stefan Sperling
2015-06-26Adapt to the removal of the symbolic input and output port names fromMiod Vallat
<sys/audioio.h>
2015-06-24Increment if_ipackets in if_input().Martin Pieuchot
Note that pseudo-drivers not using if_input() are not affected by this conversion. ok mikeb@, kettenis@, claudio@, dlg@
2015-06-21Don't use uninitialized data as a return value.Kenneth R Westerback
From Brainy via Maxime Villard via tech@. ok kettenis@
2015-06-19remove isp(4) now that the ql* family have replaced itJonathan Matthew
2015-05-29Initial addition of ``Patrol Read'' support in bio(4), biocto(8), andMasao Uebayashi
mfi(4). Based on FreeBSD, but done without mfiutil(8). OK deraadt@
2015-05-24Follow the recent pckbc@isa changes and always establish all the necessaryMiod Vallat
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.
2015-05-21No need for ifp since we do not set "rcvif".Martin Pieuchot
2015-05-21No need to set "rcvif", if_input() does it for you.Martin Pieuchot
2015-05-21tedu commented out xl_testpacket(), remove one of the IFQ_ENQUEUE()Martin Pieuchot
in the tree.
2015-05-19Convert to if_input().Martin Pieuchot
ok dlg@
2015-05-19Convert to if_input().Martin Pieuchot
ok dlg@
2015-05-18Prevent splassert from firing during sd_flush which runs "cold"Mike Belopuhov
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
2015-05-13test mbuf pointers against NULL not 0Jonathan Gray
ok krw@ miod@
2015-05-11Remove all audio format conversion code from the kernel (btw holdingAlexandre Ratchov
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@
2015-05-11Convert from uiomovei() to uiomove() to prevent short tranfersPhilip Guenther
diff from natano@bitrig
2015-05-07fix indentation of a lineJonathan Gray
ok krw@ miod@
2015-05-07add missing braces to code under #ifdef TRM_DEBUG0Jonathan Gray
ok krw@
2015-05-05Less magic numberAlexandr Shadchin
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@
2015-05-04Fix some misuse of the | operator. In particular | has higherJonathan Gray
precedence than ?: ok guenther@ krw@ miod@
2015-05-03add missing CISS_UNLOCK_SCRATCH/splx callsJonathan Gray
ok krw@
2015-05-02Die, damned distracting red space.Kenneth R Westerback
2015-05-01Convert to if_input(), ok miod@Martin Pieuchot
2015-05-01Convert to if_input(), ok miod@Martin Pieuchot
2015-04-30Convert to if_input().Martin Pieuchot
ok miod@
2015-04-28Fix a memory leak in an error path found by Maxime Villard'sJonathan Gray
Brainy Code Scanner.
2015-04-28In rtsx(4), condense the list of support chips in a comment, remove the unusedStefan Sperling
F_5227 flag, sort PCI IDs, and fix a typo in a comment. No functional change. from brad
2015-04-13Initialize RX/TX on re(4) slightly later; it appears that newer chipsStuart Henderson
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@
2015-04-13Now that if_input() set the receiving interface pointer on mbufs for usMartin Pieuchot
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@
2015-04-09to quote jim smith:David Gwynne
> 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@
2015-04-08Convert to if_input().Martin Pieuchot
ok dlg@
2015-04-06Convert to if_input(); ok mpi@Miod Vallat
2015-04-05Work-in-progress support for non-accelerated X11 on *some* sti(4) frame buffers;Miod Vallat
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.
2015-04-03Fix unsigned vs signed comparison in for() loop condition causing an infiniteMiod Vallat
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]
2015-04-01Kill useless comments talking about ether_input().Martin Pieuchot
2015-03-31Upon finding an AUX slot that has no driver for it (such as theJoshua Stein
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.
2015-03-30Convert, convert, convert 'em all to if_input(), tralalalala...Martin Pieuchot
Tested by sebastia@