sa1111_generic.c (9a9e1be12c6d49e15429311714c4b1cc4ddcfe55) | sa1111_generic.c (d6df7df7ae5a0f781341134e7cb24e3396f8434a) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/drivers/pcmcia/sa1111_generic.c 4 * 5 * We implement the generic parts of a SA1111 PCMCIA driver. This 6 * basically means we handle everything except controlling the 7 * power. Power is machine specific... 8 */ --- 202 unchanged lines hidden (view full) --- 211 writel_relaxed(PCSSR_S0_SLEEP | PCSSR_S1_SLEEP, base + PCSSR); 212 writel_relaxed(PCCR_S0_FLT | PCCR_S1_FLT, base + PCCR); 213 214 ret = -ENODEV; 215#ifdef CONFIG_SA1100_JORNADA720 216 if (machine_is_jornada720()) 217 ret = pcmcia_jornada720_init(dev); 218#endif | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * linux/drivers/pcmcia/sa1111_generic.c 4 * 5 * We implement the generic parts of a SA1111 PCMCIA driver. This 6 * basically means we handle everything except controlling the 7 * power. Power is machine specific... 8 */ --- 202 unchanged lines hidden (view full) --- 211 writel_relaxed(PCSSR_S0_SLEEP | PCSSR_S1_SLEEP, base + PCSSR); 212 writel_relaxed(PCCR_S0_FLT | PCCR_S1_FLT, base + PCCR); 213 214 ret = -ENODEV; 215#ifdef CONFIG_SA1100_JORNADA720 216 if (machine_is_jornada720()) 217 ret = pcmcia_jornada720_init(dev); 218#endif |
219#ifdef CONFIG_ARCH_LUBBOCK 220 if (machine_is_lubbock()) 221 ret = pcmcia_lubbock_init(dev); 222#endif | |
223#ifdef CONFIG_ASSABET_NEPONSET 224 if (machine_is_assabet()) 225 ret = pcmcia_neponset_init(dev); 226#endif 227 228 if (ret) { 229 release_mem_region(dev->res.start, 512); 230 sa1111_disable_device(dev); --- 45 unchanged lines hidden --- | 219#ifdef CONFIG_ASSABET_NEPONSET 220 if (machine_is_assabet()) 221 ret = pcmcia_neponset_init(dev); 222#endif 223 224 if (ret) { 225 release_mem_region(dev->res.start, 512); 226 sa1111_disable_device(dev); --- 45 unchanged lines hidden --- |