summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2011-01-13syncAlexander Yurchenko
2011-01-13A few devices found on Dell Inspirion N5010; from yason@linklevel.netAlexander Yurchenko
2011-01-13Get rid of "forever" loop in the interrupt handler such that we drop out of theMark Kettenis
interrupt handler if the "no rx buffer available" bit is set and no new mbufs are available to populate descriptors. While it doesn't make livelock mitigation work for everybody, it does resolve some lockup issues. ok sthen@
2011-01-12A bunch more explicit_bzero calls for key materialTheo de Raadt
ubsec tested by mikeb, hifn tested by kettenis ok mikeb
2011-01-12use explicit_bzero() for key materials, including that in the session.Theo de Raadt
there was also a local buffer which was left around
2011-01-12explicit_bzero() of key material in drivers few people useTheo de Raadt
2011-01-11for key material that is being being discarded, convert bzero() toTheo de Raadt
explicit_bzero() where required ok markus mikeb
2011-01-10Some nfe(4)/rlphy(4) combos don't work, because the PHY responds to allMark Kettenis
addresses on the mii bus. As a countereasure, only attach the first PHY we encounter. It is very unlikely we're going to ever see nfe(4) with multiple PHYs. The same is probably true for any modern NIC. ok mikeb@, deraadt@
2011-01-09trust the Tx/Rx chains masks in ROM except for the 4965 and 5100Damien Bergamini
which are known to have broken ROMs.
2011-01-09cleanup; change the way opns are attached.Damien Bergamini
include a fix for Intel Centrino Advanced-N 6250 devices by Antonio R Nicolosi.
2011-01-08syncTheo de Raadt
2011-01-08new radeon; Claus AssmannTheo de Raadt
2011-01-08clear pci configuration register 0x41 on resume, like during attach.Damien Bergamini
only clear it if it is != 0 while i'm at it.
2011-01-03syncAlexander Yurchenko
2011-01-03Add Radeon HD 3450 AGP; from yason@linklevel.netAlexander Yurchenko
2010-12-31regenDamien Bergamini
2010-12-31cleanup the mess in iwn(4) intel wireless pci ids and add new ones.Damien Bergamini
2010-12-31move the printing of the MAC address to the same line than the MAC rev.Damien Bergamini
2010-12-31Make the athn(4) back-end more bus agnostic by moving read and writeDamien Bergamini
operations to callbacks in the PCI and CardBus front-ends. This will allow support of other buses like USB. Assume the following memory model: - writes are ordered but may be buffered and require explicit flush - a read always flushes all buffered writes
2010-12-30Only disable I/O and memory space and bus mastering if we're actually goingMark Kettenis
to put the device into D3. Fixes PCI power management issues that prevented acpi (and perhaps apm) suspend on some machines. tested by & ok mlarkin@
2010-12-29implement timeouts of scsi commands.David Gwynne
timed out scsi commands get put on a list and an iohandler is scheduled. that iohandler pulls the timed out scsi command off the list and issues a task management request to kill all outstanding io on the target with the timed out io. all io killed as a result of this request will be returned to the midlayer with their status set to XS_RESET, which in turn will cause the midlayer to retry the command. this relies on the previous commit.
2010-12-29make mpii properly detach devices, which helps a lot if they have commands ↵David Gwynne
in flight. to relevant changes are: - call the activate(DVACT_DEACTIVATE) function against all the luns on the target that is going away as soon as possible. - issue the target reset BEFORE detaching the children devices. this is needed now tha the midlayer will sleep until all outstanding commands on a device come back from the adapter before calling the child devices attach routine. tested on straight disks and on disks in enclosures. ok and moral support from krw@
2010-12-26Kill pmap_phys_address(), and force every driver's mmap() routine to returnMiod Vallat
a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument]. This allows MI drivers to implement mmap() routines without having to know about the pmap_phys_address() implementation and #ifdef obfuscation.
2010-12-24regenAlexandr Shadchin
2010-12-24Add info for Intel (Core Host), ATI (Radeon HD 5670)Alexandr Shadchin
ok krw@
2010-12-23regenJasper Lievisse Adriaanse
2010-12-23- sort previousJasper Lievisse Adriaanse
- add my sata controller ok krw@
2010-12-23SyncKenneth R Westerback
2010-12-23Add info for Intel (CORE DMI), nVidia (GT425M, GF108 audio), JMicronKenneth R Westerback
(SD, SD/MMC, MS, xD) parts on Dell XSP L401X that were showing up as 'unknown'. ok deraadt@
2010-12-22* recognize/support the Dynex DX-SC51 in envy(4)Jacob Meuser
* allow ac97(4) flags to be set in envy(4), if there is an ac97 codec * configure the vt1616 codec on the Dynex DX-SC51 for multi-channel operation ok ratchov
2010-12-16no need to poke the vmspace, uvm_map_hint does what we want. ok ogaTed Unangst
2010-12-15Bring CBC oracle attack countermeasure from r1.32 of cryptosoft.c toMike Belopuhov
the hardware crypto accelerator land. This fixes aes-ni, via xcrypt, glxsb(4), hifn(4), safe(4) and ubsec(4) drivers. Original commit message by angelos: Don't keep the last blocksize-bytes of ciphertext for use as the next plaintext's IV, in CBC mode. Use arc4random() to acquire fresh IVs per message. with and ok deraadt, ok markus, djm
2010-12-15add a BRKSIZ define and use it for the heap gap constant, decouplingTed Unangst
heap gap from max data size. nothing else changes yet. ok deraadt
2010-12-14use the dying flag in struct usbd_bus instead of a private dying flagJacob Meuser
in *hci_softc ok miod@, krw@
2010-12-08Fix compilation with option CBB_DEBUG; noticed by Dave Anderson on misc@Miod Vallat
2010-12-05PCIe based sparc64 machines have always supported access to the extended PCIeMark Kettenis
configuration space. So on pyro(4) and vpci(4) return the size appropriate for the extended PCIe configuration space. ok miod@
2010-12-04Check the register offset against the device's configuration space size inMiod Vallat
the PCIOCREAD and PCIOCWRITE ioctls. ok kettenis@ (also ok mikeb@ on an earlier version of this)
2010-12-04Introduce a new pci routine, pci_conf_size(), which returns the size of aMiod Vallat
given pcitag_t configuration address space. Currently, all pci controllers will return the usual 0x100 bytes of PCI configuration space, but this will eventually change on PCIe-capable controlers. ok kettenis@
2010-12-01Add definition for "Extended Synch" bit in PCIe Link Control register.Damien Bergamini
From PCI Express(R) Base Specification Rev 2.0.
2010-12-01regenDamien Bergamini
2010-12-01PCI id for Atheros AR9485.Damien Bergamini
This is a single-stream single-band AR9300.
2010-11-18Mark NVIDIA MCP89 SATA controllers as such. Makes them use DMA instead of PIOMark Kettenis
such that we get decent performance out of them. ok jsg@
2010-11-18regenMark Kettenis
2010-11-18Split the NVIDIIA MCP89 disk controller IDs into SATA, AHCI and RAID, followingMark Kettenis
the same scheme as the MCP79 ones. This is a guess, but it matches the changes the were made before, and ID 0x0d85 defenitely is in SATA mode. ok jsg@
2010-11-17the text editor sucksKevin Lo
2010-11-17Add support for Marvell 88E8059, found in HP mini 5102.Kevin Lo
Tested by Frans Haarman <franshaarman at gmail.com> ok jsg@
2010-11-15Reset ic_scan_lock in {ipw,iwi}_stop similarly to {wpi,iwn}_stop.Damien Bergamini
From Jeremy Chase.
2010-11-10Enable low latency interrupt moderation and set the LL intervalClaudio Jeker
to the maximum value to reduce the number of low latency interrupts hitting the card when the ring is getting full. Tested at least by deraadt@ on 99 and myself on 99 and 98 ix(4). OK mikeb@
2010-11-09correct some bit tests spotted by -Wparentheses in newer gcc.Jonathan Gray
ok oga@
2010-11-07regenMark Kettenis