Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus
Pull MIPS updates from Ralf Baechle: "More hardware support across the field including a bunch of device drivers. The highlight however really are further steps towards device tree. This has been sitting in -next for ages. All MIPS _defconfigs have been tested to boot or where I don't have hardware available, to at least build fine." * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (77 commits) MIPS: Loongson 1B: Add defconfig MIPS: Loongson 1B: Add board support MIPS: Netlogic: early console fix MIPS: Netlogic: Fix indentation of smpboot.S MIPS: Netlogic: remove cpu_has_dc_aliases define for XLP MIPS: Netlogic: Remove unused pcibios_fixups MIPS: Netlogic: Add XLP SoC devices in FDT MIPS: Netlogic: Add IRQ mappings for more devices MIPS: Netlogic: USB support for XLP MIPS: Netlogic: XLP PCIe controller support. MIPS: Netlogic: Platform changes for XLR/XLS I2C MIPS: Netlogic: Platform NAND/NOR flash support MIPS: Netlogic: Platform changes for XLS USB MIPS: Netlogic: Remove NETLOGIC_ prefix MIPS: Netlogic: SMP wakeup code update MIPS: Netlogic: Update comments in smpboot.S MIPS: BCM63XX: Add 96328avng reference board MIPS: Expose PCIe drivers for MIPS MIPS: BCM63XX: Add PCIe Support for BCM6328 MIPS: BCM63XX: Move the PCI initialization into its own function ...
This commit is contained in:
@@ -304,7 +304,7 @@ static void __devinit quirk_slc90e66_bridge(struct pci_dev *dev)
|
||||
smsc_fdc37m81x_config_end();
|
||||
}
|
||||
|
||||
static void quirk_slc90e66_ide(struct pci_dev *dev)
|
||||
static void __devinit quirk_slc90e66_ide(struct pci_dev *dev)
|
||||
{
|
||||
unsigned char dat;
|
||||
int regs[2] = {0x41, 0x43};
|
||||
@@ -339,7 +339,7 @@ static void quirk_slc90e66_ide(struct pci_dev *dev)
|
||||
}
|
||||
#endif /* CONFIG_TOSHIBA_FPCIB0 */
|
||||
|
||||
static void tc35815_fixup(struct pci_dev *dev)
|
||||
static void __devinit tc35815_fixup(struct pci_dev *dev)
|
||||
{
|
||||
/* This device may have PM registers but not they are not suported. */
|
||||
if (dev->pm_cap) {
|
||||
@@ -348,7 +348,7 @@ static void tc35815_fixup(struct pci_dev *dev)
|
||||
}
|
||||
}
|
||||
|
||||
static void final_fixup(struct pci_dev *dev)
|
||||
static void __devinit final_fixup(struct pci_dev *dev)
|
||||
{
|
||||
unsigned char bist;
|
||||
|
||||
|
@@ -632,7 +632,7 @@ void __init txx9_physmap_flash_init(int no, unsigned long addr,
|
||||
unsigned long size,
|
||||
const struct physmap_flash_data *pdata)
|
||||
{
|
||||
#if defined(CONFIG_MTD_PHYSMAP) || defined(CONFIG_MTD_PHYSMAP_MODULE)
|
||||
#if IS_ENABLED(CONFIG_MTD_PHYSMAP)
|
||||
struct resource res = {
|
||||
.start = addr,
|
||||
.end = addr + size - 1,
|
||||
@@ -670,8 +670,7 @@ void __init txx9_physmap_flash_init(int no, unsigned long addr,
|
||||
void __init txx9_ndfmc_init(unsigned long baseaddr,
|
||||
const struct txx9ndfmc_platform_data *pdata)
|
||||
{
|
||||
#if defined(CONFIG_MTD_NAND_TXX9NDFMC) || \
|
||||
defined(CONFIG_MTD_NAND_TXX9NDFMC_MODULE)
|
||||
#if IS_ENABLED(CONFIG_MTD_NAND_TXX9NDFMC)
|
||||
struct resource res = {
|
||||
.start = baseaddr,
|
||||
.end = baseaddr + 0x1000 - 1,
|
||||
@@ -687,7 +686,7 @@ void __init txx9_ndfmc_init(unsigned long baseaddr,
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(CONFIG_LEDS_GPIO) || defined(CONFIG_LEDS_GPIO_MODULE)
|
||||
#if IS_ENABLED(CONFIG_LEDS_GPIO)
|
||||
static DEFINE_SPINLOCK(txx9_iocled_lock);
|
||||
|
||||
#define TXX9_IOCLED_MAXLEDS 8
|
||||
@@ -810,7 +809,7 @@ void __init txx9_iocled_init(unsigned long baseaddr,
|
||||
void __init txx9_dmac_init(int id, unsigned long baseaddr, int irq,
|
||||
const struct txx9dmac_platform_data *pdata)
|
||||
{
|
||||
#if defined(CONFIG_TXX9_DMAC) || defined(CONFIG_TXX9_DMAC_MODULE)
|
||||
#if IS_ENABLED(CONFIG_TXX9_DMAC)
|
||||
struct resource res[] = {
|
||||
{
|
||||
.start = baseaddr,
|
||||
@@ -866,8 +865,7 @@ void __init txx9_aclc_init(unsigned long baseaddr, int irq,
|
||||
unsigned int dma_chan_out,
|
||||
unsigned int dma_chan_in)
|
||||
{
|
||||
#if defined(CONFIG_SND_SOC_TXX9ACLC) || \
|
||||
defined(CONFIG_SND_SOC_TXX9ACLC_MODULE)
|
||||
#if IS_ENABLED(CONFIG_SND_SOC_TXX9ACLC)
|
||||
unsigned int dma_base = dmac_id * TXX9_DMA_MAX_NR_CHANNELS;
|
||||
struct resource res[] = {
|
||||
{
|
||||
|
@@ -317,7 +317,7 @@ void __init tx4939_sio_init(unsigned int sclk, unsigned int cts_mask)
|
||||
}
|
||||
}
|
||||
|
||||
#if defined(CONFIG_TC35815) || defined(CONFIG_TC35815_MODULE)
|
||||
#if IS_ENABLED(CONFIG_TC35815)
|
||||
static u32 tx4939_get_eth_speed(struct net_device *dev)
|
||||
{
|
||||
struct ethtool_cmd cmd;
|
||||
|
Verwijs in nieuw issue
Block a user