summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2009-01-29Soundblaster stuff. from brad.Marco Peereboom
2009-01-28Add support for next generation megaraid sas raid controllers.Marco Peereboom
From Jim Giannoules <gortag@gmail.com>
2009-01-28regenMarco Peereboom
2009-01-28LSI 2108 chipsMarco Peereboom
2009-01-28If the rom contains a monitor table, look for an entry matching ourMiod Vallat
display resolution, and if one is found, pick the built-in font it points to, instead of the first font from the list. If the index is wrong and the font list is shorter, revert to the previous behaviour of using the first ROM font. This fixes the font discrepency on my B132L (INTERNAL_EG_1280) where PDC would use the 10x20 font, which is third in the list, and OpenBSD would use the 8x16 font instead. Tested on byte- and word- roms, gsc and pci cards.
2009-01-28Be a little more tolerant about matching ROMs. Makes todd@'s quad hme(4) getMark Kettenis
proper MAC addresses even if you plug it into an i386 machine. ok miod@
2009-01-28Don't map the full 16 MB PROM to prevent running out of kva. We're onlyMark Kettenis
interested in the first few KB. ok grange@
2009-01-27Turns out the IRQ Information is optional in IRQ Descriptor resources, soMark Kettenis
allow resources that are only 5 bytes long. Prevents dmesg spamming on the OQO.
2009-01-27rum -> urtw. ok jsg@, kevlo@Martynas Venckus
2009-01-27syncOwain Ainsworth
2009-01-27another GeForce 9300.Owain Ainsworth
From Laurence Tratt; thanks!
2009-01-27make drivers tell the mclgeti allocator what their maximum ring size isDavid Gwynne
to prevent the hwm growing beyond that. this allows the livelock mitigation to do something where the hwm used to grow beyond twice the rx rings size. ok kettenis@ claudio@
2009-01-27While printing is turned off by default, the debug code was stillOwain Ainsworth
compiled into drm. I'd forgotten about that. if DRMDEBUG is defined, build in the printfs, else no-op them. Shaves a bunch of string from the kernel Fix two cases in mach64_irq.c where this would lead to unused variable warnings. Reminded by an entirely different comment by djm@.
2009-01-26Include the ioctl definitions for the modesetting interface.Owain Ainsworth
This is so we can update libdrm, where some of the types in there depend on these defines. This interface may well not be the one that ends up being used when we finally have kernel modesetting working, so add a comment to that effect. after discussion with matthieu@ and miod@, ok miod@.
2009-01-26I changed the IEEE80211_QOS_ACK_POLICY_* definitions to be more in lineDamien Bergamini
with other net80211 flags (we no longer need to shift.)
2009-01-26Add some initial HT bits (not enabled yet) based on 802.11n Draft 7.01:Damien Bergamini
- implement A-MPDU frames buffering and reordering - implement A-MSDU decapsulation - process/send ADDBA Request, ADDBA Response and DELBA action frames - process Block Ack Request control frames (including MTBAR) - implement PBAC support (Protected Block Ack) - add some incomplete HT Capabilities and HT Operation IEs parsing Add more Management Frame Protection bits based on 802.11w Draft 7.0: - implement SA Query procedure (both AP and STA) - cleanup BIP Fix some bugs: - fix check for WEP key length that otherwise caused a stack smash in ieee80211_wep_encrypt (pointed out by Xavier Santolaria on macppc) - properly stop EAPOL timeout: fixes a panic that occured in HostAP mode when turning the interface down while a 4-way handshake is in progress (pointed out by Doughertys) Did some code cleanup too. The HT bits are currently not compiled in (IEEE80211_NO_HT is defined) because they won't be ready until after the next release and I didn't want to grow the kernel or to inadvertently introduce new bugs. They are here such that other people can look at the code. Notice that I had to add an extra parameter to ic_send_mgmt() for action frames, that is why there are small changes in drivers defining their own ic_send_mgmt() handler. Sorry for the not very incremental diff but this has been sitting in my tree for too long now.
2009-01-26Unify error message.Mark Kettenis
ok grange@, oga@, todd@
2009-01-25add udfu(4), a driver to put dfu capable devices in dfu-mode for laterFederico G. Schwindt
use with dfu-util. tested with openmoko by ian@. ok miod@
2009-01-24use more appropriate sensor_task_register(9) paradigm; ok mkConstantine A. Murenin
2009-01-24* eliminate redundant initialisations of .desc and .valueConstantine A. Murenin
* .status should never stay at OK permanently * use .flags more sparingly ok mk
2009-01-24fix a couple mistakes from rev 1.109Jacob Meuser
dmesg spam produced by the mistakes noticed by stsp@, thanks
2009-01-23Add schsio(4), a driver for SMSC SCH311x LPC Super I/O ICs providingMichael Knudsen
environment sensors. These are found at least on VIA Epia SN18000G boards. Not enabled at 0x162e and 0x164e because probing these may not be safe according to kettenis (guess where my schsio is). Much help from kettenis. Input from const and fgs. ok kettenis
2009-01-22Make re(4) at pci(4) detachable.Mark Kettenis
ok jsg@, miod@
2009-01-22Add support for Moxa CP-104JU, 4xrs232Jonathan Gray
from/tested by Joerg Niendorf in pr 6053.
2009-01-22regenJonathan Gray
2009-01-22Moxa CP-104JU another puc fromJonathan Gray
Joerg Niendorf in pr 6053.
2009-01-21Replace timeout_add(msecs * hz / 1000) with timeout_add_msec(msecs).Alexander Yurchenko
No functional changes. ok krw@ miod@
2009-01-21It turns out that Sun USB keyboards really follow the HID specification forMiod Vallat
its country code, but I had forgotten one line in the layout table. This now picks the correct layout for swedish and british (uk) sun keyboards.
2009-01-20Add workaround for broken ATI southbridges; inspired by how Linux handles this.Mark Kettenis
Fixes PR 5916 & 5959. ok toby@
2009-01-20Install ACPI S3 resume trampoline code in a lowmem page. First partMike Larkin
of ACPI S3 suspend/resume support. This is for i386. Help/comments from art, toby, marco, jordan, kurt ok marco@, kurt@
2009-01-20Change the ``buf'' parameter of sdla_{peek,poke}_by_4()Alexander Yurchenko
from void * to u_int_8 * to avoid redundant and illegal lvalue casts. No functional changes. ok krw@
2009-01-20Don't use (type *)var as an lvalue, it's incorrect. No functional changes.Alexander Yurchenko
ok jakemsr@ krw@
2009-01-19Add support for Novatel Wireless Ovation U727.Jonathan Gray
Tested by Seth Hanford.
2009-01-19regenJonathan Gray
2009-01-19Novatel U727Jonathan Gray
2009-01-18Update copyright.Alexander Yurchenko
2009-01-18Put ccb back on free list if we bail out because we can't map theKenneth R Westerback
data buffer.
2009-01-18Don't lose ccb's if there are problems allocating the structures neededKenneth R Westerback
to issue a command.
2009-01-17Add support for DS1822 to owtemp(4).Alexander Yurchenko
2009-01-17use 24-bit precision (encoded in 32-bit words) rather thanAlexandre Ratchov
fake 32-bit precision. Allowed by recent audio(4) changes.
2009-01-17A couple of stray malloc/memset -> malloc(M_ZERO), a bit of knf andKenneth R Westerback
lose a couple of unnecessary casts. No functional change. Feedback from kettenis@ ok kettenis@ marco@
2009-01-16support 20 and 24-bit sample formats. remove the unneeded "validbits"Jacob Meuser
handling. ok ratchov; tested by naddy, thanks
2009-01-16deal with sample precisions that are not a power of 2.Jacob Meuser
discussed with and ok ratchov; manpage tweak from naddy, thanks
2009-01-16add IT8720F supportOleg Safiullin
thanks to Vit Skibinskiy <bucker(ik)skibinski.pp.ru>
2009-01-16Add Attansic L1 gigabit Ethernet driver.Kevin Lo
Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD by Sepherosa Ziehau and then ported to OpenBSD by me. ok dlg@
2009-01-15regenDamien Bergamini
2009-01-15PCI IDs for Intel WiFi Link 100 and 6000/6050 Series.Damien Bergamini
2009-01-15const void foo() makes no sense. No binary change.Alexander Yurchenko
ok niklas@ otto@
2009-01-14cap device's speed to the parent's one if higher. from FreeBSD.Federico G. Schwindt
krw@ miod@ ok.
2009-01-13Trivial lvalue abuse fixes, no binary changes.Alexander Yurchenko
ok millert@ tedu@