public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
       [not found] <20080216002522.9c4bd0fb.akpm@linux-foundation.org>
@ 2008-02-16 19:47 ` Kamalesh Babulal
  2008-02-16 20:01   ` Laura Garcia
  2008-02-21  7:08   ` Len Brown
  2008-02-17  5:16 ` 2.6.25-rc2-mm1 (x64 thermal build failure) Randy Dunlap
  1 sibling, 2 replies; 27+ messages in thread
From: Kamalesh Babulal @ 2008-02-16 19:47 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, linux-acpi, Andy Whitcroft

Hi Andrew,

The 2.6.25-rc2-mm1 kernel with randconfig build option, fails
to build on x86_64 machine

  CC      drivers/acpi/osl.o
drivers/acpi/osl.c:60:38: error: empty filename in #include
drivers/acpi/osl.c: In function ‘acpi_os_table_override’:
drivers/acpi/osl.c:399: error: ‘AmlCode’ undeclared (first use in this function)
drivers/acpi/osl.c:399: error: (Each undeclared identifier is reported only once
drivers/acpi/osl.c:399: error: for each function it appears in.)
make[2]: *** [drivers/acpi/osl.o] Error 1
make[1]: *** [drivers/acpi] Error 2
make: *** [drivers] Error 2

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc2-mm1
# Sun Feb 17 08:07:17 2008
#
CONFIG_64BIT=y
# CONFIG_X86_32 is not set
CONFIG_X86_64=y
CONFIG_X86=y
# CONFIG_GENERIC_LOCKBREAK is not set
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_FAST_CMPXCHG_LOCAL=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
# CONFIG_QUICKLIST is not set
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_HWEIGHT=y
# CONFIG_GENERIC_GPIO is not set
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ZONE_DMA32=y
CONFIG_ARCH_POPULATES_NODE_MAP=y
CONFIG_AUDIT_ARCH=y
CONFIG_ARCH_SUPPORTS_AOUT=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
# CONFIG_KTIME_SCALAR is not set
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=""
CONFIG_LOCALVERSION_AUTO=y
# CONFIG_SYSVIPC is not set
# CONFIG_POSIX_MQUEUE is not set
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not set
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_CGROUPS is not set
CONFIG_GROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
# CONFIG_RT_GROUP_SCHED is not set
CONFIG_USER_SCHED=y
# CONFIG_CGROUP_SCHED is not set
CONFIG_SYSFS_DEPRECATED=y
CONFIG_RELAY=y
# CONFIG_NAMESPACES is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
CONFIG_EMBEDDED=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_SYSCTL_SYSCALL_CHECK=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_EXTRA_PASS=y
# CONFIG_HOTPLUG is not set
CONFIG_PRINTK=y
# CONFIG_BUG is not set
CONFIG_ELF_CORE=y
# CONFIG_COMPAT_BRK is not set
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
# CONFIG_EPOLL is not set
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
# CONFIG_SHMEM is not set
CONFIG_VM_EVENT_COUNTERS=y
# CONFIG_SLAB is not set
# CONFIG_SLUB is not set
CONFIG_SLOB=y
CONFIG_PROFILING=y
CONFIG_MARKERS=y
# CONFIG_OPROFILE is not set
CONFIG_HAVE_OPROFILE=y
CONFIG_KPROBES=y
CONFIG_HAVE_KPROBES=y
CONFIG_RT_MUTEXES=y
CONFIG_TINY_SHMEM=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_MODVERSIONS=y
CONFIG_MODULE_SRCVERSION_ALL=y
CONFIG_KMOD=y
# CONFIG_BLOCK is not set
CONFIG_CLASSIC_RCU=y
# CONFIG_PREEMPT_RCU is not set

#
# Processor type and features
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
# 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_X86_RDC321X is not set
# CONFIG_X86_VSMP is not set
# CONFIG_PARAVIRT_GUEST 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_MPENTIUM4 is not set
# 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_MPSC is not set
CONFIG_MCORE2=y
# CONFIG_GENERIC_CPU is not set
CONFIG_X86_L1_CACHE_BYTES=64
CONFIG_X86_INTERNODE_CACHE_BYTES=64
CONFIG_X86_CMPXCHG=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
CONFIG_X86_MINIMUM_CPU_FAMILY=64
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_HPET_TIMER=y
# CONFIG_DMI is not set
# CONFIG_GART_IOMMU is not set
CONFIG_CALGARY_IOMMU=y
CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y
CONFIG_IOMMU_HELPER=y
CONFIG_SWIOTLB=y
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
# CONFIG_RCU_TRACE is not set
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
# CONFIG_X86_MCE is not set
# CONFIG_I8K is not set
CONFIG_MICROCODE=y
CONFIG_MICROCODE_OLD_INTERFACE=y
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_SELECT_MEMORY_MODEL=y
# CONFIG_FLATMEM_MANUAL is not set
# CONFIG_DISCONTIGMEM_MANUAL is not set
CONFIG_SPARSEMEM_MANUAL=y
CONFIG_SPARSEMEM=y
CONFIG_HAVE_MEMORY_PRESENT=y
# CONFIG_SPARSEMEM_STATIC is not set
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
CONFIG_SPARSEMEM_VMEMMAP=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_RESOURCES_64BIT=y
CONFIG_ZONE_DMA_FLAG=1
CONFIG_VIRT_TO_BUS=y
CONFIG_MTRR=y
CONFIG_EFI=y
CONFIG_CC_STACKPROTECTOR=y
CONFIG_CC_STACKPROTECTOR_ALL=y
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
CONFIG_HZ_300=y
# CONFIG_HZ_1000 is not set
CONFIG_HZ=300
CONFIG_SCHED_HRTICK=y
# CONFIG_KEXEC is not set
CONFIG_CRASH_DUMP=y
CONFIG_PHYSICAL_START=0x200000
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_ALIGN=0x200000
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y

#
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
CONFIG_PM_DEBUG=y
# CONFIG_PM_VERBOSE is not set
# CONFIG_SUSPEND is not set
CONFIG_ACPI=y
CONFIG_ACPI_SYSFS_POWER=y
# CONFIG_ACPI_AC is not set
CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=y
# CONFIG_ACPI_FAN is not set
# CONFIG_ACPI_DOCK is not set
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=m
CONFIG_ACPI_WMI=y
# CONFIG_ACPI_ASUS is not set
CONFIG_ACPI_TOSHIBA=m
CONFIG_ACPI_CUSTOM_DSDT=y
CONFIG_ACPI_CUSTOM_DSDT_FILE=""
# CONFIG_ACPI_CUSTOM_DSDT_INITRD 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 is not set
CONFIG_ACPI_CONTAINER=m
CONFIG_ACPI_SBS=y

#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
# CONFIG_CPU_IDLE is not set

#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_DOMAINS=y
CONFIG_DMAR=y
# CONFIG_DMAR_GFX_WA is not set
CONFIG_DMAR_FLOPPY_WA=y
# CONFIG_PCIEPORTBUS is not set
CONFIG_ARCH_SUPPORTS_MSI=y
CONFIG_PCI_MSI=y
CONFIG_PCI_LEGACY=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_HT_IRQ is not set
CONFIG_ISA_DMA_API=y
CONFIG_K8_NB=y

#
# Executable file formats / Emulations
#
# CONFIG_BINFMT_ELF is not set
CONFIG_BINFMT_MISC=y
# CONFIG_IA32_EMULATION is not set
# CONFIG_COMPAT_FOR_U64_ALIGNMENT is not set

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
# CONFIG_PACKET is not set
# CONFIG_UNIX is not set
# CONFIG_NET_KEY is not set
# CONFIG_INET is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set
CONFIG_ATM=y
# CONFIG_ATM_LANE is not set
CONFIG_BRIDGE=m
# CONFIG_VLAN_8021Q is not set
CONFIG_DECNET=m
# CONFIG_DECNET_ROUTER is not set
CONFIG_LLC=m
CONFIG_LLC2=m
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
CONFIG_X25=y
# CONFIG_LAPB is not set
CONFIG_WAN_ROUTER=y
# CONFIG_NET_SCHED is not set
CONFIG_NET_SCH_FIFO=y

#
# Network testing
#
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
CONFIG_BT=m
CONFIG_BT_L2CAP=m
# CONFIG_BT_SCO is not set
# CONFIG_BT_RFCOMM is not set
# CONFIG_BT_BNEP is not set
# CONFIG_BT_HIDP is not set

#
# Bluetooth device drivers
#
CONFIG_BT_HCIUART=m
# CONFIG_BT_HCIUART_H4 is not set
# CONFIG_BT_HCIUART_BCSP is not set
# CONFIG_BT_HCIUART_LL is not set
CONFIG_BT_HCIVHCI=m

#
# Wireless
#
CONFIG_CFG80211=y
# CONFIG_NL80211 is not set
CONFIG_WIRELESS_EXT=y
CONFIG_MAC80211=y

#
# Rate control algorithm selection
#
# CONFIG_MAC80211_RC_DEFAULT_PID is not set
# CONFIG_MAC80211_RC_DEFAULT_SIMPLE is not set
CONFIG_MAC80211_RC_DEFAULT_NONE=y

#
# Selecting 'y' for an algorithm will
#

#
# build the algorithm into mac80211.
#
CONFIG_MAC80211_RC_DEFAULT=""
CONFIG_MAC80211_RC_PID=y
# CONFIG_MAC80211_RC_SIMPLE is not set
# CONFIG_MAC80211_DEBUGFS is not set
# CONFIG_MAC80211_DEBUG_PACKET_ALIGNMENT is not set
CONFIG_MAC80211_DEBUG=y
CONFIG_MAC80211_HT_DEBUG=y
CONFIG_MAC80211_VERBOSE_DEBUG=y
CONFIG_MAC80211_LOWTX_FRAME_DUMP=y
CONFIG_TKIP_DEBUG=y
# CONFIG_MAC80211_DEBUG_COUNTERS is not set
CONFIG_MAC80211_IBSS_DEBUG=y
# CONFIG_MAC80211_VERBOSE_PS_DEBUG is not set
CONFIG_IEEE80211=m
CONFIG_IEEE80211_DEBUG=y
CONFIG_IEEE80211_CRYPT_WEP=m
CONFIG_IEEE80211_CRYPT_CCMP=m
CONFIG_IEEE80211_CRYPT_TKIP=m
# CONFIG_IEEE80211_SOFTMAC is not set
CONFIG_RFKILL=m
# CONFIG_RFKILL_INPUT is not set
CONFIG_NET_9P=y
# CONFIG_NET_9P_FD is not set
CONFIG_NET_9P_DEBUG=y

#
# Device Drivers
#

#
# Generic Driver Options
#
# CONFIG_STANDALONE is not set
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
CONFIG_CONNECTOR=m
CONFIG_MTD=y
CONFIG_MTD_DEBUG=y
CONFIG_MTD_DEBUG_VERBOSE=0
CONFIG_MTD_CONCAT=m
CONFIG_MTD_PARTITIONS=y
CONFIG_MTD_REDBOOT_PARTS=m
CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y
CONFIG_MTD_REDBOOT_PARTS_READONLY=y
# CONFIG_MTD_CMDLINE_PARTS is not set

#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=y
CONFIG_MTD_OOPS=y

#
# RAM/ROM/Flash chip drivers
#
# CONFIG_MTD_CFI is not set
CONFIG_MTD_JEDECPROBE=y
CONFIG_MTD_GEN_PROBE=y
CONFIG_MTD_CFI_ADV_OPTIONS=y
CONFIG_MTD_CFI_NOSWAP=y
# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_GEOMETRY is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
# CONFIG_MTD_OTP is not set
CONFIG_MTD_CFI_INTELEXT=m
CONFIG_MTD_CFI_AMDSTD=y
CONFIG_MTD_CFI_STAA=m
CONFIG_MTD_CFI_UTIL=y
CONFIG_MTD_RAM=m
CONFIG_MTD_ROM=y
# CONFIG_MTD_ABSENT is not set

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PHYSMAP is not set
CONFIG_MTD_TS5500=m
# CONFIG_MTD_AMD76XROM is not set
CONFIG_MTD_ICHXROM=y
# CONFIG_MTD_ESB2ROM is not set
CONFIG_MTD_CK804XROM=m
CONFIG_MTD_SCB2_FLASH=m
CONFIG_MTD_NETtel=y
# CONFIG_MTD_DILNETPC is not set
# CONFIG_MTD_L440GX is not set
CONFIG_MTD_INTEL_VR_NOR=y
CONFIG_MTD_PLATRAM=m

#
# Self-contained MTD device drivers
#
CONFIG_MTD_PMC551=y
CONFIG_MTD_PMC551_BUGFIX=y
CONFIG_MTD_PMC551_DEBUG=y
CONFIG_MTD_DATAFLASH=y
# CONFIG_MTD_M25P80 is not set
CONFIG_MTD_SLRAM=m
CONFIG_MTD_PHRAM=m
CONFIG_MTD_MTDRAM=m
CONFIG_MTDRAM_TOTAL_SIZE=4096
CONFIG_MTDRAM_ERASE_SIZE=128

#
# Disk-On-Chip Device Drivers
#
CONFIG_MTD_DOC2000=y
CONFIG_MTD_DOC2001=m
CONFIG_MTD_DOC2001PLUS=y
CONFIG_MTD_DOCPROBE=y
CONFIG_MTD_DOCECC=y
# CONFIG_MTD_DOCPROBE_ADVANCED is not set
CONFIG_MTD_DOCPROBE_ADDRESS=0
CONFIG_MTD_NAND=m
CONFIG_MTD_NAND_VERIFY_WRITE=y
CONFIG_MTD_NAND_ECC_SMC=y
# CONFIG_MTD_NAND_MUSEUM_IDS is not set
CONFIG_MTD_NAND_IDS=y
# CONFIG_MTD_NAND_DISKONCHIP is not set
# CONFIG_MTD_NAND_CAFE is not set
CONFIG_MTD_NAND_NANDSIM=m
# CONFIG_MTD_NAND_PLATFORM is not set
# CONFIG_MTD_ONENAND is not set

#
# UBI - Unsorted block images
#
CONFIG_MTD_UBI=m
CONFIG_MTD_UBI_WL_THRESHOLD=4096
CONFIG_MTD_UBI_BEB_RESERVE=1
# CONFIG_MTD_UBI_GLUEBI is not set

#
# UBI debugging options
#
CONFIG_MTD_UBI_DEBUG=y
# CONFIG_MTD_UBI_DEBUG_MSG is not set
CONFIG_MTD_UBI_DEBUG_PARANOID=y
CONFIG_MTD_UBI_DEBUG_DISABLE_BGT=y
# CONFIG_MTD_UBI_DEBUG_USERSPACE_IO is not set
# CONFIG_MTD_UBI_DEBUG_EMULATE_BITFLIPS is not set
CONFIG_MTD_UBI_DEBUG_EMULATE_WRITE_FAILURES=y
# CONFIG_MTD_UBI_DEBUG_EMULATE_ERASE_FAILURES is not set

#
# Additional UBI debugging messages
#
CONFIG_MTD_UBI_DEBUG_MSG_BLD=y
# CONFIG_MTD_UBI_DEBUG_MSG_EBA is not set
CONFIG_MTD_UBI_DEBUG_MSG_WL=y
# CONFIG_MTD_UBI_DEBUG_MSG_IO is not set
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_FIFO=y
CONFIG_PARPORT_PC_SUPERIO=y
# CONFIG_PARPORT_GSC is not set
CONFIG_PARPORT_AX88796=y
CONFIG_PARPORT_1284=y
CONFIG_PARPORT_NOT_PC=y
CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set

#
# Protocols
#
CONFIG_PNPACPI=y
# CONFIG_MISC_DEVICES is not set
CONFIG_TIFM_CORE=y
CONFIG_HAVE_IDE=y

#
# SCSI device support
#
# CONFIG_SCSI_DMA is not set
# CONFIG_SCSI_NETLINK is not set
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_FIREWIRE is not set
CONFIG_IEEE1394=y

#
# Subsystem Options
#
CONFIG_IEEE1394_VERBOSEDEBUG=y

#
# Controllers
#
# CONFIG_IEEE1394_PCILYNX is not set
CONFIG_IEEE1394_OHCI1394=y

#
# Protocols
#
CONFIG_IEEE1394_VIDEO1394=m

#
# SBP-2 support (for storage devices) requires SCSI
#
# CONFIG_IEEE1394_ETH1394_ROM_ENTRY is not set
CONFIG_IEEE1394_DV1394=m
CONFIG_IEEE1394_RAWIO=y
CONFIG_I2O=y
# CONFIG_I2O_LCT_NOTIFY_ON_CHANGES is not set
# CONFIG_I2O_EXT_ADAPTEC is not set
CONFIG_I2O_CONFIG=y
# CONFIG_I2O_CONFIG_OLD_IOCTL is not set
# CONFIG_I2O_BUS is not set
CONFIG_I2O_PROC=y
# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
CONFIG_NETDEVICES_MULTIQUEUE=y
CONFIG_DUMMY=y
CONFIG_MACVLAN=m
CONFIG_EQUALIZER=m
# CONFIG_TUN is not set
CONFIG_VETH=y
CONFIG_NET_SB1000=m
# CONFIG_ARCNET is not set
CONFIG_PHYLIB=y

#
# MII PHY device drivers
#
# CONFIG_MARVELL_PHY is not set
CONFIG_DAVICOM_PHY=y
CONFIG_QSEMI_PHY=y
CONFIG_LXT_PHY=y
CONFIG_CICADA_PHY=m
CONFIG_VITESSE_PHY=y
# CONFIG_SMSC_PHY is not set
# CONFIG_BROADCOM_PHY is not set
CONFIG_ICPLUS_PHY=y
# CONFIG_REALTEK_PHY is not set
CONFIG_FIXED_PHY=y
# CONFIG_MDIO_BITBANG is not set
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
CONFIG_CASSINI=y
CONFIG_NET_VENDOR_3COM=y
# CONFIG_VORTEX is not set
# CONFIG_TYPHOON is not set
# CONFIG_ENC28J60 is not set
CONFIG_NET_TULIP=y
CONFIG_DE2104X=y
CONFIG_TULIP=m
# CONFIG_TULIP_MWI is not set
# CONFIG_TULIP_MMIO is not set
CONFIG_TULIP_NAPI=y
# CONFIG_TULIP_NAPI_HW_MITIGATION is not set
# CONFIG_DE4X5 is not set
CONFIG_WINBOND_840=y
CONFIG_DM9102=m
CONFIG_ULI526X=y
CONFIG_HP100=m
# CONFIG_IBM_NEW_EMAC_ZMII is not set
# CONFIG_IBM_NEW_EMAC_RGMII is not set
# CONFIG_IBM_NEW_EMAC_TAH is not set
# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
# CONFIG_NET_PCI is not set
# CONFIG_B44 is not set
CONFIG_NET_POCKET=y
CONFIG_ATP=y
CONFIG_DE600=m
# CONFIG_DE620 is not set
# CONFIG_NETDEV_1000 is not set
CONFIG_NETDEV_10000=y
# CONFIG_CHELSIO_T1 is not set
CONFIG_CHELSIO_T3=y
CONFIG_IXGBE=y
CONFIG_IXGB=y
CONFIG_IXGB_NAPI=y
# CONFIG_S2IO is not set
CONFIG_NETXEN_NIC=y
CONFIG_NIU=m
CONFIG_MLX4_CORE=m
CONFIG_MLX4_DEBUG=y
CONFIG_TEHUTI=y
CONFIG_BNX2X=y
# CONFIG_TR is not set

#
# Wireless LAN
#
CONFIG_WLAN_PRE80211=y
# CONFIG_WLAN_80211 is not set
# CONFIG_WAN is not set
# CONFIG_ATM_DRIVERS is not set
# CONFIG_FDDI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=y
# CONFIG_PPP_MULTILINK is not set
# CONFIG_PPP_FILTER is not set
CONFIG_PPP_ASYNC=m
# CONFIG_PPP_SYNC_TTY is not set
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_BSDCOMP=m
CONFIG_PPP_MPPE=y
# CONFIG_PPPOE is not set
CONFIG_PPPOATM=m
CONFIG_SLIP=m
CONFIG_SLIP_COMPRESSED=y
CONFIG_SLHC=y
CONFIG_SLIP_SMART=y
CONFIG_SLIP_MODE_SLIP6=y
CONFIG_NETCONSOLE=m
# CONFIG_NETCONSOLE_DYNAMIC is not set
CONFIG_NETPOLL=y
# CONFIG_NETPOLL_TRAP is not set
CONFIG_NET_POLL_CONTROLLER=y
CONFIG_ISDN=m
# CONFIG_ISDN_I4L is not set
# CONFIG_ISDN_CAPI is not set
CONFIG_PHONE=y
CONFIG_PHONE_IXJ=m

#
# Input device support
#
CONFIG_INPUT=y
CONFIG_INPUT_FF_MEMLESS=m
CONFIG_INPUT_POLLDEV=m

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

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=m
CONFIG_KEYBOARD_SUNKBD=m
CONFIG_KEYBOARD_LKKBD=y
CONFIG_KEYBOARD_XTKBD=y
CONFIG_KEYBOARD_NEWTON=m
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
CONFIG_INPUT_TABLET=y
CONFIG_INPUT_TOUCHSCREEN=y
CONFIG_TOUCHSCREEN_ADS7846=y
CONFIG_TOUCHSCREEN_FUJITSU=m
CONFIG_TOUCHSCREEN_GUNZE=y
CONFIG_TOUCHSCREEN_ELO=m
# CONFIG_TOUCHSCREEN_MTOUCH is not set
# CONFIG_TOUCHSCREEN_MK712 is not set
# CONFIG_TOUCHSCREEN_PENMOUNT is not set
CONFIG_TOUCHSCREEN_TOUCHRIGHT=m
CONFIG_TOUCHSCREEN_TOUCHWIN=m
CONFIG_TOUCHSCREEN_UCB1400=m
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=y
CONFIG_INPUT_ATLAS_BTNS=y
# CONFIG_INPUT_UINPUT is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
CONFIG_SERIO_CT82C710=m
# CONFIG_SERIO_PARKBD is not set
CONFIG_SERIO_PCIPS2=y
CONFIG_SERIO_LIBPS2=y
CONFIG_SERIO_RAW=m
CONFIG_GAMEPORT=m
# CONFIG_GAMEPORT_NS558 is not set
CONFIG_GAMEPORT_L4=m
# CONFIG_GAMEPORT_EMU10K1 is not set
# CONFIG_GAMEPORT_FM801 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_DEVKMEM is not set
CONFIG_SERIAL_NONSTANDARD=y
CONFIG_COMPUTONE=y
CONFIG_ROCKETPORT=y
CONFIG_CYCLADES=y
CONFIG_CYZ_INTR=y
CONFIG_DIGIEPCA=y
CONFIG_MOXA_INTELLIO=y
CONFIG_MOXA_SMARTIO=y
CONFIG_ISI=m
CONFIG_SYNCLINK=y
CONFIG_SYNCLINKMP=m
CONFIG_SYNCLINK_GT=y
CONFIG_N_HDLC=y
CONFIG_RISCOM8=m
CONFIG_SPECIALIX=m
CONFIG_SPECIALIX_RTSCTS=y
CONFIG_SX=m
CONFIG_RIO=y
CONFIG_RIO_OLDPCI=y
# CONFIG_STALDRV is not set
# CONFIG_NOZOMI is not set

#
# Serial drivers
#
# CONFIG_SERIAL_8250 is not set
CONFIG_FIX_EARLYCON_MEM=y

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=m
CONFIG_SERIAL_JSM=m
# CONFIG_UNIX98_PTYS is not set
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
# CONFIG_PRINTER is not set
CONFIG_PPDEV=y
CONFIG_IPMI_HANDLER=m
# CONFIG_IPMI_PANIC_EVENT is not set
CONFIG_IPMI_DEVICE_INTERFACE=m
CONFIG_IPMI_SI=m
# CONFIG_IPMI_WATCHDOG is not set
# CONFIG_IPMI_POWEROFF is not set
# CONFIG_HW_RANDOM is not set
CONFIG_NVRAM=y
# CONFIG_RTC is not set
# CONFIG_GEN_RTC is not set
CONFIG_R3964=y
CONFIG_APPLICOM=y
# CONFIG_MWAVE is not set
CONFIG_PC8736x_GPIO=y
CONFIG_NSC_GPIO=y
# CONFIG_HPET is not set
CONFIG_HANGCHECK_TIMER=m
CONFIG_TCG_TPM=m
# CONFIG_TCG_TIS is not set
# CONFIG_TCG_NSC is not set
# CONFIG_TCG_ATMEL is not set
# CONFIG_TCG_INFINEON is not set
# CONFIG_TELCLOCK is not set
CONFIG_DEVPORT=y
CONFIG_I2C=m
CONFIG_I2C_BOARDINFO=y
# CONFIG_I2C_CHARDEV is not set
CONFIG_I2C_ALGOBIT=m

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

#
# Miscellaneous I2C Chip support
#
CONFIG_DS1682=m
# CONFIG_SENSORS_EEPROM is not set
# CONFIG_SENSORS_PCF8574 is not set
CONFIG_PCF8575=m
CONFIG_SENSORS_PCF8591=m
# CONFIG_TPS65010 is not set
# CONFIG_SENSORS_MAX6875 is not set
# CONFIG_SENSORS_TSL2550 is not set
CONFIG_OZ99X=m
# 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
CONFIG_SPI=y
# CONFIG_SPI_DEBUG is not set
CONFIG_SPI_MASTER=y

#
# SPI Master Controller Drivers
#
CONFIG_SPI_BITBANG=m
CONFIG_SPI_BUTTERFLY=m
# CONFIG_SPI_LM70_LLP is not set

#
# SPI Protocol Masters
#
# CONFIG_SPI_AT25 is not set
# CONFIG_SPI_SPIDEV is not set
# CONFIG_SPI_TLE62X0 is not set
CONFIG_W1=m
CONFIG_W1_CON=y

#
# 1-wire Bus Masters
#
CONFIG_W1_MASTER_MATROX=m
CONFIG_W1_MASTER_DS2482=m

#
# 1-wire Slaves
#
CONFIG_W1_SLAVE_THERM=m
# CONFIG_W1_SLAVE_SMEM is not set
CONFIG_W1_SLAVE_DS2433=m
# CONFIG_W1_SLAVE_DS2433_CRC is not set
CONFIG_W1_SLAVE_DS2760=m
CONFIG_POWER_SUPPLY=y
CONFIG_POWER_SUPPLY_DEBUG=y
CONFIG_PDA_POWER=m
CONFIG_BATTERY_DS2760=m
CONFIG_HWMON=y
CONFIG_HWMON_VID=y
CONFIG_SENSORS_ABITUGURU=m
CONFIG_SENSORS_ABITUGURU3=m
CONFIG_SENSORS_AD7418=m
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
CONFIG_SENSORS_ADM1029=m
# CONFIG_SENSORS_ADM1031 is not set
CONFIG_SENSORS_ADM9240=m
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7473 is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_ASB100 is not set
CONFIG_SENSORS_ATXP1=m
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_I5K_AMB is not set
CONFIG_SENSORS_F71805F=m
CONFIG_SENSORS_F71882FG=m
# CONFIG_SENSORS_F75375S is not set
CONFIG_SENSORS_FSCHER=m
# CONFIG_SENSORS_FSCPOS is not set
CONFIG_SENSORS_FSCHMD=m
CONFIG_SENSORS_GL518SM=m
# CONFIG_SENSORS_GL520SM is not set
CONFIG_SENSORS_CORETEMP=m
# CONFIG_SENSORS_IBMPEX is not set
CONFIG_SENSORS_IT87=m
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM70 is not set
CONFIG_SENSORS_LM75=m
CONFIG_SENSORS_LM77=m
CONFIG_SENSORS_LM78=m
# CONFIG_SENSORS_LM80 is not set
CONFIG_SENSORS_LM83=m
CONFIG_SENSORS_LM85=m
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_MAX1619 is not set
CONFIG_SENSORS_MAX6650=m
CONFIG_SENSORS_PC87360=y
CONFIG_SENSORS_PC87427=y
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_DME1737 is not set
CONFIG_SENSORS_SMSC47M1=y
CONFIG_SENSORS_SMSC47M192=m
CONFIG_SENSORS_SMSC47B397=y
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_THMC50 is not set
CONFIG_SENSORS_VIA686A=y
CONFIG_SENSORS_VT1211=m
# CONFIG_SENSORS_VT8231 is not set
CONFIG_SENSORS_W83781D=m
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
CONFIG_SENSORS_W83627HF=y
CONFIG_SENSORS_W83627EHF=m
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_SENSORS_APPLESMC is not set
CONFIG_HWMON_DEBUG_CHIP=y
CONFIG_THERMAL=y
# CONFIG_WATCHDOG is not set

#
# Sonics Silicon Backplane
#
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set

#
# Multifunction device drivers
#
CONFIG_MFD_SM501=y

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
CONFIG_DAB=y

#
# Graphics support
#
CONFIG_AGP=y
CONFIG_AGP_AMD64=m
CONFIG_AGP_INTEL=y
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_VIA is not set
CONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=m
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_I915 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
CONFIG_DRM_SAVAGE=m
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
# CONFIG_FB is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
# CONFIG_LCD_CLASS_DEVICE is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_CORGI=y
CONFIG_BACKLIGHT_PROGEAR=m

#
# Display device support
#
CONFIG_DISPLAY_SUPPORT=y

#
# Display hardware drivers
#

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_VGACON_SOFT_SCROLLBACK=y
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64
# CONFIG_VIDEO_SELECT is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
# CONFIG_SND is not set

#
# Open Sound System
#
CONFIG_SOUND_PRIME=y
CONFIG_SOUND_TRIDENT=y
CONFIG_SOUND_MSNDCLAS=m
CONFIG_MSNDCLAS_INIT_FILE="/etc/sound/msndinit.bin"
CONFIG_MSNDCLAS_PERM_FILE="/etc/sound/msndperm.bin"
CONFIG_SOUND_MSNDPIN=m
CONFIG_MSNDPIN_INIT_FILE="/etc/sound/pndspini.bin"
CONFIG_MSNDPIN_PERM_FILE="/etc/sound/pndsperm.bin"
CONFIG_SOUND_OSS=m
CONFIG_SOUND_TRACEINIT=y
# CONFIG_SOUND_DMAP is not set
CONFIG_SOUND_SSCAPE=m
# CONFIG_SOUND_VMIDI is not set
CONFIG_SOUND_TRIX=m
# CONFIG_SOUND_MSS is not set
CONFIG_SOUND_MPU401=m
CONFIG_SOUND_PAS=m
CONFIG_SOUND_PSS=m
# CONFIG_PSS_MIXER is not set
CONFIG_PSS_HAVE_BOOT=y
CONFIG_PSS_BOOT_FILE="/etc/sound/dsp001.ld"
CONFIG_SOUND_SB=m
CONFIG_SOUND_YM3812=m
# CONFIG_SOUND_UART6850 is not set
# CONFIG_SOUND_AEDSP16 is not set
CONFIG_SOUND_KAHLUA=m
CONFIG_AC97_BUS=m
CONFIG_HID_SUPPORT=y
CONFIG_HID=m
CONFIG_HID_DEBUG=y
CONFIG_HIDRAW=y
# CONFIG_USB_SUPPORT is not set
# CONFIG_MMC is not set
CONFIG_MEMSTICK=y
# CONFIG_MEMSTICK_DEBUG is not set

#
# MemoryStick drivers
#
# CONFIG_MEMSTICK_UNSAFE_RESUME is not set

#
# MemoryStick Host Controller Drivers
#
CONFIG_MEMSTICK_TIFM_MS=y
# CONFIG_NEW_LEDS is not set
CONFIG_INFINIBAND=m
CONFIG_INFINIBAND_USER_MAD=m
CONFIG_INFINIBAND_USER_ACCESS=m
CONFIG_INFINIBAND_USER_MEM=y
# CONFIG_INFINIBAND_MTHCA is not set
CONFIG_INFINIBAND_IPATH=m
CONFIG_MLX4_INFINIBAND=m
# CONFIG_EDAC is not set
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set
CONFIG_AUXDISPLAY=y
CONFIG_KS0108=m
CONFIG_KS0108_PORT=0x378
CONFIG_KS0108_DELAY=2

#
# Userspace I/O
#
CONFIG_UIO=y
CONFIG_UIO_CIF=m

#
# Firmware Drivers
#
CONFIG_EDD=m
CONFIG_EFI_VARS=y
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set

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

#
# Pseudo filesystems
#
# CONFIG_PROC_FS is not set
CONFIG_SYSFS=y
# CONFIG_TMPFS is not set
CONFIG_HUGETLBFS=y
CONFIG_HUGETLB_PAGE=y
CONFIG_CONFIGFS_FS=y

#
# Layered filesystems
#
# CONFIG_ECRYPT_FS is not set

#
# Miscellaneous filesystems
#
CONFIG_JFFS2_FS=m
CONFIG_JFFS2_FS_DEBUG=0
# CONFIG_JFFS2_FS_WRITEBUFFER is not set
# CONFIG_JFFS2_SUMMARY is not set
CONFIG_JFFS2_FS_XATTR=y
CONFIG_JFFS2_FS_POSIX_ACL=y
CONFIG_JFFS2_FS_SECURITY=y
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
# CONFIG_JFFS2_ZLIB is not set
# CONFIG_JFFS2_LZO is not set
# CONFIG_JFFS2_RTIME is not set
# CONFIG_JFFS2_RUBIN is not set
# CONFIG_JFFS2_CMODE_NONE is not set
# CONFIG_JFFS2_CMODE_PRIORITY is not set
CONFIG_JFFS2_CMODE_SIZE=y
# CONFIG_JFFS2_CMODE_FAVOURLZO is not set
# CONFIG_NETWORK_FILESYSTEMS is not set
# CONFIG_NLS is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not set
# CONFIG_ENABLE_WARN_DEPRECATED is not set
# CONFIG_ENABLE_MUST_CHECK is not set
# CONFIG_MAGIC_SYSRQ is not set
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_PAGE_OWNER is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
# CONFIG_DETECT_SOFTLOCKUP is not set
CONFIG_SCHED_DEBUG=y
CONFIG_SCHEDSTATS=y
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_LOCKING=y
CONFIG_LOCKDEP=y
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_LOCKDEP is not set
CONFIG_TRACE_IRQFLAGS=y
CONFIG_DEBUG_SPINLOCK_SLEEP=y
CONFIG_DEBUG_LOCKING_API_SELFTESTS=y
CONFIG_STACKTRACE=y
CONFIG_DEBUG_KOBJECT=y
# CONFIG_DEBUG_INFO is not set
CONFIG_DEBUG_VM=y
CONFIG_DEBUG_WRITECOUNT=y
CONFIG_DEBUG_LIST=y
CONFIG_DEBUG_SG=y
CONFIG_FRAME_POINTER=y
# CONFIG_PROFILE_LIKELY is not set
CONFIG_BOOT_PRINTK_DELAY=y
CONFIG_DEBUG_SYNCHRO_TEST=y
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_KPROBES_SANITY_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
CONFIG_FAULT_INJECTION=y
# CONFIG_FAILSLAB is not set
# CONFIG_FAIL_PAGE_ALLOC is not set
# CONFIG_FAIL_MAKE_REQUEST is not set
CONFIG_FAULT_INJECTION_DEBUG_FS=y
CONFIG_LATENCYTOP=y
CONFIG_HAVE_FTRACE=y
CONFIG_TRACER_MAX_TRACE=y
CONFIG_TRACING=y
CONFIG_FTRACE=y
CONFIG_IRQSOFF_TRACER=y
# CONFIG_SCHED_TRACER is not set
CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_DYNAMIC_FTRACE=y
CONFIG_PROVIDE_OHCI1394_DMA_INIT=y
# CONFIG_SAMPLES is not set
CONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
CONFIG_DEBUG_STACK_USAGE=y
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_DEBUG_RODATA=y
# CONFIG_DEBUG_RODATA_TEST is not set
CONFIG_DEBUG_NX_TEST=m
CONFIG_X86_MPPARSE=y
CONFIG_IO_DELAY_TYPE_0X80=0
CONFIG_IO_DELAY_TYPE_0XED=1
CONFIG_IO_DELAY_TYPE_UDELAY=2
CONFIG_IO_DELAY_TYPE_NONE=3
# CONFIG_IO_DELAY_0X80 is not set
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
CONFIG_IO_DELAY_NONE=y
CONFIG_DEFAULT_IO_DELAY_TYPE=3
# CONFIG_DEBUG_BOOT_PARAMS is not set
# CONFIG_CPA_DEBUG is not set

#
# Security options
#
CONFIG_KEYS=y
CONFIG_KEYS_DEBUG_PROC_KEYS=y
CONFIG_SECURITY=y
# CONFIG_SECURITY_NETWORK is not set
# CONFIG_SECURITY_CAPABILITIES is not set
CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR=0
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_AEAD=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_SEQIV=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_MANAGER=y
# CONFIG_CRYPTO_HMAC is not set
CONFIG_CRYPTO_XCBC=m
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=m
CONFIG_CRYPTO_SHA1=y
# CONFIG_CRYPTO_SHA256 is not set
CONFIG_CRYPTO_SHA512=y
CONFIG_CRYPTO_WP512=m
CONFIG_CRYPTO_TGR192=y
CONFIG_CRYPTO_GF128MUL=y
CONFIG_CRYPTO_ECB=y
CONFIG_CRYPTO_CBC=y
CONFIG_CRYPTO_PCBC=y
CONFIG_CRYPTO_LRW=m
CONFIG_CRYPTO_XTS=y
CONFIG_CRYPTO_CTR=y
CONFIG_CRYPTO_GCM=y
CONFIG_CRYPTO_CCM=y
CONFIG_CRYPTO_CRYPTD=m
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_FCRYPT=y
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_TWOFISH_COMMON=m
CONFIG_CRYPTO_TWOFISH_X86_64=m
CONFIG_CRYPTO_SERPENT=y
CONFIG_CRYPTO_AES=y
CONFIG_CRYPTO_AES_X86_64=y
# CONFIG_CRYPTO_CAST5 is not set
CONFIG_CRYPTO_CAST6=m
CONFIG_CRYPTO_TEA=y
CONFIG_CRYPTO_ARC4=y
CONFIG_CRYPTO_KHAZAD=y
CONFIG_CRYPTO_ANUBIS=y
# CONFIG_CRYPTO_SEED is not set
CONFIG_CRYPTO_SALSA20=y
CONFIG_CRYPTO_SALSA20_X86_64=m
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_TEST is not set
CONFIG_CRYPTO_AUTHENC=y
CONFIG_CRYPTO_LZO=m
# CONFIG_CRYPTO_HW is not set
CONFIG_HAVE_KVM=y
CONFIG_VIRTUALIZATION=y
# CONFIG_KVM is not set
# CONFIG_VIRTIO_PCI is not set
# CONFIG_VIRTIO_BALLOON is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_CRC_CCITT=y
CONFIG_CRC16=m
CONFIG_CRC_ITU_T=y
CONFIG_CRC32=y
# CONFIG_CRC7 is not set
CONFIG_LIBCRC32C=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=m
CONFIG_LZO_DECOMPRESS=m
CONFIG_PLIST=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y
-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.


-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-16 19:47 ` [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os Kamalesh Babulal
@ 2008-02-16 20:01   ` Laura Garcia
  2008-02-21  7:08   ` Len Brown
  1 sibling, 0 replies; 27+ messages in thread
From: Laura Garcia @ 2008-02-16 20:01 UTC (permalink / raw)
  To: Kamalesh Babulal; +Cc: Andrew Morton, linux-kernel, linux-acpi, Andy Whitcroft

Hi,

If you select CONFIG_ACPI_CUSTOM_DSDT=y, you have to set a file path in the 
option CONFIG_ACPI_CUSTOM_DSDT_FILE="".


Best regards,
Laura.


Kamalesh Babulal wrote:
> Hi Andrew,
> 
> The 2.6.25-rc2-mm1 kernel with randconfig build option, fails
> to build on x86_64 machine
> 
>   CC      drivers/acpi/osl.o
> drivers/acpi/osl.c:60:38: error: empty filename in #include
> drivers/acpi/osl.c: In function ‘acpi_os_table_override’:
> drivers/acpi/osl.c:399: error: ‘AmlCode’ undeclared (first use in this function)
> drivers/acpi/osl.c:399: error: (Each undeclared identifier is reported only once
> drivers/acpi/osl.c:399: error: for each function it appears in.)
> make[2]: *** [drivers/acpi/osl.o] Error 1
> make[1]: *** [drivers/acpi] Error 2
> make: *** [drivers] Error 2
> 
> #
> # Automatically generated make config: don't edit
> # Linux kernel version: 2.6.25-rc2-mm1
> # Sun Feb 17 08:07:17 2008
> #
> CONFIG_64BIT=y
> # CONFIG_X86_32 is not set
> CONFIG_X86_64=y
> CONFIG_X86=y
> # CONFIG_GENERIC_LOCKBREAK is not set
> CONFIG_GENERIC_TIME=y
> CONFIG_GENERIC_CMOS_UPDATE=y
> CONFIG_CLOCKSOURCE_WATCHDOG=y
> CONFIG_GENERIC_CLOCKEVENTS=y
> CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
> CONFIG_LOCKDEP_SUPPORT=y
> CONFIG_STACKTRACE_SUPPORT=y
> CONFIG_HAVE_LATENCYTOP_SUPPORT=y
> CONFIG_SEMAPHORE_SLEEPERS=y
> CONFIG_FAST_CMPXCHG_LOCAL=y
> CONFIG_MMU=y
> CONFIG_ZONE_DMA=y
> # CONFIG_QUICKLIST is not set
> CONFIG_GENERIC_ISA_DMA=y
> CONFIG_GENERIC_IOMAP=y
> CONFIG_GENERIC_HWEIGHT=y
> # CONFIG_GENERIC_GPIO is not set
> CONFIG_ARCH_MAY_HAVE_PC_FDC=y
> CONFIG_RWSEM_GENERIC_SPINLOCK=y
> # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set
> # CONFIG_ARCH_HAS_ILOG2_U32 is not set
> # CONFIG_ARCH_HAS_ILOG2_U64 is not set
> CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y
> CONFIG_GENERIC_CALIBRATE_DELAY=y
> CONFIG_GENERIC_TIME_VSYSCALL=y
> CONFIG_ARCH_HAS_CPU_RELAX=y
> CONFIG_HAVE_SETUP_PER_CPU_AREA=y
> CONFIG_ARCH_HIBERNATION_POSSIBLE=y
> CONFIG_ARCH_SUSPEND_POSSIBLE=y
> CONFIG_ZONE_DMA32=y
> CONFIG_ARCH_POPULATES_NODE_MAP=y
> CONFIG_AUDIT_ARCH=y
> CONFIG_ARCH_SUPPORTS_AOUT=y
> CONFIG_GENERIC_HARDIRQS=y
> CONFIG_GENERIC_IRQ_PROBE=y
> # CONFIG_KTIME_SCALAR is not set
> CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
> 
> #
> # General setup
> #
> CONFIG_EXPERIMENTAL=y
> CONFIG_BROKEN_ON_SMP=y
> CONFIG_INIT_ENV_ARG_LIMIT=32
> CONFIG_LOCALVERSION=""
> CONFIG_LOCALVERSION_AUTO=y
> # CONFIG_SYSVIPC is not set
> # CONFIG_POSIX_MQUEUE is not set
> CONFIG_BSD_PROCESS_ACCT=y
> CONFIG_BSD_PROCESS_ACCT_V3=y
> # CONFIG_TASKSTATS is not set
> # CONFIG_AUDIT is not set
> # CONFIG_IKCONFIG is not set
> CONFIG_LOG_BUF_SHIFT=14
> # CONFIG_CGROUPS is not set
> CONFIG_GROUP_SCHED=y
> CONFIG_FAIR_GROUP_SCHED=y
> # CONFIG_RT_GROUP_SCHED is not set
> CONFIG_USER_SCHED=y
> # CONFIG_CGROUP_SCHED is not set
> CONFIG_SYSFS_DEPRECATED=y
> CONFIG_RELAY=y
> # CONFIG_NAMESPACES is not set
> CONFIG_BLK_DEV_INITRD=y
> CONFIG_INITRAMFS_SOURCE=""
> # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
> CONFIG_SYSCTL=y
> CONFIG_EMBEDDED=y
> CONFIG_SYSCTL_SYSCALL=y
> CONFIG_SYSCTL_SYSCALL_CHECK=y
> CONFIG_KALLSYMS=y
> CONFIG_KALLSYMS_ALL=y
> CONFIG_KALLSYMS_EXTRA_PASS=y
> # CONFIG_HOTPLUG is not set
> CONFIG_PRINTK=y
> # CONFIG_BUG is not set
> CONFIG_ELF_CORE=y
> # CONFIG_COMPAT_BRK is not set
> CONFIG_BASE_FULL=y
> CONFIG_FUTEX=y
> CONFIG_ANON_INODES=y
> # CONFIG_EPOLL is not set
> CONFIG_SIGNALFD=y
> CONFIG_TIMERFD=y
> CONFIG_EVENTFD=y
> # CONFIG_SHMEM is not set
> CONFIG_VM_EVENT_COUNTERS=y
> # CONFIG_SLAB is not set
> # CONFIG_SLUB is not set
> CONFIG_SLOB=y
> CONFIG_PROFILING=y
> CONFIG_MARKERS=y
> # CONFIG_OPROFILE is not set
> CONFIG_HAVE_OPROFILE=y
> CONFIG_KPROBES=y
> CONFIG_HAVE_KPROBES=y
> CONFIG_RT_MUTEXES=y
> CONFIG_TINY_SHMEM=y
> CONFIG_BASE_SMALL=0
> CONFIG_MODULES=y
> CONFIG_MODULE_UNLOAD=y
> # CONFIG_MODULE_FORCE_UNLOAD is not set
> CONFIG_MODVERSIONS=y
> CONFIG_MODULE_SRCVERSION_ALL=y
> CONFIG_KMOD=y
> # CONFIG_BLOCK is not set
> CONFIG_CLASSIC_RCU=y
> # CONFIG_PREEMPT_RCU is not set
> 
> #
> # Processor type and features
> #
> CONFIG_TICK_ONESHOT=y
> CONFIG_NO_HZ=y
> CONFIG_HIGH_RES_TIMERS=y
> CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
> # 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_X86_RDC321X is not set
> # CONFIG_X86_VSMP is not set
> # CONFIG_PARAVIRT_GUEST 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_MPENTIUM4 is not set
> # 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_MPSC is not set
> CONFIG_MCORE2=y
> # CONFIG_GENERIC_CPU is not set
> CONFIG_X86_L1_CACHE_BYTES=64
> CONFIG_X86_INTERNODE_CACHE_BYTES=64
> CONFIG_X86_CMPXCHG=y
> CONFIG_X86_L1_CACHE_SHIFT=6
> CONFIG_X86_GOOD_APIC=y
> CONFIG_X86_INTEL_USERCOPY=y
> CONFIG_X86_USE_PPRO_CHECKSUM=y
> CONFIG_X86_TSC=y
> CONFIG_X86_MINIMUM_CPU_FAMILY=64
> CONFIG_X86_DEBUGCTLMSR=y
> CONFIG_HPET_TIMER=y
> # CONFIG_DMI is not set
> # CONFIG_GART_IOMMU is not set
> CONFIG_CALGARY_IOMMU=y
> CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT=y
> CONFIG_IOMMU_HELPER=y
> CONFIG_SWIOTLB=y
> # CONFIG_PREEMPT_NONE is not set
> CONFIG_PREEMPT_VOLUNTARY=y
> # CONFIG_PREEMPT is not set
> # CONFIG_RCU_TRACE is not set
> CONFIG_X86_LOCAL_APIC=y
> CONFIG_X86_IO_APIC=y
> # CONFIG_X86_MCE is not set
> # CONFIG_I8K is not set
> CONFIG_MICROCODE=y
> CONFIG_MICROCODE_OLD_INTERFACE=y
> # CONFIG_X86_MSR is not set
> # CONFIG_X86_CPUID is not set
> CONFIG_ARCH_SPARSEMEM_DEFAULT=y
> CONFIG_ARCH_SPARSEMEM_ENABLE=y
> CONFIG_ARCH_SELECT_MEMORY_MODEL=y
> CONFIG_SELECT_MEMORY_MODEL=y
> # CONFIG_FLATMEM_MANUAL is not set
> # CONFIG_DISCONTIGMEM_MANUAL is not set
> CONFIG_SPARSEMEM_MANUAL=y
> CONFIG_SPARSEMEM=y
> CONFIG_HAVE_MEMORY_PRESENT=y
> # CONFIG_SPARSEMEM_STATIC is not set
> CONFIG_SPARSEMEM_EXTREME=y
> CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
> CONFIG_SPARSEMEM_VMEMMAP=y
> CONFIG_SPLIT_PTLOCK_CPUS=4
> CONFIG_RESOURCES_64BIT=y
> CONFIG_ZONE_DMA_FLAG=1
> CONFIG_VIRT_TO_BUS=y
> CONFIG_MTRR=y
> CONFIG_EFI=y
> CONFIG_CC_STACKPROTECTOR=y
> CONFIG_CC_STACKPROTECTOR_ALL=y
> # CONFIG_HZ_100 is not set
> # CONFIG_HZ_250 is not set
> CONFIG_HZ_300=y
> # CONFIG_HZ_1000 is not set
> CONFIG_HZ=300
> CONFIG_SCHED_HRTICK=y
> # CONFIG_KEXEC is not set
> CONFIG_CRASH_DUMP=y
> CONFIG_PHYSICAL_START=0x200000
> # CONFIG_RELOCATABLE is not set
> CONFIG_PHYSICAL_ALIGN=0x200000
> CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
> 
> #
> # Power management options
> #
> CONFIG_PM=y
> # CONFIG_PM_LEGACY is not set
> CONFIG_PM_DEBUG=y
> # CONFIG_PM_VERBOSE is not set
> # CONFIG_SUSPEND is not set
> CONFIG_ACPI=y
> CONFIG_ACPI_SYSFS_POWER=y
> # CONFIG_ACPI_AC is not set
> CONFIG_ACPI_BATTERY=m
> CONFIG_ACPI_BUTTON=y
> # CONFIG_ACPI_FAN is not set
> # CONFIG_ACPI_DOCK is not set
> CONFIG_ACPI_PROCESSOR=y
> CONFIG_ACPI_THERMAL=m
> CONFIG_ACPI_WMI=y
> # CONFIG_ACPI_ASUS is not set
> CONFIG_ACPI_TOSHIBA=m
> CONFIG_ACPI_CUSTOM_DSDT=y
> CONFIG_ACPI_CUSTOM_DSDT_FILE=""
> # CONFIG_ACPI_CUSTOM_DSDT_INITRD 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 is not set
> CONFIG_ACPI_CONTAINER=m
> CONFIG_ACPI_SBS=y
> 
> #
> # CPU Frequency scaling
> #
> # CONFIG_CPU_FREQ is not set
> # CONFIG_CPU_IDLE is not set
> 
> #
> # Bus options (PCI etc.)
> #
> CONFIG_PCI=y
> CONFIG_PCI_DIRECT=y
> CONFIG_PCI_MMCONFIG=y
> CONFIG_PCI_DOMAINS=y
> CONFIG_DMAR=y
> # CONFIG_DMAR_GFX_WA is not set
> CONFIG_DMAR_FLOPPY_WA=y
> # CONFIG_PCIEPORTBUS is not set
> CONFIG_ARCH_SUPPORTS_MSI=y
> CONFIG_PCI_MSI=y
> CONFIG_PCI_LEGACY=y
> # CONFIG_PCI_DEBUG is not set
> # CONFIG_HT_IRQ is not set
> CONFIG_ISA_DMA_API=y
> CONFIG_K8_NB=y
> 
> #
> # Executable file formats / Emulations
> #
> # CONFIG_BINFMT_ELF is not set
> CONFIG_BINFMT_MISC=y
> # CONFIG_IA32_EMULATION is not set
> # CONFIG_COMPAT_FOR_U64_ALIGNMENT is not set
> 
> #
> # Networking
> #
> CONFIG_NET=y
> 
> #
> # Networking options
> #
> # CONFIG_PACKET is not set
> # CONFIG_UNIX is not set
> # CONFIG_NET_KEY is not set
> # CONFIG_INET is not set
> # CONFIG_NETWORK_SECMARK is not set
> # CONFIG_NETFILTER is not set
> CONFIG_ATM=y
> # CONFIG_ATM_LANE is not set
> CONFIG_BRIDGE=m
> # CONFIG_VLAN_8021Q is not set
> CONFIG_DECNET=m
> # CONFIG_DECNET_ROUTER is not set
> CONFIG_LLC=m
> CONFIG_LLC2=m
> # CONFIG_IPX is not set
> # CONFIG_ATALK is not set
> CONFIG_X25=y
> # CONFIG_LAPB is not set
> CONFIG_WAN_ROUTER=y
> # CONFIG_NET_SCHED is not set
> CONFIG_NET_SCH_FIFO=y
> 
> #
> # Network testing
> #
> # CONFIG_HAMRADIO is not set
> # CONFIG_CAN is not set
> # CONFIG_IRDA is not set
> CONFIG_BT=m
> CONFIG_BT_L2CAP=m
> # CONFIG_BT_SCO is not set
> # CONFIG_BT_RFCOMM is not set
> # CONFIG_BT_BNEP is not set
> # CONFIG_BT_HIDP is not set
> 
> #
> # Bluetooth device drivers
> #
> CONFIG_BT_HCIUART=m
> # CONFIG_BT_HCIUART_H4 is not set
> # CONFIG_BT_HCIUART_BCSP is not set
> # CONFIG_BT_HCIUART_LL is not set
> CONFIG_BT_HCIVHCI=m
> 
> #
> # Wireless
> #
> CONFIG_CFG80211=y
> # CONFIG_NL80211 is not set
> CONFIG_WIRELESS_EXT=y
> CONFIG_MAC80211=y
> 
> #
> # Rate control algorithm selection
> #
> # CONFIG_MAC80211_RC_DEFAULT_PID is not set
> # CONFIG_MAC80211_RC_DEFAULT_SIMPLE is not set
> CONFIG_MAC80211_RC_DEFAULT_NONE=y
> 
> #
> # Selecting 'y' for an algorithm will
> #
> 
> #
> # build the algorithm into mac80211.
> #
> CONFIG_MAC80211_RC_DEFAULT=""
> CONFIG_MAC80211_RC_PID=y
> # CONFIG_MAC80211_RC_SIMPLE is not set
> # CONFIG_MAC80211_DEBUGFS is not set
> # CONFIG_MAC80211_DEBUG_PACKET_ALIGNMENT is not set
> CONFIG_MAC80211_DEBUG=y
> CONFIG_MAC80211_HT_DEBUG=y
> CONFIG_MAC80211_VERBOSE_DEBUG=y
> CONFIG_MAC80211_LOWTX_FRAME_DUMP=y
> CONFIG_TKIP_DEBUG=y
> # CONFIG_MAC80211_DEBUG_COUNTERS is not set
> CONFIG_MAC80211_IBSS_DEBUG=y
> # CONFIG_MAC80211_VERBOSE_PS_DEBUG is not set
> CONFIG_IEEE80211=m
> CONFIG_IEEE80211_DEBUG=y
> CONFIG_IEEE80211_CRYPT_WEP=m
> CONFIG_IEEE80211_CRYPT_CCMP=m
> CONFIG_IEEE80211_CRYPT_TKIP=m
> # CONFIG_IEEE80211_SOFTMAC is not set
> CONFIG_RFKILL=m
> # CONFIG_RFKILL_INPUT is not set
> CONFIG_NET_9P=y
> # CONFIG_NET_9P_FD is not set
> CONFIG_NET_9P_DEBUG=y
> 
> #
> # Device Drivers
> #
> 
> #
> # Generic Driver Options
> #
> # CONFIG_STANDALONE is not set
> CONFIG_PREVENT_FIRMWARE_BUILD=y
> CONFIG_FW_LOADER=y
> # CONFIG_DEBUG_DRIVER is not set
> # CONFIG_DEBUG_DEVRES is not set
> # CONFIG_SYS_HYPERVISOR is not set
> CONFIG_CONNECTOR=m
> CONFIG_MTD=y
> CONFIG_MTD_DEBUG=y
> CONFIG_MTD_DEBUG_VERBOSE=0
> CONFIG_MTD_CONCAT=m
> CONFIG_MTD_PARTITIONS=y
> CONFIG_MTD_REDBOOT_PARTS=m
> CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1
> CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=y
> CONFIG_MTD_REDBOOT_PARTS_READONLY=y
> # CONFIG_MTD_CMDLINE_PARTS is not set
> 
> #
> # User Modules And Translation Layers
> #
> CONFIG_MTD_CHAR=y
> CONFIG_MTD_OOPS=y
> 
> #
> # RAM/ROM/Flash chip drivers
> #
> # CONFIG_MTD_CFI is not set
> CONFIG_MTD_JEDECPROBE=y
> CONFIG_MTD_GEN_PROBE=y
> CONFIG_MTD_CFI_ADV_OPTIONS=y
> CONFIG_MTD_CFI_NOSWAP=y
> # CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
> # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set
> # CONFIG_MTD_CFI_GEOMETRY is not set
> CONFIG_MTD_MAP_BANK_WIDTH_1=y
> CONFIG_MTD_MAP_BANK_WIDTH_2=y
> CONFIG_MTD_MAP_BANK_WIDTH_4=y
> # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
> # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
> # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
> CONFIG_MTD_CFI_I1=y
> CONFIG_MTD_CFI_I2=y
> # CONFIG_MTD_CFI_I4 is not set
> # CONFIG_MTD_CFI_I8 is not set
> # CONFIG_MTD_OTP is not set
> CONFIG_MTD_CFI_INTELEXT=m
> CONFIG_MTD_CFI_AMDSTD=y
> CONFIG_MTD_CFI_STAA=m
> CONFIG_MTD_CFI_UTIL=y
> CONFIG_MTD_RAM=m
> CONFIG_MTD_ROM=y
> # CONFIG_MTD_ABSENT is not set
> 
> #
> # Mapping drivers for chip access
> #
> # CONFIG_MTD_COMPLEX_MAPPINGS is not set
> # CONFIG_MTD_PHYSMAP is not set
> CONFIG_MTD_TS5500=m
> # CONFIG_MTD_AMD76XROM is not set
> CONFIG_MTD_ICHXROM=y
> # CONFIG_MTD_ESB2ROM is not set
> CONFIG_MTD_CK804XROM=m
> CONFIG_MTD_SCB2_FLASH=m
> CONFIG_MTD_NETtel=y
> # CONFIG_MTD_DILNETPC is not set
> # CONFIG_MTD_L440GX is not set
> CONFIG_MTD_INTEL_VR_NOR=y
> CONFIG_MTD_PLATRAM=m
> 
> #
> # Self-contained MTD device drivers
> #
> CONFIG_MTD_PMC551=y
> CONFIG_MTD_PMC551_BUGFIX=y
> CONFIG_MTD_PMC551_DEBUG=y
> CONFIG_MTD_DATAFLASH=y
> # CONFIG_MTD_M25P80 is not set
> CONFIG_MTD_SLRAM=m
> CONFIG_MTD_PHRAM=m
> CONFIG_MTD_MTDRAM=m
> CONFIG_MTDRAM_TOTAL_SIZE=4096
> CONFIG_MTDRAM_ERASE_SIZE=128
> 
> #
> # Disk-On-Chip Device Drivers
> #
> CONFIG_MTD_DOC2000=y
> CONFIG_MTD_DOC2001=m
> CONFIG_MTD_DOC2001PLUS=y
> CONFIG_MTD_DOCPROBE=y
> CONFIG_MTD_DOCECC=y
> # CONFIG_MTD_DOCPROBE_ADVANCED is not set
> CONFIG_MTD_DOCPROBE_ADDRESS=0
> CONFIG_MTD_NAND=m
> CONFIG_MTD_NAND_VERIFY_WRITE=y
> CONFIG_MTD_NAND_ECC_SMC=y
> # CONFIG_MTD_NAND_MUSEUM_IDS is not set
> CONFIG_MTD_NAND_IDS=y
> # CONFIG_MTD_NAND_DISKONCHIP is not set
> # CONFIG_MTD_NAND_CAFE is not set
> CONFIG_MTD_NAND_NANDSIM=m
> # CONFIG_MTD_NAND_PLATFORM is not set
> # CONFIG_MTD_ONENAND is not set
> 
> #
> # UBI - Unsorted block images
> #
> CONFIG_MTD_UBI=m
> CONFIG_MTD_UBI_WL_THRESHOLD=4096
> CONFIG_MTD_UBI_BEB_RESERVE=1
> # CONFIG_MTD_UBI_GLUEBI is not set
> 
> #
> # UBI debugging options
> #
> CONFIG_MTD_UBI_DEBUG=y
> # CONFIG_MTD_UBI_DEBUG_MSG is not set
> CONFIG_MTD_UBI_DEBUG_PARANOID=y
> CONFIG_MTD_UBI_DEBUG_DISABLE_BGT=y
> # CONFIG_MTD_UBI_DEBUG_USERSPACE_IO is not set
> # CONFIG_MTD_UBI_DEBUG_EMULATE_BITFLIPS is not set
> CONFIG_MTD_UBI_DEBUG_EMULATE_WRITE_FAILURES=y
> # CONFIG_MTD_UBI_DEBUG_EMULATE_ERASE_FAILURES is not set
> 
> #
> # Additional UBI debugging messages
> #
> CONFIG_MTD_UBI_DEBUG_MSG_BLD=y
> # CONFIG_MTD_UBI_DEBUG_MSG_EBA is not set
> CONFIG_MTD_UBI_DEBUG_MSG_WL=y
> # CONFIG_MTD_UBI_DEBUG_MSG_IO is not set
> CONFIG_PARPORT=y
> CONFIG_PARPORT_PC=y
> CONFIG_PARPORT_PC_FIFO=y
> CONFIG_PARPORT_PC_SUPERIO=y
> # CONFIG_PARPORT_GSC is not set
> CONFIG_PARPORT_AX88796=y
> CONFIG_PARPORT_1284=y
> CONFIG_PARPORT_NOT_PC=y
> CONFIG_PNP=y
> # CONFIG_PNP_DEBUG is not set
> 
> #
> # Protocols
> #
> CONFIG_PNPACPI=y
> # CONFIG_MISC_DEVICES is not set
> CONFIG_TIFM_CORE=y
> CONFIG_HAVE_IDE=y
> 
> #
> # SCSI device support
> #
> # CONFIG_SCSI_DMA is not set
> # CONFIG_SCSI_NETLINK is not set
> # CONFIG_FUSION is not set
> 
> #
> # IEEE 1394 (FireWire) support
> #
> # CONFIG_FIREWIRE is not set
> CONFIG_IEEE1394=y
> 
> #
> # Subsystem Options
> #
> CONFIG_IEEE1394_VERBOSEDEBUG=y
> 
> #
> # Controllers
> #
> # CONFIG_IEEE1394_PCILYNX is not set
> CONFIG_IEEE1394_OHCI1394=y
> 
> #
> # Protocols
> #
> CONFIG_IEEE1394_VIDEO1394=m
> 
> #
> # SBP-2 support (for storage devices) requires SCSI
> #
> # CONFIG_IEEE1394_ETH1394_ROM_ENTRY is not set
> CONFIG_IEEE1394_DV1394=m
> CONFIG_IEEE1394_RAWIO=y
> CONFIG_I2O=y
> # CONFIG_I2O_LCT_NOTIFY_ON_CHANGES is not set
> # CONFIG_I2O_EXT_ADAPTEC is not set
> CONFIG_I2O_CONFIG=y
> # CONFIG_I2O_CONFIG_OLD_IOCTL is not set
> # CONFIG_I2O_BUS is not set
> CONFIG_I2O_PROC=y
> # CONFIG_MACINTOSH_DRIVERS is not set
> CONFIG_NETDEVICES=y
> CONFIG_NETDEVICES_MULTIQUEUE=y
> CONFIG_DUMMY=y
> CONFIG_MACVLAN=m
> CONFIG_EQUALIZER=m
> # CONFIG_TUN is not set
> CONFIG_VETH=y
> CONFIG_NET_SB1000=m
> # CONFIG_ARCNET is not set
> CONFIG_PHYLIB=y
> 
> #
> # MII PHY device drivers
> #
> # CONFIG_MARVELL_PHY is not set
> CONFIG_DAVICOM_PHY=y
> CONFIG_QSEMI_PHY=y
> CONFIG_LXT_PHY=y
> CONFIG_CICADA_PHY=m
> CONFIG_VITESSE_PHY=y
> # CONFIG_SMSC_PHY is not set
> # CONFIG_BROADCOM_PHY is not set
> CONFIG_ICPLUS_PHY=y
> # CONFIG_REALTEK_PHY is not set
> CONFIG_FIXED_PHY=y
> # CONFIG_MDIO_BITBANG is not set
> CONFIG_NET_ETHERNET=y
> CONFIG_MII=y
> # CONFIG_HAPPYMEAL is not set
> # CONFIG_SUNGEM is not set
> CONFIG_CASSINI=y
> CONFIG_NET_VENDOR_3COM=y
> # CONFIG_VORTEX is not set
> # CONFIG_TYPHOON is not set
> # CONFIG_ENC28J60 is not set
> CONFIG_NET_TULIP=y
> CONFIG_DE2104X=y
> CONFIG_TULIP=m
> # CONFIG_TULIP_MWI is not set
> # CONFIG_TULIP_MMIO is not set
> CONFIG_TULIP_NAPI=y
> # CONFIG_TULIP_NAPI_HW_MITIGATION is not set
> # CONFIG_DE4X5 is not set
> CONFIG_WINBOND_840=y
> CONFIG_DM9102=m
> CONFIG_ULI526X=y
> CONFIG_HP100=m
> # CONFIG_IBM_NEW_EMAC_ZMII is not set
> # CONFIG_IBM_NEW_EMAC_RGMII is not set
> # CONFIG_IBM_NEW_EMAC_TAH is not set
> # CONFIG_IBM_NEW_EMAC_EMAC4 is not set
> # CONFIG_NET_PCI is not set
> # CONFIG_B44 is not set
> CONFIG_NET_POCKET=y
> CONFIG_ATP=y
> CONFIG_DE600=m
> # CONFIG_DE620 is not set
> # CONFIG_NETDEV_1000 is not set
> CONFIG_NETDEV_10000=y
> # CONFIG_CHELSIO_T1 is not set
> CONFIG_CHELSIO_T3=y
> CONFIG_IXGBE=y
> CONFIG_IXGB=y
> CONFIG_IXGB_NAPI=y
> # CONFIG_S2IO is not set
> CONFIG_NETXEN_NIC=y
> CONFIG_NIU=m
> CONFIG_MLX4_CORE=m
> CONFIG_MLX4_DEBUG=y
> CONFIG_TEHUTI=y
> CONFIG_BNX2X=y
> # CONFIG_TR is not set
> 
> #
> # Wireless LAN
> #
> CONFIG_WLAN_PRE80211=y
> # CONFIG_WLAN_80211 is not set
> # CONFIG_WAN is not set
> # CONFIG_ATM_DRIVERS is not set
> # CONFIG_FDDI is not set
> # CONFIG_PLIP is not set
> CONFIG_PPP=y
> # CONFIG_PPP_MULTILINK is not set
> # CONFIG_PPP_FILTER is not set
> CONFIG_PPP_ASYNC=m
> # CONFIG_PPP_SYNC_TTY is not set
> CONFIG_PPP_DEFLATE=y
> CONFIG_PPP_BSDCOMP=m
> CONFIG_PPP_MPPE=y
> # CONFIG_PPPOE is not set
> CONFIG_PPPOATM=m
> CONFIG_SLIP=m
> CONFIG_SLIP_COMPRESSED=y
> CONFIG_SLHC=y
> CONFIG_SLIP_SMART=y
> CONFIG_SLIP_MODE_SLIP6=y
> CONFIG_NETCONSOLE=m
> # CONFIG_NETCONSOLE_DYNAMIC is not set
> CONFIG_NETPOLL=y
> # CONFIG_NETPOLL_TRAP is not set
> CONFIG_NET_POLL_CONTROLLER=y
> CONFIG_ISDN=m
> # CONFIG_ISDN_I4L is not set
> # CONFIG_ISDN_CAPI is not set
> CONFIG_PHONE=y
> CONFIG_PHONE_IXJ=m
> 
> #
> # Input device support
> #
> CONFIG_INPUT=y
> CONFIG_INPUT_FF_MEMLESS=m
> CONFIG_INPUT_POLLDEV=m
> 
> #
> # Userland interfaces
> #
> CONFIG_INPUT_MOUSEDEV=y
> # CONFIG_INPUT_MOUSEDEV_PSAUX is not set
> CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
> CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
> # CONFIG_INPUT_JOYDEV is not set
> CONFIG_INPUT_EVDEV=m
> CONFIG_INPUT_EVBUG=y
> 
> #
> # Input Device Drivers
> #
> CONFIG_INPUT_KEYBOARD=y
> CONFIG_KEYBOARD_ATKBD=m
> CONFIG_KEYBOARD_SUNKBD=m
> CONFIG_KEYBOARD_LKKBD=y
> CONFIG_KEYBOARD_XTKBD=y
> CONFIG_KEYBOARD_NEWTON=m
> # CONFIG_KEYBOARD_STOWAWAY is not set
> # CONFIG_INPUT_MOUSE is not set
> # CONFIG_INPUT_JOYSTICK is not set
> CONFIG_INPUT_TABLET=y
> CONFIG_INPUT_TOUCHSCREEN=y
> CONFIG_TOUCHSCREEN_ADS7846=y
> CONFIG_TOUCHSCREEN_FUJITSU=m
> CONFIG_TOUCHSCREEN_GUNZE=y
> CONFIG_TOUCHSCREEN_ELO=m
> # CONFIG_TOUCHSCREEN_MTOUCH is not set
> # CONFIG_TOUCHSCREEN_MK712 is not set
> # CONFIG_TOUCHSCREEN_PENMOUNT is not set
> CONFIG_TOUCHSCREEN_TOUCHRIGHT=m
> CONFIG_TOUCHSCREEN_TOUCHWIN=m
> CONFIG_TOUCHSCREEN_UCB1400=m
> CONFIG_INPUT_MISC=y
> CONFIG_INPUT_PCSPKR=y
> CONFIG_INPUT_ATLAS_BTNS=y
> # CONFIG_INPUT_UINPUT is not set
> 
> #
> # Hardware I/O ports
> #
> CONFIG_SERIO=y
> CONFIG_SERIO_I8042=y
> CONFIG_SERIO_SERPORT=y
> CONFIG_SERIO_CT82C710=m
> # CONFIG_SERIO_PARKBD is not set
> CONFIG_SERIO_PCIPS2=y
> CONFIG_SERIO_LIBPS2=y
> CONFIG_SERIO_RAW=m
> CONFIG_GAMEPORT=m
> # CONFIG_GAMEPORT_NS558 is not set
> CONFIG_GAMEPORT_L4=m
> # CONFIG_GAMEPORT_EMU10K1 is not set
> # CONFIG_GAMEPORT_FM801 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_DEVKMEM is not set
> CONFIG_SERIAL_NONSTANDARD=y
> CONFIG_COMPUTONE=y
> CONFIG_ROCKETPORT=y
> CONFIG_CYCLADES=y
> CONFIG_CYZ_INTR=y
> CONFIG_DIGIEPCA=y
> CONFIG_MOXA_INTELLIO=y
> CONFIG_MOXA_SMARTIO=y
> CONFIG_ISI=m
> CONFIG_SYNCLINK=y
> CONFIG_SYNCLINKMP=m
> CONFIG_SYNCLINK_GT=y
> CONFIG_N_HDLC=y
> CONFIG_RISCOM8=m
> CONFIG_SPECIALIX=m
> CONFIG_SPECIALIX_RTSCTS=y
> CONFIG_SX=m
> CONFIG_RIO=y
> CONFIG_RIO_OLDPCI=y
> # CONFIG_STALDRV is not set
> # CONFIG_NOZOMI is not set
> 
> #
> # Serial drivers
> #
> # CONFIG_SERIAL_8250 is not set
> CONFIG_FIX_EARLYCON_MEM=y
> 
> #
> # Non-8250 serial port support
> #
> CONFIG_SERIAL_CORE=m
> CONFIG_SERIAL_JSM=m
> # CONFIG_UNIX98_PTYS is not set
> CONFIG_LEGACY_PTYS=y
> CONFIG_LEGACY_PTY_COUNT=256
> # CONFIG_PRINTER is not set
> CONFIG_PPDEV=y
> CONFIG_IPMI_HANDLER=m
> # CONFIG_IPMI_PANIC_EVENT is not set
> CONFIG_IPMI_DEVICE_INTERFACE=m
> CONFIG_IPMI_SI=m
> # CONFIG_IPMI_WATCHDOG is not set
> # CONFIG_IPMI_POWEROFF is not set
> # CONFIG_HW_RANDOM is not set
> CONFIG_NVRAM=y
> # CONFIG_RTC is not set
> # CONFIG_GEN_RTC is not set
> CONFIG_R3964=y
> CONFIG_APPLICOM=y
> # CONFIG_MWAVE is not set
> CONFIG_PC8736x_GPIO=y
> CONFIG_NSC_GPIO=y
> # CONFIG_HPET is not set
> CONFIG_HANGCHECK_TIMER=m
> CONFIG_TCG_TPM=m
> # CONFIG_TCG_TIS is not set
> # CONFIG_TCG_NSC is not set
> # CONFIG_TCG_ATMEL is not set
> # CONFIG_TCG_INFINEON is not set
> # CONFIG_TELCLOCK is not set
> CONFIG_DEVPORT=y
> CONFIG_I2C=m
> CONFIG_I2C_BOARDINFO=y
> # CONFIG_I2C_CHARDEV is not set
> CONFIG_I2C_ALGOBIT=m
> 
> #
> # I2C Hardware Bus support
> #
> CONFIG_I2C_ALI1535=m
> CONFIG_I2C_ALI1563=m
> CONFIG_I2C_ALI15X3=m
> CONFIG_I2C_AMD756=m
> CONFIG_I2C_AMD756_S4882=m
> # CONFIG_I2C_AMD8111 is not set
> # CONFIG_I2C_I801 is not set
> CONFIG_I2C_I810=m
> # CONFIG_I2C_PIIX4 is not set
> # CONFIG_I2C_NFORCE2 is not set
> CONFIG_I2C_OCORES=m
> # CONFIG_I2C_PARPORT is not set
> CONFIG_I2C_PARPORT_LIGHT=m
> CONFIG_I2C_PROSAVAGE=m
> CONFIG_I2C_SAVAGE4=m
> # CONFIG_I2C_SIMTEC is not set
> CONFIG_I2C_SIS5595=m
> CONFIG_I2C_SIS630=m
> CONFIG_I2C_SIS96X=m
> # CONFIG_I2C_TAOS_EVM is not set
> CONFIG_I2C_STUB=m
> CONFIG_I2C_VIA=m
> # CONFIG_I2C_VIAPRO is not set
> # CONFIG_I2C_VOODOO3 is not set
> 
> #
> # Miscellaneous I2C Chip support
> #
> CONFIG_DS1682=m
> # CONFIG_SENSORS_EEPROM is not set
> # CONFIG_SENSORS_PCF8574 is not set
> CONFIG_PCF8575=m
> CONFIG_SENSORS_PCF8591=m
> # CONFIG_TPS65010 is not set
> # CONFIG_SENSORS_MAX6875 is not set
> # CONFIG_SENSORS_TSL2550 is not set
> CONFIG_OZ99X=m
> # 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
> CONFIG_SPI=y
> # CONFIG_SPI_DEBUG is not set
> CONFIG_SPI_MASTER=y
> 
> #
> # SPI Master Controller Drivers
> #
> CONFIG_SPI_BITBANG=m
> CONFIG_SPI_BUTTERFLY=m
> # CONFIG_SPI_LM70_LLP is not set
> 
> #
> # SPI Protocol Masters
> #
> # CONFIG_SPI_AT25 is not set
> # CONFIG_SPI_SPIDEV is not set
> # CONFIG_SPI_TLE62X0 is not set
> CONFIG_W1=m
> CONFIG_W1_CON=y
> 
> #
> # 1-wire Bus Masters
> #
> CONFIG_W1_MASTER_MATROX=m
> CONFIG_W1_MASTER_DS2482=m
> 
> #
> # 1-wire Slaves
> #
> CONFIG_W1_SLAVE_THERM=m
> # CONFIG_W1_SLAVE_SMEM is not set
> CONFIG_W1_SLAVE_DS2433=m
> # CONFIG_W1_SLAVE_DS2433_CRC is not set
> CONFIG_W1_SLAVE_DS2760=m
> CONFIG_POWER_SUPPLY=y
> CONFIG_POWER_SUPPLY_DEBUG=y
> CONFIG_PDA_POWER=m
> CONFIG_BATTERY_DS2760=m
> CONFIG_HWMON=y
> CONFIG_HWMON_VID=y
> CONFIG_SENSORS_ABITUGURU=m
> CONFIG_SENSORS_ABITUGURU3=m
> CONFIG_SENSORS_AD7418=m
> # CONFIG_SENSORS_ADM1021 is not set
> # CONFIG_SENSORS_ADM1025 is not set
> # CONFIG_SENSORS_ADM1026 is not set
> CONFIG_SENSORS_ADM1029=m
> # CONFIG_SENSORS_ADM1031 is not set
> CONFIG_SENSORS_ADM9240=m
> # CONFIG_SENSORS_ADT7470 is not set
> # CONFIG_SENSORS_ADT7473 is not set
> # CONFIG_SENSORS_K8TEMP is not set
> # CONFIG_SENSORS_ASB100 is not set
> CONFIG_SENSORS_ATXP1=m
> # CONFIG_SENSORS_DS1621 is not set
> # CONFIG_SENSORS_I5K_AMB is not set
> CONFIG_SENSORS_F71805F=m
> CONFIG_SENSORS_F71882FG=m
> # CONFIG_SENSORS_F75375S is not set
> CONFIG_SENSORS_FSCHER=m
> # CONFIG_SENSORS_FSCPOS is not set
> CONFIG_SENSORS_FSCHMD=m
> CONFIG_SENSORS_GL518SM=m
> # CONFIG_SENSORS_GL520SM is not set
> CONFIG_SENSORS_CORETEMP=m
> # CONFIG_SENSORS_IBMPEX is not set
> CONFIG_SENSORS_IT87=m
> # CONFIG_SENSORS_LM63 is not set
> # CONFIG_SENSORS_LM70 is not set
> CONFIG_SENSORS_LM75=m
> CONFIG_SENSORS_LM77=m
> CONFIG_SENSORS_LM78=m
> # CONFIG_SENSORS_LM80 is not set
> CONFIG_SENSORS_LM83=m
> CONFIG_SENSORS_LM85=m
> # CONFIG_SENSORS_LM87 is not set
> # CONFIG_SENSORS_LM90 is not set
> # CONFIG_SENSORS_LM92 is not set
> # CONFIG_SENSORS_LM93 is not set
> # CONFIG_SENSORS_MAX1619 is not set
> CONFIG_SENSORS_MAX6650=m
> CONFIG_SENSORS_PC87360=y
> CONFIG_SENSORS_PC87427=y
> # CONFIG_SENSORS_SIS5595 is not set
> # CONFIG_SENSORS_DME1737 is not set
> CONFIG_SENSORS_SMSC47M1=y
> CONFIG_SENSORS_SMSC47M192=m
> CONFIG_SENSORS_SMSC47B397=y
> # CONFIG_SENSORS_ADS7828 is not set
> # CONFIG_SENSORS_THMC50 is not set
> CONFIG_SENSORS_VIA686A=y
> CONFIG_SENSORS_VT1211=m
> # CONFIG_SENSORS_VT8231 is not set
> CONFIG_SENSORS_W83781D=m
> # CONFIG_SENSORS_W83791D is not set
> # CONFIG_SENSORS_W83792D is not set
> # CONFIG_SENSORS_W83793 is not set
> # CONFIG_SENSORS_W83L785TS is not set
> # CONFIG_SENSORS_W83L786NG is not set
> CONFIG_SENSORS_W83627HF=y
> CONFIG_SENSORS_W83627EHF=m
> # CONFIG_SENSORS_HDAPS is not set
> # CONFIG_SENSORS_APPLESMC is not set
> CONFIG_HWMON_DEBUG_CHIP=y
> CONFIG_THERMAL=y
> # CONFIG_WATCHDOG is not set
> 
> #
> # Sonics Silicon Backplane
> #
> CONFIG_SSB_POSSIBLE=y
> # CONFIG_SSB is not set
> 
> #
> # Multifunction device drivers
> #
> CONFIG_MFD_SM501=y
> 
> #
> # Multimedia devices
> #
> # CONFIG_VIDEO_DEV is not set
> CONFIG_DAB=y
> 
> #
> # Graphics support
> #
> CONFIG_AGP=y
> CONFIG_AGP_AMD64=m
> CONFIG_AGP_INTEL=y
> # CONFIG_AGP_SIS is not set
> # CONFIG_AGP_VIA is not set
> CONFIG_DRM=m
> # CONFIG_DRM_TDFX is not set
> # CONFIG_DRM_R128 is not set
> CONFIG_DRM_RADEON=m
> # CONFIG_DRM_I810 is not set
> # CONFIG_DRM_I830 is not set
> # CONFIG_DRM_I915 is not set
> # CONFIG_DRM_MGA is not set
> # CONFIG_DRM_SIS is not set
> # CONFIG_DRM_VIA is not set
> CONFIG_DRM_SAVAGE=m
> # CONFIG_VGASTATE is not set
> # CONFIG_VIDEO_OUTPUT_CONTROL is not set
> # CONFIG_FB is not set
> CONFIG_BACKLIGHT_LCD_SUPPORT=y
> # CONFIG_LCD_CLASS_DEVICE is not set
> CONFIG_BACKLIGHT_CLASS_DEVICE=y
> CONFIG_BACKLIGHT_CORGI=y
> CONFIG_BACKLIGHT_PROGEAR=m
> 
> #
> # Display device support
> #
> CONFIG_DISPLAY_SUPPORT=y
> 
> #
> # Display hardware drivers
> #
> 
> #
> # Console display driver support
> #
> CONFIG_VGA_CONSOLE=y
> CONFIG_VGACON_SOFT_SCROLLBACK=y
> CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64
> # CONFIG_VIDEO_SELECT is not set
> CONFIG_DUMMY_CONSOLE=y
> 
> #
> # Sound
> #
> CONFIG_SOUND=y
> 
> #
> # Advanced Linux Sound Architecture
> #
> # CONFIG_SND is not set
> 
> #
> # Open Sound System
> #
> CONFIG_SOUND_PRIME=y
> CONFIG_SOUND_TRIDENT=y
> CONFIG_SOUND_MSNDCLAS=m
> CONFIG_MSNDCLAS_INIT_FILE="/etc/sound/msndinit.bin"
> CONFIG_MSNDCLAS_PERM_FILE="/etc/sound/msndperm.bin"
> CONFIG_SOUND_MSNDPIN=m
> CONFIG_MSNDPIN_INIT_FILE="/etc/sound/pndspini.bin"
> CONFIG_MSNDPIN_PERM_FILE="/etc/sound/pndsperm.bin"
> CONFIG_SOUND_OSS=m
> CONFIG_SOUND_TRACEINIT=y
> # CONFIG_SOUND_DMAP is not set
> CONFIG_SOUND_SSCAPE=m
> # CONFIG_SOUND_VMIDI is not set
> CONFIG_SOUND_TRIX=m
> # CONFIG_SOUND_MSS is not set
> CONFIG_SOUND_MPU401=m
> CONFIG_SOUND_PAS=m
> CONFIG_SOUND_PSS=m
> # CONFIG_PSS_MIXER is not set
> CONFIG_PSS_HAVE_BOOT=y
> CONFIG_PSS_BOOT_FILE="/etc/sound/dsp001.ld"
> CONFIG_SOUND_SB=m
> CONFIG_SOUND_YM3812=m
> # CONFIG_SOUND_UART6850 is not set
> # CONFIG_SOUND_AEDSP16 is not set
> CONFIG_SOUND_KAHLUA=m
> CONFIG_AC97_BUS=m
> CONFIG_HID_SUPPORT=y
> CONFIG_HID=m
> CONFIG_HID_DEBUG=y
> CONFIG_HIDRAW=y
> # CONFIG_USB_SUPPORT is not set
> # CONFIG_MMC is not set
> CONFIG_MEMSTICK=y
> # CONFIG_MEMSTICK_DEBUG is not set
> 
> #
> # MemoryStick drivers
> #
> # CONFIG_MEMSTICK_UNSAFE_RESUME is not set
> 
> #
> # MemoryStick Host Controller Drivers
> #
> CONFIG_MEMSTICK_TIFM_MS=y
> # CONFIG_NEW_LEDS is not set
> CONFIG_INFINIBAND=m
> CONFIG_INFINIBAND_USER_MAD=m
> CONFIG_INFINIBAND_USER_ACCESS=m
> CONFIG_INFINIBAND_USER_MEM=y
> # CONFIG_INFINIBAND_MTHCA is not set
> CONFIG_INFINIBAND_IPATH=m
> CONFIG_MLX4_INFINIBAND=m
> # CONFIG_EDAC is not set
> # CONFIG_RTC_CLASS is not set
> # CONFIG_DMADEVICES is not set
> CONFIG_AUXDISPLAY=y
> CONFIG_KS0108=m
> CONFIG_KS0108_PORT=0x378
> CONFIG_KS0108_DELAY=2
> 
> #
> # Userspace I/O
> #
> CONFIG_UIO=y
> CONFIG_UIO_CIF=m
> 
> #
> # Firmware Drivers
> #
> CONFIG_EDD=m
> CONFIG_EFI_VARS=y
> # CONFIG_DELL_RBU is not set
> # CONFIG_DCDBAS is not set
> 
> #
> # File systems
> #
> CONFIG_FS_POSIX_ACL=y
> # CONFIG_DNOTIFY is not set
> CONFIG_INOTIFY=y
> CONFIG_INOTIFY_USER=y
> # CONFIG_QUOTA is not set
> # CONFIG_AUTOFS_FS is not set
> CONFIG_AUTOFS4_FS=y
> CONFIG_FUSE_FS=y
> 
> #
> # Pseudo filesystems
> #
> # CONFIG_PROC_FS is not set
> CONFIG_SYSFS=y
> # CONFIG_TMPFS is not set
> CONFIG_HUGETLBFS=y
> CONFIG_HUGETLB_PAGE=y
> CONFIG_CONFIGFS_FS=y
> 
> #
> # Layered filesystems
> #
> # CONFIG_ECRYPT_FS is not set
> 
> #
> # Miscellaneous filesystems
> #
> CONFIG_JFFS2_FS=m
> CONFIG_JFFS2_FS_DEBUG=0
> # CONFIG_JFFS2_FS_WRITEBUFFER is not set
> # CONFIG_JFFS2_SUMMARY is not set
> CONFIG_JFFS2_FS_XATTR=y
> CONFIG_JFFS2_FS_POSIX_ACL=y
> CONFIG_JFFS2_FS_SECURITY=y
> CONFIG_JFFS2_COMPRESSION_OPTIONS=y
> # CONFIG_JFFS2_ZLIB is not set
> # CONFIG_JFFS2_LZO is not set
> # CONFIG_JFFS2_RTIME is not set
> # CONFIG_JFFS2_RUBIN is not set
> # CONFIG_JFFS2_CMODE_NONE is not set
> # CONFIG_JFFS2_CMODE_PRIORITY is not set
> CONFIG_JFFS2_CMODE_SIZE=y
> # CONFIG_JFFS2_CMODE_FAVOURLZO is not set
> # CONFIG_NETWORK_FILESYSTEMS is not set
> # CONFIG_NLS is not set
> 
> #
> # Kernel hacking
> #
> CONFIG_TRACE_IRQFLAGS_SUPPORT=y
> # CONFIG_PRINTK_TIME is not set
> # CONFIG_ENABLE_WARN_DEPRECATED is not set
> # CONFIG_ENABLE_MUST_CHECK is not set
> # CONFIG_MAGIC_SYSRQ is not set
> # CONFIG_UNUSED_SYMBOLS is not set
> # CONFIG_PAGE_OWNER is not set
> CONFIG_DEBUG_FS=y
> # CONFIG_HEADERS_CHECK is not set
> CONFIG_DEBUG_KERNEL=y
> # CONFIG_DEBUG_SHIRQ is not set
> # CONFIG_DETECT_SOFTLOCKUP is not set
> CONFIG_SCHED_DEBUG=y
> CONFIG_SCHEDSTATS=y
> # CONFIG_DEBUG_RT_MUTEXES is not set
> # CONFIG_RT_MUTEX_TESTER is not set
> CONFIG_DEBUG_SPINLOCK=y
> CONFIG_DEBUG_MUTEXES=y
> CONFIG_DEBUG_LOCK_ALLOC=y
> CONFIG_PROVE_LOCKING=y
> CONFIG_LOCKDEP=y
> # CONFIG_LOCK_STAT is not set
> # CONFIG_DEBUG_LOCKDEP is not set
> CONFIG_TRACE_IRQFLAGS=y
> CONFIG_DEBUG_SPINLOCK_SLEEP=y
> CONFIG_DEBUG_LOCKING_API_SELFTESTS=y
> CONFIG_STACKTRACE=y
> CONFIG_DEBUG_KOBJECT=y
> # CONFIG_DEBUG_INFO is not set
> CONFIG_DEBUG_VM=y
> CONFIG_DEBUG_WRITECOUNT=y
> CONFIG_DEBUG_LIST=y
> CONFIG_DEBUG_SG=y
> CONFIG_FRAME_POINTER=y
> # CONFIG_PROFILE_LIKELY is not set
> CONFIG_BOOT_PRINTK_DELAY=y
> CONFIG_DEBUG_SYNCHRO_TEST=y
> # CONFIG_RCU_TORTURE_TEST is not set
> # CONFIG_KPROBES_SANITY_TEST is not set
> # CONFIG_BACKTRACE_SELF_TEST is not set
> CONFIG_FAULT_INJECTION=y
> # CONFIG_FAILSLAB is not set
> # CONFIG_FAIL_PAGE_ALLOC is not set
> # CONFIG_FAIL_MAKE_REQUEST is not set
> CONFIG_FAULT_INJECTION_DEBUG_FS=y
> CONFIG_LATENCYTOP=y
> CONFIG_HAVE_FTRACE=y
> CONFIG_TRACER_MAX_TRACE=y
> CONFIG_TRACING=y
> CONFIG_FTRACE=y
> CONFIG_IRQSOFF_TRACER=y
> # CONFIG_SCHED_TRACER is not set
> CONFIG_CONTEXT_SWITCH_TRACER=y
> CONFIG_DYNAMIC_FTRACE=y
> CONFIG_PROVIDE_OHCI1394_DMA_INIT=y
> # CONFIG_SAMPLES is not set
> CONFIG_EARLY_PRINTK=y
> # CONFIG_DEBUG_STACKOVERFLOW is not set
> CONFIG_DEBUG_STACK_USAGE=y
> # CONFIG_DEBUG_PAGEALLOC is not set
> CONFIG_DEBUG_RODATA=y
> # CONFIG_DEBUG_RODATA_TEST is not set
> CONFIG_DEBUG_NX_TEST=m
> CONFIG_X86_MPPARSE=y
> CONFIG_IO_DELAY_TYPE_0X80=0
> CONFIG_IO_DELAY_TYPE_0XED=1
> CONFIG_IO_DELAY_TYPE_UDELAY=2
> CONFIG_IO_DELAY_TYPE_NONE=3
> # CONFIG_IO_DELAY_0X80 is not set
> # CONFIG_IO_DELAY_0XED is not set
> # CONFIG_IO_DELAY_UDELAY is not set
> CONFIG_IO_DELAY_NONE=y
> CONFIG_DEFAULT_IO_DELAY_TYPE=3
> # CONFIG_DEBUG_BOOT_PARAMS is not set
> # CONFIG_CPA_DEBUG is not set
> 
> #
> # Security options
> #
> CONFIG_KEYS=y
> CONFIG_KEYS_DEBUG_PROC_KEYS=y
> CONFIG_SECURITY=y
> # CONFIG_SECURITY_NETWORK is not set
> # CONFIG_SECURITY_CAPABILITIES is not set
> CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR=0
> CONFIG_CRYPTO=y
> CONFIG_CRYPTO_ALGAPI=y
> CONFIG_CRYPTO_AEAD=y
> CONFIG_CRYPTO_BLKCIPHER=y
> CONFIG_CRYPTO_SEQIV=y
> CONFIG_CRYPTO_HASH=y
> CONFIG_CRYPTO_MANAGER=y
> # CONFIG_CRYPTO_HMAC is not set
> CONFIG_CRYPTO_XCBC=m
> # CONFIG_CRYPTO_NULL is not set
> # CONFIG_CRYPTO_MD4 is not set
> CONFIG_CRYPTO_MD5=m
> CONFIG_CRYPTO_SHA1=y
> # CONFIG_CRYPTO_SHA256 is not set
> CONFIG_CRYPTO_SHA512=y
> CONFIG_CRYPTO_WP512=m
> CONFIG_CRYPTO_TGR192=y
> CONFIG_CRYPTO_GF128MUL=y
> CONFIG_CRYPTO_ECB=y
> CONFIG_CRYPTO_CBC=y
> CONFIG_CRYPTO_PCBC=y
> CONFIG_CRYPTO_LRW=m
> CONFIG_CRYPTO_XTS=y
> CONFIG_CRYPTO_CTR=y
> CONFIG_CRYPTO_GCM=y
> CONFIG_CRYPTO_CCM=y
> CONFIG_CRYPTO_CRYPTD=m
> CONFIG_CRYPTO_DES=y
> CONFIG_CRYPTO_FCRYPT=y
> CONFIG_CRYPTO_BLOWFISH=m
> CONFIG_CRYPTO_TWOFISH=m
> CONFIG_CRYPTO_TWOFISH_COMMON=m
> CONFIG_CRYPTO_TWOFISH_X86_64=m
> CONFIG_CRYPTO_SERPENT=y
> CONFIG_CRYPTO_AES=y
> CONFIG_CRYPTO_AES_X86_64=y
> # CONFIG_CRYPTO_CAST5 is not set
> CONFIG_CRYPTO_CAST6=m
> CONFIG_CRYPTO_TEA=y
> CONFIG_CRYPTO_ARC4=y
> CONFIG_CRYPTO_KHAZAD=y
> CONFIG_CRYPTO_ANUBIS=y
> # CONFIG_CRYPTO_SEED is not set
> CONFIG_CRYPTO_SALSA20=y
> CONFIG_CRYPTO_SALSA20_X86_64=m
> CONFIG_CRYPTO_DEFLATE=y
> CONFIG_CRYPTO_MICHAEL_MIC=m
> CONFIG_CRYPTO_CRC32C=y
> # CONFIG_CRYPTO_CAMELLIA is not set
> # CONFIG_CRYPTO_TEST is not set
> CONFIG_CRYPTO_AUTHENC=y
> CONFIG_CRYPTO_LZO=m
> # CONFIG_CRYPTO_HW is not set
> CONFIG_HAVE_KVM=y
> CONFIG_VIRTUALIZATION=y
> # CONFIG_KVM is not set
> # CONFIG_VIRTIO_PCI is not set
> # CONFIG_VIRTIO_BALLOON is not set
> 
> #
> # Library routines
> #
> CONFIG_BITREVERSE=y
> CONFIG_CRC_CCITT=y
> CONFIG_CRC16=m
> CONFIG_CRC_ITU_T=y
> CONFIG_CRC32=y
> # CONFIG_CRC7 is not set
> CONFIG_LIBCRC32C=y
> CONFIG_ZLIB_INFLATE=y
> CONFIG_ZLIB_DEFLATE=y
> CONFIG_LZO_COMPRESS=m
> CONFIG_LZO_DECOMPRESS=m
> CONFIG_PLIST=y
> CONFIG_HAS_IOMEM=y
> CONFIG_HAS_IOPORT=y
> CONFIG_HAS_DMA=y

-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: 2.6.25-rc2-mm1 (x64 thermal build failure)
       [not found] <20080216002522.9c4bd0fb.akpm@linux-foundation.org>
  2008-02-16 19:47 ` [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os Kamalesh Babulal
@ 2008-02-17  5:16 ` Randy Dunlap
  2008-02-17  5:44   ` Andrew Morton
  1 sibling, 1 reply; 27+ messages in thread
From: Randy Dunlap @ 2008-02-17  5:16 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, len.brown, linux-acpi

On Sat, 16 Feb 2008 00:25:22 -0800 Andrew Morton wrote:

> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc2/2.6.25-rc2-mm1/

ACPI is enabled, but DMI=n.

linux-2.6.25-rc2-mm1/drivers/acpi/thermal.c: In function 'acpi_thermal_init':
linux-2.6.25-rc2-mm1/drivers/acpi/thermal.c:1792: error: 'thermal_dmi_table' undeclared (first use in this function)
linux-2.6.25-rc2-mm1/drivers/acpi/thermal.c:1792: error: (Each undeclared identifier is reported only once
linux-2.6.25-rc2-mm1/drivers/acpi/thermal.c:1792: error: for each function it appears in.)
make[3]: *** [drivers/acpi/thermal.o] Error 1


---
~Randy

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: 2.6.25-rc2-mm1 (x64 thermal build failure)
  2008-02-17  5:16 ` 2.6.25-rc2-mm1 (x64 thermal build failure) Randy Dunlap
@ 2008-02-17  5:44   ` Andrew Morton
  2008-02-18 10:15     ` Thomas Petazzoni
  0 siblings, 1 reply; 27+ messages in thread
From: Andrew Morton @ 2008-02-17  5:44 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-kernel, len.brown, linux-acpi, Thomas Petazzoni

On Sat, 16 Feb 2008 21:16:03 -0800 Randy Dunlap <randy.dunlap@oracle.com> wrote:

> On Sat, 16 Feb 2008 00:25:22 -0800 Andrew Morton wrote:
> 
> > 
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.25-rc2/2.6.25-rc2-mm1/
> 
> ACPI is enabled, but DMI=n.
> 
> linux-2.6.25-rc2-mm1/drivers/acpi/thermal.c: In function 'acpi_thermal_init':
> linux-2.6.25-rc2-mm1/drivers/acpi/thermal.c:1792: error: 'thermal_dmi_table' undeclared (first use in this function)
> linux-2.6.25-rc2-mm1/drivers/acpi/thermal.c:1792: error: (Each undeclared identifier is reported only once
> linux-2.6.25-rc2-mm1/drivers/acpi/thermal.c:1792: error: for each function it appears in.)
> make[3]: *** [drivers/acpi/thermal.o] Error 1
> 

Bustage in x86-configurable-dmi-scanning-code.patch.  Previously, DMI=y was
just hardwired.  Now, it becomes selectable and stuff breaks.

I guess the DMI=n version of dmi_check_system() could become a macro so we
don't emit a reference to its argument, but that might generate
unused-variable warnings elsewhere.


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: 2.6.25-rc2-mm1 (x64 thermal build failure)
  2008-02-17  5:44   ` Andrew Morton
@ 2008-02-18 10:15     ` Thomas Petazzoni
  2008-02-18 12:13       ` Andrew Morton
  0 siblings, 1 reply; 27+ messages in thread
From: Thomas Petazzoni @ 2008-02-18 10:15 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Randy Dunlap, linux-kernel, len.brown, linux-acpi, michael

[-- Attachment #1: Type: text/plain, Size: 2912 bytes --]

Hi,

Le Sat, 16 Feb 2008 21:44:10 -0800,
Andrew Morton <akpm@linux-foundation.org> a écrit :

> Bustage in x86-configurable-dmi-scanning-code.patch.  Previously,
> DMI=y was just hardwired.  Now, it becomes selectable and stuff
> breaks.
> 
> I guess the DMI=n version of dmi_check_system() could become a macro
> so we don't emit a reference to its argument, but that might generate
> unused-variable warnings elsewhere.

Thanks for your report. The issue is that some DMI fixup tables and
callbacks are defined inside #ifdef CONFIG_DMI, some others are not. We
need to normalize that to fix the build issue in all situations.

I've thought about it, and I see two options, but I can't decide which
one is the best, so I request your opinion on that.

 1) Remove the #ifdef CONFIG_DMI around DMI fixup tables and callbacks
    definition, so that everything exists and gcc is happy. gcc is able
    to optimize out the DMI fixup table (it is not present in the binary
    when compiling with DMI=n), but gcc doesn't seem to be able to
    optimize out the DMI fixup callbacks (they are still present in the
    binary). So this would leave some unused code in the binary, which
    is not completely satisfying.

 2) Define macros such as DECLARE_DMI_FIXUP_TABLE and
    DECLARE_DMI_FIXUP_CALLBACK, which could then be used like this:

DECLARE_DMI_FIXUP_CALLBACK(set_bios_reboot, __init, d, {
	if (reboot_type != BOOT_BIOS) {
		reboot_type = BOOT_BIOS;
		printk(KERN_INFO "%s series board detected. Selecting BIOS-method for reboots.\n", d->ident);
	}
	return 0;
});

DECLARE_DMI_FIXUP_TABLE(reboot_dmi_table, __initdata, {
	{	/* Handle problems with rebooting on Dell E520's */
		.callback = set_bios_reboot,
		.ident = "Dell E520",
		.matches = {
			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
			DMI_MATCH(DMI_PRODUCT_NAME, "Dell DM061"),
		},
	}
});

     And use them everywhere, so that DMI fixup tables and callbacks
     are properly compiled out when DMI=n. Here are the macro definition:

#ifdef CONFIG_DMI

#define DECLARE_DMI_FIXUP_TABLE(name, opts, contents...) \
	static struct dmi_system_id opts name [] = contents

#define DECLARE_DMI_FIXUP_CALLBACK(name, opts, id, contents...) \
	static int opts name(const struct dmi_system_id *id) contents

#else

#define DECLARE_DMI_FIXUP_TABLE(name, opts, contents...)

#define DECLARE_DMI_FIXUP_CALLBACK(name, opts, contents...)

#endif

     The issue I have with this option is that there are sometimes
     "driver_data" associated to DMI callbacks (see
     drivers/input/misc/wistron_btns.c for example) and I don't exactly
      see how to create a similar DECLARE_DMI_FIXUP_CALLBACK_DATA macro.

Thanks for your insights,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: 2.6.25-rc2-mm1 (x64 thermal build failure)
  2008-02-18 10:15     ` Thomas Petazzoni
@ 2008-02-18 12:13       ` Andrew Morton
  2008-02-19 15:55         ` Thomas Petazzoni
  0 siblings, 1 reply; 27+ messages in thread
From: Andrew Morton @ 2008-02-18 12:13 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: Randy Dunlap, linux-kernel, len.brown, linux-acpi, michael

On Mon, 18 Feb 2008 11:15:36 +0100 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:

> Hi,
> 
> Le Sat, 16 Feb 2008 21:44:10 -0800,
> Andrew Morton <akpm@linux-foundation.org> a __crit :
> 
> > Bustage in x86-configurable-dmi-scanning-code.patch.  Previously,
> > DMI=y was just hardwired.  Now, it becomes selectable and stuff
> > breaks.
> > 
> > I guess the DMI=n version of dmi_check_system() could become a macro
> > so we don't emit a reference to its argument, but that might generate
> > unused-variable warnings elsewhere.
> 
> Thanks for your report. The issue is that some DMI fixup tables and
> callbacks are defined inside #ifdef CONFIG_DMI, some others are not. We
> need to normalize that to fix the build issue in all situations.
> 
> I've thought about it, and I see two options, but I can't decide which
> one is the best, so I request your opinion on that.
> 
>  1) Remove the #ifdef CONFIG_DMI around DMI fixup tables and callbacks
>     definition, so that everything exists and gcc is happy. gcc is able
>     to optimize out the DMI fixup table (it is not present in the binary
>     when compiling with DMI=n), but gcc doesn't seem to be able to
>     optimize out the DMI fixup callbacks (they are still present in the
>     binary). So this would leave some unused code in the binary, which
>     is not completely satisfying.
> 
>  2) Define macros such as DECLARE_DMI_FIXUP_TABLE and
>     DECLARE_DMI_FIXUP_CALLBACK, which could then be used like this:
> 
> DECLARE_DMI_FIXUP_CALLBACK(set_bios_reboot, __init, d, {
> 	if (reboot_type != BOOT_BIOS) {
> 		reboot_type = BOOT_BIOS;
> 		printk(KERN_INFO "%s series board detected. Selecting BIOS-method for reboots.\n", d->ident);
> 	}
> 	return 0;
> });
> 
> DECLARE_DMI_FIXUP_TABLE(reboot_dmi_table, __initdata, {
> 	{	/* Handle problems with rebooting on Dell E520's */
> 		.callback = set_bios_reboot,
> 		.ident = "Dell E520",
> 		.matches = {
> 			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
> 			DMI_MATCH(DMI_PRODUCT_NAME, "Dell DM061"),
> 		},
> 	}
> });
> 
>      And use them everywhere, so that DMI fixup tables and callbacks
>      are properly compiled out when DMI=n. Here are the macro definition:
> 
> #ifdef CONFIG_DMI
> 
> #define DECLARE_DMI_FIXUP_TABLE(name, opts, contents...) \
> 	static struct dmi_system_id opts name [] = contents
> 
> #define DECLARE_DMI_FIXUP_CALLBACK(name, opts, id, contents...) \
> 	static int opts name(const struct dmi_system_id *id) contents
> 
> #else
> 
> #define DECLARE_DMI_FIXUP_TABLE(name, opts, contents...)
> 
> #define DECLARE_DMI_FIXUP_CALLBACK(name, opts, contents...)
> 
> #endif
> 
>      The issue I have with this option is that there are sometimes
>      "driver_data" associated to DMI callbacks (see
>      drivers/input/misc/wistron_btns.c for example) and I don't exactly
>       see how to create a similar DECLARE_DMI_FIXUP_CALLBACK_DATA macro.
> 

Option 3 wold be to add more #ifdef CONFIG_DMI lines around the place.  How
ugly would that get?


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: 2.6.25-rc2-mm1 (x64 thermal build failure)
  2008-02-18 12:13       ` Andrew Morton
@ 2008-02-19 15:55         ` Thomas Petazzoni
  2008-02-19 17:41           ` Randy Dunlap
  2008-02-19 23:21           ` Andrew Morton
  0 siblings, 2 replies; 27+ messages in thread
From: Thomas Petazzoni @ 2008-02-19 15:55 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Randy Dunlap, linux-kernel, len.brown, linux-acpi, michael

[-- Attachment #1: Type: text/plain, Size: 27124 bytes --]

Le Mon, 18 Feb 2008 04:13:40 -0800,
Andrew Morton <akpm@linux-foundation.org> a écrit :

> Option 3 wold be to add more #ifdef CONFIG_DMI lines around the
> place.  How ugly would that get?

Like the attached patch. #ifdef CONFIG_DMI everywhere :-(

Sincerly,

Thomas

---

Turn CONFIG_DMI into a selectable option if EMBEDDED is defined, in
order to be able to remove the DMI table scanning code if it's not
needed, and then reduce the kernel code size.

The DMI code users are modified, so that they either depend on
CONFIG_DMI (for the drivers who really need DMI to work) or their
DMI-related code is enclosed in #ifdef CONFIG_DMI.

With CONFIG_DMI (i.e before) :

   text    data     bss     dec     hex filename
1076076  128656   98304 1303036  13e1fc vmlinux

Without CONFIG_DMI (i.e after) :

   text    data     bss     dec     hex filename
1068092  126308   98304 1292704  13b9a0 vmlinux

Result:

   text    data     bss     dec     hex filename
  -7984   -2348       0  -10332   -285c vmlinux

The new option appears in "Processor type and features", only when
CONFIG_EMBEDDED is defined.

This patch is part of the Linux Tiny project, and is based on previous
work done by Matt Mackall <mpm@selenic.com>.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

---
 arch/x86/Kconfig                           |   13 ++++++++++---
 arch/x86/kernel/acpi/boot.c                |    4 ++--
 arch/x86/kernel/acpi/sleep_32.c            |    2 ++
 arch/x86/kernel/apm_32.c                   |    2 ++
 arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c |    4 ++--
 arch/x86/kernel/cpu/cpufreq/powernow-k7.c  |    3 ++-
 arch/x86/kernel/io_delay.c                 |    2 ++
 arch/x86/kernel/reboot.c                   |    2 ++
 arch/x86/kernel/tsc_32.c                   |    2 ++
 arch/x86/mach-generic/bigsmp.c             |    3 ++-
 arch/x86/pci/acpi.c                        |    2 ++
 arch/x86/pci/common.c                      |    2 ++
 arch/x86/pci/fixup.c                       |    5 ++++-
 arch/x86/pci/irq.c                         |    2 ++
 drivers/acpi/sleep/main.c                  |    2 ++
 drivers/ata/ahci.c                         |    2 ++
 drivers/ata/ata_piix.c                     |    4 ++++
 drivers/ata/pata_cs5530.c                  |    2 ++
 drivers/ata/pata_via.c                     |    3 ++-
 drivers/char/Kconfig                       |    2 +-
 drivers/hwmon/Kconfig                      |    2 ++
 drivers/hwmon/abituguru.c                  |    2 --
 drivers/i2c/busses/i2c-piix4.c             |    2 ++
 drivers/ide/ide-acpi.c                     |    3 +++
 drivers/ide/pci/alim15x3.c                 |    3 ++-
 drivers/ide/pci/via82cxxx.c                |    3 ++-
 drivers/input/keyboard/atkbd.c             |    4 ++++
 drivers/input/misc/wistron_btns.c          |    2 ++
 drivers/input/mouse/lifebook.c             |    5 +++--
 drivers/input/mouse/synaptics.c            |    2 +-
 drivers/leds/leds-clevo-mail.c             |    2 ++
 drivers/misc/Kconfig                       |    1 +
 drivers/misc/acer-wmi.c                    |   14 ++++++++------
 drivers/misc/sony-laptop.c                 |    4 ++++
 drivers/net/via-rhine.c                    |    2 ++
 drivers/pnp/pnpbios/core.c                 |    2 ++
 drivers/pnp/quirks.c                       |    2 ++
 drivers/video/Kconfig                      |    2 +-
 include/linux/dmi.h                        |    3 ++-
 39 files changed, 96 insertions(+), 27 deletions(-)

Index: linux/arch/x86/Kconfig
===================================================================
--- linux.orig/arch/x86/Kconfig
+++ linux/arch/x86/Kconfig
@@ -90,9 +90,6 @@
 config ARCH_MAY_HAVE_PC_FDC
 	def_bool y
 
-config DMI
-	def_bool y
-
 config RWSEM_GENERIC_SPINLOCK
 	def_bool !X86_XADD
 
@@ -433,6 +430,15 @@
 
 # Mark as embedded because too many people got it wrong.
 # The code disables itself when not needed.
+config DMI
+	default y
+	bool "Enable DMI scanning" if EMBEDDED
+	help
+	  Enabled scanning of DMI to identify machine quirks. Say Y
+	  here unless you have verified that your setup is not
+	  affected by entries in the DMI blacklist. Required by PNP
+	  BIOS code.
+
 config GART_IOMMU
 	bool "GART IOMMU support" if EMBEDDED
 	default y
@@ -645,6 +651,7 @@
 
 config I8K
 	tristate "Dell laptop support"
+	depends on DMI
 	---help---
 	  This adds a driver to safely access the System Management Mode
 	  of the CPU on the Dell Inspiron 8000. The System Management Mode
Index: linux/arch/x86/kernel/acpi/boot.c
===================================================================
--- linux.orig/arch/x86/kernel/acpi/boot.c
+++ linux/arch/x86/kernel/acpi/boot.c
@@ -900,7 +900,7 @@
 	return;
 }
 
-#ifdef __i386__
+#if defined(__i386__) && defined(CONFIG_DMI)
 
 static int __init disable_acpi_irq(const struct dmi_system_id *d)
 {
@@ -1121,7 +1121,7 @@
 	{}
 };
 
-#endif				/* __i386__ */
+#endif				/* __i386__ && CONFIG_DMI */
 
 /*
  * acpi_boot_table_init() and acpi_boot_init()
Index: linux/arch/x86/kernel/acpi/sleep_32.c
===================================================================
--- linux.orig/arch/x86/kernel/acpi/sleep_32.c
+++ linux/arch/x86/kernel/acpi/sleep_32.c
@@ -12,6 +12,7 @@
 
 #include <asm/smp.h>
 
+#ifdef CONFIG_DMI
 /* Ouch, we want to delete this. We already have better version in userspace, in
    s2ram from suspend.sf.net project */
 static __init int reset_videomode_after_s3(const struct dmi_system_id *d)
@@ -30,6 +31,7 @@
 	 },
 	{}
 };
+#endif /* CONFIG_DMI */
 
 static int __init acpisleep_dmi_init(void)
 {
Index: linux/arch/x86/kernel/apm_32.c
===================================================================
--- linux.orig/arch/x86/kernel/apm_32.c
+++ linux/arch/x86/kernel/apm_32.c
@@ -1884,6 +1884,7 @@
 	&apm_bios_fops
 };
 
+#ifdef CONFIG_DMI
 
 /* Simple "print if true" callback */
 static int __init print_if_true(const struct dmi_system_id *d)
@@ -2204,6 +2205,7 @@
 
 	{ }
 };
+#endif /* CONFIG_DMI */
 
 /*
  * Just start the APM thread. We do NOT want to do APM BIOS
Index: linux/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
===================================================================
--- linux.orig/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
+++ linux/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c
@@ -525,7 +525,7 @@
 	return 0;
 }
 
-#ifdef CONFIG_SMP
+#if defined(CONFIG_SMP) && defined(CONFIG_DMI)
 /*
  * Some BIOSes do SW_ANY coordination internally, either set it up in hw
  * or do it in BIOS firmware and won't inform about it to OS. If not
@@ -592,7 +592,7 @@
 		policy->cpus = perf->shared_cpu_map;
 	}
 
-#ifdef CONFIG_SMP
+#if defined(CONFIG_SMP) && defined(CONFIG_DMI)
 	dmi_check_system(sw_any_bug_dmi_table);
 	if (bios_with_sw_any_bug && cpus_weight(policy->cpus) == 1) {
 		policy->shared_type = CPUFREQ_SHARED_TYPE_ALL;
Index: linux/arch/x86/kernel/cpu/cpufreq/powernow-k7.c
===================================================================
--- linux.orig/arch/x86/kernel/cpu/cpufreq/powernow-k7.c
+++ linux/arch/x86/kernel/cpu/cpufreq/powernow-k7.c
@@ -564,7 +564,7 @@
 	return (fsb * fid_codes[cfid] / 10);
 }
 
-
+#ifdef CONFIG_DMI
 static int __init acer_cpufreq_pst(const struct dmi_system_id *d)
 {
 	printk(KERN_WARNING "%s laptop with broken PST tables in BIOS detected.\n", d->ident);
@@ -589,6 +589,7 @@
 	},
 	{ }
 };
+#endif /* CONFIG_DMI */
 
 static int __init powernow_cpu_init (struct cpufreq_policy *policy)
 {
Index: linux/arch/x86/kernel/io_delay.c
===================================================================
--- linux.orig/arch/x86/kernel/io_delay.c
+++ linux/arch/x86/kernel/io_delay.c
@@ -45,6 +45,7 @@
 }
 EXPORT_SYMBOL(native_io_delay);
 
+#ifdef CONFIG_DMI
 static int __init dmi_io_delay_0xed_port(const struct dmi_system_id *id)
 {
 	if (io_delay_type == CONFIG_IO_DELAY_TYPE_0X80) {
@@ -87,6 +88,7 @@
 	},
 	{ }
 };
+#endif /* CONFIG_DMI */
 
 void __init io_delay_init(void)
 {
Index: linux/arch/x86/kernel/reboot.c
===================================================================
--- linux.orig/arch/x86/kernel/reboot.c
+++ linux/arch/x86/kernel/reboot.c
@@ -109,6 +109,7 @@
  * Some machines require the "reboot=b"  commandline option,
  * this quirk makes that automatic.
  */
+#ifdef CONFIG_DMI
 static int __init set_bios_reboot(const struct dmi_system_id *d)
 {
 	if (reboot_type != BOOT_BIOS) {
@@ -170,6 +171,7 @@
 	},
 	{ }
 };
+#endif /* CONFIG_DMI */
 
 static int __init reboot_init(void)
 {
Index: linux/arch/x86/kernel/tsc_32.c
===================================================================
--- linux.orig/arch/x86/kernel/tsc_32.c
+++ linux/arch/x86/kernel/tsc_32.c
@@ -322,6 +322,7 @@
 }
 EXPORT_SYMBOL_GPL(mark_tsc_unstable);
 
+#ifdef CONFIG_DMI
 static int __init dmi_mark_tsc_unstable(const struct dmi_system_id *d)
 {
 	printk(KERN_NOTICE "%s detected: marking TSC unstable.\n",
@@ -342,6 +343,7 @@
 	 },
 	 {}
 };
+#endif /* CONFIG_DMI */
 
 /*
  * Make an educated guess if the TSC is trustworthy and synchronized
Index: linux/arch/x86/mach-generic/bigsmp.c
===================================================================
--- linux.orig/arch/x86/mach-generic/bigsmp.c
+++ linux/arch/x86/mach-generic/bigsmp.c
@@ -21,6 +21,7 @@
 
 static int dmi_bigsmp; /* can be set by dmi scanners */
 
+#ifdef CONFIG_DMI
 static int hp_ht_bigsmp(const struct dmi_system_id *d)
 {
 #ifdef CONFIG_X86_GENERICARCH
@@ -43,7 +44,7 @@
 	 }},
 	 { }
 };
-
+#endif /* CONFIG_DMI */
 
 static int probe_bigsmp(void)
 { 
Index: linux/arch/x86/pci/acpi.c
===================================================================
--- linux.orig/arch/x86/pci/acpi.c
+++ linux/arch/x86/pci/acpi.c
@@ -6,6 +6,7 @@
 #include <asm/numa.h>
 #include "pci.h"
 
+#ifdef CONFIG_DMI
 static int __devinit can_skip_ioresource_align(const struct dmi_system_id *d)
 {
 	pci_probe |= PCI_CAN_SKIP_ISA_ALIGN;
@@ -44,6 +45,7 @@
 	},
 	{}
 };
+#endif /* CONFIG_DMI */
 
 struct pci_root_info {
 	char *name;
Index: linux/arch/x86/pci/common.c
===================================================================
--- linux.orig/arch/x86/pci/common.c
+++ linux/arch/x86/pci/common.c
@@ -158,6 +158,7 @@
 		pcibios_fixup_device_resources(dev);
 }
 
+#ifdef CONFIG_DMI
 /*
  * Only use DMI information to set this if nothing was passed
  * on the kernel command line (which was parsed earlier).
@@ -371,6 +372,7 @@
 	},
 	{}
 };
+#endif /* CONFIG_DMI */
 
 struct pci_bus * __devinit pcibios_scan_root(int busnum)
 {
Index: linux/arch/x86/pci/fixup.c
===================================================================
--- linux.orig/arch/x86/pci/fixup.c
+++ linux/arch/x86/pci/fixup.c
@@ -355,7 +355,7 @@
 }
 DECLARE_PCI_FIXUP_FINAL(PCI_ANY_ID, PCI_ANY_ID, pci_fixup_video);
 
-
+#ifdef CONFIG_DMI
 static struct dmi_system_id __devinitdata msi_k8t_dmi_table[] = {
 	{
 		.ident = "MSI-K8T-Neo2Fir",
@@ -366,6 +366,7 @@
 	},
 	{}
 };
+#endif /* CONFIG_DMI */
 
 /*
  * The AMD-Athlon64 board MSI "K8T Neo2-FIR" disables the onboard sound
@@ -413,6 +414,7 @@
  */
 static u16 toshiba_line_size;
 
+#ifdef CONFIG_DMI
 static struct dmi_system_id __devinitdata toshiba_ohci1394_dmi_table[] = {
 	{
 		.ident = "Toshiba PS5 based laptop",
@@ -437,6 +439,7 @@
 	},
 	{ }
 };
+#endif /* CONFIG_DMI */
 
 static void __devinit pci_pre_fixup_toshiba_ohci1394(struct pci_dev *dev)
 {
Index: linux/arch/x86/pci/irq.c
===================================================================
--- linux.orig/arch/x86/pci/irq.c
+++ linux/arch/x86/pci/irq.c
@@ -1057,6 +1057,7 @@
 	}
 }
 
+#ifdef CONFIG_DMI
 /*
  * Work around broken HP Pavilion Notebooks which assign USB to
  * IRQ 9 even though it is actually wired to IRQ 11
@@ -1104,6 +1105,7 @@
 	},
 	{ }
 };
+#endif /* CONFIG_DMI */
 
 static int __init pcibios_irq_init(void)
 {
Index: linux/drivers/acpi/sleep/main.c
===================================================================
--- linux.orig/drivers/acpi/sleep/main.c
+++ linux/drivers/acpi/sleep/main.c
@@ -261,6 +261,7 @@
 	.end = acpi_pm_end,
 };
 
+#ifdef CONFIG_DMI
 /*
  * Toshiba fails to preserve interrupts over S1, reinitialization
  * of 8259 is needed after S1 resume.
@@ -280,6 +281,7 @@
 	 },
 	{},
 };
+#endif /* CONFIG_DMI */
 #endif /* CONFIG_SUSPEND */
 
 #ifdef CONFIG_HIBERNATION
Index: linux/drivers/ata/ahci.c
===================================================================
--- linux.orig/drivers/ata/ahci.c
+++ linux/drivers/ata/ahci.c
@@ -2164,6 +2164,7 @@
  */
 static void ahci_p5wdh_workaround(struct ata_host *host)
 {
+#ifdef CONFIG_DMI
 	static struct dmi_system_id sysids[] = {
 		{
 			.ident = "P5W DH Deluxe",
@@ -2175,6 +2176,7 @@
 		},
 		{ }
 	};
+#endif /* CONFIG_DMI */
 	struct pci_dev *pdev = to_pci_dev(host->dev);
 
 	if (pdev->bus->number == 0 && pdev->devfn == PCI_DEVFN(0x1f, 2) &&
Index: linux/drivers/ata/ata_piix.c
===================================================================
--- linux.orig/drivers/ata/ata_piix.c
+++ linux/drivers/ata/ata_piix.c
@@ -1200,6 +1200,7 @@
 #ifdef CONFIG_PM
 static int piix_broken_suspend(void)
 {
+#ifdef CONFIG_DMI
 	static const struct dmi_system_id sysids[] = {
 		{
 			.ident = "TECRA M3",
@@ -1309,6 +1310,7 @@
 
 		{ }	/* terminate list */
 	};
+#endif /* CONFIG_DMI */
 	static const char *oemstrs[] = {
 		"Tecra M3,",
 	};
@@ -1555,6 +1557,7 @@
 
 static void piix_iocfg_bit18_quirk(struct pci_dev *pdev)
 {
+#ifdef CONFIG_DMI
 	static const struct dmi_system_id sysids[] = {
 		{
 			/* Clevo M570U sets IOCFG bit 18 if the cdrom
@@ -1570,6 +1573,7 @@
 
 		{ }	/* terminate list */
 	};
+#endif /* CONFIG_DMI */
 	u32 iocfg;
 
 	if (!dmi_check_system(sysids))
Index: linux/drivers/ata/pata_cs5530.c
===================================================================
--- linux.orig/drivers/ata/pata_cs5530.c
+++ linux/drivers/ata/pata_cs5530.c
@@ -212,6 +212,7 @@
 	.port_start	= ata_sff_port_start,
 };
 
+#ifdef CONFIG_DMI
 static const struct dmi_system_id palmax_dmi_table[] = {
 	{
 		.ident = "Palmax PD1100",
@@ -222,6 +223,7 @@
 	},
 	{ }
 };
+#endif /* CONFIG_DMI */
 
 static int cs5530_is_palmax(void)
 {
Index: linux/drivers/ata/pata_via.c
===================================================================
--- linux.orig/drivers/ata/pata_via.c
+++ linux/drivers/ata/pata_via.c
@@ -129,7 +129,7 @@
 /*
  *	Cable special cases
  */
-
+#ifdef CONFIG_DMI
 static const struct dmi_system_id cable_dmi_table[] = {
 	{
 		.ident = "Acer Ferrari 3400",
@@ -140,6 +140,7 @@
 	},
 	{ }
 };
+#endif /* CONFIG_DMI */
 
 static int via_cable_override(struct pci_dev *pdev)
 {
Index: linux/drivers/char/Kconfig
===================================================================
--- linux.orig/drivers/char/Kconfig
+++ linux/drivers/char/Kconfig
@@ -869,7 +869,7 @@
 
 config SONYPI
 	tristate "Sony Vaio Programmable I/O Control Device support (EXPERIMENTAL)"
-	depends on EXPERIMENTAL && X86 && PCI && INPUT && !64BIT
+	depends on EXPERIMENTAL && X86 && PCI && INPUT && !64BIT && DMI
 	---help---
 	  This driver enables access to the Sony Programmable I/O Control
 	  Device which can be found in many (all ?) Sony Vaio laptops.
Index: linux/drivers/hwmon/Kconfig
===================================================================
--- linux.orig/drivers/hwmon/Kconfig
+++ linux/drivers/hwmon/Kconfig
@@ -733,6 +733,7 @@
 	tristate "IBM Hard Drive Active Protection System (hdaps)"
 	depends on INPUT && X86
 	select INPUT_POLLDEV
+	select DMI
 	default n
 	help
 	  This driver provides support for the IBM Hard Drive Active Protection
@@ -755,6 +756,7 @@
 	select NEW_LEDS
 	select LEDS_CLASS
 	select INPUT_POLLDEV
+	select DMI
 	default n
 	help
 	  This driver provides support for the Apple System Management
Index: linux/drivers/hwmon/abituguru.c
===================================================================
--- linux.orig/drivers/hwmon/abituguru.c
+++ linux/drivers/hwmon/abituguru.c
@@ -1448,14 +1448,12 @@
 	int address, err;
 	struct resource res = { .flags = IORESOURCE_IO };
 
-#ifdef CONFIG_DMI
 	const char *board_vendor = dmi_get_system_info(DMI_BOARD_VENDOR);
 
 	/* safety check, refuse to load on non Abit motherboards */
 	if (!force && (!board_vendor ||
 			strcmp(board_vendor, "http://www.abit.com.tw/")))
 		return -ENODEV;
-#endif
 
 	address = abituguru_detect();
 	if (address < 0)
Index: linux/drivers/i2c/busses/i2c-piix4.c
===================================================================
--- linux.orig/drivers/i2c/busses/i2c-piix4.c
+++ linux/drivers/i2c/busses/i2c-piix4.c
@@ -108,6 +108,7 @@
 static struct pci_driver piix4_driver;
 static struct i2c_adapter piix4_adapter;
 
+#ifdef CONFIG_DMI
 static struct dmi_system_id __devinitdata piix4_dmi_table[] = {
 	{
 		.ident = "IBM",
@@ -115,6 +116,7 @@
 	},
 	{ },
 };
+#endif
 
 static int __devinit piix4_setup(struct pci_dev *PIIX4_dev,
 				const struct pci_device_id *id)
Index: linux/drivers/ide/ide-acpi.c
===================================================================
--- linux.orig/drivers/ide/ide-acpi.c
+++ linux/drivers/ide/ide-acpi.c
@@ -65,6 +65,8 @@
 extern int ide_noacpionboot;
 
 static bool ide_noacpi_psx;
+
+#ifdef CONFIG_DMI
 static int no_acpi_psx(const struct dmi_system_id *id)
 {
 	ide_noacpi_psx = true;
@@ -86,6 +88,7 @@
 
 	{ }	/* terminate list */
 };
+#endif /* CONFIG_DMI */
 
 static int ide_acpi_blacklist(void)
 {
Index: linux/drivers/ide/pci/alim15x3.c
===================================================================
--- linux.orig/drivers/ide/pci/alim15x3.c
+++ linux/drivers/ide/pci/alim15x3.c
@@ -571,7 +571,7 @@
 /*
  *	Cable special cases
  */
-
+#ifdef CONFIG_DMI
 static const struct dmi_system_id cable_dmi_table[] = {
 	{
 		.ident = "HP Pavilion N5430",
@@ -589,6 +589,7 @@
 	},
 	{ }
 };
+#endif /* CONFIG_DMI */
 
 static int ali_cable_override(struct pci_dev *pdev)
 {
Index: linux/drivers/ide/pci/via82cxxx.c
===================================================================
--- linux.orig/drivers/ide/pci/via82cxxx.c
+++ linux/drivers/ide/pci/via82cxxx.c
@@ -375,7 +375,7 @@
 /*
  *	Cable special cases
  */
-
+#ifdef CONFIG_DMI
 static const struct dmi_system_id cable_dmi_table[] = {
 	{
 		.ident = "Acer Ferrari 3400",
@@ -386,6 +386,7 @@
 	},
 	{ }
 };
+#endif /* CONFIG_DMI */
 
 static int via_cable_override(struct pci_dev *pdev)
 {
Index: linux/drivers/input/keyboard/atkbd.c
===================================================================
--- linux.orig/drivers/input/keyboard/atkbd.c
+++ linux/drivers/input/keyboard/atkbd.c
@@ -831,6 +831,7 @@
 	kfree(atkbd);
 }
 
+#ifdef CONFIG_DMI
 /*
  * Most special keys (Fn+F?) on Dell Latitudes do not generate release
  * events so we have to do it ourselves.
@@ -847,6 +848,7 @@
 			__set_bit(forced_release_keys[i],
 				  atkbd->force_release_mask);
 }
+#endif
 
 /*
  * atkbd_set_keycode_table() initializes keyboard's keycode table
@@ -1434,6 +1436,7 @@
 	return sprintf(buf, "%lu\n", atkbd->err_count);
 }
 
+#ifdef CONFIG_DMI
 static int __init atkbd_setup_fixup(const struct dmi_system_id *id)
 {
 	atkbd_platform_fixup = id->driver_data;
@@ -1452,6 +1455,7 @@
 	},
 	{ }
 };
+#endif /* CONFIG_DMI */
 
 static int __init atkbd_init(void)
 {
Index: linux/drivers/input/misc/wistron_btns.c
===================================================================
--- linux.orig/drivers/input/misc/wistron_btns.c
+++ linux/drivers/input/misc/wistron_btns.c
@@ -247,6 +247,7 @@
 static int have_bluetooth;
 static int have_leds;
 
+#ifdef CONFIG_DMI
 static int __init dmi_matched(const struct dmi_system_id *dmi)
 {
 	const struct key_entry *key;
@@ -916,6 +917,7 @@
 	},
 	{ NULL, }
 };
+#endif /* CONFIG_DMI */
 
 /* Copy the good keymap, as the original ones are free'd */
 static int __init copy_keymap(void)
Index: linux/drivers/input/mouse/lifebook.c
===================================================================
--- linux.orig/drivers/input/mouse/lifebook.c
+++ linux/drivers/input/mouse/lifebook.c
@@ -26,15 +26,15 @@
 };
 
 static const char *desired_serio_phys;
+static unsigned char lifebook_use_6byte_proto;
 
+#ifdef CONFIG_DMI
 static int lifebook_set_serio_phys(const struct dmi_system_id *d)
 {
 	desired_serio_phys = d->driver_data;
 	return 0;
 }
 
-static unsigned char lifebook_use_6byte_proto;
-
 static int lifebook_set_6byte_proto(const struct dmi_system_id *d)
 {
 	lifebook_use_6byte_proto = 1;
@@ -112,6 +112,7 @@
 	},
 	{ }
 };
+#endif /* CONFIG_DMI */
 
 static psmouse_ret_t lifebook_process_byte(struct psmouse *psmouse)
 {
Index: linux/drivers/input/mouse/synaptics.c
===================================================================
--- linux.orig/drivers/input/mouse/synaptics.c
+++ linux/drivers/input/mouse/synaptics.c
@@ -600,7 +600,7 @@
 	return 0;
 }
 
-#if defined(__i386__)
+#if defined(__i386__) and defined(CONFIG_DMI)
 #include <linux/dmi.h>
 static const struct dmi_system_id toshiba_dmi_table[] = {
 	{
Index: linux/drivers/leds/leds-clevo-mail.c
===================================================================
--- linux.orig/drivers/leds/leds-clevo-mail.c
+++ linux/drivers/leds/leds-clevo-mail.c
@@ -24,6 +24,7 @@
 
 static struct platform_device *pdev;
 
+#ifdef CONFIG_DMI
 static int __init clevo_mail_led_dmi_callback(const struct dmi_system_id *id)
 {
 	printk(KERN_INFO KBUILD_MODNAME ": '%s' found\n", id->ident);
@@ -79,6 +80,7 @@
 	},
 	{ }
 };
+#endif /* CONFIG_DMI */
 
 static void clevo_mail_led_set(struct led_classdev *led_cdev,
 				enum led_brightness value)
Index: linux/drivers/misc/Kconfig
===================================================================
--- linux.orig/drivers/misc/Kconfig
+++ linux/drivers/misc/Kconfig
@@ -169,6 +169,7 @@
         depends on X86
         depends on ACPI_EC
         depends on BACKLIGHT_CLASS_DEVICE
+	depends on DMI
         ---help---
 	  This is a driver for laptops built by MSI (MICRO-STAR
 	  INTERNATIONAL):
Index: linux/drivers/misc/acer-wmi.c
===================================================================
--- linux.orig/drivers/misc/acer-wmi.c
+++ linux/drivers/misc/acer-wmi.c
@@ -189,12 +189,6 @@
 		interface->capability |= ACER_CAP_BRIGHTNESS;
 }
 
-static int dmi_matched(const struct dmi_system_id *dmi)
-{
-	quirks = dmi->driver_data;
-	return 0;
-}
-
 static struct quirk_entry quirk_unknown = {
 };
 
@@ -202,11 +196,18 @@
 	.mailled = 1,
 };
 
+#ifdef CONFIG_DMI
 /* This AMW0 laptop has no bluetooth */
 static struct quirk_entry quirk_medion_md_98300 = {
 	.wireless = 1,
 };
 
+static int dmi_matched(const struct dmi_system_id *dmi)
+{
+	quirks = dmi->driver_data;
+	return 0;
+}
+
 static struct dmi_system_id acer_quirks[] = {
 	{
 		.callback = dmi_matched,
@@ -282,6 +283,7 @@
 	},
 	{}
 };
+#endif /* CONFIG_DMI */
 
 /* Find which quirks are needed for a particular vendor/ model pair */
 static void find_quirks(void)
Index: linux/drivers/misc/sony-laptop.c
===================================================================
--- linux.orig/drivers/misc/sony-laptop.c
+++ linux/drivers/misc/sony-laptop.c
@@ -810,6 +810,7 @@
 
 static struct sony_nc_event *sony_nc_events;
 
+#ifdef CONFIG_DMI
 /* Vaio C* --maybe also FE*, N* and AR* ?-- special init sequence
  * for Fn keys
  */
@@ -890,6 +891,7 @@
 		},
 		{ }
 };
+#endif /* CONFIG_DMI */
 
 /*
  * ACPI callbacks
@@ -2716,6 +2718,7 @@
 		},
 };
 
+#ifdef CONFIG_DMI
 static struct dmi_system_id __initdata sonypi_dmi_table[] = {
 	{
 		.ident = "Sony Vaio",
@@ -2733,6 +2736,7 @@
 	},
 	{ }
 };
+#endif /* CONFIG_DMI */
 
 static int __init sony_laptop_init(void)
 {
Index: linux/drivers/net/via-rhine.c
===================================================================
--- linux.orig/drivers/net/via-rhine.c
+++ linux/drivers/net/via-rhine.c
@@ -2001,6 +2001,7 @@
 	.shutdown =	rhine_shutdown,
 };
 
+#ifdef CONFIG_DMI
 static struct dmi_system_id __initdata rhine_dmi_table[] = {
 	{
 		.ident = "EPIA-M",
@@ -2018,6 +2019,7 @@
 	},
 	{ NULL }
 };
+#endif /* CONFIG_DMI */
 
 static int __init rhine_init(void)
 {
Index: linux/drivers/pnp/pnpbios/core.c
===================================================================
--- linux.orig/drivers/pnp/pnpbios/core.c
+++ linux/drivers/pnp/pnpbios/core.c
@@ -498,6 +498,7 @@
 	return 0;
 }
 
+#ifdef CONFIG_DMI
 static int __init exploding_pnp_bios(const struct dmi_system_id *d)
 {
 	printk(KERN_WARNING "%s detected. Disabling PnPBIOS\n", d->ident);
@@ -525,6 +526,7 @@
 	 },
 	{}
 };
+#endif /* CONFIG_DMI */
 
 static int __init pnpbios_init(void)
 {
Index: linux/drivers/pnp/quirks.c
===================================================================
--- linux.orig/drivers/pnp/quirks.c
+++ linux/drivers/pnp/quirks.c
@@ -112,6 +112,7 @@
 static void quirk_supermicro_h8dce_system(struct pnp_dev *dev)
 {
 	int i;
+#ifdef CONFIG_DMI
 	static struct dmi_system_id supermicro_h8dce[] = {
 		{
 			.ident = "Supermicro H8DCE",
@@ -122,6 +123,7 @@
 		},
 		{ }
 	};
+#endif /* CONFIG_DMI */
 
 	if (!dmi_check_system(supermicro_h8dce))
 		return;
Index: linux/drivers/video/Kconfig
===================================================================
--- linux.orig/drivers/video/Kconfig
+++ linux/drivers/video/Kconfig
@@ -654,7 +654,7 @@
 
 config FB_IMAC
 	bool "Intel-based Macintosh Framebuffer Support"
-	depends on (FB = y) && X86 && EFI
+	depends on (FB = y) && X86 && EFI && DMI
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
Index: linux/include/linux/dmi.h
===================================================================
--- linux.orig/include/linux/dmi.h
+++ linux/include/linux/dmi.h
@@ -86,10 +86,11 @@
 
 #else
 
-static inline int dmi_check_system(const struct dmi_system_id *list) { return 0; }
+#define dmi_check_system(list) ({ 0; })
 static inline const char * dmi_get_system_info(int field) { return NULL; }
 static inline const struct dmi_device * dmi_find_device(int type, const char *name,
 	const struct dmi_device *from) { return NULL; }
+static inline void dmi_scan_machine(void) { return; }
 static inline int dmi_get_year(int year) { return 0; }
 static inline int dmi_name_in_vendors(const char *s) { return 0; }
 #define dmi_available 0


-- 
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: 2.6.25-rc2-mm1 (x64 thermal build failure)
  2008-02-19 15:55         ` Thomas Petazzoni
@ 2008-02-19 17:41           ` Randy Dunlap
  2008-02-19 22:00             ` Thomas Petazzoni
  2008-02-19 23:21           ` Andrew Morton
  1 sibling, 1 reply; 27+ messages in thread
From: Randy Dunlap @ 2008-02-19 17:41 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: Andrew Morton, linux-kernel, len.brown, linux-acpi, michael

On Tue, 19 Feb 2008 16:55:02 +0100 Thomas Petazzoni wrote:

> Le Mon, 18 Feb 2008 04:13:40 -0800,
> Andrew Morton <akpm@linux-foundation.org> a écrit :
> 
> > Option 3 wold be to add more #ifdef CONFIG_DMI lines around the
> > place.  How ugly would that get?
> 
> Like the attached patch. #ifdef CONFIG_DMI everywhere :-(


Does this patch apply to -mm?  Seem like No.

After converting it from mime(?) to ASCII and fixing one #if
(change "and" to "&&") & fixing patch rejects, it does build cleanly.


---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: 2.6.25-rc2-mm1 (x64 thermal build failure)
  2008-02-19 17:41           ` Randy Dunlap
@ 2008-02-19 22:00             ` Thomas Petazzoni
  2008-02-19 22:05               ` Randy Dunlap
  0 siblings, 1 reply; 27+ messages in thread
From: Thomas Petazzoni @ 2008-02-19 22:00 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Andrew Morton, linux-kernel, len.brown, linux-acpi, michael

Le Tue, 19 Feb 2008 09:41:47 -0800,
Randy Dunlap <randy.dunlap@oracle.com> a écrit :

> Does this patch apply to -mm?  Seem like No.

No, it was generated against 2.6.25-rc2.

> After converting it from mime(?) to ASCII

Probably due to my PGP-MIME signature. Will try to remember that
I should disable it next time.

> and fixing one #if (change "and" to "&&")

Oops. Fixed on my side too.

> & fixing patch rejects, it does build cleanly.

The rejects are probably due to the patch being applied to -mm. It
applies fine on -rc here.

Any opinion about whether the patch is clean ? Worth it ?

Thanks for testing the patch,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: 2.6.25-rc2-mm1 (x64 thermal build failure)
  2008-02-19 22:00             ` Thomas Petazzoni
@ 2008-02-19 22:05               ` Randy Dunlap
  0 siblings, 0 replies; 27+ messages in thread
From: Randy Dunlap @ 2008-02-19 22:05 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: Andrew Morton, linux-kernel, len.brown, linux-acpi, michael

Thomas Petazzoni wrote:
> Le Tue, 19 Feb 2008 09:41:47 -0800,
> Randy Dunlap <randy.dunlap@oracle.com> a écrit :
> 
>> Does this patch apply to -mm?  Seem like No.
> 
> No, it was generated against 2.6.25-rc2.
> 
>> After converting it from mime(?) to ASCII
> 
> Probably due to my PGP-MIME signature. Will try to remember that
> I should disable it next time.
> 
>> and fixing one #if (change "and" to "&&")
> 
> Oops. Fixed on my side too.
> 
>> & fixing patch rejects, it does build cleanly.
> 
> The rejects are probably due to the patch being applied to -mm. It
> applies fine on -rc here.
> 
> Any opinion about whether the patch is clean ? Worth it ?

It seems reasonable to me as long as the option depends on EMBEDDED,
as it does.

-- 
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: 2.6.25-rc2-mm1 (x64 thermal build failure)
  2008-02-19 15:55         ` Thomas Petazzoni
  2008-02-19 17:41           ` Randy Dunlap
@ 2008-02-19 23:21           ` Andrew Morton
  2008-02-20  7:21             ` Thomas Petazzoni
  1 sibling, 1 reply; 27+ messages in thread
From: Andrew Morton @ 2008-02-19 23:21 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: Randy Dunlap, linux-kernel, len.brown, linux-acpi, michael

On Tue, 19 Feb 2008 16:55:02 +0100 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:

> Le Mon, 18 Feb 2008 04:13:40 -0800,
> Andrew Morton <akpm@linux-foundation.org> a __crit :
> 
> > Option 3 wold be to add more #ifdef CONFIG_DMI lines around the
> > place.  How ugly would that get?
> 
> Like the attached patch. #ifdef CONFIG_DMI everywhere :-(
> 

ug, sorry, if I'd realised it was like this I'd have said "don't bother". 
Apart from the obvious problem, this means that people will keep breaking
CONFIG_DMI=n all the time, because they will forget the ifdefs, and the
number of people who test with CONFIG_DMI=n will be small.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: 2.6.25-rc2-mm1 (x64 thermal build failure)
  2008-02-19 23:21           ` Andrew Morton
@ 2008-02-20  7:21             ` Thomas Petazzoni
  2008-02-20  9:55               ` Andrew Morton
  0 siblings, 1 reply; 27+ messages in thread
From: Thomas Petazzoni @ 2008-02-20  7:21 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Randy Dunlap, linux-kernel, len.brown, linux-acpi, michael

[-- Attachment #1: Type: text/plain, Size: 952 bytes --]

Le Tue, 19 Feb 2008 15:21:29 -0800,
Andrew Morton <akpm@linux-foundation.org> a écrit :

> ug, sorry, if I'd realised it was like this I'd have said "don't
> bother". Apart from the obvious problem, this means that people will
> keep breaking CONFIG_DMI=n all the time, because they will forget the
> ifdefs, and the number of people who test with CONFIG_DMI=n will be
> small.

Yes, #ifdef CONFIG_DMI is not very comfortable. That why I proposed
things such as DECLARE_DMI_FIXUP_TABLE(), because it would force people
to use these macros, which would then be working correctly depending on
DMI=y/n. However, there's still the issue of driver_data that I
mentionned in my earlier post.

What should I do ? Option 1 ? Option 2 ? Give up with the patch ?

Thanks for your comments,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: 2.6.25-rc2-mm1 (x64 thermal build failure)
  2008-02-20  7:21             ` Thomas Petazzoni
@ 2008-02-20  9:55               ` Andrew Morton
  0 siblings, 0 replies; 27+ messages in thread
From: Andrew Morton @ 2008-02-20  9:55 UTC (permalink / raw)
  To: Thomas Petazzoni
  Cc: Randy Dunlap, linux-kernel, len.brown, linux-acpi, michael

On Wed, 20 Feb 2008 08:21:33 +0100 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:

> Le Tue, 19 Feb 2008 15:21:29 -0800,
> Andrew Morton <akpm@linux-foundation.org> a __crit :
> 
> > ug, sorry, if I'd realised it was like this I'd have said "don't
> > bother". Apart from the obvious problem, this means that people will
> > keep breaking CONFIG_DMI=n all the time, because they will forget the
> > ifdefs, and the number of people who test with CONFIG_DMI=n will be
> > small.
> 
> Yes, #ifdef CONFIG_DMI is not very comfortable. That why I proposed
> things such as DECLARE_DMI_FIXUP_TABLE(), because it would force people
> to use these macros, which would then be working correctly depending on
> DMI=y/n. However, there's still the issue of driver_data that I
> mentionned in my earlier post.
> 
> What should I do ? Option 1 ? Option 2 ? Give up with the patch ?
> 
> Thanks for your comments,

Option 1 would be best, I think:

 1) Remove the #ifdef CONFIG_DMI around DMI fixup tables and callbacks
    definition, so that everything exists and gcc is happy. gcc is able
    to optimize out the DMI fixup table (it is not present in the binary
    when compiling with DMI=n), but gcc doesn't seem to be able to
    optimize out the DMI fixup callbacks (they are still present in the
    binary). So this would leave some unused code in the binary, which
    is not completely satisfying.

gcc _should_ be able to remove the callbacks as long as they are static and
have no references.  If even the latest gcc versions are still incluing the
unreferenced, static function in the final vmlinux then let's get gcc fixed?


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-16 19:47 ` [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os Kamalesh Babulal
  2008-02-16 20:01   ` Laura Garcia
@ 2008-02-21  7:08   ` Len Brown
  2008-02-21 18:54     ` Nish Aravamudan
  1 sibling, 1 reply; 27+ messages in thread
From: Len Brown @ 2008-02-21  7:08 UTC (permalink / raw)
  To: Kamalesh Babulal; +Cc: Andrew Morton, linux-kernel, linux-acpi, Andy Whitcroft

On Saturday 16 February 2008 14:47, Kamalesh Babulal wrote:
> Hi Andrew,
> 
> The 2.6.25-rc2-mm1 kernel with randconfig build option, fails
> to build on x86_64 machine
> 
>   CC      drivers/acpi/osl.o
> drivers/acpi/osl.c:60:38: error: empty filename in #include
> drivers/acpi/osl.c: In function ‘acpi_os_table_override’:
> drivers/acpi/osl.c:399: error: ‘AmlCode’ undeclared (first use in this function)
> drivers/acpi/osl.c:399: error: (Each undeclared identifier is reported only once
> drivers/acpi/osl.c:399: error: for each function it appears in.)
> make[2]: *** [drivers/acpi/osl.o] Error 1
> make[1]: *** [drivers/acpi] Error 2
> make: *** [drivers] Error 2
> 
> #
> # Automatically generated make config: don't edit
> # Linux kernel version: 2.6.25-rc2-mm1
> # Sun Feb 17 08:07:17 2008
> #

> CONFIG_ACPI_CUSTOM_DSDT=y
> CONFIG_ACPI_CUSTOM_DSDT_FILE=""

garbage in, garbage out.

If you don't give this build option a file name where AmlCode lives,
then the build will be unable to find AmlCode[].

http://www.lesswatts.org/projects/acpi/overridingDSDT.php

cheers,
-Len
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-21  7:08   ` Len Brown
@ 2008-02-21 18:54     ` Nish Aravamudan
  2008-02-21 22:22       ` Sam Ravnborg
  0 siblings, 1 reply; 27+ messages in thread
From: Nish Aravamudan @ 2008-02-21 18:54 UTC (permalink / raw)
  To: Len Brown
  Cc: Kamalesh Babulal, Andrew Morton, linux-kernel, linux-acpi,
	Andy Whitcroft, sam

On 2/20/08, Len Brown <lenb@kernel.org> wrote:
> On Saturday 16 February 2008 14:47, Kamalesh Babulal wrote:
>  > Hi Andrew,
>  >
>  > The 2.6.25-rc2-mm1 kernel with randconfig build option, fails
>  > to build on x86_64 machine
>  >
>  >   CC      drivers/acpi/osl.o
>  > drivers/acpi/osl.c:60:38: error: empty filename in #include
>  > drivers/acpi/osl.c: In function 'acpi_os_table_override':
>  > drivers/acpi/osl.c:399: error: 'AmlCode' undeclared (first use in this function)
>  > drivers/acpi/osl.c:399: error: (Each undeclared identifier is reported only once
>  > drivers/acpi/osl.c:399: error: for each function it appears in.)
>  > make[2]: *** [drivers/acpi/osl.o] Error 1
>  > make[1]: *** [drivers/acpi] Error 2
>  > make: *** [drivers] Error 2
>  >
>  > #
>  > # Automatically generated make config: don't edit
>  > # Linux kernel version: 2.6.25-rc2-mm1
>  > # Sun Feb 17 08:07:17 2008
>  > #
>
>
> > CONFIG_ACPI_CUSTOM_DSDT=y
>  > CONFIG_ACPI_CUSTOM_DSDT_FILE=""
>
>
> garbage in, garbage out.

garbage explicitly *allowed* by Kconfig in this case, though.

>  If you don't give this build option a file name where AmlCode lives,
>  then the build will be unable to find AmlCode[].
>
>  http://www.lesswatts.org/projects/acpi/overridingDSDT.php

So we have a .config option whose sole purpose is to use another
.config option? That seems ... less than ideal. Is there not some
Kconfig voodoo we can do to only require the one option? Maybe
something like how CONFIG_INITRAMFS_SOURCE is done? Adding Sam to the
Cc, in case he has any ideas.

Thanks,
Nish

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-21 18:54     ` Nish Aravamudan
@ 2008-02-21 22:22       ` Sam Ravnborg
  2008-02-22  1:38         ` Nish Aravamudan
  0 siblings, 1 reply; 27+ messages in thread
From: Sam Ravnborg @ 2008-02-21 22:22 UTC (permalink / raw)
  To: Nish Aravamudan
  Cc: Len Brown, Kamalesh Babulal, Andrew Morton, linux-kernel,
	linux-acpi, Andy Whitcroft

On Thu, Feb 21, 2008 at 10:54:40AM -0800, Nish Aravamudan wrote:
> On 2/20/08, Len Brown <lenb@kernel.org> wrote:
> > On Saturday 16 February 2008 14:47, Kamalesh Babulal wrote:
> >  > Hi Andrew,
> >  >
> >  > The 2.6.25-rc2-mm1 kernel with randconfig build option, fails
> >  > to build on x86_64 machine
> >  >
> >  >   CC      drivers/acpi/osl.o
> >  > drivers/acpi/osl.c:60:38: error: empty filename in #include
> >  > drivers/acpi/osl.c: In function 'acpi_os_table_override':
> >  > drivers/acpi/osl.c:399: error: 'AmlCode' undeclared (first use in this function)
> >  > drivers/acpi/osl.c:399: error: (Each undeclared identifier is reported only once
> >  > drivers/acpi/osl.c:399: error: for each function it appears in.)
> >  > make[2]: *** [drivers/acpi/osl.o] Error 1
> >  > make[1]: *** [drivers/acpi] Error 2
> >  > make: *** [drivers] Error 2
> >  >
> >  > #
> >  > # Automatically generated make config: don't edit
> >  > # Linux kernel version: 2.6.25-rc2-mm1
> >  > # Sun Feb 17 08:07:17 2008
> >  > #
> >
> >
> > > CONFIG_ACPI_CUSTOM_DSDT=y
> >  > CONFIG_ACPI_CUSTOM_DSDT_FILE=""
> >
> >
> > garbage in, garbage out.
> 
> garbage explicitly *allowed* by Kconfig in this case, though.
> 
> >  If you don't give this build option a file name where AmlCode lives,
> >  then the build will be unable to find AmlCode[].
> >
> >  http://www.lesswatts.org/projects/acpi/overridingDSDT.php
> 
> So we have a .config option whose sole purpose is to use another
> .config option? That seems ... less than ideal. Is there not some
> Kconfig voodoo we can do to only require the one option? Maybe
> something like how CONFIG_INITRAMFS_SOURCE is done? Adding Sam to the
> Cc, in case he has any ideas.

Make sure STANDALONE is y for your randconfig builds.
See README for examples.

STANALONE is there exactly to prevent the above but we cannot
control randconfig.

	Sam


^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-21 22:22       ` Sam Ravnborg
@ 2008-02-22  1:38         ` Nish Aravamudan
  2008-02-22 18:08           ` Sam Ravnborg
  0 siblings, 1 reply; 27+ messages in thread
From: Nish Aravamudan @ 2008-02-22  1:38 UTC (permalink / raw)
  To: Sam Ravnborg
  Cc: Len Brown, Kamalesh Babulal, Andrew Morton, linux-kernel,
	linux-acpi, Andy Whitcroft

On 2/21/08, Sam Ravnborg <sam@ravnborg.org> wrote:
> On Thu, Feb 21, 2008 at 10:54:40AM -0800, Nish Aravamudan wrote:
>  > On 2/20/08, Len Brown <lenb@kernel.org> wrote:
>  > > On Saturday 16 February 2008 14:47, Kamalesh Babulal wrote:
>  > >  > Hi Andrew,
>  > >  >
>  > >  > The 2.6.25-rc2-mm1 kernel with randconfig build option, fails
>  > >  > to build on x86_64 machine
>  > >  >
>  > >  >   CC      drivers/acpi/osl.o
>  > >  > drivers/acpi/osl.c:60:38: error: empty filename in #include
>  > >  > drivers/acpi/osl.c: In function 'acpi_os_table_override':
>  > >  > drivers/acpi/osl.c:399: error: 'AmlCode' undeclared (first use in this function)
>  > >  > drivers/acpi/osl.c:399: error: (Each undeclared identifier is reported only once
>  > >  > drivers/acpi/osl.c:399: error: for each function it appears in.)
>  > >  > make[2]: *** [drivers/acpi/osl.o] Error 1
>  > >  > make[1]: *** [drivers/acpi] Error 2
>  > >  > make: *** [drivers] Error 2
>  > >  >
>  > >  > #
>  > >  > # Automatically generated make config: don't edit
>  > >  > # Linux kernel version: 2.6.25-rc2-mm1
>  > >  > # Sun Feb 17 08:07:17 2008
>  > >  > #
>  > >
>  > >
>  > > > CONFIG_ACPI_CUSTOM_DSDT=y
>  > >  > CONFIG_ACPI_CUSTOM_DSDT_FILE=""
>  > >
>  > >
>  > > garbage in, garbage out.
>  >
>  > garbage explicitly *allowed* by Kconfig in this case, though.
>  >
>  > >  If you don't give this build option a file name where AmlCode lives,
>  > >  then the build will be unable to find AmlCode[].
>  > >
>  > >  http://www.lesswatts.org/projects/acpi/overridingDSDT.php
>  >
>  > So we have a .config option whose sole purpose is to use another
>  > .config option? That seems ... less than ideal. Is there not some
>  > Kconfig voodoo we can do to only require the one option? Maybe
>  > something like how CONFIG_INITRAMFS_SOURCE is done? Adding Sam to the
>  > Cc, in case he has any ideas.
>
>
> Make sure STANDALONE is y for your randconfig builds.
>  See README for examples.

Hrm, if this is needed for randconfig to work, perhaps randconfig
itself should somehow be specifying it?

>  STANALONE is there exactly to prevent the above but we cannot
>  control randconfig.

While setting STANDALONE does fix the above, it doesn't answer the
more basic question I had -- do we really need both .config options in
this case? If it's simply a case of "That's how it is, won't be fixed,
there are higher priorities", that's good enough by me. Just seems a
shame that we have an option to enable another option, which is
required for the first option to be sensible -- seems like we should
only need the second option...

Thanks,
Nish

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-22  1:38         ` Nish Aravamudan
@ 2008-02-22 18:08           ` Sam Ravnborg
  2008-02-22 18:12             ` Nish Aravamudan
  2008-02-22 18:13             ` Randy Dunlap
  0 siblings, 2 replies; 27+ messages in thread
From: Sam Ravnborg @ 2008-02-22 18:08 UTC (permalink / raw)
  To: Nish Aravamudan
  Cc: Len Brown, Kamalesh Babulal, Andrew Morton, linux-kernel,
	linux-acpi, Andy Whitcroft

On Thu, Feb 21, 2008 at 05:38:52PM -0800, Nish Aravamudan wrote:
> On 2/21/08, Sam Ravnborg <sam@ravnborg.org> wrote:
> > On Thu, Feb 21, 2008 at 10:54:40AM -0800, Nish Aravamudan wrote:
> >  > On 2/20/08, Len Brown <lenb@kernel.org> wrote:
> >  > > On Saturday 16 February 2008 14:47, Kamalesh Babulal wrote:
> >  > >  > Hi Andrew,
> >  > >  >
> >  > >  > The 2.6.25-rc2-mm1 kernel with randconfig build option, fails
> >  > >  > to build on x86_64 machine
> >  > >  >
> >  > >  >   CC      drivers/acpi/osl.o
> >  > >  > drivers/acpi/osl.c:60:38: error: empty filename in #include
> >  > >  > drivers/acpi/osl.c: In function 'acpi_os_table_override':
> >  > >  > drivers/acpi/osl.c:399: error: 'AmlCode' undeclared (first use in this function)
> >  > >  > drivers/acpi/osl.c:399: error: (Each undeclared identifier is reported only once
> >  > >  > drivers/acpi/osl.c:399: error: for each function it appears in.)
> >  > >  > make[2]: *** [drivers/acpi/osl.o] Error 1
> >  > >  > make[1]: *** [drivers/acpi] Error 2
> >  > >  > make: *** [drivers] Error 2
> >  > >  >
> >  > >  > #
> >  > >  > # Automatically generated make config: don't edit
> >  > >  > # Linux kernel version: 2.6.25-rc2-mm1
> >  > >  > # Sun Feb 17 08:07:17 2008
> >  > >  > #
> >  > >
> >  > >
> >  > > > CONFIG_ACPI_CUSTOM_DSDT=y
> >  > >  > CONFIG_ACPI_CUSTOM_DSDT_FILE=""
> >  > >
> >  > >
> >  > > garbage in, garbage out.
> >  >
> >  > garbage explicitly *allowed* by Kconfig in this case, though.
> >  >
> >  > >  If you don't give this build option a file name where AmlCode lives,
> >  > >  then the build will be unable to find AmlCode[].
> >  > >
> >  > >  http://www.lesswatts.org/projects/acpi/overridingDSDT.php
> >  >
> >  > So we have a .config option whose sole purpose is to use another
> >  > .config option? That seems ... less than ideal. Is there not some
> >  > Kconfig voodoo we can do to only require the one option? Maybe
> >  > something like how CONFIG_INITRAMFS_SOURCE is done? Adding Sam to the
> >  > Cc, in case he has any ideas.
> >
> >
> > Make sure STANDALONE is y for your randconfig builds.
> >  See README for examples.
> 
> Hrm, if this is needed for randconfig to work, perhaps randconfig
> itself should somehow be specifying it?
> 
> >  STANALONE is there exactly to prevent the above but we cannot
> >  control randconfig.
> 
> While setting STANDALONE does fix the above, it doesn't answer the
> more basic question I had -- do we really need both .config options in
> this case? If it's simply a case of "That's how it is, won't be fixed,
> there are higher priorities", that's good enough by me. Just seems a
> shame that we have an option to enable another option, which is
> required for the first option to be sensible -- seems like we should
> only need the second option...

I really do not see what problem you are trying to address.

STANDALONE is there as an easy way to turn of the options that requires
sensible input to make a kernel compile.

And that makes _perfect_ sense when you do randconfig builds.

	Sam

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-22 18:08           ` Sam Ravnborg
@ 2008-02-22 18:12             ` Nish Aravamudan
  2008-02-22 18:13             ` Randy Dunlap
  1 sibling, 0 replies; 27+ messages in thread
From: Nish Aravamudan @ 2008-02-22 18:12 UTC (permalink / raw)
  To: Sam Ravnborg
  Cc: Len Brown, Kamalesh Babulal, Andrew Morton, linux-kernel,
	linux-acpi, Andy Whitcroft

On 2/22/08, Sam Ravnborg <sam@ravnborg.org> wrote:
> On Thu, Feb 21, 2008 at 05:38:52PM -0800, Nish Aravamudan wrote:
>  > On 2/21/08, Sam Ravnborg <sam@ravnborg.org> wrote:
>  > > On Thu, Feb 21, 2008 at 10:54:40AM -0800, Nish Aravamudan wrote:
>  > >  > On 2/20/08, Len Brown <lenb@kernel.org> wrote:
>  > >  > > On Saturday 16 February 2008 14:47, Kamalesh Babulal wrote:
>  > >  > >  > Hi Andrew,
>  > >  > >  >
>  > >  > >  > The 2.6.25-rc2-mm1 kernel with randconfig build option, fails
>  > >  > >  > to build on x86_64 machine
>  > >  > >  >
>  > >  > >  >   CC      drivers/acpi/osl.o
>  > >  > >  > drivers/acpi/osl.c:60:38: error: empty filename in #include
>  > >  > >  > drivers/acpi/osl.c: In function 'acpi_os_table_override':
>  > >  > >  > drivers/acpi/osl.c:399: error: 'AmlCode' undeclared (first use in this function)
>  > >  > >  > drivers/acpi/osl.c:399: error: (Each undeclared identifier is reported only once
>  > >  > >  > drivers/acpi/osl.c:399: error: for each function it appears in.)
>  > >  > >  > make[2]: *** [drivers/acpi/osl.o] Error 1
>  > >  > >  > make[1]: *** [drivers/acpi] Error 2
>  > >  > >  > make: *** [drivers] Error 2
>  > >  > >  >
>  > >  > >  > #
>  > >  > >  > # Automatically generated make config: don't edit
>  > >  > >  > # Linux kernel version: 2.6.25-rc2-mm1
>  > >  > >  > # Sun Feb 17 08:07:17 2008
>  > >  > >  > #
>  > >  > >
>  > >  > >
>  > >  > > > CONFIG_ACPI_CUSTOM_DSDT=y
>  > >  > >  > CONFIG_ACPI_CUSTOM_DSDT_FILE=""
>  > >  > >
>  > >  > >
>  > >  > > garbage in, garbage out.
>  > >  >
>  > >  > garbage explicitly *allowed* by Kconfig in this case, though.
>  > >  >
>  > >  > >  If you don't give this build option a file name where AmlCode lives,
>  > >  > >  then the build will be unable to find AmlCode[].
>  > >  > >
>  > >  > >  http://www.lesswatts.org/projects/acpi/overridingDSDT.php
>  > >  >
>  > >  > So we have a .config option whose sole purpose is to use another
>  > >  > .config option? That seems ... less than ideal. Is there not some
>  > >  > Kconfig voodoo we can do to only require the one option? Maybe
>  > >  > something like how CONFIG_INITRAMFS_SOURCE is done? Adding Sam to the
>  > >  > Cc, in case he has any ideas.
>  > >
>  > >
>  > > Make sure STANDALONE is y for your randconfig builds.
>  > >  See README for examples.
>  >
>  > Hrm, if this is needed for randconfig to work, perhaps randconfig
>  > itself should somehow be specifying it?
>  >
>  > >  STANALONE is there exactly to prevent the above but we cannot
>  > >  control randconfig.
>  >
>  > While setting STANDALONE does fix the above, it doesn't answer the
>  > more basic question I had -- do we really need both .config options in
>  > this case? If it's simply a case of "That's how it is, won't be fixed,
>  > there are higher priorities", that's good enough by me. Just seems a
>  > shame that we have an option to enable another option, which is
>  > required for the first option to be sensible -- seems like we should
>  > only need the second option...
>
>
> I really do not see what problem you are trying to address.
>
>  STANDALONE is there as an easy way to turn of the options that requires
>  sensible input to make a kernel compile.
>
>  And that makes _perfect_ sense when you do randconfig builds.

Yes it does. As I said above I'm *not* arguing about using STANDALONE
for randconfig builds.

What I was doing, perhaps unclearly, was asking if there was a real
Kconfig need to have both CONFIG_ACPI_CUSTOM_DSDT and
CONFIG_ACPI_CUSTOM_DSDT_FILE, when the latter *only* is visible with
the former and the former *only* makes sense with the latter. Couldn't
we just have CONFIG_ACPI_CUSTOM_DSDT_FILE and check that in the code?
Why do we need a boolean option to make another string option
available?

Thanks,
Nish

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-22 18:08           ` Sam Ravnborg
  2008-02-22 18:12             ` Nish Aravamudan
@ 2008-02-22 18:13             ` Randy Dunlap
  2008-02-22 18:21               ` Nish Aravamudan
  2008-02-22 18:27               ` Sam Ravnborg
  1 sibling, 2 replies; 27+ messages in thread
From: Randy Dunlap @ 2008-02-22 18:13 UTC (permalink / raw)
  To: Sam Ravnborg
  Cc: Nish Aravamudan, Len Brown, Kamalesh Babulal, Andrew Morton,
	linux-kernel, linux-acpi, Andy Whitcroft

On Fri, 22 Feb 2008 19:08:15 +0100 Sam Ravnborg wrote:

> On Thu, Feb 21, 2008 at 05:38:52PM -0800, Nish Aravamudan wrote:
> > On 2/21/08, Sam Ravnborg <sam@ravnborg.org> wrote:
> > > On Thu, Feb 21, 2008 at 10:54:40AM -0800, Nish Aravamudan wrote:
> > >  > On 2/20/08, Len Brown <lenb@kernel.org> wrote:
> > >  > > On Saturday 16 February 2008 14:47, Kamalesh Babulal wrote:
> > >  > >  > Hi Andrew,
> > >  > >  >
> > >  > >  > The 2.6.25-rc2-mm1 kernel with randconfig build option, fails
> > >  > >  > to build on x86_64 machine
> > >  > >  >
> > >  > >  >   CC      drivers/acpi/osl.o
> > >  > >  > drivers/acpi/osl.c:60:38: error: empty filename in #include
> > >  > >  > drivers/acpi/osl.c: In function 'acpi_os_table_override':
> > >  > >  > drivers/acpi/osl.c:399: error: 'AmlCode' undeclared (first use in this function)
> > >  > >  > drivers/acpi/osl.c:399: error: (Each undeclared identifier is reported only once
> > >  > >  > drivers/acpi/osl.c:399: error: for each function it appears in.)
> > >  > >  > make[2]: *** [drivers/acpi/osl.o] Error 1
> > >  > >  > make[1]: *** [drivers/acpi] Error 2
> > >  > >  > make: *** [drivers] Error 2
> > >  > >  >
> > >  > >  > #
> > >  > >  > # Automatically generated make config: don't edit
> > >  > >  > # Linux kernel version: 2.6.25-rc2-mm1
> > >  > >  > # Sun Feb 17 08:07:17 2008
> > >  > >  > #
> > >  > >
> > >  > >
> > >  > > > CONFIG_ACPI_CUSTOM_DSDT=y
> > >  > >  > CONFIG_ACPI_CUSTOM_DSDT_FILE=""
> > >  > >
> > >  > >
> > >  > > garbage in, garbage out.
> > >  >
> > >  > garbage explicitly *allowed* by Kconfig in this case, though.
> > >  >
> > >  > >  If you don't give this build option a file name where AmlCode lives,
> > >  > >  then the build will be unable to find AmlCode[].
> > >  > >
> > >  > >  http://www.lesswatts.org/projects/acpi/overridingDSDT.php
> > >  >
> > >  > So we have a .config option whose sole purpose is to use another
> > >  > .config option? That seems ... less than ideal. Is there not some
> > >  > Kconfig voodoo we can do to only require the one option? Maybe
> > >  > something like how CONFIG_INITRAMFS_SOURCE is done? Adding Sam to the
> > >  > Cc, in case he has any ideas.
> > >
> > >
> > > Make sure STANDALONE is y for your randconfig builds.
> > >  See README for examples.
> > 
> > Hrm, if this is needed for randconfig to work, perhaps randconfig
> > itself should somehow be specifying it?
> > 
> > >  STANALONE is there exactly to prevent the above but we cannot
> > >  control randconfig.
> > 
> > While setting STANDALONE does fix the above, it doesn't answer the
> > more basic question I had -- do we really need both .config options in
> > this case? If it's simply a case of "That's how it is, won't be fixed,
> > there are higher priorities", that's good enough by me. Just seems a
> > shame that we have an option to enable another option, which is
> > required for the first option to be sensible -- seems like we should
> > only need the second option...
> 
> I really do not see what problem you are trying to address.
> 
> STANDALONE is there as an easy way to turn of the options that requires
> sensible input to make a kernel compile.
> 
> And that makes _perfect_ sense when you do randconfig builds.


> CONFIG_ACPI_CUSTOM_DSDT=y
> CONFIG_ACPI_CUSTOM_DSDT_FILE=""

Is there a way to generate (in Kconfig language) the boolean
CONFIG_ACPI_CUSTOM_DSDT based on whether CONFIG_ACPI_CUSTOM_DSDT_FILE
== "" or != "" ?  I tried to muck around with that last night but
couldn't get it to work.  I.e., just present the ACPI_CUSTOM_DSDT_FILE
config symbol to the user and then generate the ACPI_CUSTOM_DSDT bool
based on the string value.


---
~Randy

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-22 18:13             ` Randy Dunlap
@ 2008-02-22 18:21               ` Nish Aravamudan
  2008-02-22 18:27               ` Sam Ravnborg
  1 sibling, 0 replies; 27+ messages in thread
From: Nish Aravamudan @ 2008-02-22 18:21 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Sam Ravnborg, Len Brown, Kamalesh Babulal, Andrew Morton,
	linux-kernel, linux-acpi, Andy Whitcroft

On 2/22/08, Randy Dunlap <randy.dunlap@oracle.com> wrote:
> On Fri, 22 Feb 2008 19:08:15 +0100 Sam Ravnborg wrote:
>
>  > On Thu, Feb 21, 2008 at 05:38:52PM -0800, Nish Aravamudan wrote:
>  > > On 2/21/08, Sam Ravnborg <sam@ravnborg.org> wrote:
>  > > > On Thu, Feb 21, 2008 at 10:54:40AM -0800, Nish Aravamudan wrote:
>  > > >  > On 2/20/08, Len Brown <lenb@kernel.org> wrote:
>  > > >  > > On Saturday 16 February 2008 14:47, Kamalesh Babulal wrote:
>  > > >  > >  > Hi Andrew,
>  > > >  > >  >
>  > > >  > >  > The 2.6.25-rc2-mm1 kernel with randconfig build option, fails
>  > > >  > >  > to build on x86_64 machine
>  > > >  > >  >
>  > > >  > >  >   CC      drivers/acpi/osl.o
>  > > >  > >  > drivers/acpi/osl.c:60:38: error: empty filename in #include
>  > > >  > >  > drivers/acpi/osl.c: In function 'acpi_os_table_override':
>  > > >  > >  > drivers/acpi/osl.c:399: error: 'AmlCode' undeclared (first use in this function)
>  > > >  > >  > drivers/acpi/osl.c:399: error: (Each undeclared identifier is reported only once
>  > > >  > >  > drivers/acpi/osl.c:399: error: for each function it appears in.)
>  > > >  > >  > make[2]: *** [drivers/acpi/osl.o] Error 1
>  > > >  > >  > make[1]: *** [drivers/acpi] Error 2
>  > > >  > >  > make: *** [drivers] Error 2
>  > > >  > >  >
>  > > >  > >  > #
>  > > >  > >  > # Automatically generated make config: don't edit
>  > > >  > >  > # Linux kernel version: 2.6.25-rc2-mm1
>  > > >  > >  > # Sun Feb 17 08:07:17 2008
>  > > >  > >  > #
>  > > >  > >
>  > > >  > >
>  > > >  > > > CONFIG_ACPI_CUSTOM_DSDT=y
>  > > >  > >  > CONFIG_ACPI_CUSTOM_DSDT_FILE=""
>  > > >  > >
>  > > >  > >
>  > > >  > > garbage in, garbage out.
>  > > >  >
>  > > >  > garbage explicitly *allowed* by Kconfig in this case, though.
>  > > >  >
>  > > >  > >  If you don't give this build option a file name where AmlCode lives,
>  > > >  > >  then the build will be unable to find AmlCode[].
>  > > >  > >
>  > > >  > >  http://www.lesswatts.org/projects/acpi/overridingDSDT.php
>  > > >  >
>  > > >  > So we have a .config option whose sole purpose is to use another
>  > > >  > .config option? That seems ... less than ideal. Is there not some
>  > > >  > Kconfig voodoo we can do to only require the one option? Maybe
>  > > >  > something like how CONFIG_INITRAMFS_SOURCE is done? Adding Sam to the
>  > > >  > Cc, in case he has any ideas.
>  > > >
>  > > >
>  > > > Make sure STANDALONE is y for your randconfig builds.
>  > > >  See README for examples.
>  > >
>  > > Hrm, if this is needed for randconfig to work, perhaps randconfig
>  > > itself should somehow be specifying it?
>  > >
>  > > >  STANALONE is there exactly to prevent the above but we cannot
>  > > >  control randconfig.
>  > >
>  > > While setting STANDALONE does fix the above, it doesn't answer the
>  > > more basic question I had -- do we really need both .config options in
>  > > this case? If it's simply a case of "That's how it is, won't be fixed,
>  > > there are higher priorities", that's good enough by me. Just seems a
>  > > shame that we have an option to enable another option, which is
>  > > required for the first option to be sensible -- seems like we should
>  > > only need the second option...
>  >
>  > I really do not see what problem you are trying to address.
>  >
>  > STANDALONE is there as an easy way to turn of the options that requires
>  > sensible input to make a kernel compile.
>  >
>  > And that makes _perfect_ sense when you do randconfig builds.
>
>
>  > CONFIG_ACPI_CUSTOM_DSDT=y
>  > CONFIG_ACPI_CUSTOM_DSDT_FILE=""
>
>
> Is there a way to generate (in Kconfig language) the boolean
>  CONFIG_ACPI_CUSTOM_DSDT based on whether CONFIG_ACPI_CUSTOM_DSDT_FILE
>  == "" or != "" ?  I tried to muck around with that last night but
>  couldn't get it to work.  I.e., just present the ACPI_CUSTOM_DSDT_FILE
>  config symbol to the user and then generate the ACPI_CUSTOM_DSDT bool
>  based on the string value.

Thanks for re-expressing my question, Randy, this is exactly what I'm wondering.

Thanks,
Nish

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-22 18:13             ` Randy Dunlap
  2008-02-22 18:21               ` Nish Aravamudan
@ 2008-02-22 18:27               ` Sam Ravnborg
  2008-02-22 18:29                 ` Randy Dunlap
  1 sibling, 1 reply; 27+ messages in thread
From: Sam Ravnborg @ 2008-02-22 18:27 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Nish Aravamudan, Len Brown, Kamalesh Babulal, Andrew Morton,
	linux-kernel, linux-acpi, Andy Whitcroft

> 
> Is there a way to generate (in Kconfig language) the boolean
> CONFIG_ACPI_CUSTOM_DSDT based on whether CONFIG_ACPI_CUSTOM_DSDT_FILE
> == "" or != "" ?  I tried to muck around with that last night but
> couldn't get it to work.  I.e., just present the ACPI_CUSTOM_DSDT_FILE
> config symbol to the user and then generate the ACPI_CUSTOM_DSDT bool
> based on the string value.

Something following this example?

config STRING
        string
        prompt "What string"
        default ""

config STRING_IS_NOT_EMPTY
        bool
        default STRING != ""


But that seems too easy - were you trying to do something
more complex than this?

	Sam

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-22 18:27               ` Sam Ravnborg
@ 2008-02-22 18:29                 ` Randy Dunlap
  2008-02-22 18:56                   ` Sam Ravnborg
  0 siblings, 1 reply; 27+ messages in thread
From: Randy Dunlap @ 2008-02-22 18:29 UTC (permalink / raw)
  To: Sam Ravnborg
  Cc: Nish Aravamudan, Len Brown, Kamalesh Babulal, Andrew Morton,
	linux-kernel, linux-acpi, Andy Whitcroft

Sam Ravnborg wrote:
>> Is there a way to generate (in Kconfig language) the boolean
>> CONFIG_ACPI_CUSTOM_DSDT based on whether CONFIG_ACPI_CUSTOM_DSDT_FILE
>> == "" or != "" ?  I tried to muck around with that last night but
>> couldn't get it to work.  I.e., just present the ACPI_CUSTOM_DSDT_FILE
>> config symbol to the user and then generate the ACPI_CUSTOM_DSDT bool
>> based on the string value.
> 
> Something following this example?
> 
> config STRING
>         string
>         prompt "What string"
>         default ""
> 
> config STRING_IS_NOT_EMPTY
>         bool
>         default STRING != ""
> 
> 
> But that seems too easy - were you trying to do something
> more complex than this?

Yes, that's almost what I had.  I used def_bool n on the second config symbol,
but the bool value never changed when I changed the string value.
I'll be glad to look at it again though.

-- 
~Randy

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-22 18:29                 ` Randy Dunlap
@ 2008-02-22 18:56                   ` Sam Ravnborg
  2008-02-22 19:25                     ` [PATCH] " Randy Dunlap
  0 siblings, 1 reply; 27+ messages in thread
From: Sam Ravnborg @ 2008-02-22 18:56 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Nish Aravamudan, Len Brown, Kamalesh Babulal, Andrew Morton,
	linux-kernel, linux-acpi, Andy Whitcroft

On Fri, Feb 22, 2008 at 10:29:38AM -0800, Randy Dunlap wrote:
> Sam Ravnborg wrote:
> >>Is there a way to generate (in Kconfig language) the boolean
> >>CONFIG_ACPI_CUSTOM_DSDT based on whether CONFIG_ACPI_CUSTOM_DSDT_FILE
> >>== "" or != "" ?  I tried to muck around with that last night but
> >>couldn't get it to work.  I.e., just present the ACPI_CUSTOM_DSDT_FILE
> >>config symbol to the user and then generate the ACPI_CUSTOM_DSDT bool
> >>based on the string value.
> >
> >Something following this example?
> >
> >config STRING
> >        string
> >        prompt "What string"
> >        default ""
> >
> >config STRING_IS_NOT_EMPTY
> >        bool
> >        default STRING != ""
> >
> >
> >But that seems too easy - were you trying to do something
> >more complex than this?
> 
> Yes, that's almost what I had.  I used def_bool n on the second config 
> symbol,
> but the bool value never changed when I changed the string value.
> I'll be glad to look at it again though.
I tested that above in a small Kconfig file and it
works as expected. When I set the string to something
STRING_IS_NOT_EMPTY is equal to y.

	Sam

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [PATCH] [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-22 18:56                   ` Sam Ravnborg
@ 2008-02-22 19:25                     ` Randy Dunlap
  2008-02-23  5:41                       ` Len Brown
  2008-02-23 15:33                       ` Kamalesh Babulal
  0 siblings, 2 replies; 27+ messages in thread
From: Randy Dunlap @ 2008-02-22 19:25 UTC (permalink / raw)
  To: Sam Ravnborg
  Cc: Nish Aravamudan, Len Brown, Kamalesh Babulal, Andrew Morton,
	linux-kernel, linux-acpi, Andy Whitcroft

Let's see what the ACPI people think about this change.

Thanks, Sam.
---
From: Randy Dunlap <randy.dunlap@oracle.com>

Make ACPI_CUSTOM_DSDT boolean config symbol a hidden and derived
value, based on the value of ACPI_CUSTOM_DSDT_FILE (string).
Only the latter is presented to the user as a config option.

This fixes problems with "make randconfig" setting ACPI_CUSTOM_DSDT
but leaving ACPI_CUSTOM_DSDT_FILE empty/blank.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/acpi/Kconfig |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

--- linux-2.6.25-rc2-git5.orig/drivers/acpi/Kconfig
+++ linux-2.6.25-rc2-git5/drivers/acpi/Kconfig
@@ -283,24 +283,23 @@ config ACPI_TOSHIBA
 	  If you have a legacy free Toshiba laptop (such as the Libretto L1
 	  series), say Y.
 
-config ACPI_CUSTOM_DSDT
-	bool "Include Custom DSDT"
+config ACPI_CUSTOM_DSDT_FILE
+	string "Custom DSDT Table file to include"
+	default ""
 	depends on !STANDALONE
-	default n 
 	help
 	  This option supports a custom DSDT by linking it into the kernel.
 	  See Documentation/acpi/dsdt-override.txt
 
-	  If unsure, say N.
-
-config ACPI_CUSTOM_DSDT_FILE
-	string "Custom DSDT Table file to include"
-	depends on ACPI_CUSTOM_DSDT
-	default ""
-	help
 	  Enter the full path name to the file which includes the AmlCode
 	  declaration.
 
+	  If unsure, don't enter a file name.
+
+config ACPI_CUSTOM_DSDT
+	bool
+	default ACPI_CUSTOM_DSDT_FILE != ""
+
 config ACPI_CUSTOM_DSDT_INITRD
 	bool "Read Custom DSDT from initramfs"
 	depends on BLK_DEV_INITRD

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH] [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-22 19:25                     ` [PATCH] " Randy Dunlap
@ 2008-02-23  5:41                       ` Len Brown
  2008-02-23 15:33                       ` Kamalesh Babulal
  1 sibling, 0 replies; 27+ messages in thread
From: Len Brown @ 2008-02-23  5:41 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Sam Ravnborg, Nish Aravamudan, Kamalesh Babulal, Andrew Morton,
	linux-kernel, linux-acpi, Andy Whitcroft

works for me!

applied.

thanks,
-len

ps.  CONFIG_ACPI_CUSTOM_DSDT's only use is to guard the use of
CONFIG_ACPI_CUSTOM_DSDT_FILE:

#ifdef CONFIG_ACPI_CUSTOM_DSDT
#include CONFIG_ACPI_CUSTOM_DSDT_FILE
#endif

we could get rid of it if cpp could so something like

#if (CONFIG_ACPI_CUSTOM_DSDT_FILE != "")
#include CONFIG_ACPI_CUSTOM_DSDT_FILE
#endif

but it doesn't look like cpp has a concept of strings in expressions.

On Friday 22 February 2008 14:25, Randy Dunlap wrote:
> Let's see what the ACPI people think about this change.
> 
> Thanks, Sam.
> ---
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Make ACPI_CUSTOM_DSDT boolean config symbol a hidden and derived
> value, based on the value of ACPI_CUSTOM_DSDT_FILE (string).
> Only the latter is presented to the user as a config option.
> 
> This fixes problems with "make randconfig" setting ACPI_CUSTOM_DSDT
> but leaving ACPI_CUSTOM_DSDT_FILE empty/blank.
> 
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> ---
>  drivers/acpi/Kconfig |   19 +++++++++----------
>  1 file changed, 9 insertions(+), 10 deletions(-)
> 
> --- linux-2.6.25-rc2-git5.orig/drivers/acpi/Kconfig
> +++ linux-2.6.25-rc2-git5/drivers/acpi/Kconfig
> @@ -283,24 +283,23 @@ config ACPI_TOSHIBA
>  	  If you have a legacy free Toshiba laptop (such as the Libretto L1
>  	  series), say Y.
>  
> -config ACPI_CUSTOM_DSDT
> -	bool "Include Custom DSDT"
> +config ACPI_CUSTOM_DSDT_FILE
> +	string "Custom DSDT Table file to include"
> +	default ""
>  	depends on !STANDALONE
> -	default n 
>  	help
>  	  This option supports a custom DSDT by linking it into the kernel.
>  	  See Documentation/acpi/dsdt-override.txt
>  
> -	  If unsure, say N.
> -
> -config ACPI_CUSTOM_DSDT_FILE
> -	string "Custom DSDT Table file to include"
> -	depends on ACPI_CUSTOM_DSDT
> -	default ""
> -	help
>  	  Enter the full path name to the file which includes the AmlCode
>  	  declaration.
>  
> +	  If unsure, don't enter a file name.
> +
> +config ACPI_CUSTOM_DSDT
> +	bool
> +	default ACPI_CUSTOM_DSDT_FILE != ""
> +
>  config ACPI_CUSTOM_DSDT_INITRD
>  	bool "Read Custom DSDT from initramfs"
>  	depends on BLK_DEV_INITRD
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [PATCH] [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os
  2008-02-22 19:25                     ` [PATCH] " Randy Dunlap
  2008-02-23  5:41                       ` Len Brown
@ 2008-02-23 15:33                       ` Kamalesh Babulal
  1 sibling, 0 replies; 27+ messages in thread
From: Kamalesh Babulal @ 2008-02-23 15:33 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Sam Ravnborg, Nish Aravamudan, Len Brown, Kamalesh Babulal,
	Andrew Morton, linux-kernel, linux-acpi, Andy Whitcroft

On Fri, Feb 22, 2008 at 11:25:04AM -0800, Randy Dunlap wrote:
> Let's see what the ACPI people think about this change.
> 
> Thanks, Sam.
> ---
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> Make ACPI_CUSTOM_DSDT boolean config symbol a hidden and derived
> value, based on the value of ACPI_CUSTOM_DSDT_FILE (string).
> Only the latter is presented to the user as a config option.
> 
> This fixes problems with "make randconfig" setting ACPI_CUSTOM_DSDT
> but leaving ACPI_CUSTOM_DSDT_FILE empty/blank.
> 
Thanks, the patch solves the build failure.

Tested-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 drivers/acpi/Kconfig |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

--- linux-2.6.25-rc2-git5.orig/drivers/acpi/Kconfig
+++ linux-2.6.25-rc2-git5/drivers/acpi/Kconfig
@@ -283,24 +283,23 @@ config ACPI_TOSHIBA
        If you have a legacy free Toshiba laptop (such as the Libretto
L1
        series), say Y.

-config ACPI_CUSTOM_DSDT
-     bool "Include Custom DSDT"
+config ACPI_CUSTOM_DSDT_FILE
+     string "Custom DSDT Table file to include"
+     default ""
      depends on !STANDALONE
-     default n 
      help
        This option supports a custom DSDT by linking it into the
kernel.
        See Documentation/acpi/dsdt-override.txt

-       If unsure, say N.
-
-config ACPI_CUSTOM_DSDT_FILE
-     string "Custom DSDT Table file to include"
-     depends on ACPI_CUSTOM_DSDT
-     default ""
-     help
        Enter the full path name to the file which includes the AmlCode
        declaration.

+       If unsure, don't enter a file name.
+
+config ACPI_CUSTOM_DSDT
+     bool
+     default ACPI_CUSTOM_DSDT_FILE != ""
+
 config ACPI_CUSTOM_DSDT_INITRD
      bool "Read Custom DSDT from initramfs"
      depends on BLK_DEV_INITRD

After applying the patch and continuing with the same randconfig
reported earlier, the build fails with following error

drivers/acpi/thermal.c: In function ‘acpi_thermal_init’:
drivers/acpi/thermal.c:1792: error: ‘thermal_dmi_table’ undeclared (first use in this function)
drivers/acpi/thermal.c:1792: error: (Each undeclared identifier is reported only once
drivers/acpi/thermal.c:1792: error: for each function it appears in.)
make[2]: *** [drivers/acpi/thermal.o] Error 1
make[1]: *** [drivers/acpi] Error 2
make: *** [drivers] Error 2

I have tested the patch for build failure only.

Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
--
--- linux-2.6.25-rc2/drivers/acpi/Kconfig	2008-02-23 19:54:11.000000000 +0530
+++ linux-2.6.25-rc2/drivers/acpi/~Kconfig	2008-02-24 04:16:07.000000000 +0530
@@ -187,7 +187,7 @@ config ACPI_HOTPLUG_CPU
 
 config ACPI_THERMAL
 	tristate "Thermal Zone"
-	depends on ACPI_PROCESSOR
+	depends on ACPI_PROCESSOR && DMI
 	select THERMAL
 	default y
 	help
-- 
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2008-02-23 15:34 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080216002522.9c4bd0fb.akpm@linux-foundation.org>
2008-02-16 19:47 ` [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os Kamalesh Babulal
2008-02-16 20:01   ` Laura Garcia
2008-02-21  7:08   ` Len Brown
2008-02-21 18:54     ` Nish Aravamudan
2008-02-21 22:22       ` Sam Ravnborg
2008-02-22  1:38         ` Nish Aravamudan
2008-02-22 18:08           ` Sam Ravnborg
2008-02-22 18:12             ` Nish Aravamudan
2008-02-22 18:13             ` Randy Dunlap
2008-02-22 18:21               ` Nish Aravamudan
2008-02-22 18:27               ` Sam Ravnborg
2008-02-22 18:29                 ` Randy Dunlap
2008-02-22 18:56                   ` Sam Ravnborg
2008-02-22 19:25                     ` [PATCH] " Randy Dunlap
2008-02-23  5:41                       ` Len Brown
2008-02-23 15:33                       ` Kamalesh Babulal
2008-02-17  5:16 ` 2.6.25-rc2-mm1 (x64 thermal build failure) Randy Dunlap
2008-02-17  5:44   ` Andrew Morton
2008-02-18 10:15     ` Thomas Petazzoni
2008-02-18 12:13       ` Andrew Morton
2008-02-19 15:55         ` Thomas Petazzoni
2008-02-19 17:41           ` Randy Dunlap
2008-02-19 22:00             ` Thomas Petazzoni
2008-02-19 22:05               ` Randy Dunlap
2008-02-19 23:21           ` Andrew Morton
2008-02-20  7:21             ` Thomas Petazzoni
2008-02-20  9:55               ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox