Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2002 09:15:25 +0530
From:      "Yassar S" <yassars@infy.com>
To:        "Kenneth D. Merry" <ken@kdm.org>
Cc:        <freebsd-scsi@FreeBSD.ORG>
Subject:   RE: SCSI Callback function not getting called
Message-ID:  <755FA95DB839D211856B0008C7287D930F3286DC@kecmsg02.ad.infosys.com>

next in thread | raw e-mail | index | archive | help
I'm not writing a driver. I'm writing an application which uses
the SIM calls like scsi_read_write etc.

-Yassar.

-----Original Message-----
From: Kenneth D. Merry [mailto:ken@kdm.org]
Sent: Wednesday, April 03, 2002 9:24 PM
To: Yassar S
Cc: freebsd-scsi@FreeBSD.ORG
Subject: Re: SCSI Callback function not getting called


On Wed, Apr 03, 2002 at 16:00:24 +0530, Yassar S wrote:
> Hi All,
> =20
>  What needs to be done for the callback function to get called=20
>  after a SCSI operation through the SIM layer functions?
>=20
>  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
--=20
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?755FA95DB839D211856B0008C7287D930F3286DC>