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

📄 sc1200.h

📁 这个linux源代码是很全面的~基本完整了~使用c编译的~由于时间问题我没有亲自测试~但就算用来做参考资料也是非常好的
💻 H
字号:
#ifndef SC1200_H#define SC1200_H#include <linux/config.h>#include <linux/pci.h>#include <linux/ide.h>#define DISPLAY_SC1200_TIMINGS#if defined(DISPLAY_SC1200_TIMINGS) && defined(CONFIG_PROC_FS)#include <linux/stat.h>#include <linux/proc_fs.h>static u8 sc1200_proc;static int sc1200_get_info(char *, char **, off_t, int);static ide_pci_host_proc_t sc1200_procs[] __initdata = {	{		name:		"sc1200",		set:		1,		get_info:	sc1200_get_info,		parent:		NULL,	},};#endif /* DISPLAY_SC1200_TIMINGS && CONFIG_PROC_FS */static unsigned int init_chipset_sc1200(struct pci_dev *, const char *);static void init_hwif_sc1200(ide_hwif_t *);static void init_dma_sc1200(ide_hwif_t *, unsigned long);static ide_pci_device_t sc1200_chipsets[] __devinitdata = {	{	/* 0 */		vendor:		PCI_VENDOR_ID_NS,		device:		PCI_DEVICE_ID_NS_SCx200_IDE,		name:		"SC1200",		init_chipset:	init_chipset_sc1200,		init_iops:	NULL,		init_hwif:	init_hwif_sc1200,		init_dma:	init_dma_sc1200,		channels:	2,		autodma:	AUTODMA,		enablebits:	{{0x00,0x00,0x00}, {0x00,0x00,0x00}},		bootable:	ON_BOARD,		extra:		0,	},{		vendor:		0,		device:		0,		channels:	0,		bootable:	EOL,	}};#endif /* SC1200_H */

⌨️ 快捷键说明

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