[Stgt-devel] [Patch 1/2] Add-new-module-entry-points-for-configuration - Try 5

Mark Harvey markh794
Tue Jun 5 05:18:04 CEST 2007

OK, just when I thought I'd found all my coding blunders...

A quick 'grep "if\(" identified some of my mistakes and a couple of
other that slipped thru.

Based against:

commit 05f2cb57ef7dbe8c8d700f86b742c98ec6d75534
Author: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
Date:   Sun Apr 22 03:22:56 2007 +0900

    add Linux kernle crc32c code

    Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>

    Add new module entry points for configuration

    Add new module entry points.
      <module>_lu_init(struct scsi_lu *lu) - called at setup time.
      <module>_lu_exit(struct scsi_lu *lu) - called at shutdown time.
      <module>_lu_config(struct scsi_lu *lu) - Any module unique configuration.

    Moved logical unit configuration from target -> <module>
      Along with above entry point <module>_lu_config(), will allow module
      specific configuration.
      No new functionality added yet.

    Add a dump_cdb(struct scsi_cmd *cmd) - Called from spc_illegal_op()

    Update - All modules use common INQUIRY routine.

    Signed-off-by: Mark Harvey <markh794 at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch1-again
Type: application/octet-stream
Size: 21763 bytes
Desc: not available
Url : https://lists.berlios.de/pipermail/stgt-devel/attachments/20070605/6a80ff5d/attachment-0001.obj 

More information about the stgt mailing list