lkml.org 
[lkml]   [2001]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patches in this message
/
Date
From
Subject[PATCH] 2.4.3-pre3 -- KMALLOC_MAXSIZE & 3c509/3c515 compile fix

--

=====================================================================
Mohammad A. Haque http://www.haque.net/
mhaque@haque.net

"Alcohol and calculus don't mix. Project Lead
Don't drink and derive." --Unknown http://wm.themes.org/
batmanppc@themes.org
=====================================================================--- linux/include/linux/slab.h.orig Wed Mar 7 11:39:26 2001
+++ linux/include/linux/slab.h Wed Mar 7 11:52:39 2001
@@ -55,6 +55,7 @@
extern void *kmem_cache_alloc(kmem_cache_t *, int);
extern void kmem_cache_free(kmem_cache_t *, void *);

+#define KMALLOC_MAXSIZE 131072UL /* Maximum allowed request size */
extern void *kmalloc(size_t, int);
extern void kfree(const void *);
--- linux/drivers/net/3c509.c.orig Wed Mar 7 11:35:27 2001
+++ linux/drivers/net/3c509.c Wed Mar 7 13:04:57 2001
@@ -327,7 +327,7 @@
irq = idev->irq_resource[0].start;
if (el3_debug > 3)
printk ("ISAPnP reports %s at i/o 0x%x, irq %d\n",
- el3_isapnp_adapters[i].name, ioaddr, irq);
+ (char *) el3_isapnp_adapters[i].driver_data, ioaddr, irq);
EL3WINDOW(0);
for (j = 0; j < 3; j++)
el3_isapnp_phys_addr[pnp_cards][j] =
--- linux/drivers/net/3c515.c.orig Wed Mar 7 11:35:27 2001
+++ linux/drivers/net/3c515.c Wed Mar 7 13:06:42 2001
@@ -474,7 +474,7 @@
irq = idev->irq_resource[0].start;
if(corkscrew_debug)
printk ("ISAPNP reports %s at i/o 0x%x, irq %d\n",
- corkscrew_isapnp_adapters[i].name,ioaddr, irq);
+ (char *) corkscrew_isapnp_adapters[i].driver_data, ioaddr, irq);

if ((inw(ioaddr + 0x2002) & 0x1f0) != (ioaddr & 0x1f0))
continue;
\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.039 / U:1.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site