Date: Tue, 17 Dec 2002 19:15:14 +0900 From: Kayoko Isshi <isshi@cs.fujitsu.co.jp> To: AIC <aic7xxx@freebsd.org> Subject: AIC-7902 source program Message-ID: <3DFEF932.A81FAAB0@cs.fujitsu.co.jp>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DFEF932.A81FAAB0>