diff options
author | se <se@FreeBSD.org> | 1997-01-21 23:23:40 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 1997-01-21 23:23:40 +0000 |
commit | 784b0949d6e2aa7e6a0c069ff892d2c3aeb4bf31 (patch) | |
tree | 1541b922e1ceb2ea7b909670526e8b7b791162a1 /sys/sys/pciio.h | |
parent | fe537196d330ad8f0b38629a10633c0313ffd586 (diff) | |
download | FreeBSD-src-784b0949d6e2aa7e6a0c069ff892d2c3aeb4bf31.zip FreeBSD-src-784b0949d6e2aa7e6a0c069ff892d2c3aeb4bf31.tar.gz |
Add PCI LKM support.
Diffstat (limited to 'sys/sys/pciio.h')
-rw-r--r-- | sys/sys/pciio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/sys/pciio.h b/sys/sys/pciio.h index 4d9e1cc..1820c08 100644 --- a/sys/sys/pciio.h +++ b/sys/sys/pciio.h @@ -15,6 +15,8 @@ struct pci_conf { pcidi_t pc_devid; /* device ID */ pcidi_t pc_subid; /* subvendor ID */ u_int32_t pc_class; /* device class */ + struct pci_device *pc_dvp; /* device driver pointer or NULL */ + struct pcicb *pc_cb; /* pointer to bus parameters */ }; struct pci_conf_io { @@ -33,5 +35,6 @@ struct pci_io { #define PCIOCGETCONF _IOWR('p', 1, struct pci_conf_io) #define PCIOCREAD _IOWR('p', 2, struct pci_io) #define PCIOCWRITE _IOWR('p', 3, struct pci_io) +#define PCIOCATTACHED _IOWR('p', 4, struct pci_io) #endif /* _PCI_IOCTL_H */ |