summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pci_private.h
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-04-16 03:15:08 +0000
committermdodd <mdodd@FreeBSD.org>2003-04-16 03:15:08 +0000
commitac7452631f13ef6bbb59e825e8e3ebb14d8e9a46 (patch)
treecf23c71c7e34af0cfac5b28b2ffe945c0e186ffe /sys/dev/pci/pci_private.h
parent02bfb74887fb02ecc4b5eab12bac663cb1136040 (diff)
downloadFreeBSD-src-ac7452631f13ef6bbb59e825e8e3ebb14d8e9a46.zip
FreeBSD-src-ac7452631f13ef6bbb59e825e8e3ebb14d8e9a46.tar.gz
Return status for PCI methods '{enable,disable}_{io,busmaster}'.
Reviewed by: imp
Diffstat (limited to 'sys/dev/pci/pci_private.h')
-rw-r--r--sys/dev/pci/pci_private.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/pci_private.h b/sys/dev/pci/pci_private.h
index 1064997..f0387d0 100644
--- a/sys/dev/pci/pci_private.h
+++ b/sys/dev/pci/pci_private.h
@@ -54,10 +54,10 @@ u_int32_t pci_read_config_method(device_t dev, device_t child,
int reg, int width);
void pci_write_config_method(device_t dev, device_t child,
int reg, u_int32_t val, int width);
-void pci_enable_busmaster_method(device_t dev, device_t child);
-void pci_disable_busmaster_method(device_t dev, device_t child);
-void pci_enable_io_method(device_t dev, device_t child, int space);
-void pci_disable_io_method(device_t dev, device_t child, int space);
+int pci_enable_busmaster_method(device_t dev, device_t child);
+int pci_disable_busmaster_method(device_t dev, device_t child);
+int pci_enable_io_method(device_t dev, device_t child, int space);
+int pci_disable_io_method(device_t dev, device_t child, int space);
struct resource *pci_alloc_resource(device_t dev, device_t child,
int type, int *rid, u_long start, u_long end, u_long count,
u_int flags);
OpenPOWER on IntegriCloud