Revision 7092fe866907f4f243122ab388cbf0e77305afaa authored by Majd Dibbiny on 27 June 2016, 09:08:33 UTC, committed by David S. Miller on 29 June 2016, 08:28:46 UTC
Add the upcoming ConnectX-5 PCIe 4.0 device to the list of supported devices by the mlx5 driver. Signed-off-by: Majd Dibbiny <majd@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 5be1ea8
bcd.c
#include <linux/bcd.h>
#include <linux/export.h>
unsigned _bcd2bin(unsigned char val)
{
return (val & 0x0f) + (val >> 4) * 10;
}
EXPORT_SYMBOL(_bcd2bin);
unsigned char _bin2bcd(unsigned val)
{
return ((val / 10) << 4) + val % 10;
}
EXPORT_SYMBOL(_bin2bcd);
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...