9fans archive / 1998 / 09 / 53 /    prev next

From: arisawa@ar.... arisawa@ar....
Subject: [9fans] Mitsumi FX320M
Date: Wed, 9 Sep 1998 22:28:55 -0400 (EDT)

Thank you Russ and Forsyth.
I would like try first along Forsyth.

I wrote:
	pc/devata.c which is distributed by 816407398.rc.
but this is mistake. I tried really on most recent update 824494421.rc.

Forsyth wrote:
>you'll possibly also have to change the code that checks the `reset'
>option because it was in the wrong place in one of the updates.
>(it set the flag after it had been tested.)

Yes, `reset' in plan9.ini is surely ineffective.
The following is the codes in atactlrprobe().
	if((ctlr = xalloc(sizeof(Controller))) == 0)
		return -1;
	ctlr->pbase = port;
	ctlr->ctlrno = ctlrno;
	ctlr->lastcmd = 0xFF;
	/* comments continue ... */
	if(ctlr->resetok){ 

So I forced reset by removing `if' condition.
Then messages changed from:
	ata0: DHmagic ok
	ata0: ATAI 50 40 3F
	ata0: master diag error 1
	ata1: slave diag status 0, error 1
	ata1: ATAPI slave 0 0 0
	hd0: ...
	hd1: ...
to:
	ata0: DHmagic ok
	ata0: ATAI 50 0 0
	ata0: master diag error 1
	ata1: slave diag status 0, error 1
	ata1: ATAPI slave 0 0 0
	hd0: ...
	hd1: ...

I have another question.
Why my system cannot find fs.
He can talk with hd0....

Kenji Arisawa
E-mail: arisawa@aic...