CHanged MAXMEM to ISMAXMEM for safety
[unix-history] / sys / i386 / isa / if_is.c
index 9f0e6ad..234a0d9 100644 (file)
@@ -332,15 +332,15 @@ is_attach(isa_dev)
         * are only 16 bits wide!
         */
 
         * are only 16 bits wide!
         */
 
-#define MAXMEM ((NRBUF+NTBUF)*(BUFSIZE) + (NRBUF+NTBUF)*sizeof(struct mds) \
+#define ISMAXMEM ((NRBUF+NTBUF)*(BUFSIZE) + (NRBUF+NTBUF)*sizeof(struct mds) \
                  + sizeof(struct init_block) + 8)
                  + sizeof(struct init_block) + 8)
-       is->init_block = (struct init_block *)malloc(MAXMEM,M_TEMP,M_NOWAIT);
+       is->init_block = (struct init_block *)malloc(ISMAXMEM,M_TEMP,M_NOWAIT);
        if (!is->init_block) {
                printf("is%d : Couldn't allocate memory for card\n",unit);
        }
        /* 
         * XXX -- should take corrective action if not
        if (!is->init_block) {
                printf("is%d : Couldn't allocate memory for card\n",unit);
        }
        /* 
         * XXX -- should take corrective action if not
-        * quadword alilgned, the 8 byte slew factor in MAXMEM
+        * quadword alilgned, the 8 byte slew factor in ISMAXMEM
         * allows for this.
         */
 
         * allows for this.
         */