summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2010-06-27regenMike Larkin
2010-06-27Remove redundant 'Intel' from Clarkdale and Arrandale video names.Mike Larkin
ok oga@
2010-06-27"Believe it or not," nothing uses scsi_xfer's req_sense_length fieldMatthew Dempsky
in any meaningful way, so just get rid of it. ok krw@, dlg@
2010-06-27mpii was modelled very heavily on mpi which means that it inherited a splitDavid Gwynne
of pci specific code and the rest of the driver. in hindsight, this was a stupid thing to do in mpi since there will only ever be pci based mpi controllers. the same goes for mpii, but unlink mpi it doesnt have the bus and generic driver split at the file level, just in the code. this merges the pci and generic mpii autoconf code so its just mpii autoconf code. apologies for the files.pci change. tested by me ok marco@
2010-06-27GPIO quirk for IDT 92HD71B7 in HP laptops (such as HP HDX 18)Jacob Meuser
2010-06-26make sure widgets are connected to usable widgets by default.Jacob Meuser
for example: outputs.sel7_source= -> outputs.sel7_source=adc-0:1 on the HP HDX 18
2010-06-26PCH needs its own Low Power Link Up code as it it is configuredJonathan Gray
in the PHY instead of the MAC like ICH8.
2010-06-23regenDavid Gwynne
2010-06-23fusion-io devicesDavid Gwynne
2010-06-23regenDavid Gwynne
2010-06-23PLX PEX 8624 as found in a dell r815.David Gwynne
2010-06-23regenDavid Gwynne
2010-06-23add a metric buttload of RD890 pcie bridgesDavid Gwynne
2010-06-22protect the ccb free list with a mutex rather than relying on splbioDavid Gwynne
2010-06-21Initial support for PCH based em adapters with 82577 PHY,Jonathan Gray
from Laurence Tratt based on FreeBSD code. Confirmed to work on lenovo t410i/t410s/x201. Desktop machines with PCH tend to be paired with a 82578 PHY, these will at some point be supported but not yet. ok claudio@
2010-06-21Add some more ids for existing mac and phy types foundJonathan Gray
in the FreeBSD driver. ok claudio@
2010-06-20sync the list of device and phy ids with FreeBSDJonathan Gray
2010-06-20regenJonathan Gray
2010-06-20add a bunch of em devices from FreeBSDJonathan Gray
2010-06-20Lock the sample rate of es1731-based devices to 48kHz (ie theAlexandre Ratchov
codec rate). The es1731 has a hardware sample rate converter but we don't know how to program it (no documentation) and the current code is wrong (breaks full-duplex). ok jakemsr, landry
2010-06-15dont pass the dev_t from the scsi device drivers into the midlayer forDavid Gwynne
ioctl requests, and dont pass the proc pointers around for any ioctl requests in scsi land at all. neither were used, so trim the fat. ok krw@ marco@
2010-06-12add missing arg to a printf callJonathan Gray
ok oga@
2010-06-07Fix various problems of auich on SiS 7012 based chips:Alexandre Ratchov
- rework auich_halt_pipe() and use it to ensure AUICH_RR is set only after DMA is halted (spec says to do so) - rework auich_calibrate(): clear interrupt and event bits in AUICH_STS and ensure CIV counter is not changed. - in the interrupt handler, set LVI to (qptr - 1) rather than the max value (bug introduced by previous commit) All fixes are from Christopher Zimmermann <madroach at zakweb.de>, Thanks! tested on two different intel-based auich devices, ok jakemsr
2010-06-07Proper range check in radeon_emit_packets(); ok oga@Miod Vallat
2010-06-05change sign extension such that we do not rely on >> being anDamien Bergamini
arithmetic shift on signed integers.
2010-05-27Add missing license (amd, mit/x11)Owain Ainsworth
armani@ noticed that is was missing.
2010-05-26add a new getparam member to get the contents of scratch register 3 (theOwain Ainsworth
one we use to dump the software interrupt number). For some strange reason noticed upstream, writeback doesn't seem to be working for this value for use, so instad of using the get_scratch functions, we fallback to a direct register read (more bus traffic, but it actually works). This is to be used by new mesa on r100 and r200 since they reworked stuff for dri2, and we have local patches that prevent userland mapping the registers in dri clients. Tested by Josh Elsasser on a M9 (rv250), thanks very much to him.
2010-05-26- no need for a separate mpii_minphys;Marco Peereboom
- save about 26K of kernel memory by giving scsi subsystem a hint that we won't be using more than one lun per target; - remove a debugging leftover. from Mike Belopuhov <mkb@crypt.org.ru>
2010-05-25The logic in this function is a little tricky (though correct).Owain Ainsworth
Explain how an invaviant is satisfied and add an assertion to check (never hit that one). As a side benefit clang doesn't bitch about a possible NULL deref now.
2010-05-25Having just calculated which sequence number we wish to wait for (soOwain Ainsworth
that in the reading-only case we need only wait for all gpu writes to be done and flushed), don't then wait for the full seqno anyway. Found by Clang's static analyser where it flagged a dead store to the seqno variable.
2010-05-25rename struct drm_i915_private to struct inteldrm_softc, to be more inOwain Ainsworth
line with everything in the tree. No functional change. I have wanted to do this for ages! More cleanup will be forthcoming.
2010-05-25Remove the DRI1 code paths from inteldrm as promised two weeks ago.Owain Ainsworth
We no longer support these paths, only memory managed mode is now allowed.
2010-05-24Support fibre PHY on BCM5709S. From FreeBSD via Brad.Stuart Henderson
Tested by Brad on: BCM5706, BCM5708C Tested by me on: BCM5716 (BCM5709 PHY)
2010-05-24regenJonathan Gray
2010-05-24shrinkJonathan Gray
2010-05-24atascsi may (will) reuse ata_xfers, meaning the xa state thatDavid Gwynne
ahci_ata_cmd is called with might be the state of the xfer that ahci set previously. this stops ahci_ata_cmd from checking the state of ata_xfers its given, and instead trusts that atascsi is doing the right thing. reported and fix tested by matthew dempsky, who also did an awesome job of tracing the problem.
2010-05-24Remove the drm drivers that are not enabled (and have never been so).Owain Ainsworth
For now they are unmaintained, and work on kernel modesetting has very large inferface changes needing to be made. Also, when the radeon driver has been converted over, we will no longer support X with the DRI1 protocol, only DRI2. When the upheaval has finished, these drivers may be brought back after work to switch them to DRI2 style memory management and kernel modesetting has been done, but until then they are unsupported and probably broken (i know at least two of them have been reported broken before now). ragedrm will likely come back as a component of radeon (their interfaces are still fairly similar). The other drivers require rewriting. I have been threatening to do this for over a year. Discussed with deraadt@ and matthieu@ at various points since then.
2010-05-23remove another piece of ancient #ifdef arc codeTheo de Raadt
2010-05-23fix another signed/unsigned slipt. no functional change. I hate thisOwain Ainsworth
header. Found by Clang static analyser.
2010-05-23rely on __alpha__, __amd64__, and __i386__ insteadTheo de Raadt
2010-05-20New scsi code seems to be stable. Pluck previously identifiedKenneth R Westerback
low-hanging splbio/splx pairs that are no longer needed and see if this reveals any hidden scsi flaws. ok dlg@
2010-05-19BUS_DMA_ZERO instead of alloc, map, bzero.Owain Ainsworth
ok krw@
2010-05-19BUS_DMA_ZERO love.Owain Ainsworth
ok kevlo@, krw@
2010-05-18Add as yet untested support for the 82576 quad copper ET2Jonathan Gray
based on information in the linux driver. ok claudio@
2010-05-18regenJonathan Gray
2010-05-18Add some more em devices and workbit CF ATA.Jonathan Gray
2010-05-18bus_dmamem_alloc() ...; bzero/memset(); ->Owain Ainsworth
bus_dmamem_alloc(, BUS_DMA_ZERO); "ok on all the ones with my copyright" marco@
2010-05-18oops. needs_fence should still be conditional on tiling due to the needsOwain Ainsworth
fence execbuffer logic.
2010-05-18Always invalidate fences in pin if they are invalid, not just if we needOwain Ainsworth
a fence. This will stop the case where a newly untiled buffer that has been reused will be execed as if it was tiled, causing havok. Solves the PTE errors on mlarkin's 945. He has another bug that he is currently bisecting for me which I am looking into.
2010-05-17regenJonathan Gray