lkml.org 
[lkml]   [1998]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectQuestion on modularizing the lance driver

The comments in linux/drivers/net/lance.c suggest
that this driver could not be turned into a loadable module, because
it needs to allocate a big chunk of memory below the 16MB boundary.
However, it looks like this memory allocation is now done by
calling kmalloc with the flag GFP_DMA, which I believe is supposed
to allocate memory under the 16MB boundary for i386 platforms.
I have not found anything that would indicate that these kmalloc
calls would fail if executed later. I have modularized the lance
driver and compiled it, but do not have a lance card handy to
test it. So, if anyone could tell me if these kmalloc's are
supposed to fail if executed later, I would appreciate it.
Otherwise, I'll post the patch and invite people to test it.

Adam J. Richter __ ______________ 4880 Stevens Creek Blvd, Suite 205
adam@yggdrasil.com \ / San Jose, California 95129-1034
+1 408 261-6630 | g g d r a s i l United States of America
fax +1 408 261-6631 "Free Software For The Rest Of Us."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.034 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site