diff options
| author | Patrick McHardy <kaber@trash.net> | 2010-04-20 10:02:01 -0400 |
|---|---|---|
| committer | Patrick McHardy <kaber@trash.net> | 2010-04-20 10:02:01 -0400 |
| commit | 62910554656cdcd6b6f84a5154c4155aae4ca231 (patch) | |
| tree | dcf14004f6fd2ef7154362ff948bfeba0f3ea92d /drivers/net/skfp | |
| parent | 22265a5c3c103cf8c50be62e6c90d045eb649e6d (diff) | |
| parent | ab9304717f7624c41927f442e6b6d418b2d8b3e4 (diff) | |
Merge branch 'master' of /repos/git/net-next-2.6
Conflicts:
Documentation/feature-removal-schedule.txt
net/ipv6/netfilter/ip6t_REJECT.c
net/netfilter/xt_limit.c
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'drivers/net/skfp')
| -rw-r--r-- | drivers/net/skfp/fplustm.c | 2 | ||||
| -rw-r--r-- | drivers/net/skfp/pcmplc.c | 4 | ||||
| -rw-r--r-- | drivers/net/skfp/skfddi.c | 14 | ||||
| -rw-r--r-- | drivers/net/skfp/srf.c | 2 |
4 files changed, 11 insertions, 11 deletions
diff --git a/drivers/net/skfp/fplustm.c b/drivers/net/skfp/fplustm.c index 6028bbb3b28a..9d8d1ac48176 100644 --- a/drivers/net/skfp/fplustm.c +++ b/drivers/net/skfp/fplustm.c | |||
| @@ -1352,7 +1352,7 @@ void rtm_set_timer(struct s_smc *smc) | |||
| 1352 | /* | 1352 | /* |
| 1353 | * MIB timer and hardware timer have the same resolution of 80nS | 1353 | * MIB timer and hardware timer have the same resolution of 80nS |
| 1354 | */ | 1354 | */ |
| 1355 | DB_RMT("RMT: setting new fddiPATHT_Rmode, t = %d ns \n", | 1355 | DB_RMT("RMT: setting new fddiPATHT_Rmode, t = %d ns\n", |
| 1356 | (int) smc->mib.a[PATH0].fddiPATHT_Rmode,0) ; | 1356 | (int) smc->mib.a[PATH0].fddiPATHT_Rmode,0) ; |
| 1357 | outpd(ADDR(B2_RTM_INI),smc->mib.a[PATH0].fddiPATHT_Rmode) ; | 1357 | outpd(ADDR(B2_RTM_INI),smc->mib.a[PATH0].fddiPATHT_Rmode) ; |
| 1358 | } | 1358 | } |
diff --git a/drivers/net/skfp/pcmplc.c b/drivers/net/skfp/pcmplc.c index e6b33ee05ede..ba45bc794d77 100644 --- a/drivers/net/skfp/pcmplc.c +++ b/drivers/net/skfp/pcmplc.c | |||
| @@ -1277,7 +1277,7 @@ static void pc_rcode_actions(struct s_smc *smc, int bit, struct s_phy *phy) | |||
| 1277 | 1277 | ||
| 1278 | mib = phy->mib ; | 1278 | mib = phy->mib ; |
| 1279 | 1279 | ||
| 1280 | DB_PCMN(1,"SIG rec %x %x: \n", bit,phy->r_val[bit] ) ; | 1280 | DB_PCMN(1,"SIG rec %x %x:\n", bit,phy->r_val[bit] ) ; |
| 1281 | bit++ ; | 1281 | bit++ ; |
| 1282 | 1282 | ||
| 1283 | switch(bit) { | 1283 | switch(bit) { |
| @@ -1580,7 +1580,7 @@ static void pc_tcode_actions(struct s_smc *smc, const int bit, struct s_phy *phy | |||
| 1580 | mib->fddiPORTMacIndicated.T_val = phy->t_val[9] ; | 1580 | mib->fddiPORTMacIndicated.T_val = phy->t_val[9] ; |
| 1581 | break ; | 1581 | break ; |
| 1582 | } | 1582 | } |
| 1583 | DB_PCMN(1,"SIG snd %x %x: \n", bit,phy->t_val[bit] ) ; | 1583 | DB_PCMN(1,"SIG snd %x %x:\n", bit,phy->t_val[bit] ) ; |
| 1584 | } | 1584 | } |
| 1585 | 1585 | ||
| 1586 | /* | 1586 | /* |
diff --git a/drivers/net/skfp/skfddi.c b/drivers/net/skfp/skfddi.c index 1921a54ea995..7912606b0bc7 100644 --- a/drivers/net/skfp/skfddi.c +++ b/drivers/net/skfp/skfddi.c | |||
| @@ -78,13 +78,13 @@ static const char * const boot_msg = | |||
| 78 | #include <linux/kernel.h> | 78 | #include <linux/kernel.h> |
| 79 | #include <linux/errno.h> | 79 | #include <linux/errno.h> |
| 80 | #include <linux/ioport.h> | 80 | #include <linux/ioport.h> |
| 81 | #include <linux/slab.h> | ||
| 82 | #include <linux/interrupt.h> | 81 | #include <linux/interrupt.h> |
| 83 | #include <linux/pci.h> | 82 | #include <linux/pci.h> |
| 84 | #include <linux/netdevice.h> | 83 | #include <linux/netdevice.h> |
| 85 | #include <linux/fddidevice.h> | 84 | #include <linux/fddidevice.h> |
| 86 | #include <linux/skbuff.h> | 85 | #include <linux/skbuff.h> |
| 87 | #include <linux/bitops.h> | 86 | #include <linux/bitops.h> |
| 87 | #include <linux/gfp.h> | ||
| 88 | 88 | ||
| 89 | #include <asm/byteorder.h> | 89 | #include <asm/byteorder.h> |
| 90 | #include <asm/io.h> | 90 | #include <asm/io.h> |
| @@ -852,7 +852,7 @@ static void skfp_ctl_set_multicast_list(struct net_device *dev) | |||
| 852 | static void skfp_ctl_set_multicast_list_wo_lock(struct net_device *dev) | 852 | static void skfp_ctl_set_multicast_list_wo_lock(struct net_device *dev) |
| 853 | { | 853 | { |
| 854 | struct s_smc *smc = netdev_priv(dev); | 854 | struct s_smc *smc = netdev_priv(dev); |
| 855 | struct dev_mc_list *dmi; | 855 | struct netdev_hw_addr *ha; |
| 856 | 856 | ||
| 857 | /* Enable promiscuous mode, if necessary */ | 857 | /* Enable promiscuous mode, if necessary */ |
| 858 | if (dev->flags & IFF_PROMISC) { | 858 | if (dev->flags & IFF_PROMISC) { |
| @@ -876,13 +876,13 @@ static void skfp_ctl_set_multicast_list_wo_lock(struct net_device *dev) | |||
| 876 | /* use exact filtering */ | 876 | /* use exact filtering */ |
| 877 | 877 | ||
| 878 | // point to first multicast addr | 878 | // point to first multicast addr |
| 879 | netdev_for_each_mc_addr(dmi, dev) { | 879 | netdev_for_each_mc_addr(ha, dev) { |
| 880 | mac_add_multicast(smc, | 880 | mac_add_multicast(smc, |
| 881 | (struct fddi_addr *)dmi->dmi_addr, | 881 | (struct fddi_addr *)ha->addr, |
| 882 | 1); | 882 | 1); |
| 883 | 883 | ||
| 884 | pr_debug(KERN_INFO "ENABLE MC ADDRESS: %pMF\n", | 884 | pr_debug(KERN_INFO "ENABLE MC ADDRESS: %pMF\n", |
| 885 | dmi->dmi_addr); | 885 | ha->addr); |
| 886 | } | 886 | } |
| 887 | 887 | ||
| 888 | } else { // more MC addresses than HW supports | 888 | } else { // more MC addresses than HW supports |
diff --git a/drivers/net/skfp/srf.c b/drivers/net/skfp/srf.c index 6caf713b744c..40882b3faba6 100644 --- a/drivers/net/skfp/srf.c +++ b/drivers/net/skfp/srf.c | |||
| @@ -414,7 +414,7 @@ static void smt_send_srf(struct s_smc *smc) | |||
| 414 | smt->smt_len = SMT_MAX_INFO_LEN - pcon.pc_len ; | 414 | smt->smt_len = SMT_MAX_INFO_LEN - pcon.pc_len ; |
| 415 | mb->sm_len = smt->smt_len + sizeof(struct smt_header) ; | 415 | mb->sm_len = smt->smt_len + sizeof(struct smt_header) ; |
| 416 | 416 | ||
| 417 | DB_SMT("SRF: sending SRF at %x, len %d \n",smt,mb->sm_len) ; | 417 | DB_SMT("SRF: sending SRF at %x, len %d\n",smt,mb->sm_len) ; |
| 418 | DB_SMT("SRF: state SR%d Threshold %d\n", | 418 | DB_SMT("SRF: state SR%d Threshold %d\n", |
| 419 | smc->srf.sr_state,smc->srf.SRThreshold/TICKS_PER_SECOND) ; | 419 | smc->srf.sr_state,smc->srf.SRThreshold/TICKS_PER_SECOND) ; |
| 420 | #ifdef DEBUG | 420 | #ifdef DEBUG |
