summaryrefslogtreecommitdiff
path: root/sys/dev/pci
AgeCommit message (Collapse)Author
2013-10-11match Intel 8 Series SMBus (Lynx Point and Lynx Point-LP)Jonathan Gray
tested by RD Thrush on Lynx Point
2013-10-08all the chips rings are protected by a single mutex, which is used in bothDavid Gwynne
the scsi_cmd and intr paths. scsi_done can restart io though, which means the mutex will be tried recursively which panics. defer scsi_done calls after mtx_leave by putting completed ccbs on a list on the stack that we can walk. i hate locks.
2013-10-08set xs->resid to 0 on successful command completion. makes things work.David Gwynne
2013-10-08ring producers and consumers are 32bit counters, while the ringDavid Gwynne
sizes are much much smaller. you need to mask the req ring producer with its size to get its actual entry. also stops scribbling over memory you dont really own. lets esxi guests boot without panicking now. maybe itll fix jsgs workstation panic too. fusion and esxi can do some io now, but not get I/O errors writing to write an mbr with fdisk -i.
2013-10-08vmwpvs(4), a driver for VMware Paravirtual SCSI things in vmware guests.David Gwynne
i got it working on the eurostar while bored, and its at a point where it will work given a bit more attention rather than just being a way to occupy my time. there's some cool use after frees and a lack of hotplug support to work on ok krw@ jsg@
2013-10-06Add quirk for ALC260 found on Acer Extensa 6700.Raphael Graf
ok ratchov@
2013-10-05add and use gtt mapping flags, further reduces the diff to linuxJonathan Gray
ok kettenis@
2013-10-04Fix tuner ioctl TVTUNER_SETFREQ after rev 1.30.Brad Smith
Pointed out by Pedro ok krw@
2013-10-03Another fix from Linux that ended up being packported to the 3.8.13 stableMark Kettenis
branche maintained by the Ubuntu folks. Original linux commit message: 'Fix incoherence with fence updates on Sandybridge+'. ok jsg@
2013-10-02regenJonathan Gray
2013-10-02cleanup the VMware entries and add AHCI/HD Audio/xHCIJonathan Gray
ok sthen@ deraadt@
2013-10-01Emulate 64-bit atomic operations on 32-bit architectures by using a mutex.Mark Kettenis
ok mpi@, jsg@
2013-10-01Use %z* for size_tStefan Fritsch
while there, fix a few %d into %u
2013-10-01regenJonathan Gray
2013-10-01rename some Xeon E3-1200v2 ids that are actually generic 3rd gen core idsJonathan Gray
2013-09-30move the read/write functions and macros closer to linuxJonathan Gray
noteably this uses the gt lock and force wake in some cases and includes a gen5/ironlake errata. ok kettenis@
2013-09-30drmclose: don't unref objects with a mutex locked.Jonathan Gray
Some free functions (radeon) grab sleeping locks. Instead when we ahve taken the object off the tree we unlock and unref, then regrab before looking again. from oga in bitrig, ok kettenis@
2013-09-28Another puc(4) device based on Oxford chipset found in a StartechMike Larkin
expresscard serial card
2013-09-28regenMike Larkin
2013-09-28Another puc(4) device based on Oxford chipset, found in a StartechMike Larkin
expresscard serial card
2013-09-25Unbreak the tree; no 64-bit atomic operations on 32-bit architectures for now.Mark Kettenis
found out the hard way by chris@ and mpi@
2013-09-24Make (almost all) atomic operations really atomic.Mark Kettenis
Potentially fixes a race/panic reported by claudio@ ok jsg@
2013-09-24Make sure vblank_time_lock blocks interrupts to match Linux.Mark Kettenis
Potentially fixes a race/panic reported by claudio@ ok jsg@
2013-09-23regenJonathan Gray
2013-09-23correct some radeon entries and add new Intel Ethernet and 8 series idsJonathan Gray
2013-09-22Support MSI for virtio. This is useful for bhyve.Stefan Fritsch
2013-09-21regenMiod Vallat
2013-09-21Oxford OXPCIE952 parallel port puc(4) board; contributed by Markus UhlinMiod Vallat
(markus.uhlin; bredband dot net), thanks!
2013-09-21regenJasper Lievisse Adriaanse
2013-09-21add several devices found on the hp microserver gen8 and add some moreJasper Lievisse Adriaanse
xeon e3-1200v2 pcie ids while here as suggested by jsg@ ok jsg@
2013-09-18sync the execbuffer relocation code with linux 3.8.13Jonathan Gray
with the fastpath and cpu relocs disabled for now. eb_* functions based on code in FreeBSD. ok kettenis@
2013-09-17Add support for AMD Family 15h Models 10h-1Fh Processors.Mark Kettenis
2013-09-17regenMark Kettenis
2013-09-17Rename existing AMD Family 15h Models 00h-0Fh Processor entries and addMark Kettenis
a bunch of AMD Family 15h Models 10h-1Fh Processor entries.
2013-09-13Fix sign of returned error code.Mark Kettenis
ok jsg@
2013-09-12sync drm_mm with linux 3.8.13Jonathan Gray
2013-09-11regenMark Kettenis
2013-09-11Another AMD Hudson-2 PCIE bridge.Mark Kettenis
2013-09-10Enable some code that seems to relate to an errata forJonathan Gray
Crystalwell/eDRAM Haswell parts. Original linux commit mesage: 'This magic brings stability to HSW CRW machines.'
2013-09-08switch to using linux style pci match tablesJonathan Gray
fixes some omissions and flag errors for radeon and removes the duplicate table for i915
2013-09-08Unbreak vmx(4) on i386. The right shift of 32 bits for the DSHReyk Floeter
register (driver shared address high) exceeded the width of the 32bit bus address; casting the address to a 64bit type will correctly result in a zero value on i386 and the high bits on amd64.
2013-09-06Missing semicolons.Martin Pieuchot
ok jsg@
2013-09-02fb refcount must be initialised to 1 not 0 to match the behaviourJonathan Gray
of the linux kref functions. Switch to using the FreeBSD refcount api for the fb refcount while here.
2013-09-02use DRM_MEMORYBARRIER() for smp_mb__*Jonathan Gray
2013-09-02add static back to functions that originally had itJonathan Gray
reduces the diff to linux
2013-09-01drm/radeon: update line buffer allocation for dce6Jonathan Gray
We need to allocate line buffer to each display when setting up the watermarks. Failure to do so can lead to a blank screen. This fixes blank screen problems on dce6 asics. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=64850 from a proposed Linux patch by Alex Deucher of AMD. Fixes problems with multiple displays on pitcairn reported by Alexis de BRUYN.
2013-09-01drm/radeon: update line buffer allocation for dce4.1/5Jonathan Gray
We need to allocate line buffer to each display when setting up the watermarks. Failure to do so can lead to a blank screen. This fixes blank screen problems on dce4.1/5 asics. from a proposed Linux patch by Alex Deucher of AMD.
2013-08-30Turn on msi for mfii(4).Christiano F. Haesbaert
There is a family of Supermicro boards where the apic pin is incorrectly mapped on acpi, it tells us the pin for "Intel boot interrupts". Since this is a fairly new chip, lets use MSI as no one else is probably using it via apic, this fixes the routing issues. Machines/Motherboards seen so far with incorrect routing: Supermicro X9DR3-F Supermicro X9DRH + Symbios Logic MegaRAID SAS2208 Fujitsu primergy RX300 S7 + Symbios Logic MegaRAID SAS2208 ok dlg@
2013-08-29Add support for advanced btcoex. This commit is not really neededSylvestre Gallon
but it reduces the diff against the FreeBSD version. Tested on: My Wifi Link 130. jca@ Wifi Link 5300. Jan Stary Wifi Link 4965 (thanks). Adapted from FreeBSD r220894. ok mpi@.
2013-08-28vmx(4) uses 4 different types of 128bit descriptors in little-endianReyk Floeter
format for Rx and Tx. Replace the bit fields in the descriptor structs with 32bit words to access them with traditional bit operations using shifts and masks. We try to avoid bit fields in OpenBSD. For consistence with other drivers, this change also uses letoh32/htole32 endianess conversions even if it is very unlikely that vmx will ever run on a big-endian VM/host. discussed with uebayasi@ and deraadt@