Re: Linux driver: __get_free_pages()

2001-01-11 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 11, 2001 at 04:01:08PM -0500, Richard B. Johnson escreveu: > If all you need is a kernel buffer to store the stuff that will be > written to NVRAM, then just use kmalloc(). It is virtual and will s/kmalloc/vmalloc/ > seem contiguous to your driver. - Arnaldo - To unsubscribe from th

Re: Linux driver: __get_free_pages()

2001-01-11 Thread Richard B. Johnson
On Thu, 11 Jan 2001, Paul Powell wrote: > Our driver is trying to allocate a DMA buffer to flash > an adapter's firmware. This can require as much as > 512K ( of contiguous DMA memory ). We are using the > function __get_free_pages( GFP_KERNEL | GFP_DMA, order > ) . The call is failing if 'orde

Re: Linux driver: __get_free_pages()

2001-01-11 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 11, 2001 at 12:39:33PM -0800, Paul Powell escreveu: > Our driver is trying to allocate a DMA buffer to flash an adapter's > firmware. This can require as much as 512K ( of contiguous DMA memory ). > We are using the function __get_free_pages( GFP_KERNEL | GFP_DMA, order) > . The cal

Linux driver: __get_free_pages()

2001-01-11 Thread Paul Powell
Our driver is trying to allocate a DMA buffer to flash an adapter's firmware. This can require as much as 512K ( of contiguous DMA memory ). We are using the function __get_free_pages( GFP_KERNEL | GFP_DMA, order ) . The call is failing if 'order' is greater than 6. The problem is seen on system