summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2013-07-09pay attention to the #ifdefTheo de Raadt
2013-07-09move AHCI_DEBUG stuff into ahci.c so we can build with it enabled againJonathan Matthew
ok dlg@
2013-07-06Use wsemuldisplaydevsubmatch.Mark Kettenis
2013-06-12Add suspend/resume support to lpt. Basically, ensure that DACT_SUSPENDTheo de Raadt
stops the timeouts, and that DVACT_RESUME unwedges the soft state and bring the hardware state back to normal operation. Tested by rpe, thanks a lot!
2013-06-11Overhaul the {aviion,mvme68k,mvme88k} dart(4) driver and move the trulyMiod Vallat
machine-independent parts to MI land. The MI code now allow MD configuration of the various input and output ports, to allow for proper DCD/RTS/DTR monitoring and control. It will also allow the second set of baud rates to be used (when possible, i.e. if both ports can use the same BRG), allowing for 38400 bps mode.
2013-06-11Replace all ovbcopy with memmove; swap the src and dst arguments tooTheo de Raadt
ok otto
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
test period; i think 3 years ago the last bugs fell out. ok otto beck others
2013-06-04remove orphaned macrosMiod Vallat
2013-05-31Correct sequencing in ca_activate function. Some operations were in theTheo de Raadt
wrong order, and depth traversal was not gauranteed. ok stsp (tested too)
2013-05-30Enforce ca_activate tree-walks over the entire heirarchy for all events,Theo de Raadt
cleaning up some shutdown-hook related code on the way. (A few drivers related to sparc are still skipped at kettenis' request) ok kettenis mlarkin, tested by many others too
2013-05-30tedu unused header. okay krw@Kurt Miller
2013-05-27Fix edge cases of uninitialized variables. In my tree for too long, I evenMiod Vallat
got ok's for azalia but I don't remember from whom.
2013-05-23Revert Active PS/2 support for now, until we find a solution suitableTobias Stoeckmann
for chipsets which stopped working. ok mpi
2013-05-21Rewrite ioctl handling bits.Brad Smith
ok sthen@
2013-05-21Rewrite ioctl handling bits.Brad Smith
ok sthen@
2013-05-18enw->new in comment;Jason McIntyre
spotted by krw, missed by jsg, and forwarded From: Alexey Suslikov
2013-05-15remove unused variableAlexandre Ratchov
2013-05-15Introduce a global interrupt-aware mutex protecting dataAlexandre Ratchov
structures (including sound-card registers) from concurent access by syscall and interrupt code-paths. Since critical sections remain the same, calls to splraise/spllower can be safely replaced by calls to mtx_enter/mtx_leave with two exceptions: (1) mutexes are not reentrant (the inner splraise is thus removed), and (2) we're not allowed to sleep with a mutex (either msleep is used or the mutex is released before sleeping). ok and help from kettenis, a lot of work from armani
2013-05-08fix some leaks in error pathsJonathan Gray
ok fgsch@ krw@ kettenis@
2013-05-07fix a double free in an error pathJonathan Gray
reminded of this diff by a report from Arto Jonsson ok krw@ fgsch@
2013-05-03break out the battery status into excruciating detail. makes it harder forDavid Gwynne
$VENDOR to complain about a lack of diagnostic material from their crappy mgmt tools if you're not running an operating system they support.
2013-05-02always attach the battery sensor if the adapter lets us query it.David Gwynne
newly replaced batteries dont show up immediately.
2013-05-01provide a sensor for the battery backup unit (bbu) on mfi boards thatDavid Gwynne
support it. now i can tell (a bit better) why io might be slow on some of my boxes.
2013-05-01there's some extra bits for the bbu status that freebsd dont have. provideDavid Gwynne
a %b thing for them too. now i just have to figure out how to represent this nicely: mfi0: fw_status 0xc00<REPLACE_PACK,CAPACITY_LOW> :(
2013-05-01provide a couple of %b things for mfi_hw_present and mfi_adapter_ops cosDavid Gwynne
im somehow too lazy to read a %x and look for a couple of bits set, but not lazy enough to not write a %b thing.
2013-05-01dont need to walk alldevs during sensor creation looking for the logicalDavid Gwynne
disk scsibus when we record that in mfi_attach. also happens to get rid of a logic error that let it come out of the loop on alldevs with a reference to something that wasnt the logical disk scsibus and use that.
2013-04-30white space tweakDavid Gwynne
2013-04-30white space fixesDavid Gwynne
2013-04-30use MR_DCMD consistently. some MD_DCMD was in there somehow.David Gwynne
2013-04-30pull in BBU bits from freebsdDavid Gwynne
2013-04-21Unify the zs tty driver.Sebastian Reitenbach
Most of the hard work by mpi@, who provided the initial diff. Fixes for sparc from myself. Tested on sgi and sparc myself. Compiles and detects zstty on my powerbook, compile tested on sparc64 by me. Real testing with zs device on sparc64 by miod@ who also gave a lot of help and feedback. ok miod@, mpi@
2013-04-20In ahc_reset(), use SELxxx constants instead of magic values. No functionalMiod Vallat
change.
2013-04-20correct handling of t_apmverTheo de Raadt
2013-04-20Enable active PS/2 multiplexing if available.Tobias Stoeckmann
Supported for i386 and amd64 except SMALL_KERNEL. Based on Miod's former work on this subject. ok mpi
2013-04-13Perform a warm reset instead of putting the hardware into full sleep modeStefan Sperling
to avoid system hangs upon 'ifconfig down up' with some AR5212 hardware. Linux uses the same workaround. Diff from Dinar Talypov (t.dinar.m at gmail).
2013-04-07david imhoff points out that the error handling in mfi_init_ccb gets theDavid Gwynne
index to which ccb to free wrong. this takes the logic from mpi/mpii/mfii which pulls the ready ccbs off the free list rather than rely on the current index from the for loop that we failed inside of. thanks to david for finding this out.
2013-03-28Prevent a panic during rtsx(4) attachment. If a card is inserted while bootingStefan Sperling
the interrupt handler can be triggered before sdmmc(4) is attached. In which case the interrupt handler's futile attempt to handle the newly inserted card would crash the kernel. ok miod@
2013-03-24Use ieee80211_set_tim() directly now that it is available.Claudio Jeker
2013-03-18Provide a way for *drm(4) to prevent the VGA text console wsdisplay(4) instanceMark Kettenis
from attaching after it has taken over control of the VGA hardware. ok mpi@
2013-03-17- Remove the reserved number of TX descriptors. No limitation is mentioned inBrad Smith
the 8139C+/8169/8110/8168/8101/8111 datasheets and it seems to work ok without reserving the descriptors. - Change allowable number of TX DMA segments to 32. From FreeBSD ok chris@
2013-03-14Cosmetic tweaking. No functional change.Brad Smith
2013-03-11Separate out the common capabilities flags from the switch statementBrad Smith
added in the last commit. No functional change. ok sthen@
2013-03-09Always use the internal PHY on Apple variants, from FreeBSD. This unbreaksMartin Pieuchot
gem(4) on some PowerMac G5. tested by kirby@, ok deraadt@
2013-03-09Calculating the IP header checksum on Realtek 8168 is broken if theAlexander Bluhm
packet has IP options. Disable IP checksum offloading for the affected revisions. From FreeBSD; OK sthen@ brad@
2013-03-07XL_DMACTL is a 32bit register, use the 32bit write macro.Brad Smith
From FreeBSD ok chris@
2013-03-07Fix and simplify determining whether we're using a 8129 or 8139 chipset. OnlyBrad Smith
the 8129 PCI id is a 8129, everything else is a 8139. Allows the D-Link DFE-520TX board to work and would ensure proper determination of the chipset for at least the 8138 based boards (PCI/CardBus). Tested by kirby@ Ok kirby@ sthen@ chris@
2013-03-04replace the LIST_ENTRY in scsi_xfer with a SIMPLEQ_ENTRY. the things thatDavid Gwynne
use it want something they can add to the end of they do horrible things to be able to do that with the LIST_ENTRY. this makes those horrible things a bit less horrible, and makes it easier to use lists of scsi_xfers in other things.
2013-02-15More DPRINTF use, no object change.Martin Pieuchot
2013-02-15Do not loop forever if the keyboard send a BAT (Basic Assurance Test)Martin Pieuchot
fault code, but handle this code like ``Resend'' or ``BAT success'' instead. Fix a problem reported by Kent Fritz and analyzed by stsp@. ok shadchin@
2013-02-14No need to treat amd64 specially; always return CN_HIGHPRI.Mark Kettenis
ok miod@