Module Name: src Committed By: snj Date: Fri Dec 23 06:33:56 UTC 2016
Modified Files: src/sys/arch/amd64/conf [netbsd-7]: GENERIC src/sys/dev/pci [netbsd-7]: files.pci virtioreg.h Added Files: src/sys/dev/pci [netbsd-7]: vioscsi.c vioscsireg.h Log Message: Pull up following revision(s) (requested by bsiegert in ticket #1338): sys/arch/amd64/conf/GENERIC: revision 1.418 sys/dev/pci/files.pci: revision 1.379 sys/dev/pci/vioscsi.c: revisions 1.1-1.8 sys/dev/pci/vioscsireg.h: revision 1.1 sys/dev/pci/virtioreg.h: revisions 1.5, 1.6 add the common flag bits -- Add vioscsi, compile tested only (toxic) -- this is working now, remove debugging. -- add vioscsi -- kill some more debugging. -- Fake mode sense data for illegal targets. qemu reports 256 targets... -- fix the status return. -- Use SCSIPI_CHAN_NOSETTLE. -- vioscsi_req_get()/virtio_enqueue_prep() failing is actually perfectly normal - observed failures included 10, 27, 61 in-flight commands, so probably depends on particular command mix; return with XS_RESOURCE_SHORTAGE rather then panic do vioscsi_req_put() when initial bus_dmamap_load() fails, as suggested by the XXX; the vq_done hook is called by virtio, but in that case we never get to commit the request to it -- react on ADAPTER_REQ_SET_XFER_MODE so that we set tagged queuing pass tag type and set id To generate a diff of this commit: cvs rdiff -u -r1.392.2.8 -r1.392.2.9 src/sys/arch/amd64/conf/GENERIC cvs rdiff -u -r1.371.4.3 -r1.371.4.4 src/sys/dev/pci/files.pci cvs rdiff -u -r0 -r1.8.2.2 src/sys/dev/pci/vioscsi.c cvs rdiff -u -r0 -r1.1.6.2 src/sys/dev/pci/vioscsireg.h cvs rdiff -u -r1.2 -r1.2.4.1 src/sys/dev/pci/virtioreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.