[rtems-libbsd commit] PCI: Enable some functions
Sebastian Huber
sebh at rtems.org
Fri Jul 31 11:56:56 UTC 2015
Module: rtems-libbsd
Branch: master
Commit: 855c12048c5a3262305111980e461835d6d5a5bf
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=855c12048c5a3262305111980e461835d6d5a5bf
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Jul 31 13:55:13 2015 +0200
PCI: Enable some functions
---
freebsd/sys/dev/pci/pcivar.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/freebsd/sys/dev/pci/pcivar.h b/freebsd/sys/dev/pci/pcivar.h
index a951ca6..e28eb93 100644
--- a/freebsd/sys/dev/pci/pcivar.h
+++ b/freebsd/sys/dev/pci/pcivar.h
@@ -326,7 +326,6 @@ pci_enable_busmaster(device_t dev)
return(PCI_ENABLE_BUSMASTER(device_get_parent(dev), dev));
}
-#ifndef __rtems__
static __inline int
pci_disable_busmaster(device_t dev)
{
@@ -356,7 +355,6 @@ pci_get_vpd_readonly(device_t dev, const char *kw, const char **identptr)
{
return(PCI_GET_VPD_READONLY(device_get_parent(dev), dev, kw, identptr));
}
-#endif /* __rtems__ */
/*
* Check if the address range falls within the VGA defined address range(s)
More information about the vc
mailing list