Subject: Re: README: changes to CS8900 driver
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Richard Earnshaw <rearnsha@arm.com>
List: port-arm32
Date: 08/18/1998 16:47:07
This is a multipart MIME message.

--==_Exmh_-17782035920
Content-Type: text/plain; charset=us-ascii

> 
> The old driver used to hard-code the information, ignoring what the
> firmware told it.  That is wrong for a generic driver (the ofisa attachment
> is independent of Shark'ness...)
> 
> I'll make the appropriate reg fixup hack today.
> 

I supped your latest fix.  One tiny patch was needed to get it to work.

I've now managed to boot using a current -current.

Thanks for your help

Richard.

--==_Exmh_-17782035920
Content-Type: application/x-patch ; name="ofw.patch"
Content-Description: ofw.patch
Content-Disposition: attachment; filename="ofw.patch"

Index: if_cs_ofisa_machdep.c
===================================================================
RCS file: /xx/rearnsha.old/netbsd/usr/cvs/src/sys/arch/arm32/ofw/if_cs_ofisa_machdep.c,v
retrieving revision 1.1.1.2
diff -p -r1.1.1.2 if_cs_ofisa_machdep.c
*** if_cs_ofisa_machdep.c	1998/08/18 13:28:47	1.1.1.2
--- if_cs_ofisa_machdep.c	1998/08/18 15:34:01
*************** cs_ofisa_md_reg_fixup(parent, self, aux,
*** 120,126 ****
  		descp[1].addr = 0xd0000;
  		descp[1].len  = 4096;
  	}
! 	return (ndescsfilled);
  }
  
  int
--- 120,126 ----
  		descp[1].addr = 0xd0000;
  		descp[1].len  = 4096;
  	}
! 	return (2);
  }
  
  int

--==_Exmh_-17782035920--