when changing the mac address of a bridge interface, keep member interface addresses...
[openwrt.git] / target / linux / brcm63xx / patches-2.6.33 / 240-spi.patch
index 8d7e7b2..a886a02 100644 (file)
 +      if (is_on == BITBANG_CS_INACTIVE)
 +              val |= SPI_CMD_NOOP;
 +      else if (is_on == BITBANG_CS_ACTIVE)
 +      if (is_on == BITBANG_CS_INACTIVE)
 +              val |= SPI_CMD_NOOP;
 +      else if (is_on == BITBANG_CS_ACTIVE)
-+              val |= (1 << spi->chip_select << SPI_CMD_DEVICE_ID_SHIFT);
++              val |= (spi->chip_select << SPI_CMD_DEVICE_ID_SHIFT);
 +
 +      bcm_spi_writew(val, bs->regs, SPI_CMD);
 +}
 +
 +      bcm_spi_writew(val, bs->regs, SPI_CMD);
 +}
This page took 0.039389 seconds and 4 git commands to generate.