summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Add the 'hptrr' driver for supporting the following Highpoint RocketRAIDscottl2007-12-1514-0/+27218
| | | | | | | | | | | | | | | | | | | cards: o RocketRAID 172x series o RocketRAID 174x series o RocketRAID 2210 o RocketRAID 222x series o RocketRAID 2240 o RocketRAID 230x series o RocketRAID 231x series o RocketRAID 232x series o RocketRAID 2340 o RocketRAID 2522 Many thanks to Highpoint for their continued support of FreeBSD. Submitted by: Highpoint
* Limit total hardware playback channels to just 1. The reliability ofariff2007-12-141-3/+12
| | | | | | | | | | it's multi DAC / playback channels is not that good. Enabling vchans make the bug more visible since playback allocation will look for possible free hardware channels first (i.e: the next DAC, the very first has been consumed by vchan mixer) which in this case has been proven faulty. Tested by: Dominic Fandrey <LoN_Kamikaze at gmx dot de> URL: http://lists.freebsd.org/pipermail/freebsd-stable/2007-December/039022.html
* Add speaker/headphone controls for HP Compaq DC7700 Small Form Factor PCariff2007-12-131-1/+13
| | | | | | @ ALC262. Submitted by: Carlos A. M. dos Santos <unixmania at gmail dot com>
* nid 28 for Acer @ ALC268 should be identified as analog CD input pin,ariff2007-12-131-0/+12
| | | | | though it doesn't provides proper (sane, valid, usable, etc) analog CD playback due to its stripped down nature.
* Implement a workaround of the datacorruption problem on serverworks HT1000 ↵sos2007-12-134-93/+233
| | | | | | | | | chipsets. The HT1000 DMA engine seems to not always like 64K transfers and sometimes barfs data all over memory leading to instant chrash and burn. Also fix 48bit adressing issues, apparently newer chips needs 16bit writes and not the usual fifo thing. HW donated by: Travis Mikalson at TerraNovaNet
* Disable AC97 microphone channel. Due to the channel allocation priorityariff2007-12-121-1/+6
| | | | | | | | | | that favours true hardware channel, the first instance of recording request will grab this channel (the first channel is being used as vchan master). In many cases, it is not really work as intended and give false impression of broken recording. PR: kern/118546 MFC after: 3 days
* Rewrite the DMA code paths from being an impenitrable maze of special casesscottl2007-12-124-436/+260
| | | | | to a much saner and simplier unified code path. Along the way, fix various CAM nits and bugs so that the passthrough works correctly for all cases.
* Add quirks for Netac Onlydisk 2000 USB disk.davidxu2007-12-112-0/+5
|
* sc->ndis_tq variable is only initialized when a driver module is for wirelessthompsa2007-12-091-2/+4
| | | | | | | NICs. PR: kern/118439 Submitted by: Weongyo Jeong
* Fix an incorrect FreeBSD version test.scottl2007-12-091-1/+1
|
* Modify locking so that a single version of the driver src can be used on 6.xscottl2007-12-091-5/+22
| | | | and beyond.
* Support new ARC120x family of controllers. Many thanks for Areca's continuedscottl2007-12-082-617/+1635
| | | | | | support of FreeBSD. Submitted by: Erich Chen @ Areca
* Add another RTL8168 revision 3 which is found on RTL8111-GR Gigabityongari2007-12-081-3/+13
| | | | | | | | | Ethernet Controller. Multicast filtering wasn't tested and needs more expore. While I'm here change complex if statements with switch statement which would improve readability. Reported by: Abdullah Ibn Hamad Al-Marri < wearabnet AT yahoo DOT ca > Tested by: Abdullah Ibn Hamad Al-Marri < wearabnet AT yahoo DOT ca >
* Merge from Adaptec a 64 bit fix and a workaround for luns != 0 returningemaste2007-12-071-8/+13
| | | | | CAM_SEL_TIMEOUT on SAS controllers, which prevented passthrough devices from being created.
* Add family support to allow the driver to attach to new devices thatemaste2007-12-073-10/+92
| | | | | | share the same interface. Submitted by: Achim Leubner at Adaptec
* Add stub functions to unbreak LINT.jkoshy2007-12-074-0/+80
|
* Fix speed report on Intel SATA chips in compat mode.sos2007-12-071-3/+52
| | | | Fix broken detect of JMicron 368.
* Preallocate some space to return the scan results, some drivers do not properlythompsa2007-12-071-9/+25
| | | | | | | | | pass back the desired buffer length. This fixes scanning with the Marvell 88W8335 and BCM4328 wireless cards. PR: kern/118370 Submitted by: Weongyo Jeong Tested by: Ed Schouten
* Kernel and hwpmc(4) support for callchain capture.jkoshy2007-12-076-112/+547
| | | | Sponsored by: FreeBSD Foundation and Google Inc.
* Allow simultaneous opens of the device for issuing commands to theemaste2007-12-072-75/+151
| | | | controller. This is merged from Adaptec driver build 11669.
* Add more PCI ID's from Adaptec's driver, including two requestedemaste2007-12-061-0/+16
| | | | | | | | | | | | | by Daniel Kamm. Adaptec RAID 51245 Adaptec RAID 51645 Adaptec RAID 52445 Adaptec RAID 5405 Sun STK RAID REM Sun STK RAID EM SG-XPCIESAS-R-IN SG-XPCIESAS-R-EX
* Add PCI IDs for additional cards:emaste2007-12-061-0/+12
| | | | | | | | | AOC-USAS-S4i AOC-USAS-S8i AOC-USAS-S4iR AOC-USAS-S8iR AOC-USAS-S8i-LP AOC-USAS-S8iR-LP
* Fix a use-after-free.philip2007-12-051-2/+1
| | | | | | Submitted by: Ilja van Sprundel <ilja -at- netric.org> Reviewed by: secteam MFC after: 1 day
* Plug two potential (root-only, local) information leaks. buf is notphilip2007-12-052-8/+8
| | | | | | | | initialized before use and returned integrally instead of up to size. Submitted by: Ilja van Sprundel <ilja -at- netric.org> Reviewed by: secteam MFC after: 1 day
* Bring in support for: Marvell Yukon 8039remko2007-12-052-0/+3
| | | | | | | PR: 118401 Submitted by: Skip Ford <skip at menantico dot com> Approved by: imp (mentor), yongari MFC After: 3 days
* Stop serial console and gdb serial port from getting all screwed up.julian2007-12-051-1/+1
| | | | | | PR: 65278 MFC in: 3 days Submitted by: ups@
* Cast address of 'bssid' to uint8_t since printf() expects to get unsignedwkoszek2007-12-041-1/+1
| | | | | | | | | argument in %6D case. Submitted by: thompsa Compile-tested: wkoszek Reviewed by: cognet (mentor) Approved by: cognet (mentor)
* Cast 'data' to 'u_char', as printf() requires this type to be unsigned. Thiswkoszek2007-12-041-1/+1
| | | | | | | | | is what gcc3 complains about. Without this change, it's impossible to build the kernel with gcc3. Tested by: cognet@ (mentor) Approved by: cognet@ (mentor)
* Remove compatibilty defines to simplify reading the code, this is around 10% ofthompsa2007-12-033-325/+0
| | | | | the total LOC. These are mostly for the 6.x branch and it will be easier to cherrypick any changes (if at all).
* Fix audio playback aborted with SNDCTL_DSP_SETTRIGGER, affectingariff2007-12-031-2/+2
| | | | | | | | PortAudio version 19. PR: kern/118395 Submitted by: Henrik Gulbrandsen <henrik at gulbra dot net> MFC after: 3 days
* Do not allow the SNPSTTY ioctl for the snoop device that has a ttykib2007-12-031-0/+3
| | | | | | | | attached. Otherwise, the snp->snp_tty would be overwritten, while the tty line discipline still set to the snpdisc. Then snplwrite() causes panic because ttytosnp() cannot find the snp. MFC after: 1 week
* Always honor promiscuous flag prior to programming Rx multicastyongari2007-12-031-2/+6
| | | | | | | filter. This fixes a regression introduced in rev 1.89. PR: 114632 MFC after: 3 days
* Provide unqiue malloc types instead of using M_DEVBUF.scottl2007-12-022-26/+29
|
* Refactor completion handlers so that they can be combined into a singlescottl2007-12-021-76/+29
| | | | function. Add missing locking.
* Make a pass at style.9 compliancescottl2007-12-021-440/+477
|
* Fix a typo that was hidden by AMR_DEBUG.scottl2007-12-021-1/+1
|
* Fix printf format bugs that where hidden by AMR_DEBUG.scottl2007-12-021-3/+3
|
* Headphone / speakers automute fixup for Acer Aspire 4710 @ ALC268 laptop.ariff2007-12-021-0/+3
| | | | Tested by: Liyu, She
* Hide a debug printf, NDIS_DEBUG is always defined and we test the sysctl.thompsa2007-12-021-3/+5
| | | | MFC after: 3 days
* Based in info gleaned from the web and other drivers (including the Linuxpeter2007-12-011-0/+23
| | | | | | sx driver), change a magic value in the PLX bridge chip. Apparently later builds of the PCI cards had corrected values in the configuration eeprom. This change supposedly fixes some pci bus problems.
* ieee80211com.ic_fixed_rate holds rate instead of rate indexkevlo2007-12-011-1/+1
| | | | Reviewed by: Weongyo Jeong
* Allow the sio acpi attachment to be disabled (ie: use hints only). Thispeter2007-11-301-0/+4
| | | | | | | | | | hack means you can get the units and flags to match up more easily with serial consoles on machines with acpi tables that cause the com ports to be probed in the wrong order (and hence get the wrong sio unit number). This replaces the common alternative hack of editing the code to comment out the acpi attachment. This could go away entirely when device wiring patches are committed.
* Add sio_puc_kludge_unit() to stop sio devices originating from pucpeter2007-11-301-0/+29
| | | | | | | stomping on the units intended for the motherboard sio ports. This is no real substitute for the not-yet-committed device wiring enhancements. Code taken from sio's pci attachment.
* Correct a random value disclosure in random(4).simon2007-11-291-0/+1
| | | | Security: FreeBSD-SA-07:09.random
* Revert revision 1.4.jkoshy2007-11-291-1/+1
| | | | | | | | | | Intel CPUs with family 0x6, model 0xE and later (i.e., Intel Core(TM)) have a PMC architecture that differs somewhat from previous CPUs in family 0x6. Even though the basic programming model is similar, the documented set of legal values that may be loaded into their PMC MSRs differs from that of the previous PMCs in family 0x6 and reusing bit values valid for the older PMCs could result in undefined behaviour in the general case.
* Add COHERENT to descriptor mem allocation for thejfv2007-11-281-1/+1
| | | | | | benefit of ARM (request from Olivier Houchard), its a noop on most architectures and goodness on those that use it.
* Turn the CAM passthroug interface to AMR back ON. Adjust thescottl2007-11-282-80/+68
| | | | | | | | | T_DIRECT filtering so that disk drives can be attached via the pass driver. Add CAM locking. Don't mark CAM commands as SG64 since the hardware isn't designed to deal with 64-bit passthru commands. Hopefully the bounce buffer changes that were done for the management/ioctl interface are robust enough to handle this deficiency for CAM as well.
* A minor issue with lock names, WITNESS complainsjfv2007-11-281-2/+2
| | | | when the two locks are the same...
* - Add Analog Devices AD1984 codec id.ariff2007-11-281-4/+28
| | | | | | | | | | - Enable pcbeep control for Acer + ALC268 (nid 29). Give enough (fake) hints so the parser will grab it and allocate "speaker" control. - Fix regression while preparing DAC and ADC for multichannel format. Since playback policy is to output to every possible path, ensure that each DAC is started. Reported / Tested by: Guy Brand
* Add missing MCP65 id which was accidentally removed in previous commit.ariff2007-11-281-0/+1
|
OpenPOWER on IntegriCloud