From 77f5177c9af4782b70a7196eddc97b04824a2eaf Mon Sep 17 00:00:00 2001 From: longjin Date: Tue, 19 Dec 2023 13:39:36 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dfbcon=E7=9A=84=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E6=8F=90=E7=A4=BA=E8=AF=BB=E5=86=99=E6=9D=83=E9=99=90?= =?UTF-8?q?=E4=B8=8D=E8=B6=B3=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/src/driver/video/fbdev/base/fbcon.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/src/driver/video/fbdev/base/fbcon.rs b/kernel/src/driver/video/fbdev/base/fbcon.rs index dfbe8ebe3..a0173441f 100644 --- a/kernel/src/driver/video/fbdev/base/fbcon.rs +++ b/kernel/src/driver/video/fbdev/base/fbcon.rs @@ -264,7 +264,7 @@ impl Attribute for AttrRotate { } fn support(&self) -> SysFSOpsSupport { - SysFSOpsSupport::WRITE | SysFSOpsSupport::READ + SysFSOpsSupport::SHOW | SysFSOpsSupport::STORE } /// https://code.dragonos.org.cn/xref/linux-6.1.9/drivers/video/fbdev/core/fbcon.c#3226 @@ -293,7 +293,7 @@ impl Attribute for AttrRotateAll { } fn support(&self) -> SysFSOpsSupport { - SysFSOpsSupport::WRITE + SysFSOpsSupport::STORE } /// https://code.dragonos.org.cn/xref/linux-6.1.9/drivers/video/fbdev/core/fbcon.c#3204 @@ -316,7 +316,7 @@ impl Attribute for AttrCursorBlink { } fn support(&self) -> SysFSOpsSupport { - SysFSOpsSupport::WRITE | SysFSOpsSupport::READ + SysFSOpsSupport::SHOW | SysFSOpsSupport::STORE } /// https://code.dragonos.org.cn/xref/linux-6.1.9/drivers/video/fbdev/core/fbcon.c#3245