2007-05-24 20:01:05

by Uwe Bugla

[permalink] [raw]
Subject: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

Hi everybody,

with 2.6.22-rc2-mm1 I do get sound out of my machine using snd-intel8x0 module, BUT:

At least parts of that Alsa sound architecture do seem to be broken:

dmesg looks like this:

31 MSFT 31313031)
ACPI: APIC 1FFEC058, 005A (r1 ASUS P4PE 42302E31 MSFT 31313031)
ACPI: PM-Timer IO Port: 0xe408
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 15:2 APIC version 20
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 22 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 30000000 (gap: 20000000:dec00000)
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130029
Kernel command line: root=/dev/hda1 ro vga=791
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 1818.042 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 517004k/524208k available (1366k kernel code, 6660k reserved, 492k data, 140k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfffb8000 - 0xfffff000 ( 284 kB)
vmalloc : 0xe0800000 - 0xfffb6000 ( 503 MB)
lowmem : 0xc0000000 - 0xdffec000 ( 511 MB)
.init : 0xc02d4000 - 0xc02f7000 ( 140 kB)
.data : 0xc0255b76 - 0xc02d0d30 ( 492 kB)
.text : 0xc0100000 - 0xc0255b76 (1366 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3637.50 BogoMIPS (lpj=1818752)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 3febfbff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: Trace cache: 12K uops, L1 D cache: 8K
CPU: L2 cache: 512K
CPU: After all inits, caps: 3febfbff 00000000 00000000 0000b080 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
CPU0: Thermal monitoring enabled
Compat vDSO mapped to ffffe000.
CPU: Intel(R) Pentium(R) 4 CPU 1.80GHz stepping 04
Checking 'hlt' instruction... OK.
ACPI: Core revision 20070126
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf1e60, last bus=2
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
* The chipset may have PM-Timer Bug. Due to workarounds for a bug,
* this clock source is slow. If you are sure your timer does not have
* this bug, please use "acpi_pm_good" to disable the workaround
PCI quirk: region e400-e47f claimed by ICH4 ACPI/GPIO/TCO
PCI quirk: region ec00-ec3f claimed by ICH4 GPIO
PCI: Enabled i801 SMBus device
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI2._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 11 12 14 15) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 17 devices
ACPI: ACPI bus type pnp unregistered
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
Time: tsc clocksource has been installed.
pnp: 00:00: iomem range 0x0-0x9ffff could not be reserved
pnp: 00:00: iomem range 0xf0000-0xfffff could not be reserved
pnp: 00:00: iomem range 0x100000-0x1fffffff could not be reserved
pnp: 00:00: iomem range 0xfec00000-0xfec000ff could not be reserved
pnp: 00:02: ioport range 0xe400-0xe47f has been reserved
pnp: 00:02: ioport range 0xe800-0xe81f has been reserved
pnp: 00:02: ioport range 0xec00-0xec3f has been reserved
pnp: 00:02: ioport range 0x4d6-0x4d6 has been reserved
pnp: 00:02: iomem range 0xfff80000-0xffffffff could not be reserved
pnp: 00:02: iomem range 0xffb80000-0xffbfffff has been reserved
pnp: 00:10: ioport range 0x3f0-0x3f1 has been reserved
PCI: Bridge: 0000:00:01.0
IO window: d000-dfff
MEM window: f2000000-f27fffff
PREFETCH window: f3f00000-f7ffffff
PCI: Bridge: 0000:00:1e.0
IO window: disabled.
MEM window: f1000000-f17fffff
PREFETCH window: f2800000-f3efffff
PCI: Setting latency timer of device 0000:00:1e.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
Simple Boot Flag at 0x3a set to 0x80
io scheduler noop registered (default)
Boot video device is 0000:01:00.0
vesafb: framebuffer at 0xf4000000, mapped to 0xe0880000, using 3072k, total 32768k
vesafb: mode is 1024x768x16, linelength=2048, pages=20
vesafb: protected mode interface info at c000:441b
vesafb: pmi: set display start = c00c4489, set palette = c00c44c3
vesafb: pmi: ports = d810 d816 d854 d838 d83c d85c d800 d804 d8b0 d8b2 d8b4
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 16
ICH4: chipset revision 2
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: IC35L080AVVA07-0, ATA DISK drive
hda: selected mode 0x45
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: HL-DT-STDVD-ROM GDR8163B, ATAPI CD/DVD-ROM drive
hdd: CD-W54E, ATAPI CD/DVD-ROM drive
hdc: selected mode 0x42
hdd: selected mode 0x22
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 160836480 sectors (82348 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 >
TCP cubic registered
Using IPI Shortcut mode
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 140k freed
NET: Registered protocol family 1
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
snd: Unknown symbol unregister_sound_special
snd: Unknown symbol register_sound_special_device
snd: Unknown symbol sound_class
parport_pc 00:09: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP(,...)]
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
hdc: ATAPI 52X DVD-ROM drive, 256kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
USB Universal Host Controller Interface driver v3.0
ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI 16 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: UHCI Host Controller
hdd: ATAPI 32X CD-ROM CD-R/RW drive, 1280kB Cache, DMA
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:1d.0: irq 17, io base 0x0000b800
usb usb1: new device found, idVendor=0000, idProduct=0000
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
Linux video capture interface: v2.00
usb usb1: Product: UHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.22-rc2-mm1 uhci_hcd
snd_seq_device: Unknown symbol snd_info_register
usb usb1: SerialNumber: 0000:00:1d.0
snd_seq_device: Unknown symbol snd_info_create_module_entry
usb usb1: configuration #1 chosen from 1 choice
snd_seq_device: Unknown symbol snd_info_free_entry
hub 1-0:1.0: USB hub found
snd_seq_device: Unknown symbol snd_seq_root
hub 1-0:1.0: 2 ports detected
snd_seq_device: Unknown symbol snd_iprintf
snd_seq_device: Unknown symbol snd_device_new
snd_rawmidi: Unknown symbol snd_info_register
snd_rawmidi: Unknown symbol snd_seq_device_new
snd_rawmidi: Unknown symbol snd_info_free_entry
snd_rawmidi: Unknown symbol snd_unregister_oss_device
snd_rawmidi: Unknown symbol snd_register_oss_device
snd_rawmidi: Unknown symbol snd_ctl_register_ioctl
snd_rawmidi: Unknown symbol snd_card_file_add
snd_rawmidi: Unknown symbol snd_iprintf
snd_rawmidi: Unknown symbol snd_major
snd_rawmidi: Unknown symbol snd_oss_info_register
snd_rawmidi: Unknown symbol snd_unregister_device
snd_rawmidi: Unknown symbol snd_device_new
snd_rawmidi: Unknown symbol snd_ctl_unregister_ioctl
snd_rawmidi: Unknown symbol snd_lookup_oss_minor_data
snd_rawmidi: Unknown symbol snd_lookup_minor_data
snd_rawmidi: Unknown symbol snd_info_create_card_entry
snd_rawmidi: Unknown symbol snd_card_file_remove
snd_rawmidi: Unknown symbol snd_register_device_for_dev
snd_rawmidi: Unknown symbol snd_device_register
PCI: Enabling device 0000:00:1d.7 (0004 -> 0006)
snd_mpu401_uart: Unknown symbol snd_rawmidi_receive
ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 18
snd_mpu401_uart: Unknown symbol snd_rawmidi_transmit_ack
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: EHCI Host Controller
snd_mpu401_uart: Unknown symbol snd_rawmidi_transmit_peek
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
snd_mpu401_uart: Unknown symbol snd_rawmidi_new
ehci_hcd 0000:00:1d.7: debug port 1
snd_mpu401_uart: Unknown symbol snd_rawmidi_set_ops
PCI: cache line size of 128 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: irq 18, io mem 0xf1800000
snd_mpu401: Unknown symbol snd_mpu401_uart_new
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: new device found, idVendor=0000, idProduct=0000
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.22-rc2-mm1 ehci_hcd
usb usb2: SerialNumber: 0000:00:1d.7
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 6 ports detected
bttv: driver version 0.9.17 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 17 (level, low) -> IRQ 19
ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI 19 (level, low) -> IRQ 20
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: UHCI Host Controller
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:1d.1: irq 20, io base 0x0000b400
usb usb3: new device found, idVendor=0000, idProduct=0000
usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.22-rc2-mm1 uhci_hcd
usb usb3: SerialNumber: 0000:00:1d.1
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
PCI: Enabling device 0000:00:1f.5 (0004 -> 0007)
ACPI: PCI Interrupt 0000:00:1f.5[B] -> GSI 17 (level, low) -> IRQ 19
PCI: Setting latency timer of device 0000:00:1f.5 to 64
AC'97 0 analog subsections not ready
intel8x0_measure_ac97_clock: measured 50929 usecs
intel8x0: clocking to 48000
bttv: Bt8xx card found (0).
PCI: Enabling device 0000:02:0b.0 (0004 -> 0006)
ACPI: PCI Interrupt 0000:02:0b.0[A] -> GSI 23 (level, low) -> IRQ 18
bttv0: Bt878 (rev 17) at 0000:02:0b.0, irq: 18, latency: 32, mmio: 0xf3000000
bttv0: detected: Pinnacle PCTV Sat [card=94], PCI subsystem ID is 11bd:001c
bttv0: using: Pinnacle PCTV Sat [card=94,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00df00fc [init]
bttv0: using tuner=-1
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: add subdevice "dvb0"
ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI 18 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: UHCI Host Controller
bt878: AUDIO driver version 0.0.0 loaded
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:1d.2: irq 16, io base 0x0000b000
usb usb4: new device found, idVendor=0000, idProduct=0000
usb usb4: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.22-rc2-mm1 uhci_hcd
usb usb4: SerialNumber: 0000:00:1d.2
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
bt878: Bt878 AUDIO function found (0).
PCI: Enabling device 0000:02:0b.1 (0004 -> 0006)
ACPI: PCI Interrupt 0000:02:0b.1[A] -> GSI 23 (level, low) -> IRQ 18
bt878_probe: card id=[0x1c11bd],[ Pinnacle PCTV Sat ] has DVB functions.
bt878(0): Bt878 (rev 17) at 02:0b.1, irq: 18, latency: 32, memory: 0xf2800000
DVB: registering new adapter (bttv0)
DVB: registering frontend 0 (Conexant CX24110 DVB-S)...
Adding 1951856k swap on /dev/hda6. Priority:-1 extents:1 across:1951856k
EXT3 FS on hda1, internal journal
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input1
ACPI: Power Button (CM) [PWRB]
ACPI: Invalid PBLK length [5]
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
NET: Registered protocol family 17
mice: PS/2 mouse device common for all mice
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
loop: module loaded
input: AT Translated Set 2 keyboard as /class/input/input2
logips2pp: Detected unknown logitech mouse model 11
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
input: PS/2 Logitech Mouse as /class/input/input3
mtrr: no MTRR for f4000000,2000000 found
Linux agpgart interface v0.102 (c) Dave Jones
[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 17
[drm] Initialized r128 2.5.0 20030725 on minor 0

Yours sincerely

Uwe

--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail


2007-05-24 20:10:33

by Andrew Morton

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

On Thu, 24 May 2007 22:00:52 +0200
"Uwe Bugla" <[email protected]> wrote:

> Hi everybody,
>
> with 2.6.22-rc2-mm1 I do get sound out of my machine using snd-intel8x0 module, BUT:
>
> At least parts of that Alsa sound architecture do seem to be broken:

I assume you're referring to this stuff?

> snd_seq_device: Unknown symbol snd_iprintf
> snd_seq_device: Unknown symbol snd_device_new
> snd_rawmidi: Unknown symbol snd_info_register
> snd_rawmidi: Unknown symbol snd_seq_device_new
> snd_rawmidi: Unknown symbol snd_info_free_entry

Probably some silly missing dependency. Please send the .config, thanks.

2007-05-24 20:28:40

by Uwe Bugla

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

Am Donnerstag, 24. Mai 2007 22:09 schrieben Sie:
> On Thu, 24 May 2007 22:00:52 +0200
>
> "Uwe Bugla" <[email protected]> wrote:
> > Hi everybody,
> >
> > with 2.6.22-rc2-mm1 I do get sound out of my machine using snd-intel8x0
> > module, BUT:
> >
> > At least parts of that Alsa sound architecture do seem to be broken:
>
> I assume you're referring to this stuff?
>
> > snd_seq_device: Unknown symbol snd_iprintf
> > snd_seq_device: Unknown symbol snd_device_new
> > snd_rawmidi: Unknown symbol snd_info_register
> > snd_rawmidi: Unknown symbol snd_seq_device_new
> > snd_rawmidi: Unknown symbol snd_info_free_entry
>
> Probably some silly missing dependency. Please send the .config, thanks.

Hi Andrew,

now here is the .config as requested.
At least I, from my personal comprehensive layer, do not see anything abnormal
in it. But please evaluate yourself!

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.22-rc2-mm1
# Thu May 24 18:59:09 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_QUICKLIST=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_DMI=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SYSVIPC=y
# CONFIG_IPC_NS is not set
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
# CONFIG_TASKSTATS is not set
# CONFIG_UTS_NS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=m
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=14
CONFIG_SYSFS_DEPRECATED=y
# CONFIG_RELAY is not set
# CONFIG_BLK_DEV_INITRD is not set
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_EMBEDDED=y
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
CONFIG_PROC_SMAPS=y
CONFIG_PROC_CLEAR_REFS=y
CONFIG_PROC_PAGEMAP=y
CONFIG_PROC_KPAGEMAP=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y
# CONFIG_BLOCK is not set

#
# Processor type and features
#
# CONFIG_TICK_ONESHOT is not set
# CONFIG_NO_HZ is not set
# CONFIG_HIGH_RES_TIMERS is not set
# CONFIG_SMP is not set
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_PARAVIRT is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MCORE2 is not set
CONFIG_MPENTIUM4=y
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_X86_XADD=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=4
# CONFIG_HPET_TIMER is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=m
CONFIG_X86_MCE_P4THERMAL=y
# CONFIG_VM86 is not set
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
CONFIG_X86_CPUID=m

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
# CONFIG_DMIID is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
CONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_3G_OPT is not set
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_2G_OPT is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ARCH_POPULATES_NODE_MAP=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
CONFIG_ZONE_DMA_FLAG=1
CONFIG_NR_QUICK=1
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
CONFIG_SECCOMP=y
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000
# CONFIG_KEXEC is not set
CONFIG_PHYSICAL_START=0x100000
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x100000
CONFIG_COMPAT_VDSO=y

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# CONFIG_PM_DEBUG is not set
# CONFIG_PM_SYSFS_DEPRECATED is not set
CONFIG_ACPI=y
# CONFIG_ACPI_SLEEP is not set
CONFIG_ACPI_PROCFS=y
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not set
CONFIG_ACPI_BUTTON=m
CONFIG_ACPI_FAN=m
# CONFIG_ACPI_DOCK is not set
CONFIG_ACPI_PROCESSOR=m
CONFIG_ACPI_THERMAL=m
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_ACPI_SBS is not set
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
CONFIG_PCI_GOBIOS=y
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
# CONFIG_PCI_GOANY is not set
CONFIG_PCI_BIOS=y
# CONFIG_PCIEPORTBUS is not set
CONFIG_ARCH_SUPPORTS_MSI=y
# CONFIG_PCI_MSI is not set
CONFIG_HT_IRQ=y
CONFIG_ISA_DMA_API=y
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_PCCARD is not set
# CONFIG_HOTPLUG_PCI is not set

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_MISC=m

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=m
# CONFIG_PACKET_MMAP is not set
CONFIG_UNIX=m
CONFIG_XFRM=y
CONFIG_XFRM_USER=m
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_HASH=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
CONFIG_INET_AH=m
CONFIG_INET_ESP=m
CONFIG_INET_IPCOMP=m
CONFIG_INET_XFRM_TUNNEL=m
CONFIG_INET_TUNNEL=m
CONFIG_INET_XFRM_MODE_TRANSPORT=m
CONFIG_INET_XFRM_MODE_TUNNEL=m
CONFIG_INET_XFRM_MODE_BEET=m
CONFIG_INET_DIAG=m
CONFIG_INET_TCP_DIAG=m
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set

#
# Wireless
#
# CONFIG_CFG80211 is not set
# CONFIG_WIRELESS_EXT is not set
# CONFIG_MAC80211 is not set
# CONFIG_IEEE80211 is not set
# CONFIG_RFKILL is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=m
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
# CONFIG_PARPORT_SERIAL is not set
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_AX88796 is not set
# CONFIG_PARPORT_1284 is not set
CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set

#
# Protocols
#
CONFIG_PNPACPI=y
# CONFIG_MISC_STRANGE_DEV is not set

#
# SCSI device support
#
# CONFIG_SCSI_NETLINK is not set

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
# CONFIG_IEEE1394_SUPPORT is not set
# CONFIG_I2O is not set
# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_NET_SB1000 is not set
# CONFIG_ARCNET is not set
# CONFIG_PHYLIB is not set
CONFIG_NET_ETHERNET=y
CONFIG_MII=m
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
# CONFIG_NET_PCI is not set
CONFIG_B44=m
# CONFIG_NET_POCKET is not set
# CONFIG_NETDEV_1000 is not set
# CONFIG_NETDEV_10000 is not set
# CONFIG_TR is not set

#
# Wireless LAN
#
# CONFIG_WLAN_PRE80211 is not set
# CONFIG_WLAN_80211 is not set
# CONFIG_RTL818X is not set

#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET_MII is not set
# CONFIG_USB_USBNET is not set
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=m
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
# CONFIG_MOUSE_PS2_ALPS is not set
CONFIG_MOUSE_PS2_LOGIPS2PP=y
# CONFIG_MOUSE_PS2_SYNAPTICS is not set
# CONFIG_MOUSE_PS2_LIFEBOOK is not set
# CONFIG_MOUSE_PS2_TRACKPOINT is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=m
CONFIG_SERIO_I8042=m
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=m
# CONFIG_SERIO_RAW is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_NOZOMI is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=m
CONFIG_SERIAL_8250_PCI=m
# CONFIG_SERIAL_8250_PNP is not set
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=m
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
# CONFIG_RTC is not set
# CONFIG_GEN_RTC is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
CONFIG_AGP_ATI=m
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
CONFIG_DRM_R128=m
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_MWAVE is not set
# CONFIG_PC8736x_GPIO is not set
# CONFIG_NSC_GPIO is not set
# CONFIG_CS5535_GPIO is not set
# CONFIG_HPET is not set
# CONFIG_HANGCHECK_TIMER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set
CONFIG_DEVPORT=y
CONFIG_I2C=m
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_CHARDEV=m

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=m
# CONFIG_I2C_ALGOPCF is not set
# CONFIG_I2C_ALGOPCA is not set

#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
CONFIG_I2C_I801=m
# CONFIG_I2C_I810 is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_TINY_USB is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_VOODOO3 is not set

#
# Miscellaneous I2C Chip support
#
# CONFIG_SENSORS_DS1337 is not set
# CONFIG_SENSORS_DS1374 is not set
# CONFIG_DS1682 is not set
# CONFIG_SENSORS_EEPROM is not set
# CONFIG_SENSORS_PCF8574 is not set
# CONFIG_SENSORS_PCA9539 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_SENSORS_MAX6875 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set

#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not set
# CONFIG_HWMON is not set

#
# Sonics Silicon Backplane
#
CONFIG_SSB=m
# CONFIG_SSB_PCIHOST is not set
# CONFIG_SSB_SILENT is not set
# CONFIG_SSB_DEBUG is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_SM501 is not set

#
# Multimedia devices
#
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y
CONFIG_VIDEO_CAPTURE_DRIVERS=y
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set

#
# Encoders/decoders and other helper chips
#

#
# Audio decoders
#
# CONFIG_VIDEO_TVAUDIO is not set
# CONFIG_VIDEO_TDA7432 is not set
# CONFIG_VIDEO_TDA9840 is not set
# CONFIG_VIDEO_TDA9875 is not set
# CONFIG_VIDEO_TEA6415C is not set
# CONFIG_VIDEO_TEA6420 is not set
# CONFIG_VIDEO_MSP3400 is not set
# CONFIG_VIDEO_CS53L32A is not set
# CONFIG_VIDEO_TLV320AIC23B is not set
# CONFIG_VIDEO_WM8775 is not set
# CONFIG_VIDEO_WM8739 is not set

#
# Video decoders
#
# CONFIG_VIDEO_BT819 is not set
# CONFIG_VIDEO_BT856 is not set
# CONFIG_VIDEO_BT866 is not set
# CONFIG_VIDEO_KS0127 is not set
# CONFIG_VIDEO_OV7670 is not set
# CONFIG_VIDEO_SAA7110 is not set
# CONFIG_VIDEO_SAA7111 is not set
# CONFIG_VIDEO_SAA7114 is not set
# CONFIG_VIDEO_SAA711X is not set
# CONFIG_VIDEO_SAA7191 is not set
# CONFIG_VIDEO_TVP5150 is not set
# CONFIG_VIDEO_VPX3220 is not set

#
# Video and audio decoders
#
# CONFIG_VIDEO_CX25840 is not set

#
# MPEG video encoders
#
# CONFIG_VIDEO_CX2341X is not set

#
# Video encoders
#
# CONFIG_VIDEO_SAA7127 is not set
# CONFIG_VIDEO_SAA7185 is not set
# CONFIG_VIDEO_ADV7170 is not set
# CONFIG_VIDEO_ADV7175 is not set

#
# Video improvement chips
#
# CONFIG_VIDEO_UPD64031A is not set
# CONFIG_VIDEO_UPD64083 is not set
# CONFIG_VIDEO_VIVI is not set
CONFIG_VIDEO_BT848=m
# CONFIG_VIDEO_BT848_DVB is not set
# CONFIG_VIDEO_SAA6588 is not set
# CONFIG_VIDEO_BWQCAM is not set
# CONFIG_VIDEO_CQCAM is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_CPIA2 is not set
# CONFIG_VIDEO_SAA5246A is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_TUNER_3036 is not set
# CONFIG_TUNER_TEA5761 is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
# CONFIG_VIDEO_CX88 is not set
# CONFIG_VIDEO_IVTV is not set
# CONFIG_VIDEO_CAFE_CCIC is not set
# CONFIG_V4L_USB_DRIVERS is not set
# CONFIG_RADIO_ADAPTERS is not set
CONFIG_DVB_CORE=m
CONFIG_DVB_CORE_ATTACH=y
CONFIG_DVB_CAPTURE_DRIVERS=y

#
# Supported SAA7146 based PCI Adapters
#
# CONFIG_DVB_AV7110 is not set
# CONFIG_DVB_BUDGET is not set
# CONFIG_DVB_BUDGET_CI is not set
# CONFIG_DVB_BUDGET_AV is not set

#
# Supported USB Adapters
#
# CONFIG_DVB_USB is not set
# CONFIG_DVB_TTUSB_BUDGET is not set
# CONFIG_DVB_TTUSB_DEC is not set
# CONFIG_DVB_CINERGYT2 is not set

#
# Supported FlexCopII (B2C2) Adapters
#
# CONFIG_DVB_B2C2_FLEXCOP is not set

#
# Supported BT878 Adapters
#
CONFIG_DVB_BT8XX=m

#
# TwinHan DST (CA) and clone cards
#
CONFIG_DVB_DST_CUSTOMISE=y
# CONFIG_DVB_DST is not set
# CONFIG_DVB_DST_CA is not set

#
# Supported Pluto2 Adapters
#
# CONFIG_DVB_PLUTO2 is not set

#
# Supported DVB Frontends
#

#
# Customise DVB Frontends
#
CONFIG_DVB_FE_CUSTOMISE=y

#
# DVB-S (satellite) frontends
#
# CONFIG_DVB_STV0299 is not set
CONFIG_DVB_CX24110=m
# CONFIG_DVB_CX24123 is not set
# CONFIG_DVB_TDA8083 is not set
# CONFIG_DVB_MT312 is not set
# CONFIG_DVB_VES1X93 is not set
# CONFIG_DVB_S5H1420 is not set
# CONFIG_DVB_TDA10086 is not set

#
# DVB-T (terrestrial) frontends
#
# CONFIG_DVB_SP8870 is not set
# CONFIG_DVB_SP887X is not set
# CONFIG_DVB_CX22700 is not set
# CONFIG_DVB_CX22702 is not set
# CONFIG_DVB_L64781 is not set
# CONFIG_DVB_TDA1004X is not set
# CONFIG_DVB_NXT6000 is not set
# CONFIG_DVB_MT352 is not set
# CONFIG_DVB_ZL10353 is not set
# CONFIG_DVB_DIB3000MB is not set
# CONFIG_DVB_DIB3000MC is not set
# CONFIG_DVB_DIB7000M is not set
# CONFIG_DVB_DIB7000P is not set

#
# DVB-C (cable) frontends
#
# CONFIG_DVB_VES1820 is not set
# CONFIG_DVB_TDA10021 is not set
# CONFIG_DVB_TDA10023 is not set
# CONFIG_DVB_STV0297 is not set

#
# ATSC (North American/Korean Terrestrial/Cable DTV) frontends
#
# CONFIG_DVB_NXT200X is not set
# CONFIG_DVB_OR51211 is not set
# CONFIG_DVB_OR51132 is not set
# CONFIG_DVB_BCM3510 is not set
# CONFIG_DVB_LGDT330X is not set

#
# Tuners/PLL support
#
# CONFIG_DVB_PLL is not set
# CONFIG_DVB_TDA826X is not set
# CONFIG_DVB_TDA827X is not set
# CONFIG_DVB_TUNER_QT1010 is not set
# CONFIG_DVB_TUNER_MT2060 is not set

#
# Miscellaneous devices
#
# CONFIG_DVB_LNBP21 is not set
# CONFIG_DVB_ISL6421 is not set
# CONFIG_DVB_TUA6100 is not set
CONFIG_VIDEO_TUNER=m
CONFIG_VIDEO_BUF=m
CONFIG_VIDEO_BTCX=m
CONFIG_VIDEO_IR=m
CONFIG_VIDEO_TVEEPROM=m
# CONFIG_DAB is not set

#
# Graphics support
#
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_SYS_FOPS is not set
CONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set

#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_HECUBA is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
CONFIG_FB_ATY128=m
# CONFIG_FB_ATY128_BACKLIGHT is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_CYBLA is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_VGACON_SOFT_SCROLLBACK is not set
CONFIG_VIDEO_SELECT=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_LOGO_LINUX_CLUT224=y
CONFIG_SOUND=m
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_DYNAMIC_MINORS is not set
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_MPU401_UART=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_GENERIC_DRIVERS=y
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
CONFIG_SND_MPU401=m
# CONFIG_SND_PORTMAN2X4 is not set
CONFIG_SND_PCI_DRIVERS=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=m
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_AC97_POWER_SAVE is not set
# CONFIG_SND_USB_DRIVERS is not set
# CONFIG_SND_SOC_DRIVERS is not set
# CONFIG_SOUND_PRIME is not set
CONFIG_AC97_BUS=m

#
# HID Devices
#
# CONFIG_HID is not set

#
# USB Input Devices
#
# CONFIG_USB_HID is not set

#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB_ARCH_HAS_EHCI=y
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_DEVICE_CLASS is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# CONFIG_USB_SUSPEND is not set
# CONFIG_USB_OTG is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_SPLIT_ISO is not set
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
# CONFIG_USB_EHCI_BIG_ENDIAN_MMIO is not set
# CONFIG_USB_EHCI_BIG_ENDIAN_DESC is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=m
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set

#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set

#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'
#

#
# may also be needed; see USB_STORAGE Help for more information
#
# CONFIG_USB_LIBUSUAL is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MON is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_BERRY_CHARGE is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGET is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_GOTEMP is not set

#
# USB DSL modem support
#

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set
# CONFIG_MMC is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_INFINIBAND is not set
# CONFIG_EDAC is not set

#
# Real Time Clock
#
# CONFIG_RTC_CLASS is not set

#
# DMA Engine support
#
CONFIG_DMA_ENGINE=y

#
# DMA Clients
#
CONFIG_NET_DMA=y

#
# DMA Devices
#
CONFIG_INTEL_IOATDMA=m
# CONFIG_AUXDISPLAY is not set
# CONFIG_VIRTUALIZATION is not set

#
# Userspace I/O
#
# CONFIG_UIO is not set

#
# File systems
#
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
CONFIG_DNOTIFY=y
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
# CONFIG_CONFIGFS_FS is not set

#
# Layered filesystems
#
# CONFIG_UNION_FS is not set

#
# Miscellaneous filesystems
#

#
# Network File Systems
#
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
# CONFIG_9P_FS is not set

#
# Native Language Support
#
CONFIG_NLS=m
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=m
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
CONFIG_NLS_CODEPAGE_1250=m
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
CONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m

#
# Distributed Lock Manager
#
# CONFIG_DLM is not set
# CONFIG_INSTRUMENTATION is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not set
# CONFIG_ENABLE_MUST_CHECK is not set
# CONFIG_MAGIC_SYSRQ is not set
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_KERNEL is not set
# CONFIG_DEBUG_BUGVERBOSE is not set
# CONFIG_UNWIND_INFO is not set
# CONFIG_PROFILE_LIKELY is not set
CONFIG_EARLY_PRINTK=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y
CONFIG_DOUBLEFAULT=y

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITY_FILE_CAPABILITIES is not set
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=m
CONFIG_CRYPTO_BLKCIPHER=m
CONFIG_CRYPTO_HASH=m
CONFIG_CRYPTO_MANAGER=m
CONFIG_CRYPTO_HMAC=m
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=m
CONFIG_CRYPTO_SHA1=m
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_ECB is not set
CONFIG_CRYPTO_CBC=m
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_CRYPTD is not set
CONFIG_CRYPTO_DES=m
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_TWOFISH_586 is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_AES is not set
# CONFIG_CRYPTO_AES_586 is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_ARC4 is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_DEFLATE=m
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_TEST is not set
# CONFIG_CRYPTO_HW is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not set
# CONFIG_CRC_ITU_T is not set
CONFIG_CRC32=y
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
# CONFIG_LZO is not set
CONFIG_ZLIB_INFLATE=m
CONFIG_ZLIB_DEFLATE=m
CONFIG_PLIST=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
# CONFIG_ASYNC_CORE is not set
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_KTIME_SCALAR=y

Yours sincerely

Uwe

2007-05-25 16:01:42

by Takashi Iwai

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

At Thu, 24 May 2007 13:09:21 -0700,
Andrew Morton wrote:
>
> On Thu, 24 May 2007 22:00:52 +0200
> "Uwe Bugla" <[email protected]> wrote:
>
> > Hi everybody,
> >
> > with 2.6.22-rc2-mm1 I do get sound out of my machine using snd-intel8x0 module, BUT:
> >
> > At least parts of that Alsa sound architecture do seem to be broken:
>
> I assume you're referring to this stuff?
>
> > snd_seq_device: Unknown symbol snd_iprintf
> > snd_seq_device: Unknown symbol snd_device_new
> > snd_rawmidi: Unknown symbol snd_info_register
> > snd_rawmidi: Unknown symbol snd_seq_device_new
> > snd_rawmidi: Unknown symbol snd_info_free_entry
>
> Probably some silly missing dependency. Please send the .config, thanks.

The culprit appears more ealier. It implies the missing
soundcore.ko (or its dependency).

> snd: Unknown symbol unregister_sound_special
> snd: Unknown symbol register_sound_special_device
> snd: Unknown symbol sound_class

Uwe, could you try to revert this patch?
use-menuconfig-objects-ii-sound.patch


Takashi

2007-05-25 17:29:16

by Andrew Morton

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

On Fri, 25 May 2007 18:01:34 +0200 Takashi Iwai <[email protected]> wrote:

> At Thu, 24 May 2007 13:09:21 -0700,
> Andrew Morton wrote:
> >
> > On Thu, 24 May 2007 22:00:52 +0200
> > "Uwe Bugla" <[email protected]> wrote:
> >
> > > Hi everybody,
> > >
> > > with 2.6.22-rc2-mm1 I do get sound out of my machine using snd-intel8x0 module, BUT:
> > >
> > > At least parts of that Alsa sound architecture do seem to be broken:
> >
> > I assume you're referring to this stuff?
> >
> > > snd_seq_device: Unknown symbol snd_iprintf
> > > snd_seq_device: Unknown symbol snd_device_new
> > > snd_rawmidi: Unknown symbol snd_info_register
> > > snd_rawmidi: Unknown symbol snd_seq_device_new
> > > snd_rawmidi: Unknown symbol snd_info_free_entry
> >
> > Probably some silly missing dependency. Please send the .config, thanks.
>
> The culprit appears more ealier. It implies the missing
> soundcore.ko (or its dependency).
>
> > snd: Unknown symbol unregister_sound_special
> > snd: Unknown symbol register_sound_special_device
> > snd: Unknown symbol sound_class
>
> Uwe, could you try to revert this patch?
> use-menuconfig-objects-ii-sound.patch
>

I think that patch has rotted. Too many underlying changes and the
handling of HAS_IOMEM (at least) appears to have been broken (by my
fixups).

I'll drop it.

If/when Jan resends it, pleeeeeeeeeze consider it promptly and don't leave
me trying to maintain the thing while you guys are madly changing other
stuff underneath it?

Thanks.

2007-05-25 18:34:55

by Uwe Bugla

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

Am Freitag, 25. Mai 2007 19:28 schrieben Sie:
> On Fri, 25 May 2007 18:01:34 +0200 Takashi Iwai <[email protected]> wrote:
> > At Thu, 24 May 2007 13:09:21 -0700,
> >
> > Andrew Morton wrote:
> > > On Thu, 24 May 2007 22:00:52 +0200
> > >
> > > "Uwe Bugla" <[email protected]> wrote:
> > > > Hi everybody,
> > > >
> > > > with 2.6.22-rc2-mm1 I do get sound out of my machine using
> > > > snd-intel8x0 module, BUT:
> > > >
> > > > At least parts of that Alsa sound architecture do seem to be broken:
> > >
> > > I assume you're referring to this stuff?
> > >
> > > > snd_seq_device: Unknown symbol snd_iprintf
> > > > snd_seq_device: Unknown symbol snd_device_new
> > > > snd_rawmidi: Unknown symbol snd_info_register
> > > > snd_rawmidi: Unknown symbol snd_seq_device_new
> > > > snd_rawmidi: Unknown symbol snd_info_free_entry
> > >
> > > Probably some silly missing dependency. Please send the .config,
> > > thanks.
> >
> > The culprit appears more ealier. It implies the missing
> > soundcore.ko (or its dependency).
> >
> > > snd: Unknown symbol unregister_sound_special
> > > snd: Unknown symbol register_sound_special_device
> > > snd: Unknown symbol sound_class
> >
> > Uwe, could you try to revert this patch?
> > use-menuconfig-objects-ii-sound.patch
>
> I think that patch has rotted. Too many underlying changes and the
> handling of HAS_IOMEM (at least) appears to have been broken (by my
> fixups).
>
> I'll drop it.
>
> If/when Jan resends it, pleeeeeeeeeze consider it promptly and don't leave
> me trying to maintain the thing while you guys are madly changing other
> stuff underneath it?
>
> Thanks.

Hi everybody,

I had some trouble to find out which patch is meant by

"use-menuconfig-objects-ii-sound.patch"

Just could not identify it.

So I reverted the following patches of 2.6.22-rc2-mm1:

--- linux-2.6.22-rc2/sound/Kconfig 2007-05-19 02:24:08.000000000 -0700
+++ devel/sound/Kconfig 2007-05-22 21:03:24.000000000 -0700

AND:

--- linux-2.6.22-rc2/sound/drivers/Kconfig 2007-04-25 23:42:23.000000000 -0700
+++ devel/sound/drivers/Kconfig 2007-05-22 21:03:24.000000000 -0700

Result:

The Alsa architecture is performing excellently!

Cheers

Uwe

So at least one of them should be ripeed out for being buggy.

2007-05-25 21:33:21

by Takashi Iwai

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

At Fri, 25 May 2007 10:28:06 -0700,
Andrew Morton wrote:
>
> On Fri, 25 May 2007 18:01:34 +0200 Takashi Iwai <[email protected]> wrote:
>
> > At Thu, 24 May 2007 13:09:21 -0700,
> > Andrew Morton wrote:
> > >
> > > On Thu, 24 May 2007 22:00:52 +0200
> > > "Uwe Bugla" <[email protected]> wrote:
> > >
> > > > Hi everybody,
> > > >
> > > > with 2.6.22-rc2-mm1 I do get sound out of my machine using snd-intel8x0 module, BUT:
> > > >
> > > > At least parts of that Alsa sound architecture do seem to be broken:
> > >
> > > I assume you're referring to this stuff?
> > >
> > > > snd_seq_device: Unknown symbol snd_iprintf
> > > > snd_seq_device: Unknown symbol snd_device_new
> > > > snd_rawmidi: Unknown symbol snd_info_register
> > > > snd_rawmidi: Unknown symbol snd_seq_device_new
> > > > snd_rawmidi: Unknown symbol snd_info_free_entry
> > >
> > > Probably some silly missing dependency. Please send the .config, thanks.
> >
> > The culprit appears more ealier. It implies the missing
> > soundcore.ko (or its dependency).
> >
> > > snd: Unknown symbol unregister_sound_special
> > > snd: Unknown symbol register_sound_special_device
> > > snd: Unknown symbol sound_class
> >
> > Uwe, could you try to revert this patch?
> > use-menuconfig-objects-ii-sound.patch
> >
>
> I think that patch has rotted. Too many underlying changes and the
> handling of HAS_IOMEM (at least) appears to have been broken (by my
> fixups).
>
> I'll drop it.
>
> If/when Jan resends it, pleeeeeeeeeze consider it promptly and don't leave
> me trying to maintain the thing while you guys are madly changing other
> stuff underneath it?

Yeah, I'll check it again if reposted. Jan, could you split ALSA
portins at the next time? This will make testing and merging much
easier for me...

But, above all, I'm not convinced much by that patch, especially
because it introduces new kconfigs just for menuconfig.
For example, CONFIG_SND_PCI_DRIVERS doesn't appear in any Makefiles.


Takashi

2007-05-26 10:42:28

by Jan Engelhardt

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken


On May 25 2007 10:28, Andrew Morton wrote:
>>
>> > snd: Unknown symbol unregister_sound_special
>> > snd: Unknown symbol register_sound_special_device
>> > snd: Unknown symbol sound_class
>>
>> Uwe, could you try to revert this patch?
>> use-menuconfig-objects-ii-sound.patch
>
>I think that patch has rotted. Too many underlying changes and the
>handling of HAS_IOMEM (at least) appears to have been broken (by my
>fixups).
>
>I'll drop it.
>
>If/when Jan resends it, pleeeeeeeeeze consider it promptly and don't leave
>me trying to maintain the thing while you guys are madly changing other
>stuff underneath it?


Here they are...



Jan
--

2007-05-26 10:43:17

by Jan Engelhardt

[permalink] [raw]
Subject: [PATCH 01/04] Use menuconfig objects 3 - sound


CONFIG_SOUND, CONFIG_SND, CONFIG_SOUND_PRIME, ...:
Change Kconfig objects from "menu, config" into "menuconfig" so
that the user can disable the whole feature without having to
enter the menu first.

CONFIG_SND_*_DRIVERS:
Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu",
so that the user can disable all the options in that menu at once
instead of having to disable each option separately.

Signed-off-by: Jan Engelhardt <[email protected]>

---
sound/Kconfig | 12 +++++-------
sound/aoa/soundbus/Kconfig | 1 -
sound/oss/dmasound/Kconfig | 6 +++---
3 files changed, 8 insertions(+), 11 deletions(-)

Index: linux-2.6.22-rc3/sound/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/Kconfig
+++ linux-2.6.22-rc3/sound/Kconfig
@@ -1,11 +1,9 @@
# sound/Config.in
#

-menu "Sound"
- depends on HAS_IOMEM
-
-config SOUND
+menuconfig SOUND
tristate "Sound card support"
+ depends on HAS_IOMEM
help
If you have a sound card in your computer, i.e. if it can say more
than an occasional beep, say Y. Be sure to have all the information
@@ -33,6 +31,8 @@ config SOUND
Kernel patches and supporting utilities to do that are in the pcsp
package, available at <ftp://ftp.infradead.org/pub/pcsp/>.

+if SOUND
+
source "sound/oss/dmasound/Kconfig"

if !M68K
@@ -42,7 +42,6 @@ menu "Advanced Linux Sound Architecture"

config SND
tristate "Advanced Linux Sound Architecture"
- depends on SOUND
help
Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
the new base sound system.
@@ -86,7 +85,6 @@ menu "Open Sound System"

config SOUND_PRIME
tristate "Open Sound System (DEPRECATED)"
- depends on SOUND
help
Say 'Y' or 'M' to enable Open Sound System drivers.

@@ -104,4 +102,4 @@ config AC97_BUS
sound although they're sharing the AC97 bus. Concerned drivers
should "select" this.

-endmenu
+endif # SOUND
Index: linux-2.6.22-rc3/sound/aoa/soundbus/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/aoa/soundbus/Kconfig
+++ linux-2.6.22-rc3/sound/aoa/soundbus/Kconfig
@@ -1,6 +1,5 @@
config SND_AOA_SOUNDBUS
tristate "Apple Soundbus support"
- depends on SOUND
select SND_PCM
---help---
This option enables the generic driver for the soundbus
Index: linux-2.6.22-rc3/sound/oss/dmasound/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/oss/dmasound/Kconfig
+++ linux-2.6.22-rc3/sound/oss/dmasound/Kconfig
@@ -1,6 +1,6 @@
config DMASOUND_ATARI
tristate "Atari DMA sound support"
- depends on ATARI && SOUND
+ depends on ATARI
select DMASOUND
help
If you want to use the internal audio of your Atari in Linux, answer
@@ -14,7 +14,7 @@ config DMASOUND_ATARI

config DMASOUND_PAULA
tristate "Amiga DMA sound support"
- depends on (AMIGA || APUS) && SOUND
+ depends on AMIGA || APUS
select DMASOUND
help
If you want to use the internal audio of your Amiga in Linux, answer
@@ -28,7 +28,7 @@ config DMASOUND_PAULA

config DMASOUND_Q40
tristate "Q40 sound support"
- depends on Q40 && SOUND
+ depends on Q40
select DMASOUND
help
If you want to use the internal audio of your Q40 in Linux, answer

2007-05-26 10:43:41

by Jan Engelhardt

[permalink] [raw]
Subject: [PATCH 02/04] Use menuconfig objects 3 - sound/alsa


CONFIG_SOUND, CONFIG_SND, CONFIG_SOUND_PRIME, ...:
Change Kconfig objects from "menu, config" into "menuconfig" so
that the user can disable the whole feature without having to
enter the menu first.

CONFIG_SND_*_DRIVERS:
Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu",
so that the user can disable all the options in that menu at once
instead of having to disable each option separately.

Signed-off-by: Jan Engelhardt <[email protected]>

---
sound/Kconfig | 10 ++++----
sound/aoa/Kconfig | 1
sound/arm/Kconfig | 6 ++---
sound/core/Kconfig | 18 ++-------------
sound/drivers/Kconfig | 8 +-----
sound/isa/Kconfig | 36 +++++-------------------------
sound/mips/Kconfig | 2 -
sound/parisc/Kconfig | 1
sound/pci/Kconfig | 60 ++------------------------------------------------
sound/pcmcia/Kconfig | 4 +--
sound/ppc/Kconfig | 6 ++---
sound/soc/Kconfig | 1
sound/sparc/Kconfig | 5 +---
sound/usb/Kconfig | 6 ++---
14 files changed, 34 insertions(+), 130 deletions(-)

Index: linux-2.6.22-rc3/sound/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/Kconfig
+++ linux-2.6.22-rc3/sound/Kconfig
@@ -37,17 +37,17 @@ source "sound/oss/dmasound/Kconfig"

if !M68K

-menu "Advanced Linux Sound Architecture"
- depends on SOUND!=n
-
-config SND
+menuconfig SND
tristate "Advanced Linux Sound Architecture"
+ depends on SOUND!=n
help
Say 'Y' or 'M' to enable ALSA (Advanced Linux Sound Architecture),
the new base sound system.

For more information, see <http://www.alsa-project.org/>

+if SND
+
source "sound/core/Kconfig"

source "sound/drivers/Kconfig"
@@ -78,7 +78,7 @@ source "sound/parisc/Kconfig"

source "sound/soc/Kconfig"

-endmenu
+endif # SND

menu "Open Sound System"
depends on SOUND!=n
Index: linux-2.6.22-rc3/sound/aoa/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/aoa/Kconfig
+++ linux-2.6.22-rc3/sound/aoa/Kconfig
@@ -3,7 +3,6 @@ menu "Apple Onboard Audio driver"

config SND_AOA
tristate "Apple Onboard Audio driver"
- depends on SND
select SND_PCM
---help---
This option enables the new driver for the various
Index: linux-2.6.22-rc3/sound/arm/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/arm/Kconfig
+++ linux-2.6.22-rc3/sound/arm/Kconfig
@@ -5,7 +5,7 @@ menu "ALSA ARM devices"

config SND_SA11XX_UDA1341
tristate "SA11xx UDA1341TS driver (iPaq H3600)"
- depends on ARCH_SA1100 && SND && L3
+ depends on ARCH_SA1100 && L3
select SND_PCM
help
Say Y here if you have a Compaq iPaq H3x00 handheld computer
@@ -16,7 +16,7 @@ config SND_SA11XX_UDA1341

config SND_ARMAACI
tristate "ARM PrimeCell PL041 AC Link support"
- depends on SND && ARM_AMBA
+ depends on ARM_AMBA
select SND_PCM
select SND_AC97_CODEC

@@ -26,7 +26,7 @@ config SND_PXA2XX_PCM

config SND_PXA2XX_AC97
tristate "AC97 driver for the Intel PXA2xx chip"
- depends on ARCH_PXA && SND
+ depends on ARCH_PXA
select SND_PXA2XX_PCM
select SND_AC97_CODEC
help
Index: linux-2.6.22-rc3/sound/core/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/core/Kconfig
+++ linux-2.6.22-rc3/sound/core/Kconfig
@@ -1,24 +1,19 @@
# ALSA soundcard-configuration
config SND_TIMER
tristate
- depends on SND

config SND_PCM
tristate
select SND_TIMER
- depends on SND

config SND_HWDEP
tristate
- depends on SND

config SND_RAWMIDI
tristate
- depends on SND

config SND_SEQUENCER
tristate "Sequencer support"
- depends on SND
select SND_TIMER
help
Say Y or M to enable MIDI sequencer and router support. This
@@ -44,11 +39,9 @@ config SND_SEQ_DUMMY

config SND_OSSEMUL
bool
- depends on SND

config SND_MIXER_OSS
tristate "OSS Mixer API"
- depends on SND
select SND_OSSEMUL
help
To enable OSS mixer API emulation (/dev/mixer*), say Y here
@@ -61,7 +54,6 @@ config SND_MIXER_OSS

config SND_PCM_OSS
tristate "OSS PCM (digital audio) API"
- depends on SND
select SND_OSSEMUL
select SND_PCM
help
@@ -84,7 +76,7 @@ config SND_PCM_OSS_PLUGINS

config SND_SEQUENCER_OSS
bool "OSS Sequencer API"
- depends on SND && SND_SEQUENCER
+ depends on SND_SEQUENCER
select SND_OSSEMUL
help
Say Y here to enable OSS sequencer emulation (both
@@ -98,7 +90,7 @@ config SND_SEQUENCER_OSS

config SND_RTCTIMER
tristate "RTC Timer support"
- depends on SND && RTC
+ depends on RTC
select SND_TIMER
help
Say Y here to enable RTC timer support for ALSA. ALSA uses
@@ -123,7 +115,6 @@ config SND_SEQ_RTCTIMER_DEFAULT

config SND_DYNAMIC_MINORS
bool "Dynamic device file minor numbers"
- depends on SND
help
If you say Y here, the minor numbers of ALSA device files in
/dev/snd/ are allocated dynamically. This allows you to have
@@ -134,7 +125,6 @@ config SND_DYNAMIC_MINORS

config SND_SUPPORT_OLD_API
bool "Support old ALSA API"
- depends on SND
default y
help
Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
@@ -142,7 +132,7 @@ config SND_SUPPORT_OLD_API

config SND_VERBOSE_PROCFS
bool "Verbose procfs contents"
- depends on SND && PROC_FS
+ depends on PROC_FS
default y
help
Say Y here to include code for verbose procfs contents (provides
@@ -151,7 +141,6 @@ config SND_VERBOSE_PROCFS

config SND_VERBOSE_PRINTK
bool "Verbose printk"
- depends on SND
help
Say Y here to enable verbose log messages. These messages
will help to identify source file and position containing
@@ -161,7 +150,6 @@ config SND_VERBOSE_PRINTK

config SND_DEBUG
bool "Debug"
- depends on SND
help
Say Y here to enable ALSA debug code.

Index: linux-2.6.22-rc3/sound/drivers/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/drivers/Kconfig
+++ linux-2.6.22-rc3/sound/drivers/Kconfig
@@ -30,7 +30,6 @@ config SND_AC97_CODEC

config SND_DUMMY
tristate "Dummy (/dev/null) soundcard"
- depends on SND
select SND_PCM
help
Say Y here to include the dummy driver. This driver does
@@ -59,7 +58,6 @@ config SND_VIRMIDI

config SND_MTPAV
tristate "MOTU MidiTimePiece AV multiport MIDI"
- depends on SND
select SND_RAWMIDI
help
To use a MOTU MidiTimePiece AV multiport MIDI adapter
@@ -71,7 +69,7 @@ config SND_MTPAV

config SND_MTS64
tristate "ESI Miditerminal 4140 driver"
- depends on SND && PARPORT
+ depends on PARPORT
select SND_RAWMIDI
help
The ESI Miditerminal 4140 is a 4 In 4 Out MIDI Interface with
@@ -84,7 +82,6 @@ config SND_MTS64

config SND_SERIAL_U16550
tristate "UART16550 serial MIDI driver"
- depends on SND
select SND_RAWMIDI
help
To include support for MIDI serial port interfaces, say Y here
@@ -100,7 +97,6 @@ config SND_SERIAL_U16550

config SND_MPU401
tristate "Generic MPU-401 UART driver"
- depends on SND
select SND_MPU401_UART
help
Say Y here to include support for MIDI ports compatible with
@@ -111,7 +107,7 @@ config SND_MPU401

config SND_PORTMAN2X4
tristate "Portman 2x4 driver"
- depends on SND && PARPORT
+ depends on PARPORT
select SND_RAWMIDI
help
Say Y here to include support for Midiman Portman 2x4 parallel
Index: linux-2.6.22-rc3/sound/isa/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/isa/Kconfig
+++ linux-2.6.22-rc3/sound/isa/Kconfig
@@ -13,7 +13,6 @@ config SND_CS4231_LIB

config SND_ADLIB
tristate "AdLib FM card"
- depends on SND
select SND_OPL3_LIB
help
Say Y here to include support for AdLib FM cards.
@@ -23,7 +22,7 @@ config SND_ADLIB

config SND_AD1816A
tristate "Analog Devices SoundPort AD1816A"
- depends on SND && PNP && ISA
+ depends on PNP && ISA
select ISAPNP
select SND_OPL3_LIB
select SND_MPU401_UART
@@ -37,7 +36,6 @@ config SND_AD1816A

config SND_AD1848
tristate "Generic AD1848/CS4248 driver"
- depends on SND
select SND_AD1848_LIB
help
Say Y here to include support for AD1848 (Analog Devices) or
@@ -51,7 +49,7 @@ config SND_AD1848

config SND_ALS100
tristate "Avance Logic ALS100/ALS120"
- depends on SND && PNP && ISA
+ depends on PNP && ISA
select ISAPNP
select SND_OPL3_LIB
select SND_MPU401_UART
@@ -65,7 +63,7 @@ config SND_ALS100

config SND_AZT2320
tristate "Aztech Systems AZT2320"
- depends on SND && PNP && ISA
+ depends on PNP && ISA
select ISAPNP
select SND_OPL3_LIB
select SND_MPU401_UART
@@ -79,7 +77,6 @@ config SND_AZT2320

config SND_CMI8330
tristate "C-Media CMI8330"
- depends on SND
select SND_AD1848_LIB
help
Say Y here to include support for soundcards based on the
@@ -90,7 +87,6 @@ config SND_CMI8330

config SND_CS4231
tristate "Generic Cirrus Logic CS4231 driver"
- depends on SND
select SND_MPU401_UART
select SND_CS4231_LIB
help
@@ -102,7 +98,6 @@ config SND_CS4231

config SND_CS4232
tristate "Generic Cirrus Logic CS4232 driver"
- depends on SND
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_CS4231_LIB
@@ -115,7 +110,6 @@ config SND_CS4232

config SND_CS4236
tristate "Generic Cirrus Logic CS4236+ driver"
- depends on SND
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_CS4231_LIB
@@ -128,7 +122,7 @@ config SND_CS4236

config SND_DT019X
tristate "Diamond Technologies DT-019X, Avance Logic ALS-007"
- depends on SND && PNP && ISA
+ depends on PNP && ISA
select ISAPNP
select SND_OPL3_LIB
select SND_MPU401_UART
@@ -142,7 +136,7 @@ config SND_DT019X

config SND_ES968
tristate "Generic ESS ES968 driver"
- depends on SND && PNP && ISA
+ depends on PNP && ISA
select ISAPNP
select SND_MPU401_UART
select SND_PCM
@@ -154,7 +148,6 @@ config SND_ES968

config SND_ES1688
tristate "Generic ESS ES688/ES1688 driver"
- depends on SND
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_PCM
@@ -167,7 +160,6 @@ config SND_ES1688

config SND_ES18XX
tristate "Generic ESS ES18xx driver"
- depends on SND
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_PCM
@@ -182,7 +174,6 @@ config SND_GUS_SYNTH

config SND_GUSCLASSIC
tristate "Gravis UltraSound Classic"
- depends on SND
select SND_RAWMIDI
select SND_PCM
select SND_GUS_SYNTH
@@ -195,7 +186,6 @@ config SND_GUSCLASSIC

config SND_GUSEXTREME
tristate "Gravis UltraSound Extreme"
- depends on SND
select SND_HWDEP
select SND_MPU401_UART
select SND_PCM
@@ -209,7 +199,6 @@ config SND_GUSEXTREME

config SND_GUSMAX
tristate "Gravis UltraSound MAX"
- depends on SND
select SND_RAWMIDI
select SND_CS4231_LIB
select SND_GUS_SYNTH
@@ -222,7 +211,7 @@ config SND_GUSMAX

config SND_INTERWAVE
tristate "AMD InterWave, Gravis UltraSound PnP"
- depends on SND && PNP && ISA
+ depends on PNP && ISA
select SND_RAWMIDI
select SND_CS4231_LIB
select SND_GUS_SYNTH
@@ -236,7 +225,7 @@ config SND_INTERWAVE

config SND_INTERWAVE_STB
tristate "AMD InterWave + TEA6330T (UltraSound 32-Pro)"
- depends on SND && PNP && ISA
+ depends on PNP && ISA
select SND_RAWMIDI
select SND_CS4231_LIB
select SND_GUS_SYNTH
@@ -250,7 +239,6 @@ config SND_INTERWAVE_STB

config SND_OPL3SA2
tristate "Yamaha OPL3-SA2/SA3"
- depends on SND
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_CS4231_LIB
@@ -263,7 +251,6 @@ config SND_OPL3SA2

config SND_OPTI92X_AD1848
tristate "OPTi 82C92x - AD1848"
- depends on SND
select SND_OPL3_LIB
select SND_OPL4_LIB
select SND_MPU401_UART
@@ -277,7 +264,6 @@ config SND_OPTI92X_AD1848

config SND_OPTI92X_CS4231
tristate "OPTi 82C92x - CS4231"
- depends on SND
select SND_OPL3_LIB
select SND_OPL4_LIB
select SND_MPU401_UART
@@ -291,7 +277,6 @@ config SND_OPTI92X_CS4231

config SND_OPTI93X
tristate "OPTi 82C93x"
- depends on SND
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_PCM
@@ -304,7 +289,6 @@ config SND_OPTI93X

config SND_MIRO
tristate "Miro miroSOUND PCM1pro/PCM12/PCM20radio driver"
- depends on SND
select SND_OPL4_LIB
select SND_CS4231_LIB
select SND_MPU401_UART
@@ -318,7 +302,6 @@ config SND_MIRO

config SND_SB8
tristate "Sound Blaster 1.0/2.0/Pro (8-bit)"
- depends on SND
select SND_OPL3_LIB
select SND_RAWMIDI
select SND_PCM
@@ -331,7 +314,6 @@ config SND_SB8

config SND_SB16
tristate "Sound Blaster 16 (PnP)"
- depends on SND
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_PCM
@@ -344,7 +326,6 @@ config SND_SB16

config SND_SBAWE
tristate "Sound Blaster AWE (32,64) (PnP)"
- depends on SND
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_PCM
@@ -375,7 +356,6 @@ config SND_SB16_CSP_FIRMWARE_IN_KERNEL

config SND_SGALAXY
tristate "Aztech Sound Galaxy"
- depends on SND
select SND_AD1848_LIB
help
Say Y here to include support for Aztech Sound Galaxy
@@ -386,7 +366,6 @@ config SND_SGALAXY

config SND_SSCAPE
tristate "Ensoniq SoundScape PnP driver"
- depends on SND
select SND_HWDEP
select SND_MPU401_UART
select SND_CS4231_LIB
@@ -399,7 +378,6 @@ config SND_SSCAPE

config SND_WAVEFRONT
tristate "Turtle Beach Maui,Tropez,Tropez+ (Wavefront)"
- depends on SND
select FW_LOADER if !SND_WAVEFRONT_FIRMWARE_IN_KERNEL
select SND_OPL3_LIB
select SND_MPU401_UART
Index: linux-2.6.22-rc3/sound/mips/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/mips/Kconfig
+++ linux-2.6.22-rc3/sound/mips/Kconfig
@@ -5,7 +5,7 @@ menu "ALSA MIPS devices"

config SND_AU1X00
tristate "Au1x00 AC97 Port Driver"
- depends on (SOC_AU1000 || SOC_AU1100 || SOC_AU1500) && SND
+ depends on SOC_AU1000 || SOC_AU1100 || SOC_AU1500
select SND_PCM
select SND_AC97_CODEC
help
Index: linux-2.6.22-rc3/sound/parisc/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/parisc/Kconfig
+++ linux-2.6.22-rc3/sound/parisc/Kconfig
@@ -5,7 +5,6 @@ menu "GSC devices"

config SND_HARMONY
tristate "Harmony/Vivace sound chip"
- depends on SND
select SND_PCM
help
Say 'Y' or 'M' to include support for the Harmony/Vivace sound
Index: linux-2.6.22-rc3/sound/pci/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/pci/Kconfig
+++ linux-2.6.22-rc3/sound/pci/Kconfig
@@ -5,7 +5,6 @@ menu "PCI devices"

config SND_AD1889
tristate "Analog Devices AD1889"
- depends on SND
select SND_AC97_CODEC
help
Say Y here to include support for the integrated AC97 sound
@@ -17,7 +16,6 @@ config SND_AD1889

config SND_ALS300
tristate "Avance Logic ALS300/ALS300+"
- depends on SND
select SND_PCM
select SND_AC97_CODEC
select SND_OPL3_LIB
@@ -29,7 +27,7 @@ config SND_ALS300

config SND_ALS4000
tristate "Avance Logic ALS4000"
- depends on SND && ISA_DMA_API
+ depends on ISA_DMA_API
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_PCM
@@ -42,7 +40,6 @@ config SND_ALS4000

config SND_ALI5451
tristate "ALi M5451 PCI Audio Controller"
- depends on SND
select SND_MPU401_UART
select SND_AC97_CODEC
help
@@ -56,7 +53,6 @@ config SND_ALI5451

config SND_ATIIXP
tristate "ATI IXP AC97 Controller"
- depends on SND
select SND_AC97_CODEC
help
Say Y here to include support for the integrated AC97 sound
@@ -68,7 +64,6 @@ config SND_ATIIXP

config SND_ATIIXP_MODEM
tristate "ATI IXP Modem"
- depends on SND
select SND_AC97_CODEC
help
Say Y here to include support for the integrated MC97 modem on
@@ -79,7 +74,6 @@ config SND_ATIIXP_MODEM

config SND_AU8810
tristate "Aureal Advantage"
- depends on SND
select SND_MPU401_UART
select SND_AC97_CODEC
help
@@ -94,7 +88,6 @@ config SND_AU8810

config SND_AU8820
tristate "Aureal Vortex"
- depends on SND
select SND_MPU401_UART
select SND_AC97_CODEC
help
@@ -108,7 +101,6 @@ config SND_AU8820

config SND_AU8830
tristate "Aureal Vortex 2"
- depends on SND
select SND_MPU401_UART
select SND_AC97_CODEC
help
@@ -123,7 +115,7 @@ config SND_AU8830

config SND_AZT3328
tristate "Aztech AZF3328 / PCI168 (EXPERIMENTAL)"
- depends on SND && EXPERIMENTAL
+ depends on EXPERIMENTAL
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_PCM
@@ -136,7 +128,6 @@ config SND_AZT3328

config SND_BT87X
tristate "Bt87x Audio Capture"
- depends on SND
select SND_PCM
help
If you want to record audio from TV cards based on
@@ -158,7 +149,6 @@ config SND_BT87X_OVERCLOCK

config SND_CA0106
tristate "SB Audigy LS / Live 24bit"
- depends on SND
select SND_AC97_CODEC
select SND_RAWMIDI
help
@@ -170,7 +160,6 @@ config SND_CA0106

config SND_CMIPCI
tristate "C-Media 8738, 8338"
- depends on SND
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_PCM
@@ -184,7 +173,6 @@ config SND_CMIPCI

config SND_CS4281
tristate "Cirrus Logic (Sound Fusion) CS4281"
- depends on SND
select SND_OPL3_LIB
select SND_RAWMIDI
select SND_AC97_CODEC
@@ -196,7 +184,6 @@ config SND_CS4281

config SND_CS46XX
tristate "Cirrus Logic (Sound Fusion) CS4280/CS461x/CS462x/CS463x"
- depends on SND
select SND_RAWMIDI
select SND_AC97_CODEC
help
@@ -217,7 +204,7 @@ config SND_CS46XX_NEW_DSP

config SND_CS5535AUDIO
tristate "CS5535/CS5536 Audio"
- depends on SND && X86 && !X86_64
+ depends on X86 && !X86_64
select SND_PCM
select SND_AC97_CODEC
help
@@ -235,7 +222,6 @@ config SND_CS5535AUDIO

config SND_DARLA20
tristate "(Echoaudio) Darla20"
- depends on SND
select FW_LOADER
select SND_PCM
help
@@ -246,7 +232,6 @@ config SND_DARLA20

config SND_GINA20
tristate "(Echoaudio) Gina20"
- depends on SND
select FW_LOADER
select SND_PCM
help
@@ -257,7 +242,6 @@ config SND_GINA20

config SND_LAYLA20
tristate "(Echoaudio) Layla20"
- depends on SND
select FW_LOADER
select SND_RAWMIDI
select SND_PCM
@@ -269,7 +253,6 @@ config SND_LAYLA20

config SND_DARLA24
tristate "(Echoaudio) Darla24"
- depends on SND
select FW_LOADER
select SND_PCM
help
@@ -280,7 +263,6 @@ config SND_DARLA24

config SND_GINA24
tristate "(Echoaudio) Gina24"
- depends on SND
select FW_LOADER
select SND_PCM
help
@@ -291,7 +273,6 @@ config SND_GINA24

config SND_LAYLA24
tristate "(Echoaudio) Layla24"
- depends on SND
select FW_LOADER
select SND_RAWMIDI
select SND_PCM
@@ -303,7 +284,6 @@ config SND_LAYLA24

config SND_MONA
tristate "(Echoaudio) Mona"
- depends on SND
select FW_LOADER
select SND_RAWMIDI
select SND_PCM
@@ -315,7 +295,6 @@ config SND_MONA

config SND_MIA
tristate "(Echoaudio) Mia"
- depends on SND
select FW_LOADER
select SND_RAWMIDI
select SND_PCM
@@ -327,7 +306,6 @@ config SND_MIA

config SND_ECHO3G
tristate "(Echoaudio) 3G cards"
- depends on SND
select FW_LOADER
select SND_RAWMIDI
select SND_PCM
@@ -339,7 +317,6 @@ config SND_ECHO3G

config SND_INDIGO
tristate "(Echoaudio) Indigo"
- depends on SND
select FW_LOADER
select SND_PCM
help
@@ -350,7 +327,6 @@ config SND_INDIGO

config SND_INDIGOIO
tristate "(Echoaudio) Indigo IO"
- depends on SND
select FW_LOADER
select SND_PCM
help
@@ -361,7 +337,6 @@ config SND_INDIGOIO

config SND_INDIGODJ
tristate "(Echoaudio) Indigo DJ"
- depends on SND
select FW_LOADER
select SND_PCM
help
@@ -372,7 +347,6 @@ config SND_INDIGODJ

config SND_EMU10K1
tristate "Emu10k1 (SB Live!, Audigy, E-mu APS)"
- depends on SND
select FW_LOADER
select SND_HWDEP
select SND_RAWMIDI
@@ -390,7 +364,6 @@ config SND_EMU10K1

config SND_EMU10K1X
tristate "Emu10k1X (Dell OEM Version)"
- depends on SND
select SND_AC97_CODEC
select SND_RAWMIDI
help
@@ -402,7 +375,6 @@ config SND_EMU10K1X

config SND_ENS1370
tristate "(Creative) Ensoniq AudioPCI 1370"
- depends on SND
select SND_RAWMIDI
select SND_PCM
help
@@ -413,7 +385,6 @@ config SND_ENS1370

config SND_ENS1371
tristate "(Creative) Ensoniq AudioPCI 1371/1373"
- depends on SND
select SND_RAWMIDI
select SND_AC97_CODEC
help
@@ -425,7 +396,6 @@ config SND_ENS1371

config SND_ES1938
tristate "ESS ES1938/1946/1969 (Solo-1)"
- depends on SND
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_AC97_CODEC
@@ -438,7 +408,6 @@ config SND_ES1938

config SND_ES1968
tristate "ESS ES1968/1978 (Maestro-1/2/2E)"
- depends on SND
select SND_MPU401_UART
select SND_AC97_CODEC
help
@@ -450,7 +419,6 @@ config SND_ES1968

config SND_FM801
tristate "ForteMedia FM801"
- depends on SND
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_AC97_CODEC
@@ -480,7 +448,6 @@ config SND_FM801_TEA575X

config SND_HDA_INTEL
tristate "Intel HD Audio"
- depends on SND
select SND_PCM
help
Say Y here to include support for Intel "High Definition
@@ -491,7 +458,6 @@ config SND_HDA_INTEL

config SND_HDSP
tristate "RME Hammerfall DSP Audio"
- depends on SND
select SND_HWDEP
select SND_RAWMIDI
select SND_PCM
@@ -504,7 +470,6 @@ config SND_HDSP

config SND_HDSPM
tristate "RME Hammerfall DSP MADI"
- depends on SND
select SND_HWDEP
select SND_RAWMIDI
select SND_PCM
@@ -517,7 +482,6 @@ config SND_HDSPM

config SND_ICE1712
tristate "ICEnsemble ICE1712 (Envy24)"
- depends on SND
select SND_MPU401_UART
select SND_AC97_CODEC
help
@@ -534,7 +498,6 @@ config SND_ICE1712

config SND_ICE1724
tristate "ICE/VT1724/1720 (Envy24HT/PT)"
- depends on SND
select SND_MPU401_UART
select SND_AC97_CODEC
help
@@ -551,7 +514,6 @@ config SND_ICE1724

config SND_INTEL8X0
tristate "Intel/SiS/nVidia/AMD/ALi AC97 Controller"
- depends on SND
select SND_AC97_CODEC
help
Say Y here to include support for the integrated AC97 sound
@@ -564,7 +526,6 @@ config SND_INTEL8X0

config SND_INTEL8X0M
tristate "Intel/SiS/nVidia/AMD MC97 Modem"
- depends on SND
select SND_AC97_CODEC
help
Say Y here to include support for the integrated MC97 modem on
@@ -575,7 +536,6 @@ config SND_INTEL8X0M

config SND_KORG1212
tristate "Korg 1212 IO"
- depends on SND
select FW_LOADER if !SND_KORG1212_FIRMWARE_IN_KERNEL
select SND_PCM
help
@@ -595,7 +555,6 @@ config SND_KORG1212_FIRMWARE_IN_KERNEL

config SND_MAESTRO3
tristate "ESS Allegro/Maestro3"
- depends on SND
select FW_LOADER if !SND_MAESTRO3_FIRMWARE_IN_KERNEL
select SND_AC97_CODEC
help
@@ -616,7 +575,6 @@ config SND_MAESTRO3_FIRMWARE_IN_KERNEL

config SND_MIXART
tristate "Digigram miXart"
- depends on SND
select SND_HWDEP
select SND_PCM
help
@@ -628,7 +586,6 @@ config SND_MIXART

config SND_NM256
tristate "NeoMagic NM256AV/ZX"
- depends on SND
select SND_AC97_CODEC
help
Say Y here to include support for NeoMagic NM256AV/ZX chips.
@@ -638,7 +595,6 @@ config SND_NM256

config SND_PCXHR
tristate "Digigram PCXHR"
- depends on SND
select SND_PCM
select SND_HWDEP
help
@@ -649,7 +605,6 @@ config SND_PCXHR

config SND_RIPTIDE
tristate "Conexant Riptide"
- depends on SND
select FW_LOADER
select SND_OPL3_LIB
select SND_MPU401_UART
@@ -662,7 +617,6 @@ config SND_RIPTIDE

config SND_RME32
tristate "RME Digi32, 32/8, 32 PRO"
- depends on SND
select SND_PCM
help
Say Y to include support for RME Digi32, Digi32 PRO and
@@ -674,7 +628,6 @@ config SND_RME32

config SND_RME96
tristate "RME Digi96, 96/8, 96/8 PRO"
- depends on SND
select SND_PCM
help
Say Y here to include support for RME Digi96, Digi96/8 and
@@ -685,7 +638,6 @@ config SND_RME96

config SND_RME9652
tristate "RME Digi9652 (Hammerfall)"
- depends on SND
select SND_PCM
help
Say Y here to include support for RME Hammerfall (RME
@@ -696,7 +648,6 @@ config SND_RME9652

config SND_SONICVIBES
tristate "S3 SonicVibes"
- depends on SND
select SND_OPL3_LIB
select SND_MPU401_UART
select SND_AC97_CODEC
@@ -709,7 +660,6 @@ config SND_SONICVIBES

config SND_TRIDENT
tristate "Trident 4D-Wave DX/NX; SiS 7018"
- depends on SND
select SND_MPU401_UART
select SND_AC97_CODEC
help
@@ -721,7 +671,6 @@ config SND_TRIDENT

config SND_VIA82XX
tristate "VIA 82C686A/B, 8233/8235 AC97 Controller"
- depends on SND
select SND_MPU401_UART
select SND_AC97_CODEC
help
@@ -733,7 +682,6 @@ config SND_VIA82XX

config SND_VIA82XX_MODEM
tristate "VIA 82C686A/B, 8233 based Modems"
- depends on SND
select SND_AC97_CODEC
help
Say Y here to include support for the integrated MC97 modem on
@@ -744,7 +692,6 @@ config SND_VIA82XX_MODEM

config SND_VX222
tristate "Digigram VX222"
- depends on SND
select SND_VX_LIB
help
Say Y here to include support for Digigram VX222 soundcards.
@@ -754,7 +701,6 @@ config SND_VX222

config SND_YMFPCI
tristate "Yamaha YMF724/740/744/754"
- depends on SND
select FW_LOADER if !SND_YMFPCI_FIRMWARE_IN_KERNEL
select SND_OPL3_LIB
select SND_MPU401_UART
Index: linux-2.6.22-rc3/sound/pcmcia/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/pcmcia/Kconfig
+++ linux-2.6.22-rc3/sound/pcmcia/Kconfig
@@ -5,7 +5,7 @@ menu "PCMCIA devices"

config SND_VXPOCKET
tristate "Digigram VXpocket"
- depends on SND && PCMCIA
+ depends on PCMCIA
select SND_VX_LIB
help
Say Y here to include support for Digigram VXpocket and
@@ -16,7 +16,7 @@ config SND_VXPOCKET

config SND_PDAUDIOCF
tristate "Sound Core PDAudioCF"
- depends on SND && PCMCIA
+ depends on PCMCIA
select SND_PCM
help
Say Y here to include support for Sound Core PDAudioCF
Index: linux-2.6.22-rc3/sound/ppc/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/ppc/Kconfig
+++ linux-2.6.22-rc3/sound/ppc/Kconfig
@@ -4,14 +4,14 @@ menu "ALSA PowerMac devices"
depends on SND!=n && PPC

comment "ALSA PowerMac requires I2C"
- depends on SND && I2C=n
+ depends on I2C=n

comment "ALSA PowerMac requires INPUT"
- depends on SND && INPUT=n
+ depends on INPUT=n

config SND_POWERMAC
tristate "PowerMac (AWACS, DACA, Burgundy, Tumbler, Keywest)"
- depends on SND && I2C && INPUT && PPC_PMAC
+ depends on I2C && INPUT && PPC_PMAC
select SND_PCM
help
Say Y here to include support for the integrated sound device.
Index: linux-2.6.22-rc3/sound/soc/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/soc/Kconfig
+++ linux-2.6.22-rc3/sound/soc/Kconfig
@@ -10,7 +10,6 @@ config SND_SOC_AC97_BUS

config SND_SOC
tristate "ALSA for SoC audio support"
- depends on SND
select SND_PCM
---help---

Index: linux-2.6.22-rc3/sound/sparc/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/sparc/Kconfig
+++ linux-2.6.22-rc3/sound/sparc/Kconfig
@@ -5,7 +5,7 @@ menu "ALSA Sparc devices"

config SND_SUN_AMD7930
tristate "Sun AMD7930"
- depends on SBUS && SND
+ depends on SBUS
select SND_PCM
help
Say Y here to include support for AMD7930 sound device on Sun.
@@ -15,7 +15,6 @@ config SND_SUN_AMD7930

config SND_SUN_CS4231
tristate "Sun CS4231"
- depends on SND
select SND_PCM
help
Say Y here to include support for CS4231 sound device on Sun.
@@ -25,7 +24,7 @@ config SND_SUN_CS4231

config SND_SUN_DBRI
tristate "Sun DBRI"
- depends on SND && SBUS
+ depends on SBUS
select SND_PCM
help
Say Y here to include support for DBRI sound device on Sun.
Index: linux-2.6.22-rc3/sound/usb/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/usb/Kconfig
+++ linux-2.6.22-rc3/sound/usb/Kconfig
@@ -5,7 +5,7 @@ menu "USB devices"

config SND_USB_AUDIO
tristate "USB Audio/MIDI driver"
- depends on SND && USB
+ depends on USB
select SND_HWDEP
select SND_RAWMIDI
select SND_PCM
@@ -18,7 +18,7 @@ config SND_USB_AUDIO

config SND_USB_USX2Y
tristate "Tascam US-122, US-224 and US-428 USB driver"
- depends on SND && USB && (X86 || PPC || ALPHA)
+ depends on USB && (X86 || PPC || ALPHA)
select SND_HWDEP
select SND_RAWMIDI
select SND_PCM
@@ -31,7 +31,7 @@ config SND_USB_USX2Y

config SND_USB_CAIAQ
tristate "Native Instruments USB audio devices"
- depends on SND && USB
+ depends on USB
select SND_HWDEP
select SND_RAWMIDI
select SND_PCM

2007-05-26 10:44:01

by Jan Engelhardt

[permalink] [raw]
Subject: [PATCH 03/04] Use menuconfig objects 3 - sound/alsa/more


CONFIG_SOUND, CONFIG_SND, CONFIG_SOUND_PRIME, ...:
Change Kconfig objects from "menu, config" into "menuconfig" so
that the user can disable the whole feature without having to
enter the menu first.

CONFIG_SND_*_DRIVERS:
Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu",
so that the user can disable all the options in that menu at once
instead of having to disable each option separately.

Signed-off-by: Jan Engelhardt <[email protected]>

---
sound/aoa/Kconfig | 10 +++++-----
sound/aoa/codecs/Kconfig | 4 ----
sound/aoa/fabrics/Kconfig | 1 -
sound/arm/Kconfig | 11 ++++++++---
sound/drivers/Kconfig | 2 --
sound/isa/Kconfig | 25 +++++++++++++++----------
sound/mips/Kconfig | 12 ++++++++----
sound/parisc/Kconfig | 12 +++++++++---
sound/pci/Kconfig | 11 ++++++++---
sound/pcmcia/Kconfig | 14 +++++++++-----
sound/ppc/Kconfig | 11 ++++++++---
sound/soc/Kconfig | 9 ++++-----
sound/soc/at91/Kconfig | 2 +-
sound/soc/codecs/Kconfig | 5 -----
sound/soc/pxa/Kconfig | 2 +-
sound/soc/s3c24xx/Kconfig | 2 +-
sound/sparc/Kconfig | 12 +++++++++---
sound/usb/Kconfig | 16 +++++++++-------
18 files changed, 95 insertions(+), 66 deletions(-)

Index: linux-2.6.22-rc3/sound/aoa/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/aoa/Kconfig
+++ linux-2.6.22-rc3/sound/aoa/Kconfig
@@ -1,17 +1,17 @@
-menu "Apple Onboard Audio driver"
- depends on SND!=n && PPC_PMAC
-
-config SND_AOA
+menuconfig SND_AOA
tristate "Apple Onboard Audio driver"
+ depends on PPC_PMAC
select SND_PCM
---help---
This option enables the new driver for the various
Apple Onboard Audio components.

+if SND_AOA
+
source "sound/aoa/fabrics/Kconfig"

source "sound/aoa/codecs/Kconfig"

source "sound/aoa/soundbus/Kconfig"

-endmenu
+endif # SND_AOA
Index: linux-2.6.22-rc3/sound/aoa/codecs/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/aoa/codecs/Kconfig
+++ linux-2.6.22-rc3/sound/aoa/codecs/Kconfig
@@ -1,6 +1,5 @@
config SND_AOA_ONYX
tristate "support Onyx chip"
- depends on SND_AOA
select I2C
select I2C_POWERMAC
---help---
@@ -10,7 +9,6 @@ config SND_AOA_ONYX

#config SND_AOA_TOPAZ
# tristate "support Topaz chips"
-# depends on SND_AOA
# ---help---
# This option enables support for the Topaz (CS84xx)
# codec chips found in the latest Apple machines,
@@ -19,7 +17,6 @@ config SND_AOA_ONYX

config SND_AOA_TAS
tristate "support TAS chips"
- depends on SND_AOA
select I2C
select I2C_POWERMAC
---help---
@@ -29,7 +26,6 @@ config SND_AOA_TAS

config SND_AOA_TOONIE
tristate "support Toonie chip"
- depends on SND_AOA
---help---
This option enables support for the toonie codec
found in the Mac Mini. If you have a Mac Mini and
Index: linux-2.6.22-rc3/sound/aoa/fabrics/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/aoa/fabrics/Kconfig
+++ linux-2.6.22-rc3/sound/aoa/fabrics/Kconfig
@@ -1,6 +1,5 @@
config SND_AOA_FABRIC_LAYOUT
tristate "layout-id fabric"
- depends on SND_AOA
select SND_AOA_SOUNDBUS
select SND_AOA_SOUNDBUS_I2S
---help---
Index: linux-2.6.22-rc3/sound/arm/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/arm/Kconfig
+++ linux-2.6.22-rc3/sound/arm/Kconfig
@@ -1,7 +1,12 @@
# ALSA ARM drivers

-menu "ALSA ARM devices"
- depends on SND!=n && ARM
+menuconfig SND_ARM_DRIVERS
+ bool "ALSA ARM devices"
+ depends on ARM
+ ---help---
+ Select this option if you want to select ARM specific sound drivers.
+
+if SND_ARM_DRIVERS

config SND_SA11XX_UDA1341
tristate "SA11xx UDA1341TS driver (iPaq H3600)"
@@ -33,4 +38,4 @@ config SND_PXA2XX_AC97
Say Y or M if you want to support any AC97 codec attached to
the PXA2xx AC97 interface.

-endmenu
+endif # SND_ARM_DRIVERS
Index: linux-2.6.22-rc3/sound/drivers/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/drivers/Kconfig
+++ linux-2.6.22-rc3/sound/drivers/Kconfig
@@ -1,8 +1,6 @@
# ALSA generic drivers

menu "Generic devices"
- depends on SND!=n
-

config SND_MPU401_UART
tristate
Index: linux-2.6.22-rc3/sound/isa/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/isa/Kconfig
+++ linux-2.6.22-rc3/sound/isa/Kconfig
@@ -1,7 +1,12 @@
# ALSA ISA drivers

-menu "ISA devices"
- depends on SND!=n && ISA && ISA_DMA_API
+menuconfig SND_ISA_DRIVERS
+ bool "ISA devices"
+ depends on ISA && ISA_DMA_API
+ ---help---
+ Enable this option if you want to select ISA specific sound drivers.
+
+if SND_ISA_DRIVERS

config SND_AD1848_LIB
tristate
@@ -22,7 +27,7 @@ config SND_ADLIB

config SND_AD1816A
tristate "Analog Devices SoundPort AD1816A"
- depends on PNP && ISA
+ depends on PNP
select ISAPNP
select SND_OPL3_LIB
select SND_MPU401_UART
@@ -49,7 +54,7 @@ config SND_AD1848

config SND_ALS100
tristate "Avance Logic ALS100/ALS120"
- depends on PNP && ISA
+ depends on PNP
select ISAPNP
select SND_OPL3_LIB
select SND_MPU401_UART
@@ -63,7 +68,7 @@ config SND_ALS100

config SND_AZT2320
tristate "Aztech Systems AZT2320"
- depends on PNP && ISA
+ depends on PNP
select ISAPNP
select SND_OPL3_LIB
select SND_MPU401_UART
@@ -122,7 +127,7 @@ config SND_CS4236

config SND_DT019X
tristate "Diamond Technologies DT-019X, Avance Logic ALS-007"
- depends on PNP && ISA
+ depends on PNP
select ISAPNP
select SND_OPL3_LIB
select SND_MPU401_UART
@@ -136,7 +141,7 @@ config SND_DT019X

config SND_ES968
tristate "Generic ESS ES968 driver"
- depends on PNP && ISA
+ depends on PNP
select ISAPNP
select SND_MPU401_UART
select SND_PCM
@@ -211,7 +216,7 @@ config SND_GUSMAX

config SND_INTERWAVE
tristate "AMD InterWave, Gravis UltraSound PnP"
- depends on PNP && ISA
+ depends on PNP
select SND_RAWMIDI
select SND_CS4231_LIB
select SND_GUS_SYNTH
@@ -225,7 +230,7 @@ config SND_INTERWAVE

config SND_INTERWAVE_STB
tristate "AMD InterWave + TEA6330T (UltraSound 32-Pro)"
- depends on PNP && ISA
+ depends on PNP
select SND_RAWMIDI
select SND_CS4231_LIB
select SND_GUS_SYNTH
@@ -398,4 +403,4 @@ config SND_WAVEFRONT_FIRMWARE_IN_KERNEL
for the Wavefront driver. If you choose N here, you need to
install the firmware files from the alsa-firmware package.

-endmenu
+endif # SND_ISA_DRIVERS
Index: linux-2.6.22-rc3/sound/mips/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/mips/Kconfig
+++ linux-2.6.22-rc3/sound/mips/Kconfig
@@ -1,7 +1,12 @@
# ALSA MIPS drivers

-menu "ALSA MIPS devices"
- depends on SND!=n && MIPS
+menuconfig SND_MIPS_DRIVERS
+ bool "ALSA MIPS devices"
+ depends on MIPS
+ ---help---
+ Enable this option if you want to select MIPS specific sound drivers.
+
+if SND_MIPS_DRIVERS

config SND_AU1X00
tristate "Au1x00 AC97 Port Driver"
@@ -11,5 +16,4 @@ config SND_AU1X00
help
ALSA Sound driver for the Au1x00's AC97 port.

-endmenu
-
+endif # SND_MIPS_DRIVERS
Index: linux-2.6.22-rc3/sound/parisc/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/parisc/Kconfig
+++ linux-2.6.22-rc3/sound/parisc/Kconfig
@@ -1,7 +1,13 @@
# ALSA PA-RISC drivers

-menu "GSC devices"
- depends on SND!=n && GSC
+menuconfig SND_PARISC_DRIVERS
+ bool "GSC devices"
+ depends on GSC
+ ---help---
+ Enable this option if you want to select PA-RISC specific sound
+ drivers.
+
+if SND_PARISC_DRIVERS

config SND_HARMONY
tristate "Harmony/Vivace sound chip"
@@ -11,4 +17,4 @@ config SND_HARMONY
chip found in most GSC-based PA-RISC workstations. It's frequently
provided as part of the Lasi multi-function IC.

-endmenu
+endif # SND_PARISC_DRIVERS
Index: linux-2.6.22-rc3/sound/pci/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/pci/Kconfig
+++ linux-2.6.22-rc3/sound/pci/Kconfig
@@ -1,7 +1,12 @@
# ALSA PCI drivers

-menu "PCI devices"
- depends on SND!=n && PCI
+menuconfig SND_PCI_DRIVERS
+ bool "PCI devices"
+ depends on PCI
+ ---help---
+ Enable this option if you want to select PCI specific sound drivers.
+
+if SND_PCI_DRIVERS

config SND_AD1889
tristate "Analog Devices AD1889"
@@ -734,4 +739,4 @@ config SND_AC97_POWER_SAVE
snd-ac97-codec driver. You can toggle it dynamically over
sysfs, too.

-endmenu
+endif # SND_PCI_DRIVERS
Index: linux-2.6.22-rc3/sound/pcmcia/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/pcmcia/Kconfig
+++ linux-2.6.22-rc3/sound/pcmcia/Kconfig
@@ -1,11 +1,16 @@
# ALSA PCMCIA drivers

-menu "PCMCIA devices"
- depends on SND!=n && PCMCIA
+menuconfig SND_PCMCIA_DRIVERS
+ bool "PCMCIA devices"
+ depends on PCMCIA
+ ---help---
+ Enable this option if you want to select PCMCIA specific sound
+ drivers.
+
+if SND_PCMCIA_DRIVERS

config SND_VXPOCKET
tristate "Digigram VXpocket"
- depends on PCMCIA
select SND_VX_LIB
help
Say Y here to include support for Digigram VXpocket and
@@ -16,7 +21,6 @@ config SND_VXPOCKET

config SND_PDAUDIOCF
tristate "Sound Core PDAudioCF"
- depends on PCMCIA
select SND_PCM
help
Say Y here to include support for Sound Core PDAudioCF
@@ -25,4 +29,4 @@ config SND_PDAUDIOCF
To compile this driver as a module, choose M here: the module
will be called snd-pdaudiocf.

-endmenu
+endif # SND_PCMCIA_DRIVERS
Index: linux-2.6.22-rc3/sound/ppc/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/ppc/Kconfig
+++ linux-2.6.22-rc3/sound/ppc/Kconfig
@@ -1,7 +1,12 @@
# ALSA PowerMac drivers

-menu "ALSA PowerMac devices"
- depends on SND!=n && PPC
+menuconfig SND_PPC_DRIVERS
+ bool "ALSA PowerMac devices"
+ depends on PPC
+ ---help---
+ Enable this option if you want to select PPC specific sound drivers.
+
+if SND_PPC_DRIVERS

comment "ALSA PowerMac requires I2C"
depends on I2C=n
@@ -32,4 +37,4 @@ config SND_POWERMAC_AUTO_DRC
Note that you can turn on/off DRC manually even without this
option.

-endmenu
+endif # SND_PPC_DRIVERS
Index: linux-2.6.22-rc3/sound/soc/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/soc/Kconfig
+++ linux-2.6.22-rc3/sound/soc/Kconfig
@@ -2,13 +2,10 @@
# SoC audio configuration
#

-menu "System on Chip audio support"
- depends on SND!=n
-
config SND_SOC_AC97_BUS
bool

-config SND_SOC
+menuconfig SND_SOC
tristate "ALSA for SoC audio support"
select SND_PCM
---help---
@@ -22,6 +19,8 @@ config SND_SOC
This ASoC audio support can also be built as a module. If so, the module
will be called snd-soc-core.

+if SND_SOC
+
# All the supported Soc's
source "sound/soc/at91/Kconfig"
source "sound/soc/pxa/Kconfig"
@@ -30,4 +29,4 @@ source "sound/soc/s3c24xx/Kconfig"
# Supported codecs
source "sound/soc/codecs/Kconfig"

-endmenu
+endif # SND_SOC
Index: linux-2.6.22-rc3/sound/soc/at91/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/soc/at91/Kconfig
+++ linux-2.6.22-rc3/sound/soc/at91/Kconfig
@@ -1,6 +1,6 @@
config SND_AT91_SOC
tristate "SoC Audio for the Atmel AT91 System-on-Chip"
- depends on ARCH_AT91 && SND_SOC
+ depends on ARCH_AT91
help
Say Y or M if you want to add support for codecs attached to
the AT91 SSC interface. You will also need
Index: linux-2.6.22-rc3/sound/soc/codecs/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/soc/codecs/Kconfig
+++ linux-2.6.22-rc3/sound/soc/codecs/Kconfig
@@ -1,19 +1,14 @@
config SND_SOC_AC97_CODEC
tristate
- depends on SND_SOC

config SND_SOC_WM8731
tristate
- depends on SND_SOC

config SND_SOC_WM8750
tristate
- depends on SND_SOC

config SND_SOC_WM8753
tristate
- depends on SND_SOC

config SND_SOC_WM9712
tristate
- depends on SND_SOC
Index: linux-2.6.22-rc3/sound/soc/pxa/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/soc/pxa/Kconfig
+++ linux-2.6.22-rc3/sound/soc/pxa/Kconfig
@@ -1,6 +1,6 @@
config SND_PXA2XX_SOC
tristate "SoC Audio for the Intel PXA2xx chip"
- depends on ARCH_PXA && SND_SOC
+ depends on ARCH_PXA
help
Say Y or M if you want to add support for codecs attached to
the PXA2xx AC97, I2S or SSP interface. You will also need
Index: linux-2.6.22-rc3/sound/soc/s3c24xx/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/soc/s3c24xx/Kconfig
+++ linux-2.6.22-rc3/sound/soc/s3c24xx/Kconfig
@@ -1,6 +1,6 @@
config SND_S3C24XX_SOC
tristate "SoC Audio for the Samsung S3C24XX chips"
- depends on ARCH_S3C2410 && SND_SOC
+ depends on ARCH_S3C2410
help
Say Y or M if you want to add support for codecs attached to
the S3C24XX AC97, I2S or SSP interface. You will also need
Index: linux-2.6.22-rc3/sound/sparc/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/sparc/Kconfig
+++ linux-2.6.22-rc3/sound/sparc/Kconfig
@@ -1,7 +1,13 @@
# ALSA Sparc drivers

-menu "ALSA Sparc devices"
- depends on SND!=n && SPARC
+menuconfig SND_SPARC_DRIVERS
+ bool "ALSA Sparc devices"
+ depends on SPARC
+ ---help---
+ Enable this option if you want to select SPARC specific sound
+ drivers.
+
+if SND_SPARC_DRIVERS

config SND_SUN_AMD7930
tristate "Sun AMD7930"
@@ -32,4 +38,4 @@ config SND_SUN_DBRI
To compile this driver as a module, choose M here: the module
will be called snd-sun-dbri.

-endmenu
+endif # SND_SPARC_DRIVERS
Index: linux-2.6.22-rc3/sound/usb/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/usb/Kconfig
+++ linux-2.6.22-rc3/sound/usb/Kconfig
@@ -1,11 +1,15 @@
# ALSA USB drivers

-menu "USB devices"
- depends on SND!=n && USB!=n
+menuconfig SND_USB_DRIVERS
+ bool "USB devices"
+ depends on USB
+ ---help---
+ Enable this option if you want to select USB specific sound drivers.
+
+if SND_USB_DRIVERS

config SND_USB_AUDIO
tristate "USB Audio/MIDI driver"
- depends on USB
select SND_HWDEP
select SND_RAWMIDI
select SND_PCM
@@ -18,7 +22,7 @@ config SND_USB_AUDIO

config SND_USB_USX2Y
tristate "Tascam US-122, US-224 and US-428 USB driver"
- depends on USB && (X86 || PPC || ALPHA)
+ depends on X86 || PPC || ALPHA
select SND_HWDEP
select SND_RAWMIDI
select SND_PCM
@@ -31,7 +35,6 @@ config SND_USB_USX2Y

config SND_USB_CAIAQ
tristate "Native Instruments USB audio devices"
- depends on USB
select SND_HWDEP
select SND_RAWMIDI
select SND_PCM
@@ -57,5 +60,4 @@ config SND_USB_CAIAQ_INPUT
* Native Instruments RigKontrol2
* Native Instruments Audio Kontrol 1

-endmenu
-
+endif # SND_USB_DRIVERS

2007-05-26 10:44:30

by Jan Engelhardt

[permalink] [raw]
Subject: [PATCH 04/04] Use menuconfig objects 3 - sound/oss


CONFIG_SOUND, CONFIG_SND, CONFIG_SOUND_PRIME, ...:
Change Kconfig objects from "menu, config" into "menuconfig" so
that the user can disable the whole feature without having to
enter the menu first.

CONFIG_SND_*_DRIVERS:
Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu",
so that the user can disable all the options in that menu at once
instead of having to disable each option separately.

Signed-off-by: Jan Engelhardt <[email protected]>

---
sound/Kconfig | 11 +++++------
sound/oss/Kconfig | 39 +++++++++++++++++++--------------------
2 files changed, 24 insertions(+), 26 deletions(-)

Index: linux-2.6.22-rc3/sound/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/Kconfig
+++ linux-2.6.22-rc3/sound/Kconfig
@@ -80,19 +80,18 @@ source "sound/soc/Kconfig"

endif # SND

-menu "Open Sound System"
- depends on SOUND!=n
-
-config SOUND_PRIME
+menuconfig SOUND_PRIME
tristate "Open Sound System (DEPRECATED)"
help
Say 'Y' or 'M' to enable Open Sound System drivers.

+if SOUND_PRIME
+
source "sound/oss/Kconfig"

-endmenu
+endif # SOUND_PRIME

-endif
+endif # !M68K

config AC97_BUS
tristate
Index: linux-2.6.22-rc3/sound/oss/Kconfig
===================================================================
--- linux-2.6.22-rc3.orig/sound/oss/Kconfig
+++ linux-2.6.22-rc3/sound/oss/Kconfig
@@ -7,7 +7,6 @@

config OSS_OBSOLETE
bool "Obsolete OSS drivers"
- depends on SOUND_PRIME
help
This option enables support for obsolete OSS drivers that
are scheduled for removal in the near future.
@@ -20,7 +19,7 @@ config OSS_OBSOLETE

config SOUND_BT878
tristate "BT878 audio dma"
- depends on SOUND_PRIME && PCI && OSS_OBSOLETE
+ depends on PCI && OSS_OBSOLETE
---help---
Audio DMA support for bt878 based grabber boards. As you might have
already noticed, bt878 is listed with two functions in /proc/pci.
@@ -36,7 +35,7 @@ config SOUND_BT878

config SOUND_BCM_CS4297A
tristate "Crystal Sound CS4297a (for Swarm)"
- depends on SOUND_PRIME && SIBYTE_SWARM
+ depends on SIBYTE_SWARM
help
The BCM91250A has a Crystal CS4297a on synchronous serial
port B (in addition to the DB-9 serial port). Say Y or M
@@ -46,14 +45,14 @@ config SOUND_BCM_CS4297A

config SOUND_ICH
tristate "Intel ICH (i8xx) audio support"
- depends on SOUND_PRIME && PCI && OSS_OBSOLETE
+ depends on PCI && OSS_OBSOLETE
help
Support for integral audio in Intel's I/O Controller Hub (ICH)
chipset, as used on the 810/820/840 motherboards.

config SOUND_VWSND
tristate "SGI Visual Workstation Sound"
- depends on SOUND_PRIME && X86_VISWS
+ depends on X86_VISWS
help
Say Y or M if you have an SGI Visual Workstation and you want to be
able to use its on-board audio. Read
@@ -62,14 +61,14 @@ config SOUND_VWSND

config SOUND_HAL2
tristate "SGI HAL2 sound (EXPERIMENTAL)"
- depends on SOUND_PRIME && SGI_IP22 && EXPERIMENTAL
+ depends on SGI_IP22 && EXPERIMENTAL
help
Say Y or M if you have an SGI Indy or Indigo2 system and want to be able to
use its on-board A2 audio system.

config SOUND_VRC5477
tristate "NEC Vrc5477 AC97 sound"
- depends on SOUND_PRIME && DDB5477
+ depends on DDB5477
help
Say Y here to enable sound support for the NEC Vrc5477 chip, an
integrated, multi-function controller chip for MIPS CPUs. Works
@@ -78,11 +77,11 @@ config SOUND_VRC5477
config SOUND_AU1550_AC97
tristate "Au1550/Au1200 AC97 Sound"
select SND_AC97_CODEC
- depends on SOUND_PRIME && (SOC_AU1550 || SOC_AU1200)
+ depends on SOC_AU1550 || SOC_AU1200

config SOUND_TRIDENT
tristate "Trident 4DWave DX/NX, SiS 7018 or ALi 5451 PCI Audio Core"
- depends on SOUND_PRIME && PCI
+ depends on PCI
---help---
Say Y or M if you have a PCI sound card utilizing the Trident
4DWave-DX/NX chipset or your mother board chipset has SiS 7018
@@ -123,7 +122,7 @@ config SOUND_TRIDENT

config SOUND_MSNDCLAS
tristate "Support for Turtle Beach MultiSound Classic, Tahiti, Monterey"
- depends on SOUND_PRIME && (m || !STANDALONE)
+ depends on m || !STANDALONE
help
Say M here if you have a Turtle Beach MultiSound Classic, Tahiti or
Monterey (not for the Pinnacle or Fiji).
@@ -134,7 +133,7 @@ config SOUND_MSNDCLAS
at <http://www.turtlebeach.com/site/kb_ftp/790.asp>.

comment "Compiled-in MSND Classic support requires firmware during compilation."
- depends on SOUND_PRIME && SOUND_MSNDCLAS=y
+ depends on SOUND_MSNDCLAS=y

config MSNDCLAS_HAVE_BOOT
bool
@@ -187,7 +186,7 @@ config MSNDCLAS_IO

config SOUND_MSNDPIN
tristate "Support for Turtle Beach MultiSound Pinnacle, Fiji"
- depends on SOUND_PRIME && (m || !STANDALONE)
+ depends on m || !STANDALONE
help
Say M here if you have a Turtle Beach MultiSound Pinnacle or Fiji.
See <file:Documentation/sound/oss/MultiSound> for important information
@@ -196,7 +195,7 @@ config SOUND_MSNDPIN
at <http://www.turtlebeach.com/site/kb_ftp/600.asp>.

comment "Compiled-in MSND Pinnacle support requires firmware during compilation."
- depends on SOUND_PRIME && SOUND_MSNDPIN=y
+ depends on SOUND_MSNDPIN=y

config MSNDPIN_HAVE_BOOT
bool
@@ -273,7 +272,7 @@ config MSNDPIN_NONPNP
configure the card's resources.

comment "MSND Pinnacle DSP section will be configured to above parameters."
- depends on SOUND_PRIME && SOUND_MSNDPIN=y && MSNDPIN_NONPNP
+ depends on SOUND_MSNDPIN=y && MSNDPIN_NONPNP

config MSNDPIN_CFG
hex "MSND Pinnacle config port 250,260,270"
@@ -286,7 +285,7 @@ config MSNDPIN_CFG
Mode".

comment "Pinnacle-specific Device Configuration (0 disables)"
- depends on SOUND_PRIME && SOUND_MSNDPIN=y && MSNDPIN_NONPNP
+ depends on SOUND_MSNDPIN=y && MSNDPIN_NONPNP

config MSNDPIN_MPU_IO
hex "MSND Pinnacle MPU I/O (e.g. 330)"
@@ -338,7 +337,7 @@ config MSNDPIN_JOYSTICK_IO

config MSND_FIFOSIZE
int "MSND buffer size (kB)"
- depends on SOUND_PRIME && (SOUND_MSNDPIN=y || SOUND_MSNDCLAS=y)
+ depends on SOUND_MSNDPIN=y || SOUND_MSNDCLAS=y
default "128"
help
Configures the size of each audio buffer, in kilobytes, for
@@ -348,7 +347,7 @@ config MSND_FIFOSIZE

config SOUND_VIA82CXXX
tristate "VIA 82C686 Audio Codec"
- depends on SOUND_PRIME && PCI && OSS_OBSOLETE
+ depends on PCI && OSS_OBSOLETE
help
Say Y here to include support for the audio codec found on VIA
82Cxxx-based chips. Typically these are built into a motherboard.
@@ -368,7 +367,7 @@ config MIDI_VIA82CXXX

config SOUND_OSS
tristate "OSS sound modules"
- depends on SOUND_PRIME && ISA_DMA_API
+ depends on ISA_DMA_API
help
OSS is the Open Sound System suite of sound card drivers. They make
sound programming easier since they provide a common API. Say Y or
@@ -721,7 +720,7 @@ config SOUND_WAVEARTIST

config SOUND_TVMIXER
tristate "TV card (bt848) mixer support"
- depends on SOUND_PRIME && I2C && VIDEO_V4L1 && OSS_OBSOLETE
+ depends on I2C && VIDEO_V4L1 && OSS_OBSOLETE
help
Support for audio mixer facilities on the BT848 TV frame-grabber
card.
@@ -732,7 +731,7 @@ config SOUND_KAHLUA

config SOUND_SH_DAC_AUDIO
tristate "SuperH DAC audio support"
- depends on SOUND_PRIME && CPU_SH3
+ depends on CPU_SH3

config SOUND_SH_DAC_AUDIO_CHANNEL
int "DAC channel"

2007-05-26 10:54:32

by Jan Engelhardt

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken


On May 25 2007 23:33, Takashi Iwai wrote:
>
>Yeah, I'll check it again if reposted. Jan, could you split ALSA
>portins at the next time?

How much split? This time, I made four out of it.

>This will make testing and merging much
>easier for me...
>
>But, above all, I'm not convinced much by that patch, especially
>because it introduces new kconfigs just for menuconfig.
>For example, CONFIG_SND_PCI_DRIVERS doesn't appear in any Makefiles.

Neither is/was CONFIG_DVB IIRC. The world does not stop turning just
because there are now extra options. If you want the functionality
of menuconfigs without introducing some variable to store their state,
well, I think that's going to be a bigger kconf patch. (Just think of
compatibility of the .config format.)


Jan
--

2007-05-26 14:39:18

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

Em Sáb, 2007-05-26 às 12:51 +0200, Jan Engelhardt escreveu:
> On May 25 2007 23:33, Takashi Iwai wrote:
> >
> >Yeah, I'll check it again if reposted. Jan, could you split ALSA
> >portins at the next time?
>
> How much split? This time, I made four out of it.
>
> >This will make testing and merging much
> >easier for me...
> >
> >But, above all, I'm not convinced much by that patch, especially
> >because it introduces new kconfigs just for menuconfig.
> >For example, CONFIG_SND_PCI_DRIVERS doesn't appear in any Makefiles.
>
> Neither is/was CONFIG_DVB IIRC. The world does not stop turning just
> because there are now extra options. If you want the functionality
> of menuconfigs without introducing some variable to store their state,
> well, I think that's going to be a bigger kconf patch. (Just think of
> compatibility of the .config format.)

I suspect that kconf is not properly handing the newer way for
menuconfig. Maybe this is the same stuff that happened on ALSA.

We have some stuff like this:

menuconfig VIDEO_CAPTURE_DRIVERS
bool "Video capture adapters"
depends on VIDEO_DEV

if VIDEO_CAPTURE_DRIVERS

config VIDEO_VIVI
tristate "Virtual Video Driver"
depends on VIDEO_V4L2 && !SPARC32 && !SPARC64 && PCI
select VIDEO_BUF

endif #VIDEO_CAPTURE_DRIVERS

config VIDEO_BUF
depends on PCI
tristate

Before adding menuconfig, VIDEO_VIVI were dependent on VIDEO_DEV. After
the patch, what happens is that:
if
VIDEO_DEV='m' and VIDEO_CAPTURE_DRIVERS='y' and VIDEO_VIVI='m'
then
VIDEO_BUF='y'

But, as video-buf is dependent on video-core (compiled as a module,
since VIDEO_DEV='m'), it is generating compilation errors.

To fix it, I needed to add an explicit dependency on VIDEO_VIVI (and
also on VIDEO_SAA7146_VV):

http://linuxtv.org/hg/v4l-dvb?cmd=changeset;node=5cd49ffd9004;style=gitweb

I didn't looked inside kconf, but it seems that it is not checking that,
as VIDEO_CAPTURE_DRIVERS depends on VIDEO_DEV, all drivers inside the
"if" should also depend on VIDEO_DEV.

Cheers,
Mauro

2007-05-29 16:41:32

by Takashi Iwai

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

At Sat, 26 May 2007 12:51:48 +0200 (MEST),
Jan Engelhardt wrote:
>
>
> On May 25 2007 23:33, Takashi Iwai wrote:
> >
> >Yeah, I'll check it again if reposted. Jan, could you split ALSA
> >portins at the next time?
>
> How much split? This time, I made four out of it.

Thanks, that's enough and helpful. It was just becuase currently we
have a HG tree containing only ALSA portion and a git tree for the
merge, and above all, because I have no control over the latter git
tree...

> >This will make testing and merging much
> >easier for me...
> >
> >But, above all, I'm not convinced much by that patch, especially
> >because it introduces new kconfigs just for menuconfig.
> >For example, CONFIG_SND_PCI_DRIVERS doesn't appear in any Makefiles.
>
> Neither is/was CONFIG_DVB IIRC. The world does not stop turning just
> because there are now extra options. If you want the functionality
> of menuconfigs without introducing some variable to store their state,
> well, I think that's going to be a bigger kconf patch. (Just think of
> compatibility of the .config format.)

Well, I find the change of CONFIG_SND to menuconfig is fine, too.
But CONFIG_SND_PCI_DRIVERS and others don't make much sense to me.
How is it useful at all?

Anyway, I'd like to confirm that this really works before merging to
the ALSA tree. As Mauro suspected, kconfig seems not working as
expected...


thanks,

Takashi

2007-05-29 20:22:45

by Jan Engelhardt

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken


On May 29 2007 18:41, Takashi Iwai wrote:
>
>Well, I find the change of CONFIG_SND to menuconfig is fine, too.
>But CONFIG_SND_PCI_DRIVERS and others don't make much sense to me.
>How is it useful at all?

Hah, I just tell you some of my own experience.
In summer 2003, I bought the last new machine, and it got these
shiny new ports they like to call USB. :)
I did not have much use for it, but I left it on - you never know
what standard next is the big win of the decade. And actually,
it did not took long (well, summer 2005) to get my first USB device.
Still, I am hell as sure I do not have USB-based sound devices
anytime soon, so it would be cool to deactivate the whole usbsound
menu at once. I think I said that in the patch description, did not I?

>Anyway, I'd like to confirm that this really works before merging to
>the ALSA tree. As Mauro suspected, kconfig seems not working as
>expected...

Unfortunately, there are sometimes non-visible options in menus (the
Networking>QoS menu for example) that, when converted to menuconfig-if-endif,
also get lost when the menuconfig object is deactivated. In case of QoS, this
can break compilation. For most subsystems however, it works alright because
the particular subsystem referencing CONFIG_INVISIBLE_THING is deactivated
anyway and does not get compiled.
Such strange menus (like QoS) have not been menuconfigized so far, it's just
too hard to keep the bits together. As far as other subsystems are concerned,
please give it some testing.


Jan
--

2007-05-29 20:40:24

by Mauro Carvalho Chehab

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

Em Ter, 2007-05-29 às 22:18 +0200, Jan Engelhardt escreveu:
> On May 29 2007 18:41, Takashi Iwai wrote:
> >
> >Well, I find the change of CONFIG_SND to menuconfig is fine, too.
> >But CONFIG_SND_PCI_DRIVERS and others don't make much sense to me.
> >How is it useful at all?
>
> Hah, I just tell you some of my own experience.
> In summer 2003, I bought the last new machine, and it got these
> shiny new ports they like to call USB. :)
> I did not have much use for it, but I left it on - you never know
> what standard next is the big win of the decade. And actually,
> it did not took long (well, summer 2005) to get my first USB device.
> Still, I am hell as sure I do not have USB-based sound devices
> anytime soon, so it would be cool to deactivate the whole usbsound
> menu at once. I think I said that in the patch description, did not I?

For me, this seems to be a good idea. Makes clear to users what is
inside each menu, improving their notion on what should be deactivated.

> >Anyway, I'd like to confirm that this really works before merging to
> >the ALSA tree. As Mauro suspected, kconfig seems not working as
> >expected...
>
> Unfortunately, there are sometimes non-visible options in menus (the
> Networking>QoS menu for example) that, when converted to menuconfig-if-endif,
> also get lost when the menuconfig object is deactivated. In case of QoS, this
> can break compilation. For most subsystems however, it works alright because
> the particular subsystem referencing CONFIG_INVISIBLE_THING is deactivated
> anyway and does not get compiled.
> Such strange menus (like QoS) have not been menuconfigized so far, it's just
> too hard to keep the bits together. As far as other subsystems are concerned,
> please give it some testing.

Hmm... probably, this is what happened with V4L: there are several
invisible items there for selecting some core items.

In the case of V4L, the problem is that, when the menu item is
activated, sometimes, kconfig doesn't properly honor module/static link
heritage.


Cheers,
Mauro

2007-05-29 21:56:20

by Jan Engelhardt

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken


On May 29 2007 17:39, Mauro Carvalho Chehab wrote:
>> >Anyway, I'd like to confirm that this really works before merging to
>> >the ALSA tree. As Mauro suspected, kconfig seems not working as
>> >expected...
>>
>> Unfortunately, there are sometimes non-visible options in menus (the
>> Networking>QoS menu for example) that, when converted to menuconfig-if-endif,
>> also get lost when the menuconfig object is deactivated. In case of QoS, this
>> can break compilation. For most subsystems however, it works alright because
>> the particular subsystem referencing CONFIG_INVISIBLE_THING is deactivated
>> anyway and does not get compiled.
>> Such strange menus (like QoS) have not been menuconfigized so far, it's just
>> too hard to keep the bits together. As far as other subsystems are concerned,
>> please give it some testing.
>
>Hmm... probably, this is what happened with V4L: there are several
>invisible items there for selecting some core items.

Well, what I wanted to describe is that CONFIG_RANDOM_INVISIBLE_THING
can be referenced _outside_ the particular subsys, and then it
breaks right on the spot -- some easier to find thanks to compile
failure, or a link failure, others may remain hidden until runtime.
A misplacement of invisible objects, I'd say, but that is another
story, another day, another patch perhaps.

>In the case of V4L, the problem is that, when the menu item is
>activated, sometimes, kconfig doesn't properly honor module/static link
>heritage.

RFC 1925, item 7 seems to fit ;-)


Jan
--

2007-06-05 12:27:12

by Takashi Iwai

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

Hi,

sorry for the late reply on this.

At Tue, 29 May 2007 22:18:05 +0200 (MEST),
Jan Engelhardt wrote:
>
> On May 29 2007 18:41, Takashi Iwai wrote:
> >
> >Well, I find the change of CONFIG_SND to menuconfig is fine, too.
> >But CONFIG_SND_PCI_DRIVERS and others don't make much sense to me.
> >How is it useful at all?
>
> Hah, I just tell you some of my own experience.
> In summer 2003, I bought the last new machine, and it got these
> shiny new ports they like to call USB. :)
> I did not have much use for it, but I left it on - you never know
> what standard next is the big win of the decade. And actually,
> it did not took long (well, summer 2005) to get my first USB device.
> Still, I am hell as sure I do not have USB-based sound devices
> anytime soon, so it would be cool to deactivate the whole usbsound
> menu at once. I think I said that in the patch description, did not I?

But it's not cool to add an extra config item just for that, too.
And, the structure of menuconfig-if-endif is uglier than menu-endmenu.
That's why I feel a bit uneasy, although all these are a matter of
taste...


Takashi

2007-06-05 12:50:40

by Takashi Iwai

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

At Tue, 05 Jun 2007 14:26:38 +0200,
I wrote:
>
> At Tue, 29 May 2007 22:18:05 +0200 (MEST),
> Jan Engelhardt wrote:
> >
> > On May 29 2007 18:41, Takashi Iwai wrote:
> > >
> > >Well, I find the change of CONFIG_SND to menuconfig is fine, too.
> > >But CONFIG_SND_PCI_DRIVERS and others don't make much sense to me.
> > >How is it useful at all?
> >
> > Hah, I just tell you some of my own experience.
> > In summer 2003, I bought the last new machine, and it got these
> > shiny new ports they like to call USB. :)
> > I did not have much use for it, but I left it on - you never know
> > what standard next is the big win of the decade. And actually,
> > it did not took long (well, summer 2005) to get my first USB device.
> > Still, I am hell as sure I do not have USB-based sound devices
> > anytime soon, so it would be cool to deactivate the whole usbsound
> > menu at once. I think I said that in the patch description, did not I?
>
> But it's not cool to add an extra config item just for that, too.
> And, the structure of menuconfig-if-endif is uglier than menu-endmenu.
> That's why I feel a bit uneasy, although all these are a matter of
> taste...

Forgot to mention about another annoying drawback. Because of the new
CONFIG_SND_*_DRIVERS, you'll have to re-select all belonging
CONFIG_SND_*, even via config oldconfig. Putting the dependency on
the top seems to reset the values defined in the old .config.


Takashi

2007-06-05 13:29:15

by Jan Engelhardt

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken


>> > >Well, I find the change of CONFIG_SND to menuconfig is fine, too.
>> > >But CONFIG_SND_PCI_DRIVERS and others don't make much sense to me.
>> > >How is it useful at all?
>> >
>> > Hah, I just tell you some of my own experience.
>> > In summer 2003, I bought the last new machine, and it got these
>> > shiny new ports they like to call USB. :)
>> > I did not have much use for it, but I left it on - you never know
>> > what standard next is the big win of the decade. And actually,
>> > it did not took long (well, summer 2005) to get my first USB device.
>> > Still, I am hell as sure I do not have USB-based sound devices
>> > anytime soon, so it would be cool to deactivate the whole usbsound
>> > menu at once. I think I said that in the patch description, did not I?
>>
>> But it's not cool to add an extra config item just for that, too.
>> And, the structure of menuconfig-if-endif is uglier than menu-endmenu.
>> That's why I feel a bit uneasy, although all these are a matter of
>> taste...
>
>Forgot to mention about another annoying drawback. Because of the new
>CONFIG_SND_*_DRIVERS, you'll have to re-select all belonging
>CONFIG_SND_*, even via config oldconfig. Putting the dependency on
>the top seems to reset the values defined in the old .config.

Well, *I* (previously) submitted patches with "default y", but Jens
Axboe [http://lkml.org/lkml/2007/5/12/164] disagreed heavily enough to
stop that practice.


Jan
--

2007-06-05 14:18:20

by Takashi Iwai

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

At Tue, 5 Jun 2007 15:25:07 +0200 (MEST),
Jan Engelhardt wrote:
>
>
> >> > >Well, I find the change of CONFIG_SND to menuconfig is fine, too.
> >> > >But CONFIG_SND_PCI_DRIVERS and others don't make much sense to me.
> >> > >How is it useful at all?
> >> >
> >> > Hah, I just tell you some of my own experience.
> >> > In summer 2003, I bought the last new machine, and it got these
> >> > shiny new ports they like to call USB. :)
> >> > I did not have much use for it, but I left it on - you never know
> >> > what standard next is the big win of the decade. And actually,
> >> > it did not took long (well, summer 2005) to get my first USB device.
> >> > Still, I am hell as sure I do not have USB-based sound devices
> >> > anytime soon, so it would be cool to deactivate the whole usbsound
> >> > menu at once. I think I said that in the patch description, did not I?
> >>
> >> But it's not cool to add an extra config item just for that, too.
> >> And, the structure of menuconfig-if-endif is uglier than menu-endmenu.
> >> That's why I feel a bit uneasy, although all these are a matter of
> >> taste...
> >
> >Forgot to mention about another annoying drawback. Because of the new
> >CONFIG_SND_*_DRIVERS, you'll have to re-select all belonging
> >CONFIG_SND_*, even via config oldconfig. Putting the dependency on
> >the top seems to reset the values defined in the old .config.
>
> Well, *I* (previously) submitted patches with "default y", but Jens
> Axboe [http://lkml.org/lkml/2007/5/12/164] disagreed heavily enough to
> stop that practice.

Hm, I guess Jens didn't know about this side-effect.

When I don't set "default y", I'll be asked for each belonging item
even though I chose "y" manually for the top config
(CONFIG_*_DRIVERS).

Strangely, setting "default y" has no this effect...


Takashi

2007-06-05 14:26:31

by Jan Engelhardt

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken


On Jun 5 2007 16:17, Takashi Iwai wrote:
>
>Hm, I guess Jens didn't know about this side-effect.
>
>When I don't set "default y", I'll be asked for each belonging item
>even though I chose "y" manually for the top config
>(CONFIG_*_DRIVERS).
>
>Strangely, setting "default y" has no this effect...

Not in oldconfig, it asks you anyway.
But it should in menuconfig, and the graphical ones.


Jan
--

2007-06-05 14:31:40

by Takashi Iwai

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

At Tue, 5 Jun 2007 16:20:53 +0200 (MEST),
Jan Engelhardt wrote:
>
>
> On Jun 5 2007 16:17, Takashi Iwai wrote:
> >
> >Hm, I guess Jens didn't know about this side-effect.
> >
> >When I don't set "default y", I'll be asked for each belonging item
> >even though I chose "y" manually for the top config
> >(CONFIG_*_DRIVERS).
> >
> >Strangely, setting "default y" has no this effect...
>
> Not in oldconfig, it asks you anyway.

It asks for the _new_ CONFIG_ISA_DRIVERS, yes. The problem is for the
rest, belonging itmes: their old values in the old .config are no
longer taken but asked explicitly.

When "default y" is set, the old values are taken automatically.


Takashi

2007-06-06 19:30:29

by Jens Axboe

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

On Tue, Jun 05 2007, Takashi Iwai wrote:
> At Tue, 5 Jun 2007 15:25:07 +0200 (MEST),
> Jan Engelhardt wrote:
> >
> >
> > >> > >Well, I find the change of CONFIG_SND to menuconfig is fine, too.
> > >> > >But CONFIG_SND_PCI_DRIVERS and others don't make much sense to me.
> > >> > >How is it useful at all?
> > >> >
> > >> > Hah, I just tell you some of my own experience.
> > >> > In summer 2003, I bought the last new machine, and it got these
> > >> > shiny new ports they like to call USB. :)
> > >> > I did not have much use for it, but I left it on - you never know
> > >> > what standard next is the big win of the decade. And actually,
> > >> > it did not took long (well, summer 2005) to get my first USB device.
> > >> > Still, I am hell as sure I do not have USB-based sound devices
> > >> > anytime soon, so it would be cool to deactivate the whole usbsound
> > >> > menu at once. I think I said that in the patch description, did not I?
> > >>
> > >> But it's not cool to add an extra config item just for that, too.
> > >> And, the structure of menuconfig-if-endif is uglier than menu-endmenu.
> > >> That's why I feel a bit uneasy, although all these are a matter of
> > >> taste...
> > >
> > >Forgot to mention about another annoying drawback. Because of the new
> > >CONFIG_SND_*_DRIVERS, you'll have to re-select all belonging
> > >CONFIG_SND_*, even via config oldconfig. Putting the dependency on
> > >the top seems to reset the values defined in the old .config.
> >
> > Well, *I* (previously) submitted patches with "default y", but Jens
> > Axboe [http://lkml.org/lkml/2007/5/12/164] disagreed heavily enough to
> > stop that practice.
>
> Hm, I guess Jens didn't know about this side-effect.
>
> When I don't set "default y", I'll be asked for each belonging item
> even though I chose "y" manually for the top config
> (CONFIG_*_DRIVERS).
>
> Strangely, setting "default y" has no this effect...

That sounds like a bug in the kconfig system. I still think default y is
an *awful* idea, but you can read why in the thread referenced above.

--
Jens Axboe

2007-06-06 19:52:21

by Sam Ravnborg

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

On Wed, Jun 06, 2007 at 09:36:48PM +0200, Jens Axboe wrote:
> On Tue, Jun 05 2007, Takashi Iwai wrote:
> > At Tue, 5 Jun 2007 15:25:07 +0200 (MEST),
> > Jan Engelhardt wrote:
> > >
> > >
> > > >> > >Well, I find the change of CONFIG_SND to menuconfig is fine, too.
> > > >> > >But CONFIG_SND_PCI_DRIVERS and others don't make much sense to me.
> > > >> > >How is it useful at all?
> > > >> >
> > > >> > Hah, I just tell you some of my own experience.
> > > >> > In summer 2003, I bought the last new machine, and it got these
> > > >> > shiny new ports they like to call USB. :)
> > > >> > I did not have much use for it, but I left it on - you never know
> > > >> > what standard next is the big win of the decade. And actually,
> > > >> > it did not took long (well, summer 2005) to get my first USB device.
> > > >> > Still, I am hell as sure I do not have USB-based sound devices
> > > >> > anytime soon, so it would be cool to deactivate the whole usbsound
> > > >> > menu at once. I think I said that in the patch description, did not I?
> > > >>
> > > >> But it's not cool to add an extra config item just for that, too.
> > > >> And, the structure of menuconfig-if-endif is uglier than menu-endmenu.
> > > >> That's why I feel a bit uneasy, although all these are a matter of
> > > >> taste...
> > > >
> > > >Forgot to mention about another annoying drawback. Because of the new
> > > >CONFIG_SND_*_DRIVERS, you'll have to re-select all belonging
> > > >CONFIG_SND_*, even via config oldconfig. Putting the dependency on
> > > >the top seems to reset the values defined in the old .config.
> > >
> > > Well, *I* (previously) submitted patches with "default y", but Jens
> > > Axboe [http://lkml.org/lkml/2007/5/12/164] disagreed heavily enough to
> > > stop that practice.
> >
> > Hm, I guess Jens didn't know about this side-effect.
> >
> > When I don't set "default y", I'll be asked for each belonging item
> > even though I chose "y" manually for the top config
> > (CONFIG_*_DRIVERS).
> >
> > Strangely, setting "default y" has no this effect...
>
> That sounds like a bug in the kconfig system. I still think default y is
> an *awful* idea, but you can read why in the thread referenced above.
It is the functionality of "default y" that is not understood.

Take the following simple Kconfig file:

config FOO
bool "FOO"
default y

config BAR
bool "BAR"

What would you expect when you execute "make oldconfig"?
You would expect to be questioned about both symbols and pressing enter
would give you the following config:
CONFIG_FOO=y
#CONFIG_BAR is not set

So "default y" in the oldconfig case where we add a symbol gives the
default value if you just press enter.

If you use "make menuconfig" and just enter menuconfig and exit and save
you will end up with exact same configuration as above because menuconfig
will select default values for all new symbols.

In other words "default y" has no impact on what oldconfig asks about,
only what value will be assigned if user decide not to change the value.
And this is exactly what it is supposed to do and no magic "do not ask user"
thing. That can be solved by having correct dependencies so if the
dependencies are not solved one will not be asked.

Sam

2007-06-08 09:49:59

by Takashi Iwai

[permalink] [raw]
Subject: Re: BUG in 2.6.22-rc2-mm1: Parts of Alsa sound architecture broken

At Wed, 6 Jun 2007 21:53:08 +0200,
Sam Ravnborg wrote:
>
> On Wed, Jun 06, 2007 at 09:36:48PM +0200, Jens Axboe wrote:
> > On Tue, Jun 05 2007, Takashi Iwai wrote:
> > > At Tue, 5 Jun 2007 15:25:07 +0200 (MEST),
> > > Jan Engelhardt wrote:
> > > >
> > > >
> > > > >> > >Well, I find the change of CONFIG_SND to menuconfig is fine, too.
> > > > >> > >But CONFIG_SND_PCI_DRIVERS and others don't make much sense to me.
> > > > >> > >How is it useful at all?
> > > > >> >
> > > > >> > Hah, I just tell you some of my own experience.
> > > > >> > In summer 2003, I bought the last new machine, and it got these
> > > > >> > shiny new ports they like to call USB. :)
> > > > >> > I did not have much use for it, but I left it on - you never know
> > > > >> > what standard next is the big win of the decade. And actually,
> > > > >> > it did not took long (well, summer 2005) to get my first USB device.
> > > > >> > Still, I am hell as sure I do not have USB-based sound devices
> > > > >> > anytime soon, so it would be cool to deactivate the whole usbsound
> > > > >> > menu at once. I think I said that in the patch description, did not I?
> > > > >>
> > > > >> But it's not cool to add an extra config item just for that, too.
> > > > >> And, the structure of menuconfig-if-endif is uglier than menu-endmenu.
> > > > >> That's why I feel a bit uneasy, although all these are a matter of
> > > > >> taste...
> > > > >
> > > > >Forgot to mention about another annoying drawback. Because of the new
> > > > >CONFIG_SND_*_DRIVERS, you'll have to re-select all belonging
> > > > >CONFIG_SND_*, even via config oldconfig. Putting the dependency on
> > > > >the top seems to reset the values defined in the old .config.
> > > >
> > > > Well, *I* (previously) submitted patches with "default y", but Jens
> > > > Axboe [http://lkml.org/lkml/2007/5/12/164] disagreed heavily enough to
> > > > stop that practice.
> > >
> > > Hm, I guess Jens didn't know about this side-effect.
> > >
> > > When I don't set "default y", I'll be asked for each belonging item
> > > even though I chose "y" manually for the top config
> > > (CONFIG_*_DRIVERS).
> > >
> > > Strangely, setting "default y" has no this effect...
> >
> > That sounds like a bug in the kconfig system. I still think default y is
> > an *awful* idea, but you can read why in the thread referenced above.
> It is the functionality of "default y" that is not understood.
>
> Take the following simple Kconfig file:
>
> config FOO
> bool "FOO"
> default y
>
> config BAR
> bool "BAR"
>
> What would you expect when you execute "make oldconfig"?
> You would expect to be questioned about both symbols and pressing enter
> would give you the following config:
> CONFIG_FOO=y
> #CONFIG_BAR is not set
>
> So "default y" in the oldconfig case where we add a symbol gives the
> default value if you just press enter.
>
> If you use "make menuconfig" and just enter menuconfig and exit and save
> you will end up with exact same configuration as above because menuconfig
> will select default values for all new symbols.
>
> In other words "default y" has no impact on what oldconfig asks about,
> only what value will be assigned if user decide not to change the value.
> And this is exactly what it is supposed to do and no magic "do not ask user"
> thing. That can be solved by having correct dependencies so if the
> dependencies are not solved one will not be asked.

Well, then "default y" seems sensible for the new additions like this
case (adding a menuconfig top-dependency that was formerly a simple
menu).


Anyway, I think it's another problem of kconfig that it resets the old
values when a new top-config is introduced without "default y".

Assume the following kconfig:

menu "Foo"
depends on DOH

config BAR
bool "Bar"
depends on DOH

endmenu

and an old .config file

CONFIG_DOH=y
CONFIG_BAR=y

Now, replace menu with menuconfig:

menuconfig FOO
bool "Foo"
depends on DOH

if FOO
config BAR
bool "Bar"
endif

Run make oldconfig, and you'll be asked about FOO (as expected).
Answer y, then you'll be asked again about BAR, too.

But, if "default"y is added to FOO,

menuconfig FOO
bool "Foo"
default y
depends on DOH

then it asks about FOO, but it won't ask you about BAR.


Takashi