]> git.baikalelectronics.ru Git - kernel.git/commit
gianfar v5: implement nfc
authorSebastian Poehn <sebastian.poehn@belden.com>
Mon, 20 Jun 2011 20:57:59 +0000 (13:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jun 2011 20:57:59 +0000 (13:57 -0700)
commit0f693fb44d510e6695b0bdec62b98eabc58c14b9
tree68a67ba35f2a4c27cef326ce87a9d97593416fae
parentd985a33aa5418c2e02546a37d0b91654dec9bc06
gianfar v5: implement nfc

This patch adds all missing functionalities for nfc except GRXFH. There is so much code because hardware has not a TCAM.
Further hardware rule space is very limited. So I had to extensively use
optimization features. Both reasons lead to the necessity to hold all
online flows in a linked-list.

Change-log:
# Some suggestions by Joe Perches applied (thanks!)
# Shorted some logs
# Use memcmp() for comparing

Signed-off-by: Sebastian Poehn <sebastian.poehn@belden.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c
drivers/net/gianfar.h
drivers/net/gianfar_ethtool.c