qemu-e2k/include/hw/pci
Paolo Bonzini e351b82611 hw: Add support for LSI SAS1068 (mptsas) device
This adds the SAS1068 device, a SAS disk controller used in VMware that
is oldish but widely supported and has decent performance.  Unlike
megasas, it presents itself as a SAS controller and not as a RAID
controller.  The device corresponds to the mptsas kernel driver in
Linux.

A few small things in the device setup are based on Don Slutz's old
patch, but the device emulation was written from scratch based on Don's
SeaBIOS patch and on the FreeBSD and Linux drivers.  It is 2400 lines
shorter than Don's patch (and roughly the same size as MegaSAS---also
because it doesn't support the similar SPI controller), implements SCSI
task management functions (with asynchronous cancellation), supports
big-endian hosts, has complete support for migration and follows the
QEMU coding standards much more closely.

To write the driver, I first split Don's patch in two parts, with
the configuration bits in one file and the rest in a separate file.
I first left mptconfig.c in place and rewrote the rest, then deleted
mptconfig.c as well.  The configuration pages are still based mostly on
VirtualBox's, though not exactly the same.  However, the implementation
is completely different.  The contents of the pages themselves should
not be copyrightable.

Signed-off-by: Don Slutz <Don@CloudSwitch.com>
Message-Id: <1347382813-5662-1-git-send-email-Don@CloudSwitch.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-02-09 15:45:26 +01:00
..
msi.h Add stream ID to MSI write 2015-05-31 20:29:02 +02:00
msix.h msix: add VMSTATE_MSIX_TEST 2015-10-24 18:02:48 +02:00
pci_bridge.h hw/pci-bridge: introduce "shpc" property 2015-06-23 22:57:48 +02:00
pci_bus.h hw/pci: add support for NUMA nodes 2015-06-03 18:19:18 +02:00
pci_host.h
pci_ids.h hw: Add support for LSI SAS1068 (mptsas) device 2016-02-09 15:45:26 +01:00
pci_regs.h pci_regs.h: import from linux 2015-07-08 10:09:56 +03:00
pci-assign.h hw/pci-assign: split pci-assign.c 2015-09-10 12:04:27 +00:00
pci.h hw/pxb: introduce pxb-pcie expander for PCIe machines 2015-12-22 17:45:13 +02:00
pcie_aer.h pci: fix several trivial typos in comment 2015-03-18 12:19:16 +01:00
pcie_host.h pci: Split pcie_host_mmcfg_map() 2015-01-26 20:25:52 +02:00
pcie_port.h
pcie_regs.h Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00
pcie.h qdev: HotplugHandler: Rename unplug callback to unplug_request 2014-10-15 05:03:13 +02:00
shpc.h hw/pci: introduce shpc_present() helper function 2015-06-23 22:57:48 +02:00
slotid_cap.h