• Patrick Mansfield's avatar
    [PATCH] convert scsi core to use module_param interfaces · 3cd3e85c
    Patrick Mansfield authored
    This patch converts scsi core to use the module_param interfaces
    (except for the hosts.c scsihosts usage).
    
    With this applied, boot time (non-module) command line setting of scsi
    parameters must be prefixed by what the scsi module name would be
    (scsi_mod), for example:
    
    	scsi_mod.scsi_logging_level=0x180 scsi_mod.scsi_default_dev_flags=0x1
    	scsi_mod.max_scsi_luns=5
    
    Usage of scsi_mod as above is a bit ugly and long - if this patch is
    applied, we should consider renaming scsi.c to scsi_main.c or similiar,
    and scsi_mod.o to scsi.o. Or, somehow get our prefix set to "scsi".
    3cd3e85c
scsi.c 26.9 KB