cs5530.h
来自「linux-2.4.29操作系统的源码」· C头文件 代码 · 共 55 行
H
55 行
#ifndef CS5530_H#define CS5530_H#include <linux/config.h>#include <linux/pci.h>#include <linux/ide.h>#define DISPLAY_CS5530_TIMINGS#if defined(DISPLAY_CS5530_TIMINGS) && defined(CONFIG_PROC_FS)#include <linux/stat.h>#include <linux/proc_fs.h>static u8 cs5530_proc;static int cs5530_get_info(char *, char **, off_t, int);static ide_pci_host_proc_t cs5530_procs[] __initdata = { { .name = "cs5530", .set = 1, .get_info = cs5530_get_info, .parent = NULL, },};#endif /* DISPLAY_CS5530_TIMINGS && CONFIG_PROC_FS */static unsigned int init_chipset_cs5530(struct pci_dev *, const char *);static void init_hwif_cs5530(ide_hwif_t *);static void init_dma_cs5530(ide_hwif_t *, unsigned long);static ide_pci_device_t cs5530_chipsets[] __devinitdata = { { /* 0 */ .vendor = PCI_VENDOR_ID_CYRIX, .device = PCI_DEVICE_ID_CYRIX_5530_IDE, .name = "CS5530", .init_chipset = init_chipset_cs5530, .init_iops = NULL, .init_hwif = init_hwif_cs5530, .init_dma = init_dma_cs5530, .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 /* CS5530_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?