Date: Wed, 3 Apr 2002 08:54:19 -0700 From: "Kenneth D. Merry" <ken@kdm.org> To: Yassar S <yassars@infy.com> Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: SCSI Callback function not getting called Message-ID: <20020403085419.A71134@panzer.kdm.org> In-Reply-To: <755FA95DB839D211856B0008C7287D930856282A@kecmsg02.ad.infosys.com>; from yassars@infy.com on Wed, Apr 03, 2002 at 04:00:24PM %2B0530 References: <755FA95DB839D211856B0008C7287D930856282A@kecmsg02.ad.infosys.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 03, 2002 at 16:00:24 +0530, Yassar S wrote: > Hi All, > > What needs to be done for the callback function to get called > after a SCSI operation through the SIM layer functions? > > Is it not enough to provide the callback function pointer > to the scsi driver calls like scsi_read_write. If you're writing a driver, you need to call xpt_done() for the CCB once the transaction has completed. Look in src/sys/dev/aic7xxx/aic7xxx_freebsd.c for examples on how command queueing and completion works in SIMs. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020403085419.A71134>
