commit | d80ac10dd726c1b2cdf0e3bca5b7070f63d59d88 | [log] [tgz] |
---|---|---|
author | Geoff Levand <geoff@infradead.org> | Wed Apr 01 20:16:27 2020 -0700 |
committer | Geoff Levand <geoff@infradead.org> | Thu Apr 02 17:42:05 2020 -0700 |
tree | 983b32645f9bb8fc5109d23d34b32b25e860a22c | |
parent | a5485f1892e7143e194418d9aef03829613298a5 [diff] |
hvc_console: Allow backends to set I/O buffer size To allow HVC backends to set the I/O buffer sizes to values that are most efficient for the backend, change the macro definitions where the buffer sizes are set to be conditional on whether or not the macros are already defined. Also, rename the macros from N_OUTBUF to HVC_N_OUBUF and from N_INBUF to HVC_N_INBUF. Typical usage in the backend source file would be: Signed-off-by: Geoff Levand <geoff@infradead.org>