[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xdd fix (was: MiNT 1.11H2)



well :)  i think i know whats wrong...

> In article <199409171607.SAA07515@indi1.cip3s.tu-harburg.de> you write:
> >
> > Hello everybody!
> > 
> > I've got some problems with the latest Hohmut-patch 1.11H2:
> > 
> > 1. I can't boot MiNT with the floppy device ps0.xdd.

 try this,

Index: filesys.c
@@ -303,12 +303,8 @@
 		if (dev) {
 			if (DEV_SELFINST != dev) {
 	/* we need to install the device driver ourselves */
+				zero((char *)&the_dev, SIZEOF(the_dev));
 				the_dev.driver = dev;
-				the_dev.dinfo = 0;
-				the_dev.flags = 0;
-				the_dev.tty = (struct tty*)0L;
-				the_dev.reserved[0] = the_dev.reserved[1] = 0;
-				the_dev.reserved[2] = the_dev.reserved[3] = 0;
 				p = dta.dta_name;
 	/* copy the dev. driver name, converting to lower case */
 				while (*p && *p != '.') {

> >    I've tried to recompile ps0 with the new file.h (new entry in
> >    struct dev_descr), but this does'nt help.

 that should never be necessary unless you actually want to use the
new entires...

 cheers
	Juergen
-- 
J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
								...ohne Gewehr
PGP public key fingerprint =  8A 18 58 54 03 7B FC 12  1F 8B 63 C7 19 27 CF DA