Subject: Re: Adaptec install
To: None <volker@carlotta.iam.uni-bonn.de>
From: David Mazieres <dm@amsterdam.lcs.mit.edu>
List: port-i386
Date: 11/09/1995 11:30:45
> Path: carlotta.iam.uni-bonn.de!volker
> From: volker@carlotta.iam.uni-bonn.de (Volker A. Brandt)
> Newsgroups: list.netbsd.port.i386
> Date: 9 Nov 1995 10:03:47 GMT
> Organization: Inst.f.Appl.Math., University of Bonn
> Lines: 41
> Distribution: bonn
> References: <199511071651.LAA16180@amsterdam.lcs.mit.edu>
> NNTP-Posting-Host: carlotta.iam.uni-bonn.de
> Sender: owner-port-i386@NetBSD.ORG
> Precedence: list
> X-Loop: port-i386@NetBSD.ORG
> 
> >It's also a pain to keep hand editing the machdep.c file to ignore my
> >upper 16 Meg of RAM.
> 
> Could you please post your modifications?  I'm sure there's lots of
> people out there who could use that!

I just added these four lines, and added "options ISADMA" to my config
file.  I used to take the min of that and the previous biosextmem, but
I guess that after adding it back in a number of times that dropped
out...

--- /u/sup/src/sys/arch/i386/i386/machdep.c     Sun Oct 15 22:43:28 1995
+++ /usr/src/sys/arch/i386/i386/machdep.c       Tue Oct 17 02:06:48 1995
@@ -1103,6 +1103,10 @@
        biosbasemem &= -(NBPG / 1024);
        biosextmem &= -(NBPG / 1024);
 
+#ifdef ISADMA
+       biosextmem = 15 * 1024;
+#endif
+
        avail_start = NBPG;     /* BIOS leaves data in low memory */
                                /* and VM system doesn't work with phys 0 */
        avail_end = biosextmem ? IOM_END + biosextmem * 1024

David