FreeBsd 4.7: scsi target device driver
Hi All, I am in the process of writing a scsi target driver on FreeBSD 4.7, as a module. I have faced some problems like, registering the module with CAM, probing the scsi devices connected to the host etc., I'm from the world of linux, wherein if I register the scsi device driver module ( not the HBA ), using scsi_register_module(...) I will get the Scsi_Device *SDp to my template implementations like init, detect, attach, detach, finish. On FreeBSD, there must be the way to do the same kinda thing, by registering my module with CAM layer. If anyone could throw some light, that would be of great help. Thanks in advance, Chhavi Kansal. - Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 4.7: kernel routine for open, close, ioctl
Hi all, I want to open a "/dev" file from kernel module itself. Is there any interface to perfrom open, close and ioctl call ? I know that on linux filp_open calls exist. I'm looking for the same kind of interface.. Any pointers would be of great help. thanx and regards, Chhavi - Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Fwd: scsi_target driver on FreeBSD 4.7
Note: forwarded message attached. - Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes--- Begin Message --- Hi all, I want to write a scsi target driver to send some vendor specific commands to the scsi disk. For that I have modified the scsi_target.c. But it doesn't seems to be loading properly. I've given printf's to all the functions. But it doesn't printing the printf for init() function itself. Do you have any idea, if I need to add anything in the existing scsi_target.c available in sys/cam/scsi dir. How can we register a scsi driver module to the cam interface. Is there any document where I can look to the flow of the driver calls. ? Any pointer would be of great help ... regards, Chhavi _ Do you Yahoo!? Yahoo! Hotjobs: [1]Enter the "Signing Bonus" Sweepstakes References 1. http://pa.yahoo.com/*http://us.rd.yahoo.com/hotjobs/mail_footer_email/evt=21482/*http://hotjobs.sweepstakes.yahoo.com/signingbonus --- End Message --- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"