opti621.h

来自「linux-2.4.29操作系统的源码」· C头文件 代码 · 共 50 行

H
50
字号
#ifndef OPTI621_H#define OPTI621_H#include <linux/config.h>#include <linux/pci.h>#include <linux/ide.h>static void init_setup_opti621(struct pci_dev *, ide_pci_device_t *);static void init_hwif_opti621(ide_hwif_t *);static void init_dma_opti621(ide_hwif_t *, unsigned long);static ide_pci_device_t opti621_chipsets[] __devinitdata = {	{	/* 0 */		.vendor		= PCI_VENDOR_ID_OPTI,		.device		= PCI_DEVICE_ID_OPTI_82C621,		.name		= "OPTI621",		.init_setup	= init_setup_opti621,		.init_chipset	= NULL,		.init_iops	= NULL,		.init_hwif	= init_hwif_opti621,		.init_dma	= init_dma_opti621,		.channels	= 2,		.autodma	= AUTODMA,		.enablebits	= {{0x45,0x80,0x00}, {0x40,0x08,0x00}},		.bootable	= ON_BOARD,		.extra		= 0,	},{	/* 1 */		.vendor		= PCI_VENDOR_ID_OPTI,		.device		= PCI_DEVICE_ID_OPTI_82C825,		.name		= "OPTI621X",		.init_setup	= init_setup_opti621,		.init_chipset	= NULL,		.init_iops	= NULL,		.init_hwif	= init_hwif_opti621,                .init_dma	= init_dma_opti621,		.channels	= 2,		.autodma	= AUTODMA,		.enablebits	= {{0x45,0x80,0x00}, {0x40,0x08,0x00}},		.bootable	= ON_BOARD,		.extra		= 0,	},{		.vendor		= 0,		.device		= 0,		.channels	= 0,		.bootable	= EOL,	}};#endif /* OPTI621_H */

⌨️ 快捷键说明

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