📄 dev_pci.c
字号:
#include <sys/param.h>#include <sys/device.h>static int pci_match(struct device *parent, void *match, void *aux);static void pci_attach(struct device *parent, struct device *self, void *aux);struct cfattach pci_ca = { 0, pci_match, pci_attach, NULL};struct cfdriver pci_cd = { NULL, "pci", DV_DULL};static intpci_match(parent, match, aux) struct device *parent; void *match; void *aux;{ return (1);}static voidpci_attach(parent, self, aux) struct device *parent, *self; void *aux;{}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -