ATTO esas2r - Scsi_Host_template max_lun setting
[please keep linux-scsi in the cc otherwise I'll lose the email]
Quoted 7 lines · Bradley Grove
James,
When we sent the first version of our driver code for comments, you suggested that we set
max_lunin the host template and use that to enforce the lun limit. However, theScsi_Host_Templatestruct doesn't doesn't containmux_lun. Let me know if I misunderstood what you were asking for.
You set it in the detection routine just after you've obtained struct scsi_host. shost->max_lun.
James
Quoted 4 lines
I think we addressed your remaining issues as well as some issues that we found. That said, it's tough to be sure that we haven't reimplemented primitives that already exist in the kernel tree.