summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2008-11-06Collapse all sanity checks of hids into one function.Marco Peereboom
Originaly from jordan
2008-11-06Fix a small bug which made it impossible to use more than oneMarcus Glocker
video control.
2008-11-06The EEPROM is lying about antennas. Hardcode things based on the chipDamien Bergamini
ID which is also what the vendor driver happens to do. Fixes a firmware SYSASSERT on the 5100 when adding the broadcast node. Reported by Jean-Michel Bessot and Robert <robert at openbsd.pap.st>
2008-11-06Oops. Forgot to commit this chunk with the last commit.Owain Ainsworth
Remove softc members and prototypes related to the tasklet system.
2008-11-06Make sure we do not unlock twice.David Hill
nice catch, oga@
2008-11-06Remove the drm_locked_tasklet interface. The only consumer that used itOwain Ainsworth
was the i915 vblank swap ioctl, which just went kaput.
2008-11-06The i915 vblank swap ioctl is fundamentally racy.Owain Ainsworth
using it allowed rendering to continue while waiting for a vblank swap, and often this lead to flickering and rendering a new scene before the swap. this broke a lot of things. With the removal of this swap, userland falls back to the old way of waiting for the vblank then doing the swap itself, this is smooth enough. I decided independantly to kill this, but the intel guys recently concurred. Comment change comes from Eric Anholt at intel.
2008-11-06regenBrad Smith
2008-11-06Add the PCI id for the Broadcom BCM5903F Ethernet chipset.Brad Smith
2008-11-06Set the IFCAP_VLAN_MTU capabilities flag so these interfaces are allowedBrad Smith
to transmit full sized VLAN tagged frames.
2008-11-05Remove some PCI macros no longer being used.Brad Smith
2008-11-05remove unused macros, partly from Alexey SuslikovJacob Meuser
2008-11-05* remove two custom unsolicited event handlers in favor of genericJacob Meuser
jack sense handling. makes azalia_generic_mixer_pinctrl useless, so zap it. * azalia_generic_mixer_pin_sense works well enough to not need guessing of pin direction in azalia_generic_mixer_default. from Alexey Suslikov, thanks
2008-11-04implement azalia_create_encodings, which scans through the supportedJacob Meuser
formats and creates an array of unique encodings. use the array in azalia_query_encoding. in other words, no more duplicate encodings in `audioctl encodings`.
2008-11-04need to take mode into account when verifying/setting parametersJacob Meuser
2008-11-04fix potential null dereference.Charles Longeau
Found by LLVM/Clang Static Analyzer. initial patch from me, rewritten by jsing@ ok jsg@
2008-11-04syncTheo de Raadt
2008-11-04new devsTheo de Raadt
2008-11-04If we need to call the tasklet function on unlock, we don't need to holdOwain Ainsworth
tsk_lock (which blocks irqs) for the whole call of the function, just when we manipulate the function pointer.
2008-11-04volume scaling/setting cleanup:Jacob Meuser
* MAX_VOLUME_255 has been defined for ages. remove this define and the code that was only being used when this wasn't defined. * remove azalia_generic_mixer_{max,validate_value} since they are pointless. * when setting both stereo channels to the same level, just set the right channel level to the left channel level instead of calculating both separately. from Alexey Suslikov
2008-11-04regenBrad Smith
2008-11-04Add PCI ids for the Intel 7300 MCH and some more IDT PCI Express switches.Brad Smith
2008-11-04pcidevsTheo de Raadt
2008-11-04another intel g45 devTheo de Raadt
2008-11-04Kill some more ttm only defines. No binary change.Owain Ainsworth
2008-11-04The drawable spinlock is no longer ever held in interrupt context (andOwain Ainsworth
won't be). It doesn't need to block interrupts anymore so switch to IPL_NONE.
2008-11-04Enable IMR passthrough of vblank events before enabling it in theOwain Ainsworth
pipestat register. Fixes a nasty race where the bit would get set without being reflected in the interrupt register, so we'd never get another vblank interrupt. Also, use the user_irq_lock to also protect vblank register writes, since it covers the same register. From Eric Anholt and Keith Packard at Intel.
2008-11-04Hold the drm lock around all things that touch the ringbuffer.Owain Ainsworth
Not strictly needed in the non-gem case, but it will be needed then, and doesn't hurt now. From Eric Anholt at intel.
2008-11-04revert the pageflipping and vblank sync code to the older style thatOwain Ainsworth
doesn't handle triple buffering (which has been marked ``don't use this, it's unstable'' for ever anyway) While the code just removed is in drm git. it's not planned to go any further, due to being a horribly ugly hack. Instead a proper fix which will depend on memory management is planned. So revert this stuff here, since it's now dead. Testing shows no regressions.
2008-11-03HW CCMP encryption/decryption of unicast frames.Damien Bergamini
HW support for other ciphers (TKIP) really sucks (no Michael MIC, not even TKIP Phase 1) and is thus not implemented here. fix a panic in iwn_fatal_intr() when dumping the firmware error log while i'm here.
2008-11-03regenRobert Nagy
2008-11-03add Radeon HD 3650Robert Nagy
2008-11-03Don't attach bio unless we do RAID.Marco Peereboom
2008-11-03support w83627dhg at i2c (as seen on Sun Ultra 24 via dmesg@) ok deraadt@Constantine A. Murenin
2008-11-02rcs tagsJonathan Gray
2008-11-02Remove second commented out call to ether_ifdetach() inJonathan Gray
mos_detach().
2008-11-02Remove duplicate call to ether_ifdetach() in axe_detach()Jonathan Gray
which has been there since rev 1.1. Spotted by Johann Christian Rode <jcrode@gmx.net>
2008-11-02Start updating isp. Just new defines, comments, whitespace, anything thatKenneth R Westerback
doesn't change the .o. Use isp_stds.h.
2008-11-02Start updating isp. Just new defines, comments, whitespace, anything thatKenneth R Westerback
doesn't change the .o.
2008-11-02Start updating isp. Just new defines, comments, whitespace, anything thatKenneth R Westerback
doesn't change the .o.
2008-11-01Add sensorsMarco Peereboom
2008-11-01Fix bogus shift.Marco Peereboom
2008-11-01Start updating isp. Just new defines, comments, whitespace, anything thatKenneth R Westerback
doesn't change the .o.
2008-11-01Oops forgot .h part.Marco Peereboom
2008-11-01Add disk. This makes bio mostly done however to make it pretty we needMarco Peereboom
to implement RAID_ACTION. Remains disabled for now.
2008-11-01new workq_create interface. discovered by Vladimir KirillovTed Unangst
2008-11-01set the appropriate value (0, not emulated) in the flags field ofJacob Meuser
struct audio_encoding in azalia_query_encodings. otherwise it will be some random value. makes AUDIO_GETENC and thus sio_getcap(3) much more useful here.
2008-10-31clean up error messages as suggested by jakemsrTheo de Raadt
2008-10-31Generalize function to obtain all details to do bio stuff. This is inMarco Peereboom
preparation to start showing unsused disks which will require all this information to do the math. While at it fix a size of hotspare volume bug.
2008-10-31Add opcodeMarco Peereboom