From a8bf95d0249565f4210ccab5c13232d501ce0c2d Mon Sep 17 00:00:00 2001 From: Till Straumann Date: Wed, 22 Apr 2009 22:06:58 +0000 Subject: - importing updated version from SLAC as of 20090422 --- bsd_eth_drivers/libbsdport/libbsdport.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'bsd_eth_drivers/libbsdport/libbsdport.h') 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 -#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) -- cgit v1.2.3