⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 leds-ftvpci.c

📁 广州斯道2410普及版II的源代码
💻 C
字号:
/* *  linux/arch/arm/kernel/leds-ftvpci.c * *  Copyright (C) 1999 FutureTV Labs Ltd */#include <linux/module.h>#include <asm/hardware.h>#include <asm/leds.h>#include <asm/system.h>#include <asm/io.h>static void ftvpci_leds_event(led_event_t ledevt){	static int led_state = 0;	switch(ledevt) {	case led_timer:		led_state ^= 1;		raw_writeb(0x1a | led_state, INTCONT_BASE);		break;	default:		break;	}}void (*leds_event)(led_event_t) = ftvpci_leds_event;EXPORT_SYMBOL(leds_event);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -