summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2012-09-19Add new drivers for virtio network (vio) and block devices (vioblk, the disksStefan Fritsch
attach as scsi disks). These are paravirtualized devices offered by some hypervisors like kvm and virtualbox. The virtio transport driver has the pci specific parts separated out. This will make it easier to add support for mmio (e.g. for ARM) later. OK mikeb OK jasper "commit what you have" deraadt
2012-09-19match some more LAN95xx device idsJonathan Gray
2012-09-19SMSC LAN95xx 10/100 USB Ethernet driver, ported from FreeBSD.Jonathan Gray
'turbo mode' having multiple rx packets in a single usb transaction similiar to what newer asix chips do is disabled as it seems to cause many rx errors and breaks fragmentation. checksum offloading while apparently supported by the hardware is currently disabled.
2012-09-18several tweaks to make mpi(4) work for vmware emulated sas adapters.David Gwynne
1. vmware advertises more scsi targets than command slots, so the maths we did for openings gave each target 0 openings. always advertise at least 16 openings. 2. if we cant configure the ATA queue depth, dont fail to attach the controller whole. finally, improve the error reporting during attach so its more obvious where things fail. mostly figured out by jmatthew@
2012-09-18the 'WIDE' was droppedJasper Lievisse Adriaanse
2012-09-18support the Lenovo ThinkVision LT1421Jasper Lievisse Adriaanse
ok mglocker@
2012-09-18regenJasper Lievisse Adriaanse
2012-09-18add Lenovo ThinkVision LT1421 (portable displaylink monitor)Jasper Lievisse Adriaanse
2012-09-18add support for 1366x768 widescreen displays; tested on the Lenovo ↵Jasper Lievisse Adriaanse
ThinkVision LT1421. feedback and ok mglocker@
2012-09-18Wait until all xfers have finished before giving up DMA buffer mappings.Gerhard Roth
ok deraadt@, mikeb@
2012-09-18- use nitems() here; no binary change.Jasper Lievisse Adriaanse
ok mglocker@
2012-09-17Bit field name was confused. Not MCS08 but MCS09.YASUOKA Masahiko
diff from Masanobu SAITOH. ok jsg
2012-09-17add sensor category and moved some devices to the category.Yojiro Uo
2012-09-17regenYojiro Uo
2012-09-17add Toradex productsYojiro Uo
2012-09-13tell mii_attach where the phy is on the chip, rather than asking it toDavid Gwynne
probe every address and have bge_miibus_read fail at the wrong address. needed to support recent chips which have phys in locations other than phy address 1 (and removes a conditional in an io path).
2012-09-13regenjoshua stein
2012-09-13recognize the Intel Centrino Advanced-N 6235joshua stein
2012-09-12match on another axis AX88772B that comes with the asus ux21/ux31ajoshua stein
2012-09-12regenjoshua stein
2012-09-12add another ASIX AX88772B devicejoshua stein
2012-09-12Use sg_addr instead of sg_lo_addr, leftovers from last commit.Christiano F. Haesbaert
ok dlg
2012-09-12Make sure we don't sleep on autoconf.Christiano F. Haesbaert
ok mikeb
2012-09-11Support FTDI FT2232H. This has a new base clock rate, different divisor,Theo de Raadt
and the buffersizes are now taken from the endpoint descriptors. From Raphael Graf
2012-09-11Check that the host supports GET_SPEED as well as GET_VERSION before decidingDarren Tucker
vmt_probe has succeeded. qemu supports GET_VERSION but not the RPC protocol so the probe succeeds but the attach fails, resulting in "vmt0: failed to open backdoor RPC channel (TCLO protocol)". All known versions of vmware support GET_SPEED and no known qemu versions do, so this prevents it from attempting to attach (and failing) on qemu while still working on vmware. with & ok jmatthew@ dlg@
2012-09-10autoconf is not the right place to sleep; noticed by haesbaertMike Belopuhov
2012-09-08Don't use mtrr if we are not on i386/amd64.Martin Pieuchot
ok kettenis@
2012-09-08Instead of having yet an other option to compile the drm code without agpMartin Pieuchot
support, wrap all the agp glue with 'if __OS_HAS_AGP' in such form that it is true if the agp(4) driver is present. ok kettenis@
2012-09-07Call pci_min_powerstate() to determine the lowest possible powerstate insteadMark Kettenis
of hardcoding it to D3.
2012-09-07Add a new function called acpi_pci_min_powerstate() that returns the lowestMark Kettenis
power state for a PCI device for the power state (currently S3 or S4) we're transitioning into. This function is probably too simplistic; there is a lot of (silly) complexity in the ACPI spec. ok deraadt@
2012-09-07Fixup a memory access fault on an invalid reply. Quoting the spec:Mike Belopuhov
The host driver must ensure that there is at least one unused entry in the Reply Free Queue. One way to ensure that this requirement is met is to never allocate a number of reply frames that is a multiple of 16. So bring back the old logic of calculating the RFQ depth and add a comment explaining why is it done. Duh!
2012-09-04The powerlevel is an unsigned int, there is no need to check for negativeClaudio Jeker
values and even if this would make more sense. Found by brad some time ago.
2012-09-03add Intel 7 series kt (amt serial over lan)Jonathan Gray
2012-09-02Dont "#ifdef DIAGNOSTICS" out umidi_jack->intr.Alexandre Ratchov
Unbreaks compilation with no DIAGNOSTICS defined. From Artturi Alm <artturi.alm at gmail.com>. Thanks
2012-08-31Wake on LAN support for nfe(4). Tested by me, russel on misc@, and jsg.Stefan Sperling
ok jsg
2012-08-30Determine the memory and mmio regions based on previously initialzed BARMartin Pieuchot
structures and add the necessary glue to attach drm(4). ok kettenis@
2012-08-30Use only one macro instead of two to turn debug printf on.Martin Pieuchot
ok kettenis@
2012-08-30make a variable that can take a value of -1 signed to match what theJonathan Gray
rest of the code expects. from brad
2012-08-28oops. a bit of debugging code has sneaked inMike Belopuhov
2012-08-28Get rid of several ill-defined concepts and use more informationMike Belopuhov
provided by the IOC. Cleanup scatter-gather code and add more comments. Tested by a "make build" and bonnie++ torturing on a SAS2004 with an IR firmware.
2012-08-26htole64 works as good as htole32 twice for dma virtual addresses.David Gwynne
2012-08-25Better detection of the st16650 v1 (with the broken fifo). Gets rid ofMark Kettenis
false positives like the DUART on the MPC8347 as found on socppc. ok deraadt@
2012-08-25Turns out the v445 isn't happy at all if we touch the registers that dealMark Kettenis
with sleep mode. So skip the wakeup code as well if we are a serial console. The port on the v445 almost certainly isn't a real st16650 and probably doesn't implement sleep mode (perhaps someone cut the soft core down a bit too much?). But it is indistinguishable from it, so we have to deal with it. ok deraadt@
2012-08-25Add support for power saving in Host AP mode.Mark Kettenis
ok stsp@, deraadt@
2012-08-25Make sure we disable interrupts on attachment before re-enabling.Christiano F. Haesbaert
ok dlg@.
2012-08-25Small cleanup.Christiano F. Haesbaert
ok dlg@.
2012-08-25some endian fixes.David Gwynne
2012-08-23cleanup calculations in iocfacts a bit: number of reply frames doesn'tMike Belopuhov
have to be not multiple of 16, recalculate request credit and number of replies if their sum exceeds MaxReplyDescriptorPostQueueDepth. tested on SAS2004 with bonnie++.
2012-08-23whitespace cleanup; no functional changeMike Belopuhov
2012-08-23use BUS_DMA_ZEROMike Belopuhov