driver/ramlog: set CONFIG_SYSLOG_DEVPATH to /dev/kmsg when enbale ramglog
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
parent
af62e6cbfa
commit
e7b8af7a35
|
@ -188,7 +188,8 @@ comment "SYSLOG channels"
|
|||
|
||||
config SYSLOG_DEVPATH
|
||||
string "System log device"
|
||||
default "/dev/ttyS1"
|
||||
default "/dev/kmsg" if CONFIG_RAMLOG_SYSLOG
|
||||
default "/dev/ttyS1" if !CONFIG_RAMLOG_SYSLOG
|
||||
---help---
|
||||
The full path to the system logging device. For the RAMLOG SYSLOG device,
|
||||
this is normally "/dev/kmsg". For character SYSLOG devices, it should be
|
||||
|
|
|
@ -66,10 +66,6 @@
|
|||
* CONFIG_RAMLOG_BUFSIZE - Size of the console RAM log. Default: 1024
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_RAMLOG_SYSLOG) && !defined(CONFIG_SYSLOG_DEVPATH)
|
||||
# define CONFIG_SYSLOG_DEVPATH "/dev/kmsg"
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_RAMLOG_NPOLLWAITERS
|
||||
# define CONFIG_RAMLOG_NPOLLWAITERS 4
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue