Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Re: How to get big memory in device driver



Hi

I found sample code in meson_genfb.c.

I make code.

https://github.com/yamori813/netbsd-src/blob/trunk/sys/arch/arm/mindspeed/if_pge.c#L751

Thanks.

Hiroki Mori

> ----- Original Message -----
> 
> From: "Jonathan A. Kollasch" <jakllsch%kollasch.net@localhost>
> To: "や もり" <yamori813%yahoo.co.jp@localhost>
> Cc: "port-arm%NetBSD.org@localhost" <port-arm%netbsd.org@localhost>
> Date: 2023/07/09 日 01:49
> Subject: Re: How to get big memory in device driver
> 
> 
> On Sat, Jul 08, 2023 at 04:53:19PM +0900, Mori Hiroki wrote:
> > Hi
> > 
> > Now I write comcerto 2000 network driver.
> > 
> > This device use about 12M byte work memory.
> > 
> > How to get so big memory in device driver ? 
> > 
> > Thanks
> > 
> > Hiroki Mori
> > 
> 
> What is it needed for?
> 
> You should probably consider bus_dmamem_alloc(9) in any case; as well as
> peruse memoryallocators(9) and the manual pages it references.
> 
> 



Home | Main Index | Thread Index | Old Index