summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2011-09-16add Vaisala's "USB instrument cable" entryYojiro Uo
2011-09-16regenYojiro Uo
2011-09-16add entry for FX-5204PSYojiro Uo
2011-09-16regenYojiro Uo
2011-09-16fix very old usb vendor id mismatchYojiro Uo
The VID: 0x430 is not owned by SUN microsystems, it is owned by Fujitsu Component, Inc. ok deraadt@
2011-09-15Fix up age_encap() / age_start()..Kevin Lo
- Remove unnecessary nsegs variable from age_encap() and use map->dm_nsegs. Also remove unnecessary FreeBSD check for 0 DMA segments check. - Remove printfs in age_encap() failure paths that shouldn't be there. - Add missing IF_PREPEND() from failure path coming off of age_encap() within age_start(). - Fix error handling within age_encap(). Previously age_encap() was attempting to unload a DMA map upon failure from bus_dmamap_load_mbuf() even though one wasn't loaded at that point and then always forcing mbufs through the EFBIG path. Tested by Thomas Pfaff. From Brad.
2011-09-14Initial kernel support for sandybridge intel chipsets in intagp and inteldrm.Owain Ainsworth
Far from perfect. Extra (almost essential) features like the extra ringbuffers are not yet supported (I have half a diff), but this and the appropriate ddx patches allow modesetting and basic shadow acceleration. Initial work by jcs@, a few cleanups and bugfixes by me. Tested by many on all appropriate chipsets. ok kettenis@
2011-09-13Fix up ale_encap() / ale_start():Kevin Lo
- Remove unnecessary nsegs variable from ale_encap() and use map->dm_nsegs. Also remove unnecessary FreeBSD check for 0 DMA segments check. - Remove printfs in ale_encap() failure paths that shouldn't be there. - Add missing IF_PREPEND() from failure path coming off of ale_encap() within ale_start(). - Fix error handling within ale_encap(). Previously ale_encap() was attempting to unload a DMA map upon failure from bus_dmamap_load_mbuf() even though one wasn't loaded at that point and then always forcing mbufs through the EFBIG path. Tested by Johan Torin. From Brad
2011-09-13Fix up alc_encap() / alc_start():Kevin Lo
- Remove unnecessary nsegs variable from alc_encap() and use map->dm_nsegs. Also remove unnecessary FreeBSD check for 0 DMA segments check. - Remove printfs in alc_encap() failure paths that shouldn't be there. - Add missing IF_PREPEND() from failure path coming off of alc_encap() within alc_start(). - Fix error handling within alc_encap(). Previously alc_encap() was attempting to unload a DMA map upon failure from bus_dmamap_load_mbuf() even though one wasn't loaded at that point and then always forcing mbufs through the EFBIG path. Tested by Gabriel Linder. From Brad
2011-09-12Clamp a maximum number of outstanding requests at 40 as it wasMike Belopuhov
figured out the hard way by senior Pedro. Performance decreased severely with newer firmwares when ioc was stuffed with requests. Unfortunately it still remains a magic number as LSI doesn't clearly document what it has to be (controllers report some meaningless values like 3167 and 1952). ok dlg
2011-09-05No need to check for the size to be a multiple of 4 in the alpha-specificMiod Vallat
code to process four samples at a time - we can do as much sets of 4 as possible before falling back to the remainder processed one byte at a time.
2011-09-05Enable MSI support and fix establishing a link to a GigE link partnerKevin Lo
from a FastE ale(4) controller. Previously only link parters which support down-shifting were able to establish a link. Tested by roberth, Johan Torin and sthen@ From Brad
2011-09-04Driver for the TURBOchannel alpha baseboard audio. Ported from NetBSD, withMiod Vallat
changes to allow using non-native encodings, and alpha specific code to try and avoid doing 8 bit memory access. Tested on 3000/300LX, deaf testing on 3000/600.
2011-09-04Add the possibility for a MD attachment to stack a stream filter (sw_code)Miod Vallat
if it needs to rewrite the audio stream; adapted from NetBSD
2011-09-04another udav device from Loganaden VelvindronJonathan Gray
2011-09-04regenJonathan Gray
2011-09-04Another udav from Loganaden Velvindron andJonathan Gray
Intel 6 Series/C200 Rate Matching Hub from Martin Pelikan
2011-09-04regenMark Kettenis
2011-09-04There is no such thing as the "Intel Centrino Advanced-N 6005".Mark Kettenis
2011-09-04regenMark Kettenis
2011-09-04Add entry for Intel Z68 LPC and correct the H61 LPC entry (pointed out byMark Kettenis
Martin Pelikan).
2011-09-04syncStuart Henderson
2011-09-04Add PCI ids for D-Link DGE-530T C1 GigE NIC and the ServerWorks HT-1100 SATAStuart Henderson
controllers. From Brad.
2011-09-04Add emulation support for slinear:8, ulinear:8 and alaw. Written by jason@Miod Vallat
more than 8 years ago; allows aucat (and sndio users) to happily use amd7930-based audio devices. Verified by playing an mp3 file on vax.
2011-09-03MI driver for AMD79C30 audio chip; from NetBSDMiod Vallat
2011-09-03Help prevent watchdog timeouts.Kevin Lo
Tested by roberth <robert at openbsd dot pap dot st> and Johan Torin. From Brad
2011-09-03Disable PHY hibernation. The PHY will go into sleep state when itKevin Lo
detects no established link and it will re-establish link when the cable is plugged in. Previously it failed to re-establish link when the cable was plugged in such that it required turning the interface down and then up to make it work. This was caused by incorrectly programmed hibernation parameters. Further details regarding PHY setup are necessary to be able to re-enable this feature. Tested by Matteo Filippetto and Gabriel Linder From FreeBSD via Brad
2011-09-02Differential gain calibration makes the 6005 firmware crap out, so skip it forMark Kettenis
now until we figure out why. This probably means the device won't function optimally, but that's better than not functioning at all. Makes my "Intel Centrinto Advanced-N 6205" work quite well.
2011-09-01The 6005 and 6050-based parts need DC calibration turned on, otherwise theMark Kettenis
firmware will crap out, at least on the 6005. First step to getting my "Intel Centrino Advanced-N 6205" to work.
2011-08-30regenMartin Pieuchot
2011-08-30Add another GeForce 8400 GSMartin Pieuchot
2011-08-30Don't OR the VID, we want the whole TCI, this makes vlanprio (PCP/CF)Christiano F. Haesbaert
available to our network stack. ok mcbride naddy henning
2011-08-29protect sc->sc_state access and ncr53c9x_sched() call with splbio inMiod Vallat
ncr53c9x_poll(). Fixes a race causing *some* drives to trigger a panic in ncr53c9x_sched() at attach time on vax. ok dlg@ krw@
2011-08-29Update firmware to the latest version available from Myricom (1.4.53a).David Gwynne
via freebsd, tested locally in production for a week or so.
2011-08-29dont use a semaphore (which doesnt block interrupts in the criticalDavid Gwynne
section) to protect the completion ring. mpii_poll can be in the middle of the critical section when an interrupt is generated, but because something is already in the critical section the isr cant clear the condition causing the interrupt and you spin forever entering the isr and being forced to exit it without doing any work by the semaphore. this moves to protecting the completion ring with a vanilla mutex. work taken off the ring is stuck on local lists in the isr to be completed outside the mutex in case a completion path issues a polled command which will try to call the isr which tries to mutex_enter while the previous call on the stack would be holding the mutex... this diff is large because of the list changes needed to support the local lists in mpii_intr. issue found by bluhm@ and debugged by Christian Ehrhardt
2011-08-29regenMike Belopuhov
2011-08-29add gpsmap 62sMike Belopuhov
2011-08-26Prevent watchdog timeouts; tested by Thomas PfaffKevin Lo
From Brad
2011-08-26Move the comment outside of the VLAN section of code and above thatKevin Lo
chunk to where it should be. From Brad
2011-08-26Add a dmesg warning about sloppy disk I/O to vnd(4) devices to helpMatthew Dempsky
identify bad distrib scripts/tools. ok deraadt@
2011-08-24revert the last commit. pms_enable_alps() does not guaranteeAlexandr Shadchin
the accuracy detection ALPS. ok mpi@
2011-08-22Add support for Radeon 4250.Christiano F. Haesbaert
This, together with an updated xorg driver makes my drm/XVideo work. Originally from Nigel Taylor. ok oga@ mcbride@
2011-08-22Adding stub for ALPS touchpad, which not supported yet.Alexandr Shadchin
This fixed "react strangely" when the pms driver probes for a synaptic-compatible touchpad. Tested and ok mpi@
2011-08-21Help with the watchdog timeouts seen when unplugging the cable fromKevin Lo
the alc(4) NIC while running or the NIC not working if the cable is not plugged in upon boot up. From Brad; tested by matteo filippetto, Gabriel Linder and edd@
2011-08-20Don't wait for FR to come on after setting the FRE bit in the port commandMark Kettenis
register. The spec doesn't say we have to do this while it mentions several times one needs to wait for FR to clear after clearing FRE. The Linux driver doesn't wait for it either. This allows us to get rid of the AHCI_F_IGN_FR quirk. As a side-effect this diff will probably stop ahci(4) attaching to (some) NVIDIA fakeRAID devices. That's good since it is consistent with what we do for Intel fakeRAID. ok mikeb@, jmatthew@
2011-08-19Let ums probe bounds of absolute devices if available.Matthieu Herrb
ok shadchin@ some weeks ago.
2011-08-18So, it turns out that models 362 and 382 built-in frame buffer only shows upMiod Vallat
in DIO-II space, as a fat device spanning four select codes (i.e. 16MB of memory). This is way too much for an at-most 2 Mpixel 8bit frame buffer, and it turns out that this is because the device provides both a regular DIO-II frame buffer (spanning two select codes) and a regular STI frame buffer (spanning the other two select codes). This commit introduces a straightforward sti@dio attachment to get a working sti(4) and wsdisplay(4) in a ridiculously small number of lines; however the console code needs some changes to avoid duplicating globals. While there, add sti@dio support for the bootblocks, and I couldn't help myself but clean the most rotten parts of them, and try to have them reuse various files in sys/arch/hp300/dev instead of rolling their outdated ones. Tested on a real 382 with the low-resolution frame buffer: sti0 at dio0 scode 132: rev 8.02;129, ID 0x27134CB440A00499 sti0: 382V, 2048x512 frame buffer, 640x480x8 display sti0: 8x16 font type 1, 16 bpc, charset 0-255 wsdisplay0 at sti0 mux 1: console (std, vt100 emulation) Boot blocks updates tested on DIO-II 425t (serial/glass console), SGC 425e (serial/glass console) and 382 (serial/glass console). And will be tested on SGC 425t soon as well.
2011-08-17match on MSP-FET430UIF JTAG, so it can be used with mspdebugJasper Lievisse Adriaanse
from impatiens@gmail.com
2011-08-17regenJasper Lievisse Adriaanse
2011-08-17add MSP-FET430UIF JTAG, from impatiens@gmail.comJasper Lievisse Adriaanse