summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2008-09-22Fix a typo.Brad Smith
2008-09-22Add PCI id's for the Intel ICH10 southbridge.Brad Smith
Based on a diff from Robert <robert at openbsd dot pap dot st>
2008-09-22Make sure some possibly uninitialized local variables are assigned correctMiod Vallat
values in all cases. ok marco@
2008-09-22Do not use an uninitialized local for comparison in azalia_rirb_intr().Miod Vallat
While there, fix a bounds checking error in azalia_[gs]et_port(). ok deanna@ ratchov@
2008-09-22regenBrad Smith
2008-09-22Add PCI id's for the Intel G41, G45 and Q45 GPUs.Brad Smith
2008-09-22regenBrad Smith
2008-09-22- Add XenSource vendor id and SCSI HBA product id.Brad Smith
- Add some more Intel ICH9 product id's. Most of the Intel product id's are from Robert <robert at openbsd dot pap dot st>
2008-09-21Add missing splnet to the ioctl handler.Brad Smith
ok jsg@
2008-09-18Introduce the infrastructure required to support hardware VLAN tagChristian Weisgerber
stripping: Add a field to the mbuf pkthdr to hold the tag and an mbuf flag that tells if the tag is valid. Inspired by FreeBSD. Struct packing suggested by kettenis@. csum_flags is now 16 bits. Adapt to this in the drivers. ok reyk@, henning@
2008-09-18Rework the drm locking to be at least halfway sane. The freebsd codeOwain Ainsworth
held a lock over all driver ioctls in order to be ``mpsafe''. Stop lying to ourselves for a start. This code is not fully mpsafe, and should not pretend to be so. Put the locking around where it should, and rely on biglock for the rest. This will need to be fixed, but avoids some of the horrible that we have right now. Tested by many over a long time and several iterations.
2008-09-18fix potential use of uninitialized valueCharles Longeau
Found by LLVM/Clang Static Analyzer. ok claudio@
2008-09-17Remove the unsupported media types explicitly listed in the switch casesBrad Smith
for MII_MEDIACHG. The default case will catch these media types. ok jsg@
2008-09-17ATI IXPx00 -> SBx00Brad Smith
2008-09-17Update for renamed ATI PCI ids.Brad Smith
2008-09-17regenBrad Smith
2008-09-17rev 1.1369 changed the SB200 entries to use the IXPx00 naming schemeBrad Smith
for consistency with the other entries already there. Revert that change. Also change the other entries for the SBx00 chipsets from using IXPx00 to using SBx00. IXPx00 was a code name used by ATI in addition to the SBx00 product name. As of SB700 and newer the IXPx00 name has been dropped plus SBx00 are more well known. requested by jsg@ awhile ago.
2008-09-17regenBrad Smith
2008-09-17- Fix a typo, Rebotics -> RoboticsBrad Smith
- Replace tabs with spaces as separator for two NVIDIA entries NVIDIA part from Antti Harri <iku at openbsd dot fi>
2008-09-17regenBrad Smith
2008-09-17Remove some duplicate NVIDIA entries and touch up some of the namesBrad Smith
to make the naming more consistent.
2008-09-15this driver uses three dma segments; play, record, calibrate.Jacob Meuser
instead of using a linked list to describe the dma segments use three distinct pointers. also, this driver only needs 1 buffer descriptor for each dma segment, since each buffer descriptor can handle as many samples as each segment can hold. makes the code a little easier to read and allows us to free the calibration buffer when we're done with it. idea originally from ratchov@ a while back. tested by ratchov@ and myself. ok ratchov@
2008-09-15Make this compile if !MULTIPROCESSOR.Mark Kettenis
ok brad@
2008-09-15regenBrad Smith
2008-09-15Add an IDT PCIe bridge.Brad Smith
2008-09-15I forgot to sync the NetBSD Copyright 2004-2008 update. Fix it.Marcus Glocker
Spotted by stu@ and miod@
2008-09-15Sync ehci-isoc part a bit up with NetBSD:Marcus Glocker
- Sign over Jeremy Morse's copyright (who contributed ehci-isoc support) to NetBSD copyright but still mention him as contributor. OK'd by Jeremy Morse. - Update TODO list. - Clarify the error message in case when a low/full speed isoc device has been attached to ehci. - Add a missing break so that the isoc setup code doesn't access uninitialized microframe content which has been request by the driver but not been used. OK kevlo@
2008-09-13fallback to 11b support if the EEPROM is not reporting any available mode.Reyk Floeter
there is probably a new EEPROM format here, but i don't know how to parse the AR5424 version yet, so just set some defaults for these chipsets for now.
2008-09-12In acpitz_setfan(), try to send fan commands to ``power resources'' objects.Miod Vallat
Makes a few hp laptops run cooler and quieter.
2008-09-12Remove bzero/memset calls after pool_gets by passing the PR_ZEROBret Lambert
flag to the pool_get call. ok art@, krw@
2008-09-12SCSI_DATA_UIO is never used. Code which checks for it is either dead orMiod Vallat
commented out, remove it. Unifdef TFS while there. ok marco@ krw@
2008-09-12Some fixes for dc_txeof()..Brad Smith
- Don't reload the watchdog timer in case there are still unhandled descriptors. - Don't clear IFF_OACTIVE unless there are at least 6 free TX descriptors. The function dc_encap() will bail if there are only 5 or fewer free TX descriptors, causing dc_start() to abort so it makes no sense to pretend we could process mbufs again when in fact we can't. - Always assign idx to sc->dc_cdata.dc_tx_cons; it doesn't make much sense to exclude the idx == sc->dc_cdata.dc_tx_cons case. From FreeBSD
2008-09-11Update for the renaming of the existing BCM4322 entry to SERIAL_2.Brad Smith
A COM port should not be misleadingly labeled as a Wifi chipset.
2008-09-11Remove the BCM4322 id. This is a 802.11n chipset and also requires v4 firmware.Brad Smith
2008-09-11regenBrad Smith
2008-09-11Re-add the Broadcom BCM4321 and BCM4322 PCI ids and correct the previousBrad Smith
entry labeled as BCM4322 which is actually a serial port.
2008-09-11regenMark Kettenis
2008-09-11Revert previous commit; it introduces duplicate #defines.Mark Kettenis
2008-09-11In rlphy_service() for the MII_TICK case don't bother to check whetherBrad Smith
the currently selected media is of type IFM_AUTO as autonegotiation does not need to be kicked anyway.
2008-09-11Fix a typo.Brad Smith
2008-09-11regenBrad Smith
2008-09-11Add Broadcom BCM4321 and BCM4322 PCI ids.Brad Smith
2008-09-11regenMiod Vallat
2008-09-11Broadcom BCM4315.Miod Vallat
2008-09-11Thermal Zone entities might not be direct object references, but namedMiod Vallat
references. Account for this, and the hp530 laptop won't spontaneously power down thinking internal temperature is over 500C. ok marco@
2008-09-11ANSI function declarations.Brad Smith
2008-09-11Remove the redundant local variable 'revision' from the PCI attach function.Brad Smith
The softc field dc_revision contains the PCI revision. No functional change.
2008-09-11Add missing license. Copy the license used elsewhere with the dc(4) driver.Brad Smith
2008-09-11For chips with a broken DC_ISR_RX_STATE which never signalsBrad Smith
stopped nor the waiting state and also no other means to check whether the receiver is idle, we have no choice but to call mii_tick unconditionally even in the case of the DC_REDUCED_MII_POLL handling as far as the RX side is concerned. This isn't necessarily worse than checking whether RX is idle though because unlike as with TX we're racing with the hardware, which might receive packets any time while we poll the MII, anyway. Fixes the use of trunk(4) with the affected interfaces. From FreeBSD
2008-09-10add support for the PCA9555 device which has 16 instead of 8 pins.Reyk Floeter
ok deraadt@