Changeset 19324
- Timestamp:
- 06/05/12 02:24:19 (12 months ago)
- Location:
- src/linux/universal/linux-3.3
- Files:
-
- 1 added
- 1 deleted
- 6 edited
-
.config_mr3240 (added)
-
Makefile (modified) (1 diff)
-
arch/x86/boot/compressed/relocs.c (deleted)
-
drivers/md/raid0.c (modified) (2 diffs)
-
drivers/net/wireless/ipw2x00/ipw2200.c (modified) (3 diffs)
-
drivers/net/wireless/iwlwifi/iwl-6000.c (modified) (2 diffs)
-
drivers/net/wireless/rtlwifi/rtl8192de/sw.c (modified) (3 diffs)
-
drivers/spi/spi-fsl-spi.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/linux/universal/linux-3.3/Makefile
r19314 r19324 2 2 PATCHLEVEL = 3 3 3 SUBLEVEL = 8 4 EXTRAVERSION = -rc14 EXTRAVERSION = 5 5 NAME = Saber-toothed Squirrel 6 6 -
src/linux/universal/linux-3.3/drivers/md/raid0.c
r18778 r19324 610 610 { 611 611 struct r0conf *priv_conf; 612 int chunksect; 612 613 613 614 /* Check layout: … … 620 621 } 621 622 623 /* 624 * a raid1 doesn't have the notion of chunk size, so 625 * figure out the largest suitable size we can use. 626 */ 627 chunksect = 64 * 2; /* 64K by default */ 628 629 /* The array must be an exact multiple of chunksize */ 630 while (chunksect && (mddev->array_sectors & (chunksect - 1))) 631 chunksect >>= 1; 632 633 if ((chunksect << 9) < PAGE_SIZE) 634 /* array size does not allow a suitable chunk size */ 635 return ERR_PTR(-EINVAL); 636 622 637 /* Set new parameters */ 623 638 mddev->new_level = 0; 624 639 mddev->new_layout = 0; 625 mddev->new_chunk_sectors = 128; /* by default set chunk size to 64k */ 640 mddev->new_chunk_sectors = chunksect; 641 mddev->chunk_sectors = chunksect; 626 642 mddev->delta_disks = 1 - mddev->raid_disks; 627 643 mddev->raid_disks = 1; -
src/linux/universal/linux-3.3/drivers/net/wireless/ipw2x00/ipw2200.c
r19314 r19324 11444 11444 } 11445 11445 11446 /* Called by register_netdev() */ 11447 static int ipw_net_init(struct net_device *dev) 11448 { 11449 int rc = 0; 11450 struct ipw_priv *priv = libipw_priv(dev); 11451 11452 mutex_lock(&priv->mutex); 11453 if (ipw_up(priv)) 11454 rc = -EIO; 11455 mutex_unlock(&priv->mutex); 11456 11457 return rc; 11458 } 11459 11446 11460 static int ipw_wdev_init(struct net_device *dev) 11447 11461 { … … 11709 11723 11710 11724 static const struct net_device_ops ipw_netdev_ops = { 11725 .ndo_init = ipw_net_init, 11711 11726 .ndo_open = ipw_net_open, 11712 11727 .ndo_stop = ipw_net_stop, … … 11833 11848 mutex_unlock(&priv->mutex); 11834 11849 goto out_release_irq; 11835 }11836 11837 if (ipw_up(priv)) {11838 mutex_unlock(&priv->mutex);11839 err = -EIO;11840 goto out_remove_sysfs;11841 11850 } 11842 11851 -
src/linux/universal/linux-3.3/drivers/net/wireless/iwlwifi/iwl-6000.c
r19314 r19324 352 352 .fw_name_pre = IWL6005_FW_PRE, \ 353 353 .ucode_api_max = IWL6000G2_UCODE_API_MAX, \ 354 .ucode_api_ok = IWL6000G2 B_UCODE_API_OK,\354 .ucode_api_ok = IWL6000G2_UCODE_API_OK, \ 355 355 .ucode_api_min = IWL6000G2_UCODE_API_MIN, \ 356 356 .eeprom_ver = EEPROM_6005_EEPROM_VERSION, \ … … 392 392 .fw_name_pre = IWL6030_FW_PRE, \ 393 393 .ucode_api_max = IWL6000G2_UCODE_API_MAX, \ 394 .ucode_api_ok = IWL6000G2 _UCODE_API_OK,\394 .ucode_api_ok = IWL6000G2B_UCODE_API_OK, \ 395 395 .ucode_api_min = IWL6000G2_UCODE_API_MIN, \ 396 396 .eeprom_ver = EEPROM_6030_EEPROM_VERSION, \ -
src/linux/universal/linux-3.3/drivers/net/wireless/rtlwifi/rtl8192de/sw.c
r18879 r19324 95 95 struct rtl_priv *rtlpriv = rtl_priv(hw); 96 96 struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw)); 97 static int header_print;98 97 99 98 rtlpriv->dm.dm_initialgain_enable = true; … … 175 174 skb_queue_head_init(&rtlpriv->mac80211.skb_waitq[tid]); 176 175 177 /* Only load firmware for first MAC */178 if (header_print)179 return 0;180 181 176 /* for firmware buf */ 182 177 rtlpriv->rtlhal.pfirmware = vzalloc(0x8000); … … 190 185 pr_info("Driver for Realtek RTL8192DE WLAN interface\n"); 191 186 pr_info("Loading firmware file %s\n", rtlpriv->cfg->fw_name); 192 header_print++;193 187 194 188 /* request fw */ -
src/linux/universal/linux-3.3/drivers/spi/spi-fsl-spi.c
r19314 r19324 140 140 { 141 141 struct mpc8xxx_spi *mpc8xxx_spi = spi_master_get_devdata(spi->master); 142 struct fsl_spi_platform_data *pdata = spi->dev.parent->platform_data;142 struct fsl_spi_platform_data *pdata; 143 143 bool pol = spi->mode & SPI_CS_HIGH; 144 144 struct spi_mpc8xxx_cs *cs = spi->controller_state; 145 146 pdata = spi->dev.parent->parent->platform_data; 145 147 146 148 if (value == BITBANG_CS_INACTIVE) {
Note: See TracChangeset
for help on using the changeset viewer.
