Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Miscellany
Thursday, August 28th, 2008 at 8:44:50am UTC 

  1. Index: usb_storage.c
  2. ===================================================================
  3. --- usb_storage.c       (revision 18342)
  4. +++ usb_storage.c       (working copy)
  5. @@ -382,6 +382,7 @@
  6.      static unsigned char _transfer_buffer[BUFFER_SIZE*2]
  7.          USBDEVBSS_ATTR __attribute__((aligned(32)));
  8.      tb.transfer_buffer = (void *)_transfer_buffer;
  9. +    cached_transfer_buffer = tb.transfer_buffer
  10.  #else
  11.      /* TODO : check if bufsize is at least 32K ? */
  12.      size_t bufsize;
  13. @@ -432,7 +433,9 @@
  14.  
  15.                  /* Now write the data that just came in, while the host is
  16.                     sending the next bit */
  17. +#if CONFIG_CPU == IMX31L || CONFIG_USBOTG == USBOTG_ISP1583
  18.                  invalidate_icache();
  19. +#endif
  20.                  int result = ata_write_sectors(IF_MV2(cur_cmd.lun,)
  21.                                           cur_cmd.sector,
  22.                                           MIN(BUFFER_SIZE/SECTOR_SIZE,

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right worth-right