This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Kmalloc from ethernet driver


> Yes, this is an eCos question. Can I use Kmalloc in my driver? If not how
> to you allocate memory to dma buffer pool? I there another way to allocate
> memory to the dma buffers? Thanks.
>
> MHK
>
>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]