···346346 | (priv->read_reg(priv, REG_ID2) >> 5);347347 }348348349349+ cf->can_dlc = get_can_dlc(fi & 0x0F);349350 if (fi & FI_RTR) {350351 id |= CAN_RTR_FLAG;351352 } else {352352- cf->can_dlc = get_can_dlc(fi & 0x0F);353353 for (i = 0; i < cf->can_dlc; i++)354354 cf->data[i] = priv->read_reg(priv, dreg++);355355 }
+4-4
drivers/net/ftmac100.c
···139139 * that hardware reset completed (what the f*ck).140140 * We still need to wait for a while.141141 */142142- usleep_range(500, 1000);142142+ udelay(500);143143 return 0;144144 }145145146146- usleep_range(1000, 10000);146146+ udelay(1000);147147 }148148149149 netdev_err(netdev, "software reset failed\n");···772772 if ((phycr & FTMAC100_PHYCR_MIIRD) == 0)773773 return phycr & FTMAC100_PHYCR_MIIRDATA;774774775775- usleep_range(100, 1000);775775+ udelay(100);776776 }777777778778 netdev_err(netdev, "mdio read timed out\n");···801801 if ((phycr & FTMAC100_PHYCR_MIIWR) == 0)802802 return;803803804804- usleep_range(100, 1000);804804+ udelay(100);805805 }806806807807 netdev_err(netdev, "mdio write timed out\n");
+4
drivers/net/mii.c
···4949 result |= ADVERTISED_100baseT_Half;5050 if (advert & ADVERTISE_100FULL)5151 result |= ADVERTISED_100baseT_Full;5252+ if (advert & ADVERTISE_PAUSE_CAP)5353+ result |= ADVERTISED_Pause;5454+ if (advert & ADVERTISE_PAUSE_ASYM)5555+ result |= ADVERTISED_Asym_Pause;52565357 return result;5458}
···316316317317 hdr_len = ieee80211_hdrlen(fc);318318319319- /* Find index into station table for destination station */320320- sta_id = iwl_legacy_sta_id_or_broadcast(priv, ctx, info->control.sta);321321- if (sta_id == IWL_INVALID_STATION) {322322- IWL_DEBUG_DROP(priv, "Dropping - INVALID STATION: %pM\n",323323- hdr->addr1);324324- goto drop_unlock;319319+ /* For management frames use broadcast id to do not break aggregation */320320+ if (!ieee80211_is_data(fc))321321+ sta_id = ctx->bcast_sta_id;322322+ else {323323+ /* Find index into station table for destination station */324324+ sta_id = iwl_legacy_sta_id_or_broadcast(priv, ctx, info->control.sta);325325+326326+ if (sta_id == IWL_INVALID_STATION) {327327+ IWL_DEBUG_DROP(priv, "Dropping - INVALID STATION: %pM\n",328328+ hdr->addr1);329329+ goto drop_unlock;330330+ }325331 }326332327333 IWL_DEBUG_TX(priv, "station Id %d\n", sta_id);
+19-1
drivers/net/wireless/iwlegacy/iwl-led.c
···4848MODULE_PARM_DESC(led_mode, "0=system default, "4949 "1=On(RF On)/Off(RF Off), 2=blinking");50505151+/* Throughput OFF time(ms) ON time (ms)5252+ * >300 25 255353+ * >200 to 300 40 405454+ * >100 to 200 55 555555+ * >70 to 100 65 655656+ * >50 to 70 75 755757+ * >20 to 50 85 855858+ * >10 to 20 95 955959+ * >5 to 10 110 1106060+ * >1 to 5 130 1306161+ * >0 to 1 167 1676262+ * <=0 SOLID ON6363+ */5164static const struct ieee80211_tpt_blink iwl_blink[] = {5252- { .throughput = 0 * 1024 - 1, .blink_time = 334 },6565+ { .throughput = 0, .blink_time = 334 },5366 { .throughput = 1 * 1024 - 1, .blink_time = 260 },5467 { .throughput = 5 * 1024 - 1, .blink_time = 220 },5568 { .throughput = 10 * 1024 - 1, .blink_time = 190 },···113100114101 if (priv->blink_on == on && priv->blink_off == off)115102 return 0;103103+104104+ if (off == 0) {105105+ /* led is SOLID_ON */106106+ on = IWL_LED_SOLID;107107+ }116108117109 IWL_DEBUG_LED(priv, "Led blink time compensation=%u\n",118110 priv->cfg->base_params->led_compensation);
+4-4
drivers/net/wireless/iwlegacy/iwl4965-base.c
···29922992 struct iwl_priv *priv = container_of(work, struct iwl_priv,29932993 txpower_work);2994299429952995+ mutex_lock(&priv->mutex);29962996+29952997 /* If a scan happened to start before we got here29962998 * then just return; the statistics notification will29972999 * kick off another scheduled work to compensate for29983000 * any temperature delta we missed here. */29993001 if (test_bit(STATUS_EXIT_PENDING, &priv->status) ||30003002 test_bit(STATUS_SCANNING, &priv->status))30013001- return;30023002-30033003- mutex_lock(&priv->mutex);30033003+ goto out;3004300430053005 /* Regardless of if we are associated, we must reconfigure the30063006 * TX power since frames can be sent on non-radar channels while···30103010 /* Update last_temperature to keep is_calib_needed from running30113011 * when it isn't needed... */30123012 priv->last_temperature = priv->temperature;30133013-30133013+out:30143014 mutex_unlock(&priv->mutex);30153015}30163016
+11-6
drivers/net/wireless/iwlwifi/iwl-agn-tx.c
···582582583583 hdr_len = ieee80211_hdrlen(fc);584584585585- /* Find index into station table for destination station */586586- sta_id = iwl_sta_id_or_broadcast(priv, ctx, info->control.sta);587587- if (sta_id == IWL_INVALID_STATION) {588588- IWL_DEBUG_DROP(priv, "Dropping - INVALID STATION: %pM\n",589589- hdr->addr1);590590- goto drop_unlock;585585+ /* For management frames use broadcast id to do not break aggregation */586586+ if (!ieee80211_is_data(fc))587587+ sta_id = ctx->bcast_sta_id;588588+ else {589589+ /* Find index into station table for destination station */590590+ sta_id = iwl_sta_id_or_broadcast(priv, ctx, info->control.sta);591591+ if (sta_id == IWL_INVALID_STATION) {592592+ IWL_DEBUG_DROP(priv, "Dropping - INVALID STATION: %pM\n",593593+ hdr->addr1);594594+ goto drop_unlock;595595+ }591596 }592597593598 IWL_DEBUG_TX(priv, "station Id %d\n", sta_id);
···4141 default n42424343config NET_DSA_MV88E61314444- bool "Marvell 88E6095/6095F/6131 ethernet switch chip support"4444+ bool "Marvell 88E6085/6095/6095F/6131 ethernet switch chip support"4545 select NET_DSA_MV88E6XXX4646 select NET_DSA_MV88E6XXX_NEED_PPU4747 select NET_DSA_TAG_DSA4848 ---help---4949- This enables support for the Marvell 88E6095/6095F/61314949+ This enables support for the Marvell 88E6085/6095/6095F/61315050 ethernet switch chips.51515252config NET_DSA_MV88E6123_61_65
+21-5
net/dsa/mv88e6131.c
···207207 * mode, but do not enable forwarding of unknown unicasts.208208 */209209 val = 0x0433;210210- if (p == dsa_upstream_port(ds))210210+ if (p == dsa_upstream_port(ds)) {211211 val |= 0x0104;212212+ /*213213+ * On 6085, unknown multicast forward is controlled214214+ * here rather than in Port Control 2 register.215215+ */216216+ if (ps->id == ID_6085)217217+ val |= 0x0008;218218+ }212219 if (ds->dsa_port_mask & (1 << p))213220 val |= 0x0100;214221 REG_WRITE(addr, 0x04, val);···258251 * If this is the upstream port for this switch, enable259252 * forwarding of unknown multicast addresses.260253 */261261- val = 0x0080 | dsa_upstream_port(ds);262262- if (p == dsa_upstream_port(ds))263263- val |= 0x0040;264264- REG_WRITE(addr, 0x08, val);254254+ if (ps->id == ID_6085)255255+ /*256256+ * on 6085, bits 3:0 are reserved, bit 6 control ARP257257+ * mirroring, and multicast forward is handled in258258+ * Port Control register.259259+ */260260+ REG_WRITE(addr, 0x08, 0x0080);261261+ else {262262+ val = 0x0080 | dsa_upstream_port(ds);263263+ if (p == dsa_upstream_port(ds))264264+ val |= 0x0040;265265+ REG_WRITE(addr, 0x08, val);266266+ }265267266268 /*267269 * Rate Control: disable ingress rate limiting.