summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2008-10-10Enable PCIe snooping on the remaining ATI/NVIDIA chipsets.Brad Smith
Fixes clicking and other noise related issues. ok ratchov@
2008-10-10missing spl() for codec command setting/retrievalJacob Meuser
from NetBSD via Alexey Suslikov, thanks "looks good" ratchov@
2008-10-08syncDamien Bergamini
2008-10-08new PCI ID for Intel WiFi Link 5350.Damien Bergamini
2008-10-07Kill a bunch of #ifdef freebsd/netbsd code in *_drv.c. No binary change.Owain Ainsworth
2008-10-07Kill the linux-ready negative return codes in ``shared'' code. We handleOwain Ainsworth
them wrong in several cases that i've noticed and Merging when needed is still fairly simple, anyway. This shaves another 500 bytes from an amd64 kernel due to not having to flip the sign on some things. It also stops my eyes bleeding. Tested by a few along with the last diff that went in.
2008-10-07Move dev->driver over to being a pointer to a const struct, instead of stupidlyOwain Ainsworth
filling in a pre-allocated one on each attach. Makes the code a bunch nicer, shrinks a kernel by about 1.5k on amd64, helps with my sanity, and paves way for later changes. Tested by a few for a couple of weeks now.
2008-10-07If we fail to read the MAC address from the eeprom, fallback to readingJoel Sing
the MAC address registers. In most cases these already have the correct MAC address. This should address PR5743. Thanks to Rodolfo Gouveia for testing earlier diffs. ok dlg@
2008-10-06regenJonathan Gray
2008-10-06Add some devices from submitted dmesgs.Jonathan Gray
2008-10-06syncTheo de Raadt
2008-10-06another geforceTheo de Raadt
2008-10-05Detect if the adapter is a PCIe adapter and set the RL_FLAG_PCIE flagBrad Smith
if so.
2008-10-05Always update published link state even if the internal link state doesn'tMark Kettenis
change. Prevents us from getting stuck in LINK_STATE_UNKNOWN. Fixes PR 5914. tested by deraadt@, sthen@ ok deraadt@
2008-10-04regenMark Kettenis
2008-10-04Some AMD RS780 IDs (same as those listed under ATI).Mark Kettenis
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@
2008-10-02according to the alsa driver for these devices, the hardware providesJacob Meuser
256 buffer descriptors, and the 256th descriptor is flakey. this driver uses one descriptor for each block of the buffer, so we need to make sure buffer size / block size < 256, or we will run out of usable descriptors. lets me play youtube videos via gnash on my auvia equipped machine. ok ratchov@
2008-10-02backout Tadpole specific non-dma workaround commited in 1.287, since itTheo de Raadt
appears the machine Mark got had a disk which failed very soon after that ok kettenis
2008-10-02Add the IBM 4810 ("SurePOS 300 Series") SCC to support the four additionalMarc Balmer
serial ports.
2008-10-02sync.Marc Balmer
2008-10-02Add IDs for the IBM 4810 BSP (Base System Peripherals) and SCC (SimpleMarc Balmer
Communications Controller) found on IBM SurePOS 300 series.
2008-09-30style nits.Brad Smith
2008-09-29Put back the ``address'' field to struct drm_buf, this allows machdrm toOwain Ainsworth
actually compile again (no one's tested it yet, still and I don't have one).
2008-09-29Fix mmap to always return the right value in the error path. While i'mOwain Ainsworth
here rework it a little bit to remove a shadowed variable.
2008-09-29always need the vlan includes; ok jsgTheo de Raadt
2008-09-27remove a debug printf that is no longer requiredJonathan Gray
2008-09-26Attach agp(4) to the Intel Q35 integrated video.Mike Belopuhov
Tested on ASUS P5E-VM DO motherboard. ok oga
2008-09-26Add drivers for the JMicron JMC250/JMC260 Ethernet controllersJonathan Gray
and JMicron JMP202/JMP211 Ethernet PHYs. Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD by Sepherosa Ziehau and then ported to OpenBSD by me. Thanks once again to JMicron for supplying hardware and information which made this possible. Some cleanup still needs to be done, and checksum offload needs to be sorted out, but the driver otherwise seems to work great. Comitted over a JMC250 card.
2008-09-25remove dead stores.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok jakemsr@
2008-09-25remove dead stores and newly created unused variable.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok brad@
2008-09-25remove dead store.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok brad@ krw@
2008-09-25remove dead store.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok claudio@
2008-09-24remove dead stores and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok henning@ brad@
2008-09-24remove dead stores and newly created unused variables.Charles Longeau
Found by LLVM/Clang Static Analyzer. ok ratchov@
2008-09-24Fix a vr(4) panic that occurs under high load.Marco Pfatschbacher
If the RX path runs into an out of mbuf scenario, the code will leave the RX chain with a NULL'd mbuf-slot. We now always reassign a valid mbuf, even if m_devget() fails. OK brad@, thib@
2008-09-23Rewrite two small sections of code in bge_blockinit() to simplify theBrad Smith
code. No functional change. ok krw@
2008-09-22regenBrad Smith
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-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-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-17ATI IXPx00 -> SBx00Brad Smith
2008-09-17Update for renamed ATI PCI ids.Brad Smith