Re: [linux-usb-devel] Re: [PATCH]remove GFP_DMA from pegasus

2003-08-14 Thread Alan Cox
On Mer, 2003-08-06 at 07:24, Petko Manolov wrote: > On Wed, 6 Aug 2003, Oliver Neukum wrote: > > > GFP_DMA has no place in USB drivers, as its meaning is inconsistent > > across architectures. > > The patch looks ok to me, although GFP_DMA used to mean that the allocated > memory will be contiguo

[linux-usb-devel] Re: [PATCH]remove GFP_DMA from pegasus

2003-08-14 Thread Petko Manolov
On Wed, 6 Aug 2003, Oliver Neukum wrote: > Am Mittwoch, 6. August 2003 08:24 schrieb Petko Manolov: > > On Wed, 6 Aug 2003, Oliver Neukum wrote: > > > > > GFP_DMA has no place in USB drivers, as its meaning is inconsistent > > > across architectures. > > > > The patch looks ok to me, although GFP_

[linux-usb-devel] Re: [PATCH]remove GFP_DMA from pegasus

2003-08-14 Thread Greg KH
On Wed, Aug 06, 2003 at 12:35:04AM +0200, Oliver Neukum wrote: > Hi, > > GFP_DMA has no place in USB drivers, as its meaning is inconsistent > across architectures. Applied, thanks. greg k-h --- This SF.Net email sponsored by: Free pre-built

[linux-usb-devel] Re: [PATCH]remove GFP_DMA from pegasus

2003-08-14 Thread Oliver Neukum
Am Mittwoch, 6. August 2003 08:24 schrieb Petko Manolov: > On Wed, 6 Aug 2003, Oliver Neukum wrote: > > > GFP_DMA has no place in USB drivers, as its meaning is inconsistent > > across architectures. > > The patch looks ok to me, although GFP_DMA used to mean that the allocated > memory will be c

[linux-usb-devel] Re: [PATCH]remove GFP_DMA from pegasus

2003-08-14 Thread Petko Manolov
On Wed, 6 Aug 2003, Oliver Neukum wrote: > GFP_DMA has no place in USB drivers, as its meaning is inconsistent > across architectures. The patch looks ok to me, although GFP_DMA used to mean that the allocated memory will be contiguous and taken from the dma-able memory. If this is no longer nee

[linux-usb-devel] Re: [PATCH]remove GFP_DMA from pegasus

2003-08-09 Thread Oliver Neukum
Am Mittwoch, 6. August 2003 10:33 schrieb Petko Manolov: > On Wed, 6 Aug 2003, Oliver Neukum wrote: > > > Am Mittwoch, 6. August 2003 08:24 schrieb Petko Manolov: > > > On Wed, 6 Aug 2003, Oliver Neukum wrote: > > > > > > > GFP_DMA has no place in USB drivers, as its meaning is inconsistent > > >

Re: [linux-usb-devel] Re: [PATCH]remove GFP_DMA from pegasus

2003-08-08 Thread David Brownell
Alan Cox wrote: GFP_DMA means ISA DMAable memory (low 16Mb), its obsolete and you should be using the pci_alloc/dma_alloc interfaces in 2.6-test Agree about "don't use GFP_DMA with USB". But there's no way to use pci_alloc or dma_alloc with USB. Instead, read Documentation/usb/dma.txt ... those A