mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
503cd7b1b7c6c0d048ceb139d4c74ef033baf87a
We need to dynamically resize the TxFIFOs for some cases where the default values don't match. Test on RK1808-stick board, configurate the usb with four functions "rndis, ntb, mass_storage, acm", the default values of TxFIFOs is: GTXFIFOSIZ(0) = 0x00000042 GTXFIFOSIZ(1) = 0x00420184 GTXFIFOSIZ(2) = 0x01c60184 GTXFIFOSIZ(3) = 0x034a0184 GTXFIFOSIZ(4) = 0x04ce0184 GTXFIFOSIZ(5) = 0x06520184 GTXFIFOSIZ(6) = 0x07d6002a The ep6-in is used for acm ep-in which maxpacket is 1024B, but the default fifo size of ep6-in is only 336B, less than the length of the ep maxpacket, it cause acm works abnormally. This patch creates a simple function to allocate enough TxFIFO space for each of the enabled endpoints. Change-Id: I389ffdba4f3721ed6ef192f0c85f41fdeff645ce Signed-off-by: William Wu <william.wu@rock-chips.com>
Linux kernel
============
There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.
Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%