aboutsummaryrefslogtreecommitdiff
path: root/slof/fs/scsi-support.fs
AgeCommit message (Collapse)AuthorFilesLines
2013-06-03vscsi: Sanitize interface between scsi-disk.fs and vio-vscsi.fsBenjamin Herrenschmidt1-0/+6
We now exclusively use the proper SCSI command interface to vio-vscsi.fs and move all of the higher level command building from vio-vscsi.fs to scsi-disk.fs with the exception of the ones used during probe. [ Even those could be moved out by in large part by opening/closing the device and letting it print its own inquiry data but that's less urgent. In fact we could have a generic "Probe SCSI bus" helper ] Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-05-27vio-vscsi: Rework vio-vscsi supportBenjamin Herrenschmidt1-1/+1
This reworks the vio-vscsi driver to funnel all SCSI commands through a more/less generic SCSI command interface. Adds the ability to retry based on the sense code and busy status and handles various conditions better. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2013-01-04Spelling fixes in comments and debug messagesStefan Weil1-3/+3
Most of these errors were found by codespell: controler -> controller appropiate -> appropriate devide -> divide comming -> coming seperate -> separate reponsible -> responsible initialization -> initialization successfull -> successful whithin -> within recieve -> receive wich -> which occurence -> occurrence beggining -> beginning accessable -> accessible proccess -> process succesfuly -> successfully immediatly -> immediately prefered -> preferred avaliable -> available threshhold -> threshold statistsics -> statistics endianess -> endianness positon -> position writen -> written occurence -> occurrence upto -> up to overwriten -> overwritten availabe -> available enviroment -> environment intruction -> instruction thru -> through substract -> subtract occured -> occurred begining -> beginning lenght -> length atributes -> attributes preceeding -> preceding defintion -> definition decriptor -> descriptor Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
2012-07-19vscsi updates to match IBM OFW variantqemu-slof-20120719Benjamin Herrenschmidt1-0/+32
This update our vscsi to encode unit-addresses the same way as IBM proprietary OFW does, and adds support for the vscsi-report-lun method. This fixes booting with grub2 on fedora. It also means that we now support devices with LUNs. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-03-22Initial qemu/KVM board supportBenjamin Herrenschmidt1-5/+33
Added a new board for SLOF running on KVM/qemu. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
2010-12-01Initial import of slof-JX-1.7.0-4Benjamin Herrenschmidt1-0/+781
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>