Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/mlx4/driver.h
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | static inline u64 mlx4_mac_to_u64(const u8 *addr) | ||||
for (i = 0; i < ETH_ALEN; i++) { | for (i = 0; i < ETH_ALEN; i++) { | ||||
mac <<= 8; | mac <<= 8; | ||||
mac |= addr[i]; | mac |= addr[i]; | ||||
} | } | ||||
return mac; | return mac; | ||||
} | } | ||||
void mlx4_disable_interrupts(struct mlx4_dev *); | |||||
void mlx4_poll_interrupts(struct mlx4_dev *); | |||||
#endif /* MLX4_DRIVER_H */ | #endif /* MLX4_DRIVER_H */ |