summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Adds siba_bwn module which is used with bwn(4). Main purpose of thisweongyo2010-01-318-157/+3153
| | | | | module is to distinguish parts of Silicon Backplane and of Broadcom Wireless.
* Welcome drm support for VIA unichrome chips.rnoland2010-01-3114-0/+5908
| | | | MFC after: 2 weeks
* Import simple drm memory manager.rnoland2010-01-3111-5/+1296
| | | | | | | This is required for the VIA driver and at least some parts are needed for GEM. MFC after: 2 weeks
* Fix for kern/141646: when stacking pseudo drivers likejfv2010-01-301-14/+30
| | | | | | | | | | lagg and vlan the vlan attach/detach event is not being handed down to em, this caused some init code not to run, and thus VLANs did not work. Ultimately having the event get propagated would be nice, but for now the solution is to have HWFILTER off by default, when this is the case VLANs will work, ifconfig can be used to turn it on and then get HW tag filtering.
* Reset port on disconnect event, to abort any running requests.mav2010-01-292-16/+12
|
* Add support for the AR9285 chipset, which is found on many netbooksrpaulo2010-01-2916-157/+1952
| | | | | | | | | | | | | | | | | available today. This card is a low power 802.11bgn that only does 11n rates up to MCS 7 (that's 65 Mbps in 20Mhz mode and 135 in 40Mhz mode). 802.11n is not yet supported, but will be in the future. The driver still has a problem regarding to the setting of txpower on the card, so don't expect good performance yet. After fixing this problem, an MFC is possible. Special thanks to iXsystems and S Smirnov <tonve at yandex.ru> for help with the purchase of a netbook with this card. Sponsored by: iXsystems, Inc.
* Replace Id keyword with the FreeBSD keyword.rpaulo2010-01-2910-10/+10
|
* Replace Id keyword with the FreeBSD keyword.rpaulo2010-01-291-1/+1
|
* Rework cam error handling to fix Mitsumi floppy drives.thompsa2010-01-291-4/+12
| | | | Submitted by: mav
* Simplify attach for UMASS_PROTO_CBI_I mode and change some switch() returnsthompsa2010-01-291-25/+27
| | | | | | into breaks. Submitted by: Hans Petter Selesky
* Add null check on quirk lookup and add a couple of umass quirks.thompsa2010-01-291-2/+10
| | | | Submitted by: Hans Petter Selesky
* Add the Netgear WPN111thompsa2010-01-291-0/+1
|
* Sync usb products to perforce.thompsa2010-01-291-0/+3
|
* Attempt to recover on a TX error rather than stopping all transfers.thompsa2010-01-292-8/+18
| | | | Submitted by: Hans Petter Selesky
* Optimise EHCI ISOC HS done check.thompsa2010-01-291-10/+7
| | | | Submitted by: Hans Petter Selasky
* Add device ID.thompsa2010-01-291-0/+1
| | | | PR: usb/142427
* Use device_printf rather than printf + device_get_nameunit.thompsa2010-01-281-30/+21
|
* Release the firmware after loading to the device.thompsa2010-01-282-16/+28
|
* Add run(4), a driver for Ralink RT2700U/RT2800U/RT3000U USB 802.11agn devices.thompsa2010-01-284-1/+5703
| | | | | This driver was written for OpenBSD by Damien Bergamini and ported over by Akinori Furukoshi.
* Add FIS-based switching support. If controller supports FBS, it allowsmav2010-01-282-53/+212
| | | | | several devices beyond Port Multiplier to work simultaneously, substantially increasing performance.
* MFp4: Large set of CAM inprovements.mav2010-01-2817-368/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Unify bus reset/probe sequence. Whenever bus attached at boot or later, CAM will automatically reset and scan it. It allows to remove duplicate code from many drivers. - Any bus, attached before CAM completed it's boot-time initialization, will equally join to the process, delaying boot if needed. - New kern.cam.boot_delay loader tunable should help controllers that are still unable to register their buses in time (such as slow USB/ PCCard/ CardBus devices), by adding one more event to wait on boot. - To allow synchronization between different CAM levels, concept of requests priorities was extended. Priorities now split between several "run levels". Device can be freezed at specified level, allowing higher priority requests to pass. For example, no payload requests allowed, until PMP driver enable port. ATA XPT negotiate transfer parameters, periph driver configure caching and so on. - Frozen requests are no more counted by request allocation scheduler. It fixes deadlocks, when frozen low priority payload requests occupying slots, required by higher levels to manage theit execution. - Two last changes were holding proper ATA reinitialization and error recovery implementation. Now it is done: SATA controllers and Port Multipliers now implement automatic hot-plug and should correctly recover from timeouts and bus resets. - Improve SCSI error recovery for devices on buses without automatic sense reporting, such as ATAPI or USB. For example, it allows CAM to wait, while CD drive loads disk, instead of immediately return error status. - Decapitalize diagnostic messages and make them more readable and sensible. - Teach PMP driver to limit maximum speed on fan-out ports. - Make boot wait for PMP scan completes, and make rescan more reliable. - Fix pass driver, to return CCB to user level in case of error. - Increase number of retries in cd driver, as device may return several UAs.
* Add a link tasklet so updates can be sleepable.jfv2010-01-272-7/+24
|
* adds sysctl knobs to show rate statistics that it could be useful toweongyo2010-01-272-0/+59
| | | | debug slow TX speed.
* Two more build problems, missing includes and semicolon.jfv2010-01-272-1/+3
|
* Add initial support for RTL8103E PCIe fastethernet.yongari2010-01-271-1/+8
| | | | PR: kern/142974
* Opps, completely wrong version of if_em.h got intojfv2010-01-271-122/+98
| | | | the checkin, sorry all :(
* Use VESA palette load/save functions if VESA BIOS says the current palettejkim2010-01-271-14/+22
| | | | | | | | format is higher than 6-bit instead of relying VGA compatibility flag. This fixes palette problem of NVIDIA GeForce 6600. Reduce code differences between palette load/save functions while we are here. Tested by: danfe
* Initialize the ifnet before calling mii_phy_probe() as some phy driversjhb2010-01-271-8/+8
| | | | | | (e.g. e1000phy(4)) expect if_dname to be valid when they are probed. MFC after: 3 days
* acpi_hpet: correctly get number of timers/comparators in a timer blockavg2010-01-271-3/+18
| | | | | | | | | Also, account for a quirk of AMD/ATI HPET which reports number of timers instead of id of the last timer as manadated by the specification. Currently this has no effect on functionality but in the future we may make actual use of the HPET timers, not only of its timecounter. MFC after: 2 weeks
* Add one more type cast, missed in r203043.mav2010-01-271-1/+1
|
* Missing a fix for the new watchdog handling.jfv2010-01-262-0/+2
|
* Remove some internal conditional defines that willjfv2010-01-261-13/+0
| | | | fail in kernel tree.
* Update the 1G drivers, shared code sync with Intel,jfv2010-01-2626-1706/+1368
| | | | | | | | | | igb now has a queue notion that has a single interrupt with an RX/TX pair, this will reduce the total interrupts seen on a system. Both em and igb have a new watchdog method. igb has fixes from Pyun Yong-Hyeon that have improved stability, thank you :) I wish to MFC this for 7.3 asap, please test if able.
* Do not place fake interrupt register on chip.mav2010-01-261-26/+7
| | | | Now we have better place for it.
* Restore SATA speed reporting, broken by ATA_CAM changes.mav2010-01-261-1/+18
|
* Clear ch->devices, if hard-reset failed.mav2010-01-261-1/+2
| | | | | | This makes hot-plug work nicely. HW donated by: James R. Van Artsdalen
* Add support for SATA part of Marvell 88SE912x controllers to ahci(4).mav2010-01-264-132/+162
| | | | | | | | | Limit early revisions from 6Gb/s to 3Gb/s by default, or they negotiate only 1.5Gbps, when 3Gb/s devices connected. Add dummy driver for PATA part of these controllers, preventing generic driver attach them. It causes system freeze when SATA controller used after PATA was touched.
* Create the "cfecons" tty directly using tty_makedev(). It is not clear whatneel2010-01-261-11/+11
| | | | | | | | | | | | | | | | the intention of having two ttys pointing to the same cfe console device was. Also we were not initializing the output[] array passed in as input to tty_makedev() so one name of the ttys was garbage. Fix the code that calls cfe_write() to deal with the case where only a partial buffer is written out. cfe_cngetc() needs to return if there is no character available as input. If we don't do this then the cfe_timeout() function will spin forever because cfe_cngetc() will only ever return if there is valid input. Approved by: imp (mentor)
* o add more notification strings in iwn_intr_str()rpaulo2010-01-252-2/+16
| | | | | | | o sync with OpenBSD code Submitted by: Bernhard Schmidt <bschmidt at techwires.net> MFC after: 3 days
* Add support for the NM10 chipset.remko2010-01-242-0/+2
| | | | | | | PR: kern/143118 Submitted by: Koshin sumitani <ksumitani at mui dot biglobe dot ne dot jp> Approved by: imp (mentor, implicit) MFC after: 3 days
* Fix breakage introduced to the tnt4882 driver in r202870. This PCIjoerg2010-01-234-6/+13
| | | | | | | | | | | | frontend uses the same uPD7210 backend as the pcii ISA frontend, so the backend has to cope with both situations. Also, hide the first printf in pcii_probe (address mismatch) behind bootverbose as the ISA bus parent tries to probe all configured ISA devices against each driver, so a the console has been cluttered with this message for a bunch of unrelated driver probes. MFC after: 3 days
* Overhaul of the pcii driver:joerg2010-01-233-26/+120
| | | | | | | | | | | | | | | | | | | | . Properly allocate all IO space resources. These cards scatter their IO addresses over a range of 0x1600 bytes, and they require an additional address for "special interrupt handling". . Implement the "special interrupt handling" per the GPIB-PCIIA Technical Reference Manual; this was apparently not declared for the clone card this driver has been originally implemented for, but it turned out to be needed for both, an original NI brand PCII/PCIIA card as well as the Axiom AX5488 clone. . Add some diagnostic messages for various resource allocation etc. failures during probe. . Add some comments about the structure of the IO address space that is used by these cards. MFC after: 1 day
* Don't forget to release the adapter lock for a no-op.np2010-01-231-0/+2
|
* Yukon Ultra2 has 126MHz clock.yongari2010-01-221-1/+1
|
* s/Mhz/MHz/gyongari2010-01-221-8/+8
| | | | Submitted by: N.J. Mann <njm <> njm dot me dot uk >
* Use new handshake command for BCM5750 or new controllers.yongari2010-01-221-2/+1
|
* Fix a long standing ASF heartbeat sending bug. The initialyongari2010-01-221-1/+1
| | | | | | | | | | implementation of heartbeat interval was 2 but there was typo which caused the heartbeat is sent approximately every 5 seconds. This caused unintended controller reset by firmware because firmware thought OS was crashed. Submitted by: Floris Bos < info <> je-eigen-domein dot nl > Tested by: Andrzej Tobola < ato <> iem dot pw dot edu dot pl >
* Add H55 ID from Mike Tancsa, with minor rewording from avg@.emaste2010-01-222-0/+2
| | | | | | PR: kern/143068 Submitted by: Mike Tancsa (Sentex) MFC after: 1 week
* Oops! r202789 broke recording from input mixer. Restore previous "mix"mav2010-01-221-4/+14
| | | | usage and use "igain" instead for input-to-output monitoring loopback.
* - Improve tracer, to handle more cases of input-to-output monitoringmav2010-01-221-60/+84
| | | | | | | | | loopback. - Change the meaning of "mix" OSS control. Now it controls loopback level, according to comments in soundcard.h. - Allow AD1981HD codecs to use playback mixer. Now driver should be able to really use it. - Fix bug in shared muters operation.
OpenPOWER on IntegriCloud