Messages in this thread | | | From | "Adam J. Richter" <> | Date | Sun, 26 Jul 1998 22:05:09 -0700 | Subject | Question 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
| |