📄 nvidia.h
字号:
#ifndef NFORCE_H#define NFORCE_H#include <linux/config.h>#include <linux/pci.h>#include <linux/ide.h>#define DISPLAY_NFORCE_TIMINGS#if defined(DISPLAY_NFORCE_TIMINGS) && defined(CONFIG_PROC_FS)#include <linux/stat.h>#include <linux/proc_fs.h>static u8 nforce_proc;static int nforce_get_info(char *, char **, off_t, int);static ide_pci_host_proc_t nforce_procs[] __initdata = { { name: "nforce", set: 1, get_info: nforce_get_info, parent: NULL, },};#endif /* defined(DISPLAY_NFORCE_TIMINGS) && defined(CONFIG_PROC_FS) */static unsigned int init_chipset_nforce(struct pci_dev *, const char *);static void init_hwif_nforce(ide_hwif_t *);static void init_dma_nforce(ide_hwif_t *, unsigned long);static ide_pci_device_t nvidia_chipsets[] __devinitdata = { { vendor: PCI_VENDOR_ID_NVIDIA, device: PCI_DEVICE_ID_NVIDIA_NFORCE_IDE, name: "NFORCE", init_chipset: init_chipset_nforce, init_iops: NULL, init_hwif: init_hwif_nforce, init_dma: init_dma_nforce, channels: 2, autodma: AUTODMA, enablebits: {{0x50,0x01,0x01}, {0x50,0x02,0x02}}, bootable: ON_BOARD, extra: 0, }, { vendor: PCI_VENDOR_ID_NVIDIA, device: PCI_DEVICE_ID_NVIDIA_NFORCE2_IDE, name: "NFORCE2", init_chipset: init_chipset_nforce, init_iops: NULL, init_hwif: init_hwif_nforce, init_dma: init_dma_nforce, channels: 2, autodma: AUTODMA, enablebits: {{0x50,0x01,0x01}, {0x50,0x02,0x02}}, bootable: ON_BOARD, extra: 0, }};#endif /* NFORCE_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -