Can we call scan_scsis from our driver for rescanning bus
I am beginner to Linux driver...
I am trying to use scan_scsis() in scsi_scan.c for rescanning the entire HBA for all new devies attached/removed. Our que.
1. Is it the right way for rescanning the bus for new devices attached/removed. If not please let me know the best way.
2. In my driver code, when I tried to call scan_scsis(), and while inserting the module it showed unresolved symbol. I found that there no entry for the same in /proc/ksyms, but scsi_mod.o is being installed already. Or is it because scan_scsis() is not exported for the use from other drivers. Please clarify.