From owner-aic7xxx Tue Dec 17 2: 9: 7 2002 Delivered-To: aic7xxx@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27B3737B401 for ; Tue, 17 Dec 2002 02:09:04 -0800 (PST) Received: from fgwmail6.fujitsu.co.jp (fgwmail6.fujitsu.co.jp [192.51.44.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id E58D743EC5 for ; Tue, 17 Dec 2002 02:09:02 -0800 (PST) (envelope-from isshi@cs.fujitsu.co.jp) Received: from m4.gw.fujitsu.co.jp by fgwmail6.fujitsu.co.jp (8.12.1/Fujitsu Gateway) id gBHA91ZC007373 for ; Tue, 17 Dec 2002 19:09:01 +0900 (envelope-from isshi@cs.fujitsu.co.jp) Received: from n8.gw.fujitsu.co.jp by m4.gw.fujitsu.co.jp (8.12.1/Fujitsu Domain Master) id gBH9wT58029929 for ; Tue, 17 Dec 2002 19:09:01 +0900 (envelope-from isshi@cs.fujitsu.co.jp) Received: from stbrain.utsfd.cs.fujitsu.co.jp ([10.0.50.63]) by n8.gw.fujitsu.co.jp (SAVSMTP 3.0.0.44) with SMTP id M2002121719090124763 for ; Tue, 17 Dec 2002 19:09:01 +0900 Received: from cs.fujitsu.co.jp (sim3.utsfd.cs.fujitsu.co.jp [10.20.71.72]) by stbrain.utsfd.cs.fujitsu.co.jp (8.11.6+Sun/3.7W) with ESMTP id gBHA91i22508 for ; Tue, 17 Dec 2002 19:09:01 +0900 (JST) Message-ID: <3DFEF932.A81FAAB0@cs.fujitsu.co.jp> Date: Tue, 17 Dec 2002 19:15:14 +0900 From: Kayoko Isshi X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: de,fr,en,zh,ja MIME-Version: 1.0 To: AIC Subject: AIC-7902 source program Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Sender: owner-aic7xxx@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello! I have tried new version driver on AIC-7902. I can make and install the driver aix79xx, and recognize target I/O. Thank you, I look through the source program, since I have some questions below. 1)aic79xx.seq I think that aic79xx.seq is endless. Is this source program correct? -----------tail 2378 if ((ahd->bugs & AHD_PKT_BITBUCKET_BUG) != 0) { 2379 load_overrun_buf: 2380 /* 2381 * Load a dummy segment if preload space is available. 2382 */ 2383 mov HADDR[0], SHARED_DATA_ADDR; 2384 add HADDR[1], PKT_OVERRUN_BUFOFFSET, SHARED_DATA_ADDR[1]; 2385 mov ACCUM_SAVE, A; 2386 clr A; 2387 adc HADDR[2], A, SHARED_DATA_ADDR[2]; 2388 adc HADDR[3], A, SHARED_DATA_ADDR[3]; 2389 mov A, ACCUM_SAVE; 2390 bmov HADDR[4], ALLZEROS, 4; 2391 /* PKT_OVERRUN_BUFSIZE is a multiple of 256 */ 2392 clr HCNT[0]; 2393 mvi HCNT[1], ((PKT_OVERRUN_BUFSIZE >> 8) & 0xFF); 2394 clr HCNT[2]; 2395 } 2396 2397 cfg4icmd_intr ????????????????????: ------------The end 2)aic79xx.reg 286 /* 287 * Clear SEQ Interrupt 288 */ 289 register CLRSEQINTSTAT { 290 address 0x0C0 ->0x0C 291 access_mode WO 292 field CLRSEQ_SWTMRTO 0x10 293 field CLRSEQ_SEQINT 0x08 294 field CLRSEQ_SCSIINT 0x04 295 field CLRSEQ_PCIINT 0x02 296 field CLRSEQ_SPLTINT 0x01 297 } 298 299 /* 300 * Software Timer 301 */ 302 register SWTIMER { 303 address 0x0E0 ->0x0E 304 access_mode RW 305 size 2 306 } 3)aic79xx.reg 3093 register DFPTRS { 3094 address 0x0C8 3095 access_mode RW 3096 modes M_DFF0, M_DFF1 ?????????????? 3097 } 3098 3099 /* 3100 * Receiver Bias Calculator 3101 */ 3102 register RCVRBIASCALC { 3103 address 0x0C8 3104 access_mode RO 3105 modes M_CFG 3106 } 3107 3108 /* 3109 * Data FIFO Debug Control 3110 */ 3111 register DFDBCTL { 3112 address 0x0C8 3113 access_mode RW 3114 modes M_DFF0, M_DFF1 ??????????????? Which one is correct? 4)I cannot get the latest version. I cannot gunzip aic79xx-linux-2.4-20021213.bksend.gz file. I got the following message. % gunzip aic79xx-linux-2.4-20021213.tar.gz gunzip: aic79xx-linux-2.4-20021213.tar.gz: not in gzip format 5)Next schedule Will you support sequencer code with TRAGETROLE ? Regards. ------------ Kayoko Isshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe aic7xxx" in the body of the message