Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sparc: Include drivers/pcmcia/Kconfig

Stephen Rothwell pointed out that pcmcia can't be enabled on sparc64.

There is an empty non-prompt PCMCIA explicit entry in
arch/sparc/Kconfig but that doesn't do anything.

32-bit sparc needs a small hack to make this work, since it doesn't
use the generic IRQ layer yes. We have to provide a dummy definition
of probe_irq_mask(), since this is used by the yenta socket driver.

Signed-off-by: David S. Miller <davem@davemloft.net>

+7 -18
+2 -18
arch/sparc/Kconfig
··· 435 435 help 436 436 MCA is not supported. 437 437 438 - config PCMCIA 439 - tristate 440 - ---help--- 441 - Say Y here if you want to attach PCMCIA- or PC-cards to your Linux 442 - computer. These are credit-card size devices such as network cards, 443 - modems or hard drives often used with laptops computers. There are 444 - actually two varieties of these cards: the older 16 bit PCMCIA cards 445 - and the newer 32 bit CardBus cards. If you want to use CardBus 446 - cards, you need to say Y here and also to "CardBus support" below. 447 - 448 - To use your PC-cards, you will need supporting software from David 449 - Hinds' pcmcia-cs package (see the file <file:Documentation/Changes> 450 - for location). Please also read the PCMCIA-HOWTO, available from 451 - <http://www.tldp.org/docs.html#howto>. 452 - 453 - To compile this driver as modules, choose M here: the 454 - modules will be called pcmcia_core and ds. 455 - 456 438 config SBUS 457 439 bool 458 440 default y ··· 478 496 def_bool PCI 479 497 480 498 source "drivers/pci/Kconfig" 499 + 500 + source "drivers/pcmcia/Kconfig" 481 501 482 502 config SUN_OPENPROMFS 483 503 tristate "Openprom tree appears in /proc/openprom"
+5
arch/sparc/include/asm/system_32.h
··· 15 15 16 16 #include <linux/irqflags.h> 17 17 18 + static inline unsigned int probe_irq_mask(unsigned long val) 19 + { 20 + return 0; 21 + } 22 + 18 23 /* 19 24 * Sparc (general) CPU types 20 25 */