From: Ben Hutchings Date: Fri, 23 Oct 2009 08:30:06 +0000 (+0000) Subject: sfc: Remove versioned bitfield macros X-Git-Tag: v2.6.33-rc1~388^2~733 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56241ceb9e75fc1a5fb142a754096ad6c6ab19ee;p=pandora-kernel.git sfc: Remove versioned bitfield macros These macros are not extensible to more than two NIC types without repetition of register definitions, and they are only used to deal with a few fields in RX_CFG_REG and global events which moved between Falcon rev A1 and B0. Therefore: - Move RX_CFG_REG initialisation into its own function which tests the NIC revision just once - Explicitly test the NIC revision when checking the RX_RECOVERY flag in global events - Merge definitions of RX_XOFF_MAC_EN flag, which did not move - Remove the macro definitions Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed