OpenCloudOS-Kernel/drivers/net/ethernet/myricom
Andrew Gallatin 59e955edb7 myri10ge: fix most sparse warnings
- convert remaining htonl/ntohl +__raw_read/__raw_writel to
  swab32 + readl/writel
- add missing __iomem qualifier in myri10ge_open()
- fix  dubious: x & !y warning by switching from logical to bitwise not

The swab32 conversion fixes a bug in myri10ge_led() where
big-endian machines would write the wrong pattern.

The only remaining warning (lock context imbalance) is due to
the use of __netif_tx_trylock(), and cannot easily be fixed.

Signed-off-by: Andrew Gallatin <gallatin@myri.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-12-05 16:01:27 -05:00
..
myri10ge myri10ge: fix most sparse warnings 2012-12-05 16:01:27 -05:00
Kconfig myri10ge: Convert from LRO to GRO 2012-11-30 13:44:04 -05:00
Makefile myri*: Move the Myricom drivers 2011-08-11 02:41:42 -07:00