Thread: [Linux1394-cvslog] ieee1394 sbp2.c sbp2.h
Brought to you by:
aeb,
bencollins
From: James G. <ja...@us...> - 2001-03-11 08:15:03
|
Update of /cvsroot/linux1394/ieee1394 In directory usw-pr-cvs1:/tmp/cvs-serv1865 Modified Files: sbp2.c sbp2.h Log Message: Updated sbp2 with following changes: - Temp fix for 128KB max transfer size limitation of some sbp2 drives - Bumped up max outstanding commands. - #define for supporting goofy sbp2 devices which don't support mode sense - Translate mode sense 6 to mode sense 10 |
From: James G. <ja...@us...> - 2001-04-06 06:29:23
|
Update of /cvsroot/linux1394/ieee1394 In directory usw-pr-cvs1:/tmp/cvs-serv8525 Modified Files: sbp2.c sbp2.h Log Message: Significant changes to sbp2 driver, including the following: - Use sbp2 doorbell and link commands on the fly - Remove all bit fields for PPC support - Request break-up of large scsi requests to deal with sbp2 chipsets limited to 128KB transfers - Several module load options for tuning/debugging - Better bus reset/error handling - PPC workaround for pismo firewire chipset - Other clean-up and minor changes Changes have been heavily tested in 2.4 and 2.2 kernels. Note: Driver by default still serializes I/O requests (debugging of deserialized stress issues in progress). |
From: James G. <ja...@us...> - 2001-04-21 02:11:49
|
Update of /cvsroot/linux1394/ieee1394 In directory usw-pr-cvs1:/tmp/cvs-serv5369 Modified Files: sbp2.c sbp2.h Log Message: Allocate additional orb structures for devices with 128KB limit. Minor clean-up. |
From: Ben C. <ben...@us...> - 2001-07-27 03:59:36
|
Update of /cvsroot/linux1394/ieee1394 In directory usw-pr-cvs1:/tmp/cvs-serv1267 Modified Files: Tag: bcollins-branch sbp2.c sbp2.h Log Message: Update to use some of the new nodemgr functions, and update the comments. Also make it smarter about the detected size/speed to make sure they match |
From: Ben C. <ben...@us...> - 2001-09-13 13:11:31
|
Update of /cvsroot/linux1394/ieee1394 In directory usw-pr-cvs1:/tmp/cvs-serv7161 Modified Files: sbp2.c sbp2.h Log Message: Remove pismo workaround. Also, remove kernel thread code for reset handler, and use schedule_task() instead. |
From: Ben C. <ben...@us...> - 2001-09-14 02:32:25
|
Update of /cvsroot/linux1394/ieee1394 In directory usw-pr-cvs1:/tmp/cvs-serv32166 Modified Files: sbp2.c sbp2.h Log Message: Lots of comment cleanups. Also, convert to using nodemgr's node and unit directory entries, instead of self-probing. This is step one to converting to the hotplug scheme |
From: Kristian H?g. <hog...@us...> - 2001-10-12 18:43:20
|
Update of /cvsroot/linux1394/ieee1394 In directory usw-pr-cvs1:/tmp/cvs-serv6612 Modified Files: sbp2.c sbp2.h Log Message: Fix transfer direction for scsi opcode 0x54 (send opc). |
From: Ben C. <ben...@us...> - 2001-10-16 05:54:41
|
Update of /cvsroot/linux1394/ieee1394 In directory usw-pr-cvs1:/tmp/cvs-serv8180 Modified Files: sbp2.c sbp2.h Log Message: Convert to new speed/packet detection code. Also, make the use of the SBP2_{INFO,DEBUG,ERR} more consistent |
From: James G. <ja...@us...> - 2002-01-07 07:04:11
|
Update of /cvsroot/linux1394/ieee1394 In directory usw-pr-cvs1:/tmp/cvs-serv6803 Modified Files: sbp2.c sbp2.h Log Message: Minor fixes/enhancements: - Enable use_new_eh_code for scsi stuff - Do not write all ones for NULL ORB high/low fields, but rather leave reserved areas zeroed (per SBP2 spec) - Use newer scsi transfer direction passed down instead of our internal direction table - Bumped login time-out to 20 seconds, as some devices are slow - Fixed a couple scsi unregister bugs on module unload |
From: James G. <ja...@us...> - 2002-01-14 06:44:52
|
Update of /cvsroot/linux1394/ieee1394 In directory usw-pr-cvs1:/tmp/cvs-serv8528 Modified Files: sbp2.c sbp2.h Log Message: Following changes: - Fixed sbp2 status handling to always look for scsi status returned. This fixes problems with certain sbp2 devices, such as Iomega Peerless and Jazz drives. - Removed hack from HJ to fake inquiry data, since this is not necessary now. - Fixed request buffer length passed from scsi stack to match the value in the cdb, as the mismatch upsets some sbp2 devices (again, Iomega). - Removed one instance of pci_map_page with pci_map_single, so that the driver would compile under 2.4.10. Ben, please fix this as appropriate. =) - Removed mode_sense_hack module load option, as the problem has already been taken care of for 2.4. When we branch 2.2 compatibility, will be able to clean-up the driver significantly. - Reverted one change from HJ for max sbp2 scatter gather element size, as it must be something less than 64KB (16 bit field in ORB structure). |
From: Ben C. <ben...@us...> - 2002-01-14 15:41:31
|
Update of /cvsroot/linux1394/ieee1394 In directory usw-pr-cvs1:/tmp/cvs-serv7915 Modified Files: sbp2.c sbp2.h Log Message: Readd pci_map_page conversion. Make sure to check this on unmap, since cmd_dma can be from pci_map_single, or pci_map_page, depending on the scsi command sent. |
From: James G. <ja...@us...> - 2002-02-11 07:16:13
|
Update of /cvsroot/linux1394/ieee1394 In directory usw-pr-cvs1:/tmp/cvs-serv23741 Modified Files: sbp2.c sbp2.h Log Message: Following changes made: - Minor inquiry hack change (for better device compatibility) - If device type not in device's config rom, pull from scsi inquiry response data - Use 2.4 kernel scsi max_sectors field, allowing us to pull out some ugly code |
From: James G. <ja...@us...> - 2002-02-19 07:01:00
|
Update of /cvsroot/linux1394/ieee1394 In directory usw-pr-cvs1:/tmp/cvs-serv23867 Modified Files: sbp2.c sbp2.h Log Message: Code clean-up and enhancements: - Finish cleannig out hacked code for dealnig with broken sbp2 devices which do not support requests of 128KB or greater. Now use max_sectors scsi host entry to limit transfer sizes. - change status fifo address from a single address to a set of addresses, with each sbp2 device having it's own status fifo address. This makes it easier to match the status write to the sbp2 device instance. - Minor change to use lun when logging into sbp2 devices. First step in supporting multi-lun devices such as CD/DVD changer devices. - Added a new module load option for setting max sectors. For use by folk who'd like to bump up the max scsi transfer size supported. - Enable deserialized operation by default, allowing for better performance, particularily when running with multiple sbp2 devices. For debugging, you may enable serialization through use of the sbp2_serialize_io module load option (e.g. insmod sbp2_serialize_io=1). |
From: James G. <ja...@us...> - 2002-02-21 06:33:11
|
Update of /cvsroot/linux1394/ieee1394 In directory usw-pr-cvs1:/tmp/cvs-serv6483 Modified Files: sbp2.c sbp2.h Log Message: Added a couple new module load options for affecting the number of outstanding concurrent commands allowed, and outstanding commands per sbp2 device. Also bumped down default max commands per lun to one because the ^&*(^*% QPS CDRW drive I have has trouble getting along with other sbp2 devices when there are linked commands (strange). |