[comp.os.minix] PLEASE try this xt_wini.c

news@santra.UUCP (news) (08/11/87)

I'm adding NCL hard disk controller support to 1.2 xt_wini.c 
as #ifdef.  I think the following fix should be applied for
all controllers.  As far as I can imagine it should work on 
every controller, but I have no way to find out.  It fixes
some timing problems with giving orders to controller.  
 
Please try the following diff in other controllers and mail
me the results.  It certainly does'n destroy anything, it
either works or fails to read the partition table.  Just
DON'T put this version of kernel on top of your previous 
boot disk.
 
----------------------- cut here for xt_wini.diff ---------------------------
602d601
< 	port_out(WIN_DMA, mode);
636,637c635,638
< 	else
< 		return(OK);
---
> 	else {
> 		port_out(WIN_DMA, mode);
> 		return(OK);
> 	}
---------------------- cut here for something else --------------------------
Pertti Kasanen                      Internet: ptk@hutcs.hut.fi
+358 0 753 3779                       Bitnet: ptk%hutcs.uucp@fingate.bitnet
Helsinki University of Technology       UUCP: mcvax!hutcs!ptk