This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Kmalloc from ethernet driver
- From: Andrew Lunn <andrew at lunn dot ch>
- To: mkhoyila at uci dot edu
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 22 Jul 2005 20:41:17 +0200
- Subject: Re: [ECOS] Kmalloc from ethernet driver
- References: <51123.63.87.1.243.1122057724.squirrel@webmail.uci.edu>
On Fri, Jul 22, 2005 at 11:42:04AM -0700, mkhoyila@uci.edu wrote:
> I am trying to use Kmalloc from my ethernet driver. Is this the proper way
> to allocate memory to my buffers?
>
> If so, how should I access the slab.h file from my driver code? I need
> specific #include<> please. I tried #include <linux/slab.h> and did not
> find the file. thank.
Is this an eCos question or a Linux question?
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss