diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2017-06-09 19:57:27 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2017-06-09 19:57:27 +0000 |
| commit | f67b5de754c9682fe9e69abe60f78590ea124726 (patch) | |
| tree | 8a446c5f6cd026651bb41b36a0f5196000b8e943 /sys | |
| parent | 465659643b5539bd609c00c41a611e3095a31cf9 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/compat/linuxkpi/common/include/linux/pci.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/pci.h b/sys/compat/linuxkpi/common/include/linux/pci.h index ae96f8c1d9f82..82d1e279e27ce 100644 --- a/sys/compat/linuxkpi/common/include/linux/pci.h +++ b/sys/compat/linuxkpi/common/include/linux/pci.h @@ -321,6 +321,9 @@ pci_enable_device(struct pci_dev *pdev) static inline void pci_disable_device(struct pci_dev *pdev) { + + pci_disable_io(pdev->dev.bsddev, SYS_RES_IOPORT); + pci_disable_io(pdev->dev.bsddev, SYS_RES_MEMORY); } static inline int |
