test at Target mode

Kayoko Isshi isshi at cs.fujitsu.co.jp
Thu Jul 12 03:21:39 PDT 2001


Dear ML-members:

I have tested (new) AIC7xxx driver(6.1.13) at target mode.

In this ML, target driver has few disccusion.
The followings will be unuseful for almost people.
But I will mail because we need the best target driver for AIC7xxx.

As soon as I knew that new driver has supported target mode,
I got to test the driver and sequencer code at target mode.
As results,I fix some bugs:some of them will be incorrect???
To test this, I made CDB sample stub for target.
Now I can "insmod" some initiator HBAs connected to AIC7xxx HBAs at
target mode
on both Linux/PCs.
    Initiator HBA:QLA1080/QLA12160/AIC7899
    Target HBA:AIC7880/AIC7899

Changed:
1)At first,I get compiled errors when I forced targe mode enable.
    #define AHC_TARGET_MODE 1
    ->Maybe some definitions for upper driver interface incompletely
provided.
    Therefore I left TARGET_MODE disable.

2)Once a BusReset occurred,following BusReset is ignored.
    ->I forced to set ENSCSIRST bit in SIMODE1(ahc_restart).
    I set ENRSTI bit in SCSISEQ_TEMPLATE,but that's no effect.

3)Sequencer code)p_data has some routes to go to ITloop at target mode.

4)Sequencer code)ENSELO bit has never be set,
    even if the bit in SCSISEQ_TEMPLATE set.
    ->when ENSELO bit forced to set with TEMODE,target is selected.
    Is there another method?

5)Sequencer code)At no disconnect mode(MsgOut=80),data phase stopped in
DT mode.
    ->calling set_trasfer_settings before changing data phase will be
needed.

6)Sequencer code)When set DISCENB in SCB_CONTROL and reconnected,
MegOut=8x sent.
    ->setting MSG_IDENTIFY_DISCFLAG added.

7)Dirver code)I have other changes to avoid hung-up.


Thanks for maintainers.

-------------
Kayoko Isshi


To Unsubscribe: send mail to majordomo at FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message




More information about the aic7xxx mailing list