summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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-15Switch vax to timecounters. There are three different clock sources:Miod Vallat
- ICR/NICR on most systems (1MHz counter resolution). - diagnostic timer on KA46/KA48 (1kHz counter resolution, counter is actually running at around 1024 kHz but is not guaranteed to be monotonic at this rate). - 100Hz clock on VXT (nothing but the 100Hz clock interrupt). Tested on KA49 (ICR style), KA46, KA48 (diagtmr style), VXT2000+ (VXT {empty,hopeless}ness'r'us style).
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-13On KA43:Miod Vallat
- silence noisy print of cache control registers at cache initialization time (but not during memory errors or machine checks). - correctly access the prom mailbox register, so that halt and reboot work as intended (from NetBSD).
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-13Do not invoke hardclock() until cpu_initclocks() has been invoked; avoidsMiod Vallat
a NULL pointer dereference because the softclock interrupt handler cookie is not initialized yet. Found the hard way and fix tested by aoyama@
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-11Define symbolic constants for the addresses of the vsbus devices onMiod Vallat
512KB PROM systems (e.g. KA49), or 256KB PROM systems built after KA49 (e.g. KA5[234]), and use them instead of pouring magic numbers all over the (md) tree. No functional change.
2011-09-11Fix inverted test when selecting resolution on the 1024x864 VLC frame buffer.Miod Vallat
2011-09-08Provide namespace-safe alignment macros in <machine/_types.h>, withPhilip Guenthe
compat names kept in <machine/param.h>. In <sys/socket.h>, pull in <sys/_types.h> instead of the namespace polluting <machine/param.h> and completely eliminate __CMSG_ALIGN, replaced by _ALIGN ok deraadt@
2011-09-08Make the INT_FAST*_{MIN,MAX} macros match the types they're defined to.Philip Guenthe
Since the underlying types of the int_fast types are set by machine/_types.h, put internal macros in that same file and define the exposed INT_FAST*_{MIN,MAX} macros from those. ok millert@, kettenis@
2011-09-06Properly initialize struct carp_if (especially vhif_nvrs) with M_ZERO.Marco Pfatschbacher
This lets carp delete IFF_PROMISC on its carpdev upon destroy. Fix from Stefan Rinkes. OK sthen, bluhm, deraadt.
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-04oops, this DPRINTF flavour takes no parentheses.Miod Vallat
2011-09-04Silence awacs_trigger_input by turning a noisy printf into the DPRINTFMiod Vallat
it was intended to be; reported by Donovan Watteau
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-03Driver for the audio chip found on VAXstation 4000. Tested on VLC, /60 andMiod Vallat
/90.
2011-09-03Switch the sparc audioamd(4) code to the MI driver; tested on SPARCclassicMiod Vallat
with and without option AUDIO_C_HANDLER.
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-03Add a general warning about gdb matching against sigcode instructionsPhilip Guenthe
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-02generate a devid from vpd page 80 if vpd page 83 doesnt exist or work.David Gwynne
ok krw@
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-31Report VXT cpu as `VXT', not `KA48', to match what the PROM says.Miod Vallat
2011-08-31Don't pretend to `enable floating point' and fiddle with PR_ACCS register onMiod Vallat
KA45 and KA48. The FPU is built-in, and PR_ACCS is not implemented (as the PROM will tell you if you try to EX it). This was copied from KA46 and for some reason KA45 and KA48 ignore writes to PR_ACCS (unlike VXT which hangs). Tested on KA45 and KA48.
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-30Make ps -N/-M work again by correcting kernel vs user addressPhilip Guenthe
handling in the FILL_KPROC() macro. Problems pointed out by Martin Pelikan (martin.pelikan at gmail.com)
2011-08-30Add support for one shot rules that remove themselves from an activeMike Belopuhov
ruleset after match. In case this is the only rule in the anchor, the anchor will be destroyed automatically after the rule is matched. This is an extremely handy technique for firewall proxies. ok henning, mcbride
2011-08-29Return of the long missing powerpc interrupt rewrite. Was working forDale Rahn
several weeks before release on macppc, socppc bugs just fixed.