summaryrefslogtreecommitdiffstats
path: root/bsd_eth_drivers/libbsdport/libbsdport.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsd_eth_drivers/libbsdport/libbsdport.h')
-rw-r--r--bsd_eth_drivers/libbsdport/libbsdport.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/bsd_eth_drivers/libbsdport/libbsdport.h b/bsd_eth_drivers/libbsdport/libbsdport.h
index 8b88784..0fdd4a4 100644
--- a/bsd_eth_drivers/libbsdport/libbsdport.h
+++ b/bsd_eth_drivers/libbsdport/libbsdport.h
@@ -31,10 +31,6 @@
#include <rtems_udelay.h>
-#ifndef bswap32
-#define bswap32(_x) CPU_swap_u32(_x)
-#endif
-
#if defined(__LITTLE_ENDIAN__) || defined(__i386__)
static inline uint16_t htole16(uint16_t v) { return v; }
static inline uint32_t htole32(uint32_t v) { return v; }
@@ -191,9 +187,6 @@ static inline void membarrier_w() { asm volatile("eieio":::"memory"); }
#define PCIY_PMG 0x01
#endif
-#ifndef PCI_RF_DENSE
-#define PCI_RF_DENSE 0
-#endif
static inline uint32_t
pci_read_config(device_t dev, unsigned reg, int width)