aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skfp/fplustm.c
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2006-12-19 16:09:08 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-05 16:58:47 -0500
commitbc63eb9c7ec0eb7b091db2d82d46d1e68ff9e231 (patch)
treedfcbc44d49a516eb2c95ac2f724fbee52427d0fd /drivers/net/skfp/fplustm.c
parent079ca7da1e6d05c7cb82e9c4f2e1d98839332664 (diff)
net: use bitrev8
Use bitrev8 for bmac, mace, macmace, macsonic, and skfp drivers. [akpm@osdl.org: use the API, not the array] Cc: Jeff Garzik <jgarzik@pobox.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Mirko Lindner <mlindner@syskonnect.de> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/skfp/fplustm.c')
-rw-r--r--drivers/net/skfp/fplustm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/skfp/fplustm.c b/drivers/net/skfp/fplustm.c
index 0784f558ca9a..a45205da8033 100644
--- a/drivers/net/skfp/fplustm.c
+++ b/drivers/net/skfp/fplustm.c
@@ -22,7 +22,7 @@
22#include "h/fddi.h" 22#include "h/fddi.h"
23#include "h/smc.h" 23#include "h/smc.h"
24#include "h/supern_2.h" 24#include "h/supern_2.h"
25#include "can.c" 25#include <linux/bitrev.h>
26 26
27#ifndef lint 27#ifndef lint
28static const char ID_sccs[] = "@(#)fplustm.c 1.32 99/02/23 (C) SK " ; 28static const char ID_sccs[] = "@(#)fplustm.c 1.32 99/02/23 (C) SK " ;
@@ -1073,7 +1073,7 @@ static struct s_fpmc* mac_get_mc_table(struct s_smc *smc,
1073 if (can) { 1073 if (can) {
1074 p = own->a ; 1074 p = own->a ;
1075 for (i = 0 ; i < 6 ; i++, p++) 1075 for (i = 0 ; i < 6 ; i++, p++)
1076 *p = canonical[*p] ; 1076 *p = bitrev8(*p);
1077 } 1077 }
1078 slot = NULL; 1078 slot = NULL;
1079 for (i = 0, tb = smc->hw.fp.mc.table ; i < FPMAX_MULTICAST ; i++, tb++){ 1079 for (i = 0, tb = smc->hw.fp.mc.table ; i < FPMAX_MULTICAST ; i++, tb++){