smsc95xx: detect chip revision specific features
authorSteve Glendinning <steve.glendinning@shawell.net>
Thu, 22 Nov 2012 08:05:23 +0000 (08:05 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Nov 2012 19:15:16 +0000 (14:15 -0500)
commit9ebca5071c8679bba96981af6bc29370f1c2f0aa
tree86c8ac32babd9ac737d065b66ba081a5595315cf
parentaf3d7c1e55a6c3ce92ac86d5e1a3b606028c0145
smsc95xx: detect chip revision specific features

Instead of storing the number of wake-up frame filter registers
in the pdata structure, this patch changes the driver to detect
the type of device we have and store its available features.

The new two features will be used in future patches.

This patch is intended to have no change in behaviour.

Signed-off-by: Steve Glendinning <steve.glendinning@shawell.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/smsc95xx.c
drivers/net/usb/smsc95xx.h