Re: [linux-usb-devel] 2.5 proposal: URB + highmem

2002-01-02 Thread David Brownell
> > - EITHER: > > > > * each HCD is modified to manage page DMA > > mappings if needed, in the same places they now > > handle the single shot DMA mappings > > > > - OR: > > > > * the (new) hcd layer does this, once. In that case > > it'd be

Re: [linux-usb-devel] 2.5 proposal: URB + highmem

2002-01-02 Thread Oliver.Neukum
> - EITHER: > > * each HCD is modified to manage page DMA > mappings if needed, in the same places they now > handle the single shot DMA mappings > > - OR: > > * the (new) hcd layer does this, once. In that case > it'd be advantageous to add

[linux-usb-devel] 2.5 proposal: URB + highmem

2002-01-02 Thread David Brownell
OK, so it looks like URBs need to learn about highmem. Here's a quick proposal. It's rather first-drafty, and needs discussion (for a week or so?). - Add to struct urb: struct page *page;/* [in] transfer buffer page */ unsigned offset;/* [in] offset within page