1. 24 4月, 2009 1 次提交
    • J
      USB: pass mem_flags to dma_alloc_coherent · a8aa401f
      Johannes Berg 提交于
      When I want to use my webcam, I get:
      
                                       vvvvvvv
      cheese: page allocation failure. order:5, mode:0x8004
      Pid: 8100, comm: cheese Not tainted 2.6.30-rc2-wl-dirty #102
      Call Trace:
       [<ffffffff802c5d8e>] __alloc_pages_internal+0x3fe/0x520
       [<ffffffff80210a20>] dma_generic_alloc_coherent+0x90/0x120
       [<ffffffffa001c91e>] hcd_buffer_alloc+0xee/0x130 [usbcore]
       [<ffffffffa000d52d>] usb_buffer_alloc+0x2d/0x40 [usbcore]
       [<ffffffffa0160e14>] uvc_alloc_urb_buffers+0x84/0x140 [uvcvideo]
       [<ffffffffa0160ff6>] uvc_init_video+0x126/0x400 [uvcvideo]
       [...]
      
      Oddly, I remembered fixing this and putting in __GFP_NOWARN
      because uvcvideo retries a smaller allocation. However, the
      allocation function doesn't pass the gfp flags through to
      dma_alloc_coherent so we still get the warning!
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      a8aa401f
  2. 02 2月, 2008 2 次提交
  3. 02 11月, 2007 1 次提交
  4. 08 2月, 2007 1 次提交
  5. 08 12月, 2006 1 次提交
  6. 28 9月, 2006 1 次提交
    • A
      usbcore: trim down usb_bus structure · 17200583
      Alan Stern 提交于
      As part of the ongoing program to flatten out the HCD bus-glue layer,
      this patch (as771b) eliminates the hcpriv, release, and kref fields
      from struct usb_bus.  hcpriv and release were not being used for
      anything worthwhile, and kref has been moved into the enclosing
      usb_hcd structure.
      
      Along with those changes, the patch gets rid of usb_bus_get and
      usb_bus_put, replacing them with usb_get_hcd and usb_put_hcd.
      
      The one interesting aspect is that the dev_set_drvdata call was
      removed from usb_put_hcd, where it clearly doesn't belong.  This means
      the driver private data won't get reset to NULL.  It shouldn't cause
      any problems, since the private data is undefined when no driver is
      bound.
      Signed-off-by: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      
      17200583
  7. 01 7月, 2006 1 次提交
  8. 05 1月, 2006 1 次提交
  9. 18 11月, 2005 1 次提交
  10. 28 10月, 2005 1 次提交
  11. 13 7月, 2005 1 次提交
  12. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4