···225 - documents the kernel probes debugging feature.226kref.txt227 - docs on adding reference counters (krefs) to kernel objects.228-laptop-mode.txt229- - how to conserve battery power using laptop-mode.230laptops/231 - directory with laptop related info and laptop driver documentation.232ldm.txt···299 - info on the Linux PCMCIA driver.300pi-futex.txt301 - documentation on lightweight PI-futexes.302-pm.txt303- - info on Linux power management support.304pnp.txt305 - Linux Plug and Play documentation.306-power_supply_class.txt307- - Tells userspace about battery, UPS, AC or DC power supply properties308power/309 - directory with info on Linux PCI power management.310powerpc/
···225 - documents the kernel probes debugging feature.226kref.txt227 - docs on adding reference counters (krefs) to kernel objects.00228laptops/229 - directory with laptop related info and laptop driver documentation.230ldm.txt···301 - info on the Linux PCMCIA driver.302pi-futex.txt303 - documentation on lightweight PI-futexes.00304pnp.txt305 - Linux Plug and Play documentation.00306power/307 - directory with info on Linux PCI power management.308powerpc/
+2-2
Documentation/filesystems/proc.txt
···1506-----------15071508laptop_mode is a knob that controls "laptop mode". All the things that are1509-controlled by this knob are discussed in Documentation/laptop-mode.txt.15101511block_dump1512----------15131514block_dump enables block I/O debugging when set to a nonzero value. More1515-information on block I/O debugging is in Documentation/laptop-mode.txt.15161517swap_token_timeout1518------------------
···1506-----------15071508laptop_mode is a knob that controls "laptop mode". All the things that are1509+controlled by this knob are discussed in Documentation/laptops/laptop-mode.txt.15101511block_dump1512----------15131514block_dump enables block I/O debugging when set to a nonzero value. More1515+information on block I/O debugging is in Documentation/laptops/laptop-mode.txt.15161517swap_token_timeout1518------------------
+1-1
Documentation/kernel-parameters.txt
···138 strict -- Be less tolerant of platforms that are not139 strictly ACPI specification compliant.140141- See also Documentation/pm.txt, pci=noacpi142143 acpi_apic_instance= [ACPI, IOAPIC]144 Format: <int>
···138 strict -- Be less tolerant of platforms that are not139 strictly ACPI specification compliant.140141+ See also Documentation/power/pm.txt, pci=noacpi142143 acpi_apic_instance= [ACPI, IOAPIC]144 Format: <int>
···2 - This file3acer-wmi.txt4 - information on the Acer Laptop WMI Extras driver.005sony-laptop.txt6 - Sony Notebook Control Driver (SNC) Readme.7sonypi.txt
···2 - This file3acer-wmi.txt4 - information on the Acer Laptop WMI Extras driver.5+laptop-mode.txt6+ - how to conserve battery power using laptop-mode.7sony-laptop.txt8 - Sony Notebook Control Driver (SNC) Readme.9sonypi.txt
+2-2
Documentation/laptops/acer-wmi.txt
···4849To send me the DSDT, as root/sudo:5051-cat /sys/firmware/acpi/DSDT > dsdt5253And send me the resulting 'dsdt' file.54···169170The LED is exposed through the LED subsystem, and can be found in:171172-/sys/devices/platform/acer-wmi/leds/acer-mail:green/173174The mail LED is autodetected, so if you don't have one, the LED device won't175be registered.
···4849To send me the DSDT, as root/sudo:5051+cat /sys/firmware/acpi/tables/DSDT > dsdt5253And send me the resulting 'dsdt' file.54···169170The LED is exposed through the LED subsystem, and can be found in:171172+/sys/devices/platform/acer-wmi/leds/acer-wmi::mail/173174The mail LED is autodetected, so if you don't have one, the LED device won't175be registered.
+1-1
Documentation/pm.txt
Documentation/power/pm.txt
···108 * EINVAL if the request is not supported109 * EBUSY if the device is now busy and cannot handle the request110 * ENOMEM if the device was unable to handle the request due to memory111- * 112 * Details: The device request callback will be called before the113 * device/system enters a suspend state (ACPI D1-D3) or114 * or after the device/system resumes from suspend (ACPI D0).
···108 * EINVAL if the request is not supported109 * EBUSY if the device is now busy and cannot handle the request110 * ENOMEM if the device was unable to handle the request due to memory111+ *112 * Details: The device request callback will be called before the113 * device/system enters a suspend state (ACPI D1-D3) or114 * or after the device/system resumes from suspend (ACPI D0).
···14 - Registering suspend notifiers in device drivers15pci.txt16 - How the PCI Subsystem Does Power Management00000017s2ram.txt18 - How to get suspend to ram working (and debug it when it isn't)19states.txt
···14 - Registering suspend notifiers in device drivers15pci.txt16 - How the PCI Subsystem Does Power Management17+pm.txt18+ - info on Linux power management support.19+pm_qos_interface.txt20+ - info on Linux PM Quality of Service interface21+power_supply_class.txt22+ - Tells userspace about battery, UPS, AC or DC power supply properties23s2ram.txt24 - How to get suspend to ram working (and debug it when it isn't)25states.txt
···143 This is given by thermal zone driver as part of registration.144 Eg: "ACPI thermal zone" indicates it's a ACPI thermal device145 RO146- Optional147148temp Current temperature as reported by thermal zone (sensor)149- Unit: degree Celsius150 RO151 Required152···163 charge of the thermal management.164165trip_point_[0-*]_temp The temperature above which trip point will be fired166- Unit: degree Celsius167 RO168 Optional169···193 eg. For memory controller device on intel_menlow platform:194 this should be "Memory controller"195 RO196- Optional197198max_state The maximum permissible cooling state of this cooling device.199 RO···219220|thermal_zone1:221 |-----type: ACPI thermal zone222- |-----temp: 37223 |-----mode: kernel224- |-----trip_point_0_temp: 100225 |-----trip_point_0_type: critical226- |-----trip_point_1_temp: 80227 |-----trip_point_1_type: passive228- |-----trip_point_2_temp: 70229- |-----trip_point_2_type: active[0]230- |-----trip_point_3_temp: 60231- |-----trip_point_3_type: active[1]232 |-----cdev0: --->/sys/class/thermal/cooling_device0233 |-----cdev0_trip_point: 1 /* cdev0 can be used for passive */234 |-----cdev1: --->/sys/class/thermal/cooling_device3
···143 This is given by thermal zone driver as part of registration.144 Eg: "ACPI thermal zone" indicates it's a ACPI thermal device145 RO146+ Required147148temp Current temperature as reported by thermal zone (sensor)149+ Unit: millidegree Celsius150 RO151 Required152···163 charge of the thermal management.164165trip_point_[0-*]_temp The temperature above which trip point will be fired166+ Unit: millidegree Celsius167 RO168 Optional169···193 eg. For memory controller device on intel_menlow platform:194 this should be "Memory controller"195 RO196+ Required197198max_state The maximum permissible cooling state of this cooling device.199 RO···219220|thermal_zone1:221 |-----type: ACPI thermal zone222+ |-----temp: 37000223 |-----mode: kernel224+ |-----trip_point_0_temp: 100000225 |-----trip_point_0_type: critical226+ |-----trip_point_1_temp: 80000227 |-----trip_point_1_type: passive228+ |-----trip_point_2_temp: 70000229+ |-----trip_point_2_type: active0230+ |-----trip_point_3_temp: 60000231+ |-----trip_point_3_type: active1232 |-----cdev0: --->/sys/class/thermal/cooling_device0233 |-----cdev0_trip_point: 1 /* cdev0 can be used for passive */234 |-----cdev1: --->/sys/class/thermal/cooling_device3
···1#2# Automatically generated make config: don't edit3-# Linux kernel version: 2.6.24-rc54-# Mon Dec 17 20:04:38 20075#6CONFIG_ARM=y7CONFIG_SYS_SUPPORTS_APM_EMULATION=y···21# CONFIG_ARCH_HAS_ILOG2_U64 is not set22CONFIG_GENERIC_HWEIGHT=y23CONFIG_GENERIC_CALIBRATE_DELAY=y024CONFIG_ZONE_DMA=y25CONFIG_VECTORS_BASE=0xffff000026CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"···41# CONFIG_POSIX_MQUEUE is not set42# CONFIG_BSD_PROCESS_ACCT is not set43# CONFIG_TASKSTATS is not set44-# CONFIG_USER_NS is not set45-# CONFIG_PID_NS is not set46# CONFIG_AUDIT is not set47# CONFIG_IKCONFIG is not set48CONFIG_LOG_BUF_SHIFT=1449# CONFIG_CGROUPS is not set050CONFIG_FAIR_GROUP_SCHED=y51-CONFIG_FAIR_USER_SCHED=y52-# CONFIG_FAIR_CGROUP_SCHED is not set053# CONFIG_SYSFS_DEPRECATED is not set54# CONFIG_RELAY is not set0000055CONFIG_BLK_DEV_INITRD=y56CONFIG_INITRAMFS_SOURCE=""57CONFIG_CC_OPTIMIZE_FOR_SIZE=y···70CONFIG_PRINTK=y71CONFIG_BUG=y72CONFIG_ELF_CORE=y073CONFIG_BASE_FULL=y74CONFIG_FUTEX=y75CONFIG_ANON_INODES=y76CONFIG_EPOLL=y77CONFIG_SIGNALFD=y078CONFIG_EVENTFD=y79CONFIG_SHMEM=y80CONFIG_VM_EVENT_COUNTERS=y81CONFIG_SLAB=y82# CONFIG_SLUB is not set83# CONFIG_SLOB is not set000000084CONFIG_RT_MUTEXES=y85# CONFIG_TINY_SHMEM is not set86CONFIG_BASE_SMALL=0···117# CONFIG_DEFAULT_CFQ is not set118# CONFIG_DEFAULT_NOOP is not set119CONFIG_DEFAULT_IOSCHED="anticipatory"00120121#122# System Type···147# CONFIG_ARCH_KS8695 is not set148# CONFIG_ARCH_NS9XXX is not set149# CONFIG_ARCH_MXC is not set0150# CONFIG_ARCH_PNX4008 is not set151# CONFIG_ARCH_PXA is not set152# CONFIG_ARCH_RPC is not set···157# CONFIG_ARCH_LH7A40X is not set158# CONFIG_ARCH_DAVINCI is not set159CONFIG_ARCH_OMAP=y0160161#162# TI OMAP Implementations···174# CONFIG_OMAP_MUX_DEBUG is not set175CONFIG_OMAP_MUX_WARNINGS=y176CONFIG_OMAP_MCBSP=y0177# CONFIG_OMAP_MPU_TIMER is not set178CONFIG_OMAP_32K_TIMER=y179CONFIG_OMAP_32K_TIMER_HZ=128···286CONFIG_CMDLINE="mem=32M console=ttyS0,115200n8 root=0801 ro init=/bin/sh"287# CONFIG_XIP_KERNEL is not set288# CONFIG_KEXEC is not set0289290#291# CPU Frequency scaling···332# CONFIG_PM_LEGACY is not set333# CONFIG_PM_DEBUG is not set334CONFIG_PM_SLEEP=y335-CONFIG_SUSPEND_UP_POSSIBLE=y336CONFIG_SUSPEND=y0337# CONFIG_APM_EMULATION is not set0338339#340# Networking···352# CONFIG_XFRM_USER is not set353# CONFIG_XFRM_SUB_POLICY is not set354# CONFIG_XFRM_MIGRATE is not set0355# CONFIG_NET_KEY is not set356CONFIG_INET=y357# CONFIG_IP_MULTICAST is not set···407#408# CONFIG_NET_PKTGEN is not set409# CONFIG_HAMRADIO is not set0410# CONFIG_IRDA is not set411# CONFIG_BT is not set412# CONFIG_AF_RXRPC is not set···445CONFIG_BLK_DEV_RAM=y446CONFIG_BLK_DEV_RAM_COUNT=16447CONFIG_BLK_DEV_RAM_SIZE=8192448-CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024449# CONFIG_CDROM_PKTCDVD is not set450CONFIG_ATA_OVER_ETH=m451CONFIG_MISC_DEVICES=y452# CONFIG_EEPROM_93CX6 is not set00453454#455# SCSI device support···515# CONFIG_IBM_NEW_EMAC_EMAC4 is not set516# CONFIG_B44 is not set517CONFIG_NETDEV_1000=y0518CONFIG_NETDEV_10000=y519520#···539CONFIG_SLHC=y540# CONFIG_SLIP_SMART is not set541# CONFIG_SLIP_MODE_SLIP6 is not set542-# CONFIG_SHAPER is not set543# CONFIG_NETCONSOLE is not set544# CONFIG_NETPOLL is not set545# CONFIG_NET_POLL_CONTROLLER is not set···642#643# Miscellaneous I2C Chip support644#645-# CONFIG_SENSORS_DS1337 is not set646-# CONFIG_SENSORS_DS1374 is not set647# CONFIG_DS1682 is not set648# CONFIG_SENSORS_EEPROM is not set649# CONFIG_SENSORS_PCF8574 is not set650-# CONFIG_SENSORS_PCA9539 is not set651# CONFIG_SENSORS_PCF8591 is not set652# CONFIG_ISP1301_OMAP is not set653CONFIG_TPS65010=y···673# CONFIG_SENSORS_ADM1031 is not set674# CONFIG_SENSORS_ADM9240 is not set675# CONFIG_SENSORS_ADT7470 is not set0676# CONFIG_SENSORS_ATXP1 is not set677# CONFIG_SENSORS_DS1621 is not set678# CONFIG_SENSORS_F71805F is not set···701# CONFIG_SENSORS_SMSC47M1 is not set702# CONFIG_SENSORS_SMSC47M192 is not set703# CONFIG_SENSORS_SMSC47B397 is not set0704# CONFIG_SENSORS_THMC50 is not set705# CONFIG_SENSORS_VT1211 is not set706# CONFIG_SENSORS_W83781D is not set···709# CONFIG_SENSORS_W83792D is not set710# CONFIG_SENSORS_W83793 is not set711# CONFIG_SENSORS_W83L785TS is not set0712# CONFIG_SENSORS_W83627HF is not set713# CONFIG_SENSORS_W83627EHF is not set714# CONFIG_HWMON_DEBUG_CHIP is not set···732# Multifunction device drivers733#734# CONFIG_MFD_SM501 is not set0735736#737# Multimedia devices···830#831# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'832#833-834-#835-# USB Gadget Support836-#837# CONFIG_USB_GADGET is not set838# CONFIG_MMC is not set839# CONFIG_NEW_LEDS is not set···850# CONFIG_XFS_FS is not set851# CONFIG_GFS2_FS is not set852# CONFIG_OCFS2_FS is not set853-# CONFIG_MINIX_FS is not set854-CONFIG_ROMFS_FS=y855CONFIG_INOTIFY=y856CONFIG_INOTIFY_USER=y857# CONFIG_QUOTA is not set858-CONFIG_DNOTIFY=y859# CONFIG_AUTOFS_FS is not set860# CONFIG_AUTOFS4_FS is not set861# CONFIG_FUSE_FS is not set···896# CONFIG_EFS_FS is not set897CONFIG_CRAMFS=y898# CONFIG_VXFS_FS is not set0899# CONFIG_HPFS_FS is not set900# CONFIG_QNX4FS_FS is not set0901# CONFIG_SYSV_FS is not set902# CONFIG_UFS_FS is not set903CONFIG_NETWORK_FILESYSTEMS=y···970# CONFIG_NLS_KOI8_U is not set971# CONFIG_NLS_UTF8 is not set972# CONFIG_DLM is not set973-CONFIG_INSTRUMENTATION=y974-# CONFIG_PROFILING is not set975-# CONFIG_MARKERS is not set976977#978# Kernel hacking···996CONFIG_CRYPTO=y997CONFIG_CRYPTO_ALGAPI=y998CONFIG_CRYPTO_BLKCIPHER=y0999CONFIG_CRYPTO_MANAGER=y1000# CONFIG_CRYPTO_HMAC is not set1001# CONFIG_CRYPTO_XCBC is not set···1014CONFIG_CRYPTO_PCBC=m1015# CONFIG_CRYPTO_LRW is not set1016# CONFIG_CRYPTO_XTS is not set0001017# CONFIG_CRYPTO_CRYPTD is not set1018CONFIG_CRYPTO_DES=y1019# CONFIG_CRYPTO_FCRYPT is not set···1031# CONFIG_CRYPTO_KHAZAD is not set1032# CONFIG_CRYPTO_ANUBIS is not set1033# CONFIG_CRYPTO_SEED is not set01034# CONFIG_CRYPTO_DEFLATE is not set1035# CONFIG_CRYPTO_MICHAEL_MIC is not set1036# CONFIG_CRYPTO_CRC32C is not set1037# CONFIG_CRYPTO_CAMELLIA is not set1038# CONFIG_CRYPTO_TEST is not set1039# CONFIG_CRYPTO_AUTHENC is not set01040CONFIG_CRYPTO_HW=y10411042#
···1#2# Automatically generated make config: don't edit3+# Linux kernel version: 2.6.25-rc34+# Mon Mar 3 03:39:48 20085#6CONFIG_ARM=y7CONFIG_SYS_SUPPORTS_APM_EMULATION=y···21# CONFIG_ARCH_HAS_ILOG2_U64 is not set22CONFIG_GENERIC_HWEIGHT=y23CONFIG_GENERIC_CALIBRATE_DELAY=y24+CONFIG_ARCH_SUPPORTS_AOUT=y25CONFIG_ZONE_DMA=y26CONFIG_VECTORS_BASE=0xffff000027CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"···40# CONFIG_POSIX_MQUEUE is not set41# CONFIG_BSD_PROCESS_ACCT is not set42# CONFIG_TASKSTATS is not set0043# CONFIG_AUDIT is not set44# CONFIG_IKCONFIG is not set45CONFIG_LOG_BUF_SHIFT=1446# CONFIG_CGROUPS is not set47+CONFIG_GROUP_SCHED=y48CONFIG_FAIR_GROUP_SCHED=y49+# CONFIG_RT_GROUP_SCHED is not set50+CONFIG_USER_SCHED=y51+# CONFIG_CGROUP_SCHED is not set52# CONFIG_SYSFS_DEPRECATED is not set53# CONFIG_RELAY is not set54+CONFIG_NAMESPACES=y55+# CONFIG_UTS_NS is not set56+# CONFIG_IPC_NS is not set57+# CONFIG_USER_NS is not set58+# CONFIG_PID_NS is not set59CONFIG_BLK_DEV_INITRD=y60CONFIG_INITRAMFS_SOURCE=""61CONFIG_CC_OPTIMIZE_FOR_SIZE=y···64CONFIG_PRINTK=y65CONFIG_BUG=y66CONFIG_ELF_CORE=y67+CONFIG_COMPAT_BRK=y68CONFIG_BASE_FULL=y69CONFIG_FUTEX=y70CONFIG_ANON_INODES=y71CONFIG_EPOLL=y72CONFIG_SIGNALFD=y73+CONFIG_TIMERFD=y74CONFIG_EVENTFD=y75CONFIG_SHMEM=y76CONFIG_VM_EVENT_COUNTERS=y77CONFIG_SLAB=y78# CONFIG_SLUB is not set79# CONFIG_SLOB is not set80+# CONFIG_PROFILING is not set81+# CONFIG_MARKERS is not set82+CONFIG_HAVE_OPROFILE=y83+# CONFIG_KPROBES is not set84+CONFIG_HAVE_KPROBES=y85+CONFIG_PROC_PAGE_MONITOR=y86+CONFIG_SLABINFO=y87CONFIG_RT_MUTEXES=y88# CONFIG_TINY_SHMEM is not set89CONFIG_BASE_SMALL=0···102# CONFIG_DEFAULT_CFQ is not set103# CONFIG_DEFAULT_NOOP is not set104CONFIG_DEFAULT_IOSCHED="anticipatory"105+CONFIG_CLASSIC_RCU=y106+# CONFIG_PREEMPT_RCU is not set107108#109# System Type···130# CONFIG_ARCH_KS8695 is not set131# CONFIG_ARCH_NS9XXX is not set132# CONFIG_ARCH_MXC is not set133+# CONFIG_ARCH_ORION is not set134# CONFIG_ARCH_PNX4008 is not set135# CONFIG_ARCH_PXA is not set136# CONFIG_ARCH_RPC is not set···139# CONFIG_ARCH_LH7A40X is not set140# CONFIG_ARCH_DAVINCI is not set141CONFIG_ARCH_OMAP=y142+# CONFIG_ARCH_MSM7X00A is not set143144#145# TI OMAP Implementations···155# CONFIG_OMAP_MUX_DEBUG is not set156CONFIG_OMAP_MUX_WARNINGS=y157CONFIG_OMAP_MCBSP=y158+# CONFIG_OMAP_MMU_FWK is not set159# CONFIG_OMAP_MPU_TIMER is not set160CONFIG_OMAP_32K_TIMER=y161CONFIG_OMAP_32K_TIMER_HZ=128···266CONFIG_CMDLINE="mem=32M console=ttyS0,115200n8 root=0801 ro init=/bin/sh"267# CONFIG_XIP_KERNEL is not set268# CONFIG_KEXEC is not set269+# CONFIG_ATAGS_PROC is not set270271#272# CPU Frequency scaling···311# CONFIG_PM_LEGACY is not set312# CONFIG_PM_DEBUG is not set313CONFIG_PM_SLEEP=y0314CONFIG_SUSPEND=y315+CONFIG_SUSPEND_FREEZER=y316# CONFIG_APM_EMULATION is not set317+CONFIG_ARCH_SUSPEND_POSSIBLE=y318319#320# Networking···330# CONFIG_XFRM_USER is not set331# CONFIG_XFRM_SUB_POLICY is not set332# CONFIG_XFRM_MIGRATE is not set333+# CONFIG_XFRM_STATISTICS is not set334# CONFIG_NET_KEY is not set335CONFIG_INET=y336# CONFIG_IP_MULTICAST is not set···384#385# CONFIG_NET_PKTGEN is not set386# CONFIG_HAMRADIO is not set387+# CONFIG_CAN is not set388# CONFIG_IRDA is not set389# CONFIG_BT is not set390# CONFIG_AF_RXRPC is not set···421CONFIG_BLK_DEV_RAM=y422CONFIG_BLK_DEV_RAM_COUNT=16423CONFIG_BLK_DEV_RAM_SIZE=8192424+# CONFIG_BLK_DEV_XIP is not set425# CONFIG_CDROM_PKTCDVD is not set426CONFIG_ATA_OVER_ETH=m427CONFIG_MISC_DEVICES=y428# CONFIG_EEPROM_93CX6 is not set429+# CONFIG_ENCLOSURE_SERVICES is not set430+# CONFIG_HAVE_IDE is not set431432#433# SCSI device support···489# CONFIG_IBM_NEW_EMAC_EMAC4 is not set490# CONFIG_B44 is not set491CONFIG_NETDEV_1000=y492+# CONFIG_E1000E_ENABLED is not set493CONFIG_NETDEV_10000=y494495#···512CONFIG_SLHC=y513# CONFIG_SLIP_SMART is not set514# CONFIG_SLIP_MODE_SLIP6 is not set0515# CONFIG_NETCONSOLE is not set516# CONFIG_NETPOLL is not set517# CONFIG_NET_POLL_CONTROLLER is not set···616#617# Miscellaneous I2C Chip support618#00619# CONFIG_DS1682 is not set620# CONFIG_SENSORS_EEPROM is not set621# CONFIG_SENSORS_PCF8574 is not set622+# CONFIG_PCF8575 is not set623# CONFIG_SENSORS_PCF8591 is not set624# CONFIG_ISP1301_OMAP is not set625CONFIG_TPS65010=y···649# CONFIG_SENSORS_ADM1031 is not set650# CONFIG_SENSORS_ADM9240 is not set651# CONFIG_SENSORS_ADT7470 is not set652+# CONFIG_SENSORS_ADT7473 is not set653# CONFIG_SENSORS_ATXP1 is not set654# CONFIG_SENSORS_DS1621 is not set655# CONFIG_SENSORS_F71805F is not set···676# CONFIG_SENSORS_SMSC47M1 is not set677# CONFIG_SENSORS_SMSC47M192 is not set678# CONFIG_SENSORS_SMSC47B397 is not set679+# CONFIG_SENSORS_ADS7828 is not set680# CONFIG_SENSORS_THMC50 is not set681# CONFIG_SENSORS_VT1211 is not set682# CONFIG_SENSORS_W83781D is not set···683# CONFIG_SENSORS_W83792D is not set684# CONFIG_SENSORS_W83793 is not set685# CONFIG_SENSORS_W83L785TS is not set686+# CONFIG_SENSORS_W83L786NG is not set687# CONFIG_SENSORS_W83627HF is not set688# CONFIG_SENSORS_W83627EHF is not set689# CONFIG_HWMON_DEBUG_CHIP is not set···705# Multifunction device drivers706#707# CONFIG_MFD_SM501 is not set708+# CONFIG_MFD_ASIC3 is not set709710#711# Multimedia devices···802#803# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'804#0000805# CONFIG_USB_GADGET is not set806# CONFIG_MMC is not set807# CONFIG_NEW_LEDS is not set···826# CONFIG_XFS_FS is not set827# CONFIG_GFS2_FS is not set828# CONFIG_OCFS2_FS is not set829+CONFIG_DNOTIFY=y0830CONFIG_INOTIFY=y831CONFIG_INOTIFY_USER=y832# CONFIG_QUOTA is not set0833# CONFIG_AUTOFS_FS is not set834# CONFIG_AUTOFS4_FS is not set835# CONFIG_FUSE_FS is not set···874# CONFIG_EFS_FS is not set875CONFIG_CRAMFS=y876# CONFIG_VXFS_FS is not set877+# CONFIG_MINIX_FS is not set878# CONFIG_HPFS_FS is not set879# CONFIG_QNX4FS_FS is not set880+CONFIG_ROMFS_FS=y881# CONFIG_SYSV_FS is not set882# CONFIG_UFS_FS is not set883CONFIG_NETWORK_FILESYSTEMS=y···946# CONFIG_NLS_KOI8_U is not set947# CONFIG_NLS_UTF8 is not set948# CONFIG_DLM is not set000949950#951# Kernel hacking···975CONFIG_CRYPTO=y976CONFIG_CRYPTO_ALGAPI=y977CONFIG_CRYPTO_BLKCIPHER=y978+# CONFIG_CRYPTO_SEQIV is not set979CONFIG_CRYPTO_MANAGER=y980# CONFIG_CRYPTO_HMAC is not set981# CONFIG_CRYPTO_XCBC is not set···992CONFIG_CRYPTO_PCBC=m993# CONFIG_CRYPTO_LRW is not set994# CONFIG_CRYPTO_XTS is not set995+# CONFIG_CRYPTO_CTR is not set996+# CONFIG_CRYPTO_GCM is not set997+# CONFIG_CRYPTO_CCM is not set998# CONFIG_CRYPTO_CRYPTD is not set999CONFIG_CRYPTO_DES=y1000# CONFIG_CRYPTO_FCRYPT is not set···1006# CONFIG_CRYPTO_KHAZAD is not set1007# CONFIG_CRYPTO_ANUBIS is not set1008# CONFIG_CRYPTO_SEED is not set1009+# CONFIG_CRYPTO_SALSA20 is not set1010# CONFIG_CRYPTO_DEFLATE is not set1011# CONFIG_CRYPTO_MICHAEL_MIC is not set1012# CONFIG_CRYPTO_CRC32C is not set1013# CONFIG_CRYPTO_CAMELLIA is not set1014# CONFIG_CRYPTO_TEST is not set1015# CONFIG_CRYPTO_AUTHENC is not set1016+# CONFIG_CRYPTO_LZO is not set1017CONFIG_CRYPTO_HW=y10181019#
+94-29
arch/arm/configs/omap_osk_5912_defconfig
···1#2# Automatically generated make config: don't edit3-# Linux kernel version: 2.6.24-rc54-# Mon Dec 17 21:12:45 20075#6CONFIG_ARM=y7CONFIG_SYS_SUPPORTS_APM_EMULATION=y···21# CONFIG_ARCH_HAS_ILOG2_U64 is not set22CONFIG_GENERIC_HWEIGHT=y23CONFIG_GENERIC_CALIBRATE_DELAY=y024CONFIG_ZONE_DMA=y25CONFIG_VECTORS_BASE=0xffff000026CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"···40# CONFIG_POSIX_MQUEUE is not set41# CONFIG_BSD_PROCESS_ACCT is not set42# CONFIG_TASKSTATS is not set43-# CONFIG_USER_NS is not set44-# CONFIG_PID_NS is not set45# CONFIG_AUDIT is not set46# CONFIG_IKCONFIG is not set47CONFIG_LOG_BUF_SHIFT=1448# CONFIG_CGROUPS is not set049CONFIG_FAIR_GROUP_SCHED=y50-CONFIG_FAIR_USER_SCHED=y51-# CONFIG_FAIR_CGROUP_SCHED is not set052# CONFIG_SYSFS_DEPRECATED is not set53# CONFIG_RELAY is not set0000054CONFIG_BLK_DEV_INITRD=y55CONFIG_INITRAMFS_SOURCE=""56CONFIG_CC_OPTIMIZE_FOR_SIZE=y···69CONFIG_PRINTK=y70CONFIG_BUG=y71CONFIG_ELF_CORE=y072CONFIG_BASE_FULL=y73CONFIG_FUTEX=y74CONFIG_ANON_INODES=y75CONFIG_EPOLL=y76CONFIG_SIGNALFD=y077CONFIG_EVENTFD=y78CONFIG_SHMEM=y79CONFIG_VM_EVENT_COUNTERS=y80CONFIG_SLAB=y81# CONFIG_SLUB is not set82# CONFIG_SLOB is not set000000083CONFIG_RT_MUTEXES=y84# CONFIG_TINY_SHMEM is not set85CONFIG_BASE_SMALL=0···116CONFIG_DEFAULT_CFQ=y117# CONFIG_DEFAULT_NOOP is not set118CONFIG_DEFAULT_IOSCHED="cfq"00119120#121# System Type···146# CONFIG_ARCH_KS8695 is not set147# CONFIG_ARCH_NS9XXX is not set148# CONFIG_ARCH_MXC is not set0149# CONFIG_ARCH_PNX4008 is not set150# CONFIG_ARCH_PXA is not set151# CONFIG_ARCH_RPC is not set···156# CONFIG_ARCH_LH7A40X is not set157# CONFIG_ARCH_DAVINCI is not set158CONFIG_ARCH_OMAP=y0159160#161# TI OMAP Implementations···173# CONFIG_OMAP_MUX_DEBUG is not set174CONFIG_OMAP_MUX_WARNINGS=y175CONFIG_OMAP_MCBSP=y0176# CONFIG_OMAP_MPU_TIMER is not set177CONFIG_OMAP_32K_TIMER=y178CONFIG_OMAP_32K_TIMER_HZ=128···193#194# OMAP Board Type195#196-# CONFIG_MACH_OMAP_INNOVATOR is not set197-# CONFIG_MACH_OMAP_H2 is not set198-# CONFIG_MACH_OMAP_H3 is not set199CONFIG_MACH_OMAP_OSK=y200# CONFIG_OMAP_OSK_MISTRAL is not set201-# CONFIG_MACH_NOKIA770 is not set202-# CONFIG_MACH_OMAP_GENERIC is not set203204#205# OMAP CPU Speed···295CONFIG_CMDLINE="mem=32M console=ttyS0,115200 initrd=0x10400000,8M root=/dev/ram0 rw"296# CONFIG_XIP_KERNEL is not set297# CONFIG_KEXEC is not set0298299#300# CPU Frequency scaling···328# CONFIG_PM_LEGACY is not set329# CONFIG_PM_DEBUG is not set330CONFIG_PM_SLEEP=y331-CONFIG_SUSPEND_UP_POSSIBLE=y332CONFIG_SUSPEND=y0333# CONFIG_APM_EMULATION is not set0334335#336# Networking···348# CONFIG_XFRM_USER is not set349# CONFIG_XFRM_SUB_POLICY is not set350# CONFIG_XFRM_MIGRATE is not set0351# CONFIG_NET_KEY is not set352CONFIG_INET=y353CONFIG_IP_MULTICAST=y···404#405# CONFIG_NET_PKTGEN is not set406# CONFIG_HAMRADIO is not set0407# CONFIG_IRDA is not set408# CONFIG_BT is not set409# CONFIG_AF_RXRPC is not set···517CONFIG_BLK_DEV_RAM=y518CONFIG_BLK_DEV_RAM_COUNT=16519CONFIG_BLK_DEV_RAM_SIZE=8192520-CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024521# CONFIG_CDROM_PKTCDVD is not set522# CONFIG_ATA_OVER_ETH is not set523CONFIG_MISC_DEVICES=y524# CONFIG_EEPROM_93CX6 is not set00525CONFIG_IDE=m526CONFIG_BLK_DEV_IDE=m527···545#546# CONFIG_IDE_GENERIC is not set547# CONFIG_BLK_DEV_PLATFORM is not set548-# CONFIG_IDE_ARM is not set549# CONFIG_BLK_DEV_IDEDMA is not set550CONFIG_IDE_ARCH_OBSOLETE_INIT=y551# CONFIG_BLK_DEV_HD is not set···578# CONFIG_IBM_NEW_EMAC_EMAC4 is not set579# CONFIG_B44 is not set580CONFIG_NETDEV_1000=y0581CONFIG_NETDEV_10000=y582583#···600# CONFIG_PPPOL2TP is not set601# CONFIG_SLIP is not set602CONFIG_SLHC=y603-# CONFIG_SHAPER is not set604# CONFIG_NETCONSOLE is not set605# CONFIG_NETPOLL is not set606# CONFIG_NET_POLL_CONTROLLER is not set···696# CONFIG_SYNCLINK_CS is not set697# CONFIG_CARDMAN_4000 is not set698# CONFIG_CARDMAN_4040 is not set0699# CONFIG_RAW_DRIVER is not set700# CONFIG_TCG_TPM is not set701CONFIG_I2C=y···724#725# Miscellaneous I2C Chip support726#727-# CONFIG_SENSORS_DS1337 is not set728-# CONFIG_SENSORS_DS1374 is not set729# CONFIG_DS1682 is not set730# CONFIG_SENSORS_EEPROM is not set731# CONFIG_SENSORS_PCF8574 is not set732-# CONFIG_SENSORS_PCA9539 is not set733# CONFIG_SENSORS_PCF8591 is not set734# CONFIG_ISP1301_OMAP is not set735CONFIG_TPS65010=y···755# CONFIG_SENSORS_ADM1031 is not set756# CONFIG_SENSORS_ADM9240 is not set757# CONFIG_SENSORS_ADT7470 is not set0758# CONFIG_SENSORS_ATXP1 is not set759# CONFIG_SENSORS_DS1621 is not set760# CONFIG_SENSORS_F71805F is not set···783# CONFIG_SENSORS_SMSC47M1 is not set784# CONFIG_SENSORS_SMSC47M192 is not set785# CONFIG_SENSORS_SMSC47B397 is not set0786# CONFIG_SENSORS_THMC50 is not set787# CONFIG_SENSORS_VT1211 is not set788# CONFIG_SENSORS_W83781D is not set···791# CONFIG_SENSORS_W83792D is not set792# CONFIG_SENSORS_W83793 is not set793# CONFIG_SENSORS_W83L785TS is not set0794# CONFIG_SENSORS_W83627HF is not set795# CONFIG_SENSORS_W83627EHF is not set796# CONFIG_HWMON_DEBUG_CHIP is not set···807# Multifunction device drivers808#809# CONFIG_MFD_SM501 is not set0810811#812# Multimedia devices···893#894# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'895#896-897-#898-# USB Gadget Support899-#900# CONFIG_USB_GADGET is not set901# CONFIG_MMC is not set902# CONFIG_NEW_LEDS is not set···913# CONFIG_XFS_FS is not set914# CONFIG_GFS2_FS is not set915# CONFIG_OCFS2_FS is not set916-# CONFIG_MINIX_FS is not set917-# CONFIG_ROMFS_FS is not set918CONFIG_INOTIFY=y919CONFIG_INOTIFY_USER=y920# CONFIG_QUOTA is not set921-CONFIG_DNOTIFY=y922CONFIG_AUTOFS_FS=y923CONFIG_AUTOFS4_FS=y924# CONFIG_FUSE_FS is not set···970# CONFIG_JFFS2_RUBIN is not set971# CONFIG_CRAMFS is not set972# CONFIG_VXFS_FS is not set0973# CONFIG_HPFS_FS is not set974# CONFIG_QNX4FS_FS is not set0975# CONFIG_SYSV_FS is not set976# CONFIG_UFS_FS is not set977CONFIG_NETWORK_FILESYSTEMS=y···1043# CONFIG_NLS_KOI8_U is not set1044# CONFIG_NLS_UTF8 is not set1045# CONFIG_DLM is not set1046-CONFIG_INSTRUMENTATION=y1047-# CONFIG_PROFILING is not set1048-# CONFIG_MARKERS is not set10491050#1051# Kernel hacking···1066# CONFIG_KEYS is not set1067# CONFIG_SECURITY is not set1068# CONFIG_SECURITY_FILE_CAPABILITIES is not set1069-# CONFIG_CRYPTO is not set0000000000000000000000000000000000000000000010701071#1072# Library routines
···1#2# Automatically generated make config: don't edit3+# Linux kernel version: 2.6.25-rc34+# Mon Mar 3 03:35:17 20085#6CONFIG_ARM=y7CONFIG_SYS_SUPPORTS_APM_EMULATION=y···21# CONFIG_ARCH_HAS_ILOG2_U64 is not set22CONFIG_GENERIC_HWEIGHT=y23CONFIG_GENERIC_CALIBRATE_DELAY=y24+CONFIG_ARCH_SUPPORTS_AOUT=y25CONFIG_ZONE_DMA=y26CONFIG_VECTORS_BASE=0xffff000027CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"···39# CONFIG_POSIX_MQUEUE is not set40# CONFIG_BSD_PROCESS_ACCT is not set41# CONFIG_TASKSTATS is not set0042# CONFIG_AUDIT is not set43# CONFIG_IKCONFIG is not set44CONFIG_LOG_BUF_SHIFT=1445# CONFIG_CGROUPS is not set46+CONFIG_GROUP_SCHED=y47CONFIG_FAIR_GROUP_SCHED=y48+# CONFIG_RT_GROUP_SCHED is not set49+CONFIG_USER_SCHED=y50+# CONFIG_CGROUP_SCHED is not set51# CONFIG_SYSFS_DEPRECATED is not set52# CONFIG_RELAY is not set53+CONFIG_NAMESPACES=y54+# CONFIG_UTS_NS is not set55+# CONFIG_IPC_NS is not set56+# CONFIG_USER_NS is not set57+# CONFIG_PID_NS is not set58CONFIG_BLK_DEV_INITRD=y59CONFIG_INITRAMFS_SOURCE=""60CONFIG_CC_OPTIMIZE_FOR_SIZE=y···63CONFIG_PRINTK=y64CONFIG_BUG=y65CONFIG_ELF_CORE=y66+CONFIG_COMPAT_BRK=y67CONFIG_BASE_FULL=y68CONFIG_FUTEX=y69CONFIG_ANON_INODES=y70CONFIG_EPOLL=y71CONFIG_SIGNALFD=y72+CONFIG_TIMERFD=y73CONFIG_EVENTFD=y74CONFIG_SHMEM=y75CONFIG_VM_EVENT_COUNTERS=y76CONFIG_SLAB=y77# CONFIG_SLUB is not set78# CONFIG_SLOB is not set79+# CONFIG_PROFILING is not set80+# CONFIG_MARKERS is not set81+CONFIG_HAVE_OPROFILE=y82+# CONFIG_KPROBES is not set83+CONFIG_HAVE_KPROBES=y84+CONFIG_PROC_PAGE_MONITOR=y85+CONFIG_SLABINFO=y86CONFIG_RT_MUTEXES=y87# CONFIG_TINY_SHMEM is not set88CONFIG_BASE_SMALL=0···101CONFIG_DEFAULT_CFQ=y102# CONFIG_DEFAULT_NOOP is not set103CONFIG_DEFAULT_IOSCHED="cfq"104+CONFIG_CLASSIC_RCU=y105+# CONFIG_PREEMPT_RCU is not set106107#108# System Type···129# CONFIG_ARCH_KS8695 is not set130# CONFIG_ARCH_NS9XXX is not set131# CONFIG_ARCH_MXC is not set132+# CONFIG_ARCH_ORION is not set133# CONFIG_ARCH_PNX4008 is not set134# CONFIG_ARCH_PXA is not set135# CONFIG_ARCH_RPC is not set···138# CONFIG_ARCH_LH7A40X is not set139# CONFIG_ARCH_DAVINCI is not set140CONFIG_ARCH_OMAP=y141+# CONFIG_ARCH_MSM7X00A is not set142143#144# TI OMAP Implementations···154# CONFIG_OMAP_MUX_DEBUG is not set155CONFIG_OMAP_MUX_WARNINGS=y156CONFIG_OMAP_MCBSP=y157+# CONFIG_OMAP_MMU_FWK is not set158# CONFIG_OMAP_MPU_TIMER is not set159CONFIG_OMAP_32K_TIMER=y160CONFIG_OMAP_32K_TIMER_HZ=128···173#174# OMAP Board Type175#176+CONFIG_MACH_OMAP_INNOVATOR=y177+CONFIG_MACH_OMAP_H2=y178+CONFIG_MACH_OMAP_H3=y179CONFIG_MACH_OMAP_OSK=y180# CONFIG_OMAP_OSK_MISTRAL is not set181+CONFIG_MACH_NOKIA770=y182+CONFIG_MACH_OMAP_GENERIC=y183184#185# OMAP CPU Speed···275CONFIG_CMDLINE="mem=32M console=ttyS0,115200 initrd=0x10400000,8M root=/dev/ram0 rw"276# CONFIG_XIP_KERNEL is not set277# CONFIG_KEXEC is not set278+# CONFIG_ATAGS_PROC is not set279280#281# CPU Frequency scaling···307# CONFIG_PM_LEGACY is not set308# CONFIG_PM_DEBUG is not set309CONFIG_PM_SLEEP=y0310CONFIG_SUSPEND=y311+CONFIG_SUSPEND_FREEZER=y312# CONFIG_APM_EMULATION is not set313+CONFIG_ARCH_SUSPEND_POSSIBLE=y314315#316# Networking···326# CONFIG_XFRM_USER is not set327# CONFIG_XFRM_SUB_POLICY is not set328# CONFIG_XFRM_MIGRATE is not set329+# CONFIG_XFRM_STATISTICS is not set330# CONFIG_NET_KEY is not set331CONFIG_INET=y332CONFIG_IP_MULTICAST=y···381#382# CONFIG_NET_PKTGEN is not set383# CONFIG_HAMRADIO is not set384+# CONFIG_CAN is not set385# CONFIG_IRDA is not set386# CONFIG_BT is not set387# CONFIG_AF_RXRPC is not set···493CONFIG_BLK_DEV_RAM=y494CONFIG_BLK_DEV_RAM_COUNT=16495CONFIG_BLK_DEV_RAM_SIZE=8192496+# CONFIG_BLK_DEV_XIP is not set497# CONFIG_CDROM_PKTCDVD is not set498# CONFIG_ATA_OVER_ETH is not set499CONFIG_MISC_DEVICES=y500# CONFIG_EEPROM_93CX6 is not set501+# CONFIG_ENCLOSURE_SERVICES is not set502+CONFIG_HAVE_IDE=y503CONFIG_IDE=m504CONFIG_BLK_DEV_IDE=m505···519#520# CONFIG_IDE_GENERIC is not set521# CONFIG_BLK_DEV_PLATFORM is not set0522# CONFIG_BLK_DEV_IDEDMA is not set523CONFIG_IDE_ARCH_OBSOLETE_INIT=y524# CONFIG_BLK_DEV_HD is not set···553# CONFIG_IBM_NEW_EMAC_EMAC4 is not set554# CONFIG_B44 is not set555CONFIG_NETDEV_1000=y556+# CONFIG_E1000E_ENABLED is not set557CONFIG_NETDEV_10000=y558559#···574# CONFIG_PPPOL2TP is not set575# CONFIG_SLIP is not set576CONFIG_SLHC=y0577# CONFIG_NETCONSOLE is not set578# CONFIG_NETPOLL is not set579# CONFIG_NET_POLL_CONTROLLER is not set···671# CONFIG_SYNCLINK_CS is not set672# CONFIG_CARDMAN_4000 is not set673# CONFIG_CARDMAN_4040 is not set674+# CONFIG_IPWIRELESS is not set675# CONFIG_RAW_DRIVER is not set676# CONFIG_TCG_TPM is not set677CONFIG_I2C=y···698#699# Miscellaneous I2C Chip support700#00701# CONFIG_DS1682 is not set702# CONFIG_SENSORS_EEPROM is not set703# CONFIG_SENSORS_PCF8574 is not set704+# CONFIG_PCF8575 is not set705# CONFIG_SENSORS_PCF8591 is not set706# CONFIG_ISP1301_OMAP is not set707CONFIG_TPS65010=y···731# CONFIG_SENSORS_ADM1031 is not set732# CONFIG_SENSORS_ADM9240 is not set733# CONFIG_SENSORS_ADT7470 is not set734+# CONFIG_SENSORS_ADT7473 is not set735# CONFIG_SENSORS_ATXP1 is not set736# CONFIG_SENSORS_DS1621 is not set737# CONFIG_SENSORS_F71805F is not set···758# CONFIG_SENSORS_SMSC47M1 is not set759# CONFIG_SENSORS_SMSC47M192 is not set760# CONFIG_SENSORS_SMSC47B397 is not set761+# CONFIG_SENSORS_ADS7828 is not set762# CONFIG_SENSORS_THMC50 is not set763# CONFIG_SENSORS_VT1211 is not set764# CONFIG_SENSORS_W83781D is not set···765# CONFIG_SENSORS_W83792D is not set766# CONFIG_SENSORS_W83793 is not set767# CONFIG_SENSORS_W83L785TS is not set768+# CONFIG_SENSORS_W83L786NG is not set769# CONFIG_SENSORS_W83627HF is not set770# CONFIG_SENSORS_W83627EHF is not set771# CONFIG_HWMON_DEBUG_CHIP is not set···780# Multifunction device drivers781#782# CONFIG_MFD_SM501 is not set783+# CONFIG_MFD_ASIC3 is not set784785#786# Multimedia devices···865#866# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'867#0000868# CONFIG_USB_GADGET is not set869# CONFIG_MMC is not set870# CONFIG_NEW_LEDS is not set···889# CONFIG_XFS_FS is not set890# CONFIG_GFS2_FS is not set891# CONFIG_OCFS2_FS is not set892+CONFIG_DNOTIFY=y0893CONFIG_INOTIFY=y894CONFIG_INOTIFY_USER=y895# CONFIG_QUOTA is not set0896CONFIG_AUTOFS_FS=y897CONFIG_AUTOFS4_FS=y898# CONFIG_FUSE_FS is not set···948# CONFIG_JFFS2_RUBIN is not set949# CONFIG_CRAMFS is not set950# CONFIG_VXFS_FS is not set951+# CONFIG_MINIX_FS is not set952# CONFIG_HPFS_FS is not set953# CONFIG_QNX4FS_FS is not set954+# CONFIG_ROMFS_FS is not set955# CONFIG_SYSV_FS is not set956# CONFIG_UFS_FS is not set957CONFIG_NETWORK_FILESYSTEMS=y···1019# CONFIG_NLS_KOI8_U is not set1020# CONFIG_NLS_UTF8 is not set1021# CONFIG_DLM is not set00010221023#1024# Kernel hacking···1045# CONFIG_KEYS is not set1046# CONFIG_SECURITY is not set1047# CONFIG_SECURITY_FILE_CAPABILITIES is not set1048+CONFIG_CRYPTO=y1049+# CONFIG_CRYPTO_SEQIV is not set1050+# CONFIG_CRYPTO_MANAGER is not set1051+# CONFIG_CRYPTO_HMAC is not set1052+# CONFIG_CRYPTO_XCBC is not set1053+# CONFIG_CRYPTO_NULL is not set1054+# CONFIG_CRYPTO_MD4 is not set1055+# CONFIG_CRYPTO_MD5 is not set1056+# CONFIG_CRYPTO_SHA1 is not set1057+# CONFIG_CRYPTO_SHA256 is not set1058+# CONFIG_CRYPTO_SHA512 is not set1059+# CONFIG_CRYPTO_WP512 is not set1060+# CONFIG_CRYPTO_TGR192 is not set1061+# CONFIG_CRYPTO_GF128MUL is not set1062+# CONFIG_CRYPTO_ECB is not set1063+# CONFIG_CRYPTO_CBC is not set1064+# CONFIG_CRYPTO_PCBC is not set1065+# CONFIG_CRYPTO_LRW is not set1066+# CONFIG_CRYPTO_XTS is not set1067+# CONFIG_CRYPTO_CTR is not set1068+# CONFIG_CRYPTO_GCM is not set1069+# CONFIG_CRYPTO_CCM is not set1070+# CONFIG_CRYPTO_CRYPTD is not set1071+# CONFIG_CRYPTO_DES is not set1072+# CONFIG_CRYPTO_FCRYPT is not set1073+# CONFIG_CRYPTO_BLOWFISH is not set1074+# CONFIG_CRYPTO_TWOFISH is not set1075+# CONFIG_CRYPTO_SERPENT is not set1076+# CONFIG_CRYPTO_AES is not set1077+# CONFIG_CRYPTO_CAST5 is not set1078+# CONFIG_CRYPTO_CAST6 is not set1079+# CONFIG_CRYPTO_TEA is not set1080+# CONFIG_CRYPTO_ARC4 is not set1081+# CONFIG_CRYPTO_KHAZAD is not set1082+# CONFIG_CRYPTO_ANUBIS is not set1083+# CONFIG_CRYPTO_SEED is not set1084+# CONFIG_CRYPTO_SALSA20 is not set1085+# CONFIG_CRYPTO_DEFLATE is not set1086+# CONFIG_CRYPTO_MICHAEL_MIC is not set1087+# CONFIG_CRYPTO_CRC32C is not set1088+# CONFIG_CRYPTO_CAMELLIA is not set1089+# CONFIG_CRYPTO_TEST is not set1090+# CONFIG_CRYPTO_AUTHENC is not set1091+# CONFIG_CRYPTO_LZO is not set1092+CONFIG_CRYPTO_HW=y10931094#1095# Library routines
···29#define KERNEL_RAM_VADDR (PAGE_OFFSET + TEXT_OFFSET)30#define KERNEL_RAM_PADDR (PHYS_OFFSET + TEXT_OFFSET)3132-#define ATAG_CORE 0x5441000133-#define ATAG_CORE_SIZE ((2*4 + 3*4) >> 2)34-3536/*37 * swapper_pg_dir is the virtual address of the initial page table.
···29#define KERNEL_RAM_VADDR (PAGE_OFFSET + TEXT_OFFSET)30#define KERNEL_RAM_PADDR (PHYS_OFFSET + TEXT_OFFSET)310003233/*34 * swapper_pg_dir is the virtual address of the initial page table.
···245246static void at91_lcdc_power_control(int on)247{248- if (on)249- at91_set_gpio_value(AT91_PIN_PD12, 0); /* power up */250- else251- at91_set_gpio_value(AT91_PIN_PD12, 1); /* power down */252}253254/* Driver datas */
···490491/*--------------------------------------------------------------------------*/49200000493/*494 * Called from the processor-specific init to enable GPIO interrupt support.495 */···515 __raw_writel(~0, this->regbase + PIO_IDR);516517 for (i = 0, pin = this->chipbase; i < 32; i++, pin++) {00518 /*519 * Can use the "simple" and not "edge" handler since it's520 * shorter, and the AIC handles interrupts sanely.
···490491/*--------------------------------------------------------------------------*/492493+/* This lock class tells lockdep that GPIO irqs are in a different494+ * category than their parents, so it won't report false recursion.495+ */496+static struct lock_class_key gpio_lock_class;497+498/*499 * Called from the processor-specific init to enable GPIO interrupt support.500 */···510 __raw_writel(~0, this->regbase + PIO_IDR);511512 for (i = 0, pin = this->chipbase; i < 32; i++, pin++) {513+ lockdep_set_class(&irq_desc[pin].lock, &gpio_lock_class);514+515 /*516 * Can use the "simple" and not "edge" handler since it's517 * shorter, and the AIC handles interrupts sanely.
···5455 if (!imxdma->name) {56 printk(KERN_CRIT "%s: called for not allocated channel %d\n",57- __FUNCTION__, dma_ch);58 return 0;59 }60···288289 if (!imxdma->name) {290 printk(KERN_CRIT "%s: called for not allocated channel %d\n",291- __FUNCTION__, dma_ch);292 return -ENODEV;293 }294···321322 if (!imxdma->name) {323 printk(KERN_CRIT "%s: called for not allocated channel %d\n",324- __FUNCTION__, dma_ch);325 return;326 }327···365366 if (dma_ch >= IMX_DMA_CHANNELS) {367 printk(KERN_CRIT "%s: called for non-existed channel %d\n",368- __FUNCTION__, dma_ch);369 return -EINVAL;370 }371···396 if (!imxdma->name) {397 printk(KERN_CRIT398 "%s: trying to free channel %d which is already freed\n",399- __FUNCTION__, dma_ch);400 return;401 }402···456 }457 }458459- printk(KERN_ERR "%s: no free DMA channel found\n", __FUNCTION__);460461 return -ENODEV;462}
···5455 if (!imxdma->name) {56 printk(KERN_CRIT "%s: called for not allocated channel %d\n",57+ __func__, dma_ch);58 return 0;59 }60···288289 if (!imxdma->name) {290 printk(KERN_CRIT "%s: called for not allocated channel %d\n",291+ __func__, dma_ch);292 return -ENODEV;293 }294···321322 if (!imxdma->name) {323 printk(KERN_CRIT "%s: called for not allocated channel %d\n",324+ __func__, dma_ch);325 return;326 }327···365366 if (dma_ch >= IMX_DMA_CHANNELS) {367 printk(KERN_CRIT "%s: called for non-existed channel %d\n",368+ __func__, dma_ch);369 return -EINVAL;370 }371···396 if (!imxdma->name) {397 printk(KERN_CRIT398 "%s: trying to free channel %d which is already freed\n",399+ __func__, dma_ch);400 return;401 }402···456 }457 }458459+ printk(KERN_ERR "%s: no free DMA channel found\n", __func__);460461 return -ENODEV;462}
···192 if (!dma_channels[ch].name) {193 printk(KERN_CRIT194 "%s: trying to free channel %d which is already freed\n",195- __FUNCTION__, ch);196 return;197 }198
···192 if (!dma_channels[ch].name) {193 printk(KERN_CRIT194 "%s: trying to free channel %d which is already freed\n",195+ __func__, ch);196 return;197 }198
+1-1
arch/arm/mach-pxa/cm-x270-pci.c
···104{105 int irq;106107- dev_dbg(&dev->dev, "%s: slot=%x, pin=%x\n", __FUNCTION__, slot, pin);108109 irq = it8152_pci_map_irq(dev, slot, pin);110 if (irq)
···104{105 int irq;106107+ dev_dbg(&dev->dev, "%s: slot=%x, pin=%x\n", __func__, slot, pin);108109 irq = it8152_pci_map_irq(dev, slot, pin);110 if (irq)
···81 if (!dma_channels[dma_ch].name) {82 printk (KERN_CRIT83 "%s: trying to free channel %d which is already freed\n",84- __FUNCTION__, dma_ch);85 return;86 }87
···81 if (!dma_channels[dma_ch].name) {82 printk (KERN_CRIT83 "%s: trying to free channel %d which is already freed\n",84+ __func__, dma_ch);85 return;86 }87
···217 ConXS_BCR = trizeps_conxs_bcr;218219 }220- pr_debug("%s: o%s 0x%x\n", __FUNCTION__, power ? "n": "ff", trizeps_conxs_bcr);221}222223/* backlight power switching for LCD panel */···228 } else {229 trizeps_conxs_bcr &= ~ConXS_BCR_L_DISP;230 }231- pr_debug("%s: o%s 0x%x\n", __FUNCTION__, on ? "n" : "ff", trizeps_conxs_bcr);232 ConXS_BCR = trizeps_conxs_bcr;233}234···238 struct pxamci_platform_data* p_d = dev->platform_data;239240 if (( 1 << vdd) & p_d->ocr_mask) {241- pr_debug("%s: on\n", __FUNCTION__);242 /* FIXME fill in values here */243 } else {244- pr_debug("%s: off\n", __FUNCTION__);245 /* FIXME fill in values here */246 }247}
···217 ConXS_BCR = trizeps_conxs_bcr;218219 }220+ pr_debug("%s: o%s 0x%x\n", __func__, power ? "n": "ff", trizeps_conxs_bcr);221}222223/* backlight power switching for LCD panel */···228 } else {229 trizeps_conxs_bcr &= ~ConXS_BCR_L_DISP;230 }231+ pr_debug("%s: o%s 0x%x\n", __func__, on ? "n" : "ff", trizeps_conxs_bcr);232 ConXS_BCR = trizeps_conxs_bcr;233}234···238 struct pxamci_platform_data* p_d = dev->platform_data;239240 if (( 1 << vdd) & p_d->ocr_mask) {241+ pr_debug("%s: on\n", __func__);242 /* FIXME fill in values here */243 } else {244+ pr_debug("%s: off\n", __func__);245 /* FIXME fill in values here */246 }247}
+3-3
arch/arm/mach-sa1100/badge4.c
···206 if (ret < 0)207 printk(KERN_ERR208 "%s: SA-1111 initialization failed (%d)\n",209- __FUNCTION__, ret);210211212 /* maybe turn on 5v0 from the start */···240 /* detect on->off and off->on transitions */241 if ((!old_5V_bitmap) && (badge4_5V_bitmap)) {242 /* was off, now on */243- printk(KERN_INFO "%s: enabling 5V supply rail\n", __FUNCTION__);244 GPSR = BADGE4_GPIO_PCMEN5V;245 } else if ((old_5V_bitmap) && (!badge4_5V_bitmap)) {246 /* was on, now off */247- printk(KERN_INFO "%s: disabling 5V supply rail\n", __FUNCTION__);248 GPCR = BADGE4_GPIO_PCMEN5V;249 }250
···206 if (ret < 0)207 printk(KERN_ERR208 "%s: SA-1111 initialization failed (%d)\n",209+ __func__, ret);210211212 /* maybe turn on 5v0 from the start */···240 /* detect on->off and off->on transitions */241 if ((!old_5V_bitmap) && (badge4_5V_bitmap)) {242 /* was off, now on */243+ printk(KERN_INFO "%s: enabling 5V supply rail\n", __func__);244 GPSR = BADGE4_GPIO_PCMEN5V;245 } else if ((old_5V_bitmap) && (!badge4_5V_bitmap)) {246 /* was on, now off */247+ printk(KERN_INFO "%s: disabling 5V supply rail\n", __func__);248 GPCR = BADGE4_GPIO_PCMEN5V;249 }250
+1-1
arch/arm/mach-sa1100/cpu-sa1100.c
···139140 if (settings->speed == 0) {141 panic("%s: couldn't find dram setting for speed %d\n",142- __FUNCTION__, new_speed);143 }144145 /* No risk, no fun: run with interrupts on! */
···139140 if (settings->speed == 0) {141 panic("%s: couldn't find dram setting for speed %d\n",142+ __func__, new_speed);143 }144145 /* No risk, no fun: run with interrupts on! */
+4-4
arch/arm/mach-sa1100/dma.c
···129 if (err) {130 printk(KERN_ERR131 "%s: unable to request IRQ %d for %s\n",132- __FUNCTION__, IRQ_DMA0 + i, device_id);133 dma->device = 0;134 return err;135 }···165 if (regs == (dma_regs_t *)&DDAR(i))166 break;167 if (i >= SA1100_DMA_CHANNELS) {168- printk(KERN_ERR "%s: bad DMA identifier\n", __FUNCTION__);169 return;170 }171172 if (!dma_chan[i].device) {173- printk(KERN_ERR "%s: Trying to free free DMA\n", __FUNCTION__);174 return;175 }176···329 if (regs == (dma_regs_t *)&DDAR(i))330 break;331 if (i >= SA1100_DMA_CHANNELS) {332- printk(KERN_ERR "%s: bad DMA identifier\n", __FUNCTION__);333 return;334 }335
···129 if (err) {130 printk(KERN_ERR131 "%s: unable to request IRQ %d for %s\n",132+ __func__, IRQ_DMA0 + i, device_id);133 dma->device = 0;134 return err;135 }···165 if (regs == (dma_regs_t *)&DDAR(i))166 break;167 if (i >= SA1100_DMA_CHANNELS) {168+ printk(KERN_ERR "%s: bad DMA identifier\n", __func__);169 return;170 }171172 if (!dma_chan[i].device) {173+ printk(KERN_ERR "%s: Trying to free free DMA\n", __func__);174 return;175 }176···329 if (regs == (dma_regs_t *)&DDAR(i))330 break;331 if (i >= SA1100_DMA_CHANNELS) {332+ printk(KERN_ERR "%s: bad DMA identifier\n", __func__);333 return;334 }335
+7-7
arch/arm/mach-sa1100/h3600.c
···596 case IPAQ_EGPIO_CODEC_NRESET:597 case IPAQ_EGPIO_AUDIO_ON:598 case IPAQ_EGPIO_QMUTE:599- printk("%s: error - should not be called\n", __FUNCTION__);600 break;601 case IPAQ_EGPIO_OPT_NVRAM_ON:602 SET_ASIC2(GPIO2_OPT_ON_NVRAM);···638 static u16 asic2_data;639 int result = 0;640641- printk("%s %d\n", __FUNCTION__, req);642643 switch (req) {644 case PM_RESUME:···666 asic2_data = H3800_ASIC2_GPIOPIOD;667 break;668 default:669- printk("%s: unrecognized PM callback\n", __FUNCTION__);670 break;671 }672 return result;···706{707 int i;708709- if (0) printk("%s: interrupt received\n", __FUNCTION__);710711 desc->chip->ack(irq);712···716717 /* KPIO */718 irq = H3800_ASIC2_KPIINTFLAG;719- if (0) printk("%s KPIO 0x%08X\n", __FUNCTION__, irq);720 for (j = 0; j < H3800_KPIO_IRQ_COUNT; j++)721 if (irq & kpio_irq_mask[j])722 handle_edge_irq(H3800_KPIO_IRQ_COUNT + j, irq_desc + H3800_KPIO_IRQ_COUNT + j);723724 /* GPIO2 */725 irq = H3800_ASIC2_GPIINTFLAG;726- if (0) printk("%s GPIO 0x%08X\n", __FUNCTION__, irq);727 for (j = 0; j < H3800_GPIO_IRQ_COUNT; j++)728 if (irq & gpio_irq_mask[j])729 handle_edge_irq(H3800_GPIO_IRQ_COUNT + j, irq_desc + H3800_GPIO_IRQ_COUNT + j);730 }731732 if (i >= MAX_ASIC_ISR_LOOPS)733- printk("%s: interrupt processing overrun\n", __FUNCTION__);734735 /* For level-based interrupts */736 desc->chip->unmask(irq);
···596 case IPAQ_EGPIO_CODEC_NRESET:597 case IPAQ_EGPIO_AUDIO_ON:598 case IPAQ_EGPIO_QMUTE:599+ printk("%s: error - should not be called\n", __func__);600 break;601 case IPAQ_EGPIO_OPT_NVRAM_ON:602 SET_ASIC2(GPIO2_OPT_ON_NVRAM);···638 static u16 asic2_data;639 int result = 0;640641+ printk("%s %d\n", __func__, req);642643 switch (req) {644 case PM_RESUME:···666 asic2_data = H3800_ASIC2_GPIOPIOD;667 break;668 default:669+ printk("%s: unrecognized PM callback\n", __func__);670 break;671 }672 return result;···706{707 int i;708709+ if (0) printk("%s: interrupt received\n", __func__);710711 desc->chip->ack(irq);712···716717 /* KPIO */718 irq = H3800_ASIC2_KPIINTFLAG;719+ if (0) printk("%s KPIO 0x%08X\n", __func__, irq);720 for (j = 0; j < H3800_KPIO_IRQ_COUNT; j++)721 if (irq & kpio_irq_mask[j])722 handle_edge_irq(H3800_KPIO_IRQ_COUNT + j, irq_desc + H3800_KPIO_IRQ_COUNT + j);723724 /* GPIO2 */725 irq = H3800_ASIC2_GPIINTFLAG;726+ if (0) printk("%s GPIO 0x%08X\n", __func__, irq);727 for (j = 0; j < H3800_GPIO_IRQ_COUNT; j++)728 if (irq & gpio_irq_mask[j])729 handle_edge_irq(H3800_GPIO_IRQ_COUNT + j, irq_desc + H3800_GPIO_IRQ_COUNT + j);730 }731732 if (i >= MAX_ASIC_ISR_LOOPS)733+ printk("%s: interrupt processing overrun\n", __func__);734735 /* For level-based interrupts */736 desc->chip->unmask(irq);
···333void omap_set_gpio_direction(int gpio, int is_input)334{335 struct gpio_bank *bank;336+ unsigned long flags;337338 if (check_gpio(gpio) < 0)339 return;340 bank = get_gpio_bank(gpio);341+ spin_lock_irqsave(&bank->lock, flags);342 _set_gpio_direction(bank, get_gpio_index(gpio), is_input);343+ spin_unlock_irqrestore(&bank->lock, flags);344}345346static void _set_gpio_dataout(struct gpio_bank *bank, int gpio, int enable)···406void omap_set_gpio_dataout(int gpio, int enable)407{408 struct gpio_bank *bank;409+ unsigned long flags;410411 if (check_gpio(gpio) < 0)412 return;413 bank = get_gpio_bank(gpio);414+ spin_lock_irqsave(&bank->lock, flags);415 _set_gpio_dataout(bank, get_gpio_index(gpio), enable);416+ spin_unlock_irqrestore(&bank->lock, flags);417}418419int omap_get_gpio_datain(int gpio)···624 struct gpio_bank *bank;625 unsigned gpio;626 int retval;627+ unsigned long flags;628629 if (!cpu_class_is_omap2() && irq > IH_MPUIO_BASE)630 gpio = OMAP_MPUIO(irq - IH_MPUIO_BASE);···642 return -EINVAL;643644 bank = get_irq_chip_data(irq);645+ spin_lock_irqsave(&bank->lock, flags);646 retval = _set_gpio_triggering(bank, get_gpio_index(gpio), type);647 if (retval == 0) {648 irq_desc[irq].status &= ~IRQ_TYPE_SENSE_MASK;649 irq_desc[irq].status |= type;650 }651+ spin_unlock_irqrestore(&bank->lock, flags);652 return retval;653}654···830 */831static int _set_gpio_wakeup(struct gpio_bank *bank, int gpio, int enable)832{833+ unsigned long flags;834+835 switch (bank->method) {836#ifdef CONFIG_ARCH_OMAP16XX837 case METHOD_MPUIO:838 case METHOD_GPIO_1610:839+ spin_lock_irqsave(&bank->lock, flags);840 if (enable) {841 bank->suspend_wakeup |= (1 << gpio);842 enable_irq_wake(bank->irq);···842 disable_irq_wake(bank->irq);843 bank->suspend_wakeup &= ~(1 << gpio);844 }845+ spin_unlock_irqrestore(&bank->lock, flags);846 return 0;847#endif848#if defined(CONFIG_ARCH_OMAP24XX) || defined(CONFIG_ARCH_OMAP34XX)···853 (bank - gpio_bank) * 32 + gpio);854 return -EINVAL;855 }856+ spin_lock_irqsave(&bank->lock, flags);857 if (enable) {858 bank->suspend_wakeup |= (1 << gpio);859 enable_irq_wake(bank->irq);···861 disable_irq_wake(bank->irq);862 bank->suspend_wakeup &= ~(1 << gpio);863 }864+ spin_unlock_irqrestore(&bank->lock, flags);865 return 0;866#endif867 default:···897int omap_request_gpio(int gpio)898{899 struct gpio_bank *bank;900+ unsigned long flags;901902 if (check_gpio(gpio) < 0)903 return -EINVAL;904905 bank = get_gpio_bank(gpio);906+ spin_lock_irqsave(&bank->lock, flags);907 if (unlikely(bank->reserved_map & (1 << get_gpio_index(gpio)))) {908 printk(KERN_ERR "omap-gpio: GPIO %d is already reserved!\n", gpio);909 dump_stack();910+ spin_unlock_irqrestore(&bank->lock, flags);911 return -1;912 }913 bank->reserved_map |= (1 << get_gpio_index(gpio));···925 __raw_writel(__raw_readl(reg) | (1 << get_gpio_index(gpio)), reg);926 }927#endif928+ spin_unlock_irqrestore(&bank->lock, flags);929930 return 0;931}···933void omap_free_gpio(int gpio)934{935 struct gpio_bank *bank;936+ unsigned long flags;937938 if (check_gpio(gpio) < 0)939 return;940 bank = get_gpio_bank(gpio);941+ spin_lock_irqsave(&bank->lock, flags);942 if (unlikely(!(bank->reserved_map & (1 << get_gpio_index(gpio))))) {943 printk(KERN_ERR "omap-gpio: GPIO %d wasn't reserved!\n", gpio);944 dump_stack();945+ spin_unlock_irqrestore(&bank->lock, flags);946 return;947 }948#ifdef CONFIG_ARCH_OMAP16XX···960#endif961 bank->reserved_map &= ~(1 << get_gpio_index(gpio));962 _reset_gpio(bank, gpio);963+ spin_unlock_irqrestore(&bank->lock, flags);964}965966/*···1194{1195 struct gpio_bank *bank = platform_get_drvdata(pdev);1196 void __iomem *mask_reg = bank->base + OMAP_MPUIO_GPIO_MASKIT;1197+ unsigned long flags;11981199+ spin_lock_irqsave(&bank->lock, flags);1200 bank->saved_wakeup = __raw_readl(mask_reg);1201 __raw_writel(0xffff & ~bank->suspend_wakeup, mask_reg);1202+ spin_unlock_irqrestore(&bank->lock, flags);12031204 return 0;1205}···1207{1208 struct gpio_bank *bank = platform_get_drvdata(pdev);1209 void __iomem *mask_reg = bank->base + OMAP_MPUIO_GPIO_MASKIT;1210+ unsigned long flags;12111212+ spin_lock_irqsave(&bank->lock, flags);1213 __raw_writel(bank->saved_wakeup, mask_reg);1214+ spin_unlock_irqrestore(&bank->lock, flags);12151216 return 0;1217}···1276static struct clk *gpio_fclks[OMAP34XX_NR_GPIOS];1277static struct clk *gpio_iclks[OMAP34XX_NR_GPIOS];1278#endif1279+1280+/* This lock class tells lockdep that GPIO irqs are in a different1281+ * category than their parents, so it won't report false recursion.1282+ */1283+static struct lock_class_key gpio_lock_class;12841285static int __init _omap_gpio_init(void)1286{···1450#endif1451 for (j = bank->virtual_irq_start;1452 j < bank->virtual_irq_start + gpio_count; j++) {1453+ lockdep_set_class(&irq_desc[j].lock, &gpio_lock_class);1454 set_irq_chip_data(j, bank);1455 if (bank_is_mpuio(bank))1456 set_irq_chip(j, &mpuio_irq_chip);···1489 void __iomem *wake_status;1490 void __iomem *wake_clear;1491 void __iomem *wake_set;1492+ unsigned long flags;14931494 switch (bank->method) {1495#ifdef CONFIG_ARCH_OMAP16XX···1509 continue;1510 }15111512+ spin_lock_irqsave(&bank->lock, flags);1513 bank->saved_wakeup = __raw_readl(wake_status);1514 __raw_writel(0xffffffff, wake_clear);1515 __raw_writel(bank->suspend_wakeup, wake_set);1516+ spin_unlock_irqrestore(&bank->lock, flags);1517 }15181519 return 0;···1530 struct gpio_bank *bank = &gpio_bank[i];1531 void __iomem *wake_clear;1532 void __iomem *wake_set;1533+ unsigned long flags;15341535 switch (bank->method) {1536#ifdef CONFIG_ARCH_OMAP16XX···1548 continue;1549 }15501551+ spin_lock_irqsave(&bank->lock, flags);1552 __raw_writel(0xffffffff, wake_clear);1553 __raw_writel(bank->saved_wakeup, wake_set);1554+ spin_unlock_irqrestore(&bank->lock, flags);1555 }15561557 return 0;
+32-32
arch/arm/plat-s3c24xx/dma.c
···130 dmadbg_dumpregs(fname, line, chan, &state);131}132133-#define dbg_showregs(chan) dmadbg_showregs(__FUNCTION__, __LINE__, (chan))134-#define dbg_showchan(chan) dmadbg_showchan(__FUNCTION__, __LINE__, (chan))135#else136#define dbg_showregs(chan) do { } while(0)137#define dbg_showchan(chan) do { } while(0)···403404 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) {405 pr_debug("%s: buff not yet loaded, no more todo\n",406- __FUNCTION__);407 } else {408 chan->load_state = S3C2410_DMALOAD_1RUNNING;409 s3c2410_dma_loadbuffer(chan, chan->next);···463 return -EINVAL;464465 pr_debug("%s: id=%p, data=%08x, size=%d\n",466- __FUNCTION__, id, (unsigned int)data, size);467468 buf = kmem_cache_alloc(dma_kmem, GFP_ATOMIC);469 if (buf == NULL) {470 pr_debug("%s: out of memory (%ld alloc)\n",471- __FUNCTION__, (long)sizeof(*buf));472 return -ENOMEM;473 }474475- //pr_debug("%s: new buffer %p\n", __FUNCTION__, buf);476 //dbg_showchan(chan);477478 buf->next = NULL;···486 if (chan->curr == NULL) {487 /* we've got nothing loaded... */488 pr_debug("%s: buffer %p queued onto empty channel\n",489- __FUNCTION__, buf);490491 chan->curr = buf;492 chan->end = buf;493 chan->next = NULL;494 } else {495 pr_debug("dma%d: %s: buffer %p queued onto non-empty channel\n",496- chan->number, __FUNCTION__, buf);497498 if (chan->end == NULL)499 pr_debug("dma%d: %s: %p not empty, and chan->end==NULL?\n",500- chan->number, __FUNCTION__, chan);501502 chan->end->next = buf;503 chan->end = buf;···572 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) {573 /* flag error? */574 printk(KERN_ERR "dma%d: timeout waiting for load (%s)\n",575- chan->number, __FUNCTION__);576 return;577 }578 break;···658659 if (buf->magic != BUF_MAGIC) {660 printk(KERN_ERR "dma%d: %s: buf %p incorrect magic\n",661- chan->number, __FUNCTION__, buf);662 return IRQ_HANDLED;663 }664···692 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) {693 /* flag error? */694 printk(KERN_ERR "dma%d: timeout waiting for load (%s)\n",695- chan->number, __FUNCTION__);696 return IRQ_HANDLED;697 }698···759760 if (!chan->irq_claimed) {761 pr_debug("dma%d: %s : requesting irq %d\n",762- channel, __FUNCTION__, chan->irq);763764 chan->irq_claimed = 1;765 local_irq_restore(flags);···786787 /* need to setup */788789- pr_debug("%s: channel initialised, %p\n", __FUNCTION__, chan);790791 return chan->number | DMACH_LOW_LEVEL;792}···823824 if (chan->state != S3C2410_DMA_IDLE) {825 pr_debug("%s: need to stop dma channel %p\n",826- __FUNCTION__, chan);827828 /* possibly flush the channel */829 s3c2410_dma_ctrl(channel, S3C2410_DMAOP_STOP);···852 unsigned long flags;853 unsigned long tmp;854855- pr_debug("%s:\n", __FUNCTION__);856857 dbg_showchan(chan);858···907 struct s3c2410_dma_buf *buf, *next;908 unsigned long flags;909910- pr_debug("%s: chan %p (%d)\n", __FUNCTION__, chan, chan->number);911912 dbg_showchan(chan);913914 local_irq_save(flags);915916 if (chan->state != S3C2410_DMA_IDLE) {917- pr_debug("%s: stopping channel...\n", __FUNCTION__ );918 s3c2410_dma_ctrl(chan->number, S3C2410_DMAOP_STOP);919 }920···929 next = buf->next;930931 pr_debug("%s: free buffer %p, next %p\n",932- __FUNCTION__, buf, buf->next);933934 s3c2410_dma_buffdone(chan, buf, S3C2410_RES_ABORT);935 s3c2410_dma_freebuf(buf);···976977 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) {978 pr_debug("%s: buff not yet loaded, no more todo\n",979- __FUNCTION__);980 } else {981 chan->load_state = S3C2410_DMALOAD_1RUNNING;982 s3c2410_dma_loadbuffer(chan, chan->next);···1050 struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);10511052 pr_debug("%s: chan=%d, xfer_unit=%d, dcon=%08x\n",1053- __FUNCTION__, channel, xferunit, dcon);10541055 if (chan == NULL)1056 return -EINVAL;10571058- pr_debug("%s: Initial dcon is %08x\n", __FUNCTION__, dcon);10591060 dcon |= chan->dcon & dma_sel.dcon_mask;10611062- pr_debug("%s: New dcon is %08x\n", __FUNCTION__, dcon);10631064 switch (xferunit) {1065 case 1:···1075 break;10761077 default:1078- pr_debug("%s: bad transfer size %d\n", __FUNCTION__, xferunit);1079 return -EINVAL;1080 }10811082 dcon |= S3C2410_DCON_HWTRIG;1083 dcon |= S3C2410_DCON_INTREQ;10841085- pr_debug("%s: dcon now %08x\n", __FUNCTION__, dcon);10861087 chan->dcon = dcon;1088 chan->xfer_unit = xferunit;···1099 if (chan == NULL)1100 return -EINVAL;11011102- pr_debug("%s: chan=%p, flags=%08x\n", __FUNCTION__, chan, flags);11031104 chan->flags = flags;1105···1120 if (chan == NULL)1121 return -EINVAL;11221123- pr_debug("%s: chan=%p, op rtn=%p\n", __FUNCTION__, chan, rtn);11241125 chan->op_fn = rtn;1126···1136 if (chan == NULL)1137 return -EINVAL;11381139- pr_debug("%s: chan=%p, callback rtn=%p\n", __FUNCTION__, chan, rtn);11401141 chan->callback_fn = rtn;1142···1170 return -EINVAL;11711172 pr_debug("%s: source=%d, hwcfg=%08x, devaddr=%08lx\n",1173- __FUNCTION__, (int)source, hwcfg, devaddr);11741175 chan->source = source;1176 chan->dev_addr = devaddr;···1180 case S3C2410_DMASRC_HW:1181 /* source is hardware */1182 pr_debug("%s: hw source, devaddr=%08lx, hwcfg=%d\n",1183- __FUNCTION__, devaddr, hwcfg);1184 dma_wrreg(chan, S3C2410_DMA_DISRCC, hwcfg & 3);1185 dma_wrreg(chan, S3C2410_DMA_DISRC, devaddr);1186 dma_wrreg(chan, S3C2410_DMA_DIDSTC, (0<<1) | (0<<0));···11901191 case S3C2410_DMASRC_MEM:1192 /* source is memory */1193- pr_debug( "%s: mem source, devaddr=%08lx, hwcfg=%d\n",1194- __FUNCTION__, devaddr, hwcfg);1195 dma_wrreg(chan, S3C2410_DMA_DISRCC, (0<<1) | (0<<0));1196 dma_wrreg(chan, S3C2410_DMA_DIDST, devaddr);1197 dma_wrreg(chan, S3C2410_DMA_DIDSTC, hwcfg & 3);
···130 dmadbg_dumpregs(fname, line, chan, &state);131}132133+#define dbg_showregs(chan) dmadbg_showregs(__func__, __LINE__, (chan))134+#define dbg_showchan(chan) dmadbg_showchan(__func__, __LINE__, (chan))135#else136#define dbg_showregs(chan) do { } while(0)137#define dbg_showchan(chan) do { } while(0)···403404 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) {405 pr_debug("%s: buff not yet loaded, no more todo\n",406+ __func__);407 } else {408 chan->load_state = S3C2410_DMALOAD_1RUNNING;409 s3c2410_dma_loadbuffer(chan, chan->next);···463 return -EINVAL;464465 pr_debug("%s: id=%p, data=%08x, size=%d\n",466+ __func__, id, (unsigned int)data, size);467468 buf = kmem_cache_alloc(dma_kmem, GFP_ATOMIC);469 if (buf == NULL) {470 pr_debug("%s: out of memory (%ld alloc)\n",471+ __func__, (long)sizeof(*buf));472 return -ENOMEM;473 }474475+ //pr_debug("%s: new buffer %p\n", __func__, buf);476 //dbg_showchan(chan);477478 buf->next = NULL;···486 if (chan->curr == NULL) {487 /* we've got nothing loaded... */488 pr_debug("%s: buffer %p queued onto empty channel\n",489+ __func__, buf);490491 chan->curr = buf;492 chan->end = buf;493 chan->next = NULL;494 } else {495 pr_debug("dma%d: %s: buffer %p queued onto non-empty channel\n",496+ chan->number, __func__, buf);497498 if (chan->end == NULL)499 pr_debug("dma%d: %s: %p not empty, and chan->end==NULL?\n",500+ chan->number, __func__, chan);501502 chan->end->next = buf;503 chan->end = buf;···572 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) {573 /* flag error? */574 printk(KERN_ERR "dma%d: timeout waiting for load (%s)\n",575+ chan->number, __func__);576 return;577 }578 break;···658659 if (buf->magic != BUF_MAGIC) {660 printk(KERN_ERR "dma%d: %s: buf %p incorrect magic\n",661+ chan->number, __func__, buf);662 return IRQ_HANDLED;663 }664···692 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) {693 /* flag error? */694 printk(KERN_ERR "dma%d: timeout waiting for load (%s)\n",695+ chan->number, __func__);696 return IRQ_HANDLED;697 }698···759760 if (!chan->irq_claimed) {761 pr_debug("dma%d: %s : requesting irq %d\n",762+ channel, __func__, chan->irq);763764 chan->irq_claimed = 1;765 local_irq_restore(flags);···786787 /* need to setup */788789+ pr_debug("%s: channel initialised, %p\n", __func__, chan);790791 return chan->number | DMACH_LOW_LEVEL;792}···823824 if (chan->state != S3C2410_DMA_IDLE) {825 pr_debug("%s: need to stop dma channel %p\n",826+ __func__, chan);827828 /* possibly flush the channel */829 s3c2410_dma_ctrl(channel, S3C2410_DMAOP_STOP);···852 unsigned long flags;853 unsigned long tmp;854855+ pr_debug("%s:\n", __func__);856857 dbg_showchan(chan);858···907 struct s3c2410_dma_buf *buf, *next;908 unsigned long flags;909910+ pr_debug("%s: chan %p (%d)\n", __func__, chan, chan->number);911912 dbg_showchan(chan);913914 local_irq_save(flags);915916 if (chan->state != S3C2410_DMA_IDLE) {917+ pr_debug("%s: stopping channel...\n", __func__ );918 s3c2410_dma_ctrl(chan->number, S3C2410_DMAOP_STOP);919 }920···929 next = buf->next;930931 pr_debug("%s: free buffer %p, next %p\n",932+ __func__, buf, buf->next);933934 s3c2410_dma_buffdone(chan, buf, S3C2410_RES_ABORT);935 s3c2410_dma_freebuf(buf);···976977 if (s3c2410_dma_waitforload(chan, __LINE__) == 0) {978 pr_debug("%s: buff not yet loaded, no more todo\n",979+ __func__);980 } else {981 chan->load_state = S3C2410_DMALOAD_1RUNNING;982 s3c2410_dma_loadbuffer(chan, chan->next);···1050 struct s3c2410_dma_chan *chan = lookup_dma_channel(channel);10511052 pr_debug("%s: chan=%d, xfer_unit=%d, dcon=%08x\n",1053+ __func__, channel, xferunit, dcon);10541055 if (chan == NULL)1056 return -EINVAL;10571058+ pr_debug("%s: Initial dcon is %08x\n", __func__, dcon);10591060 dcon |= chan->dcon & dma_sel.dcon_mask;10611062+ pr_debug("%s: New dcon is %08x\n", __func__, dcon);10631064 switch (xferunit) {1065 case 1:···1075 break;10761077 default:1078+ pr_debug("%s: bad transfer size %d\n", __func__, xferunit);1079 return -EINVAL;1080 }10811082 dcon |= S3C2410_DCON_HWTRIG;1083 dcon |= S3C2410_DCON_INTREQ;10841085+ pr_debug("%s: dcon now %08x\n", __func__, dcon);10861087 chan->dcon = dcon;1088 chan->xfer_unit = xferunit;···1099 if (chan == NULL)1100 return -EINVAL;11011102+ pr_debug("%s: chan=%p, flags=%08x\n", __func__, chan, flags);11031104 chan->flags = flags;1105···1120 if (chan == NULL)1121 return -EINVAL;11221123+ pr_debug("%s: chan=%p, op rtn=%p\n", __func__, chan, rtn);11241125 chan->op_fn = rtn;1126···1136 if (chan == NULL)1137 return -EINVAL;11381139+ pr_debug("%s: chan=%p, callback rtn=%p\n", __func__, chan, rtn);11401141 chan->callback_fn = rtn;1142···1170 return -EINVAL;11711172 pr_debug("%s: source=%d, hwcfg=%08x, devaddr=%08lx\n",1173+ __func__, (int)source, hwcfg, devaddr);11741175 chan->source = source;1176 chan->dev_addr = devaddr;···1180 case S3C2410_DMASRC_HW:1181 /* source is hardware */1182 pr_debug("%s: hw source, devaddr=%08lx, hwcfg=%d\n",1183+ __func__, devaddr, hwcfg);1184 dma_wrreg(chan, S3C2410_DMA_DISRCC, hwcfg & 3);1185 dma_wrreg(chan, S3C2410_DMA_DISRC, devaddr);1186 dma_wrreg(chan, S3C2410_DMA_DIDSTC, (0<<1) | (0<<0));···11901191 case S3C2410_DMASRC_MEM:1192 /* source is memory */1193+ pr_debug("%s: mem source, devaddr=%08lx, hwcfg=%d\n",1194+ __func__, devaddr, hwcfg);1195 dma_wrreg(chan, S3C2410_DMA_DISRCC, (0<<1) | (0<<0));1196 dma_wrreg(chan, S3C2410_DMA_DIDST, devaddr);1197 dma_wrreg(chan, S3C2410_DMA_DIDSTC, hwcfg & 3);
+1-1
arch/mips/Kconfig
···1824 Allows the configuration of the timer frequency.18251826 config HZ_481827- bool "48 HZ" if SYS_SUPPORTS_48HZ18281829 config HZ_1001830 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
···1824 Allows the configuration of the timer frequency.18251826 config HZ_481827+ bool "48 HZ" if SYS_SUPPORTS_48HZ || SYS_SUPPORTS_ARBIT_HZ18281829 config HZ_1001830 bool "100 HZ" if SYS_SUPPORTS_100HZ || SYS_SUPPORTS_ARBIT_HZ
+2
arch/mips/Makefile
···12# for "archclean" cleaning up for this architecture.13#140015cflags-y :=1617#
···12# for "archclean" cleaning up for this architecture.13#1415+KBUILD_DEFCONFIG := ip22_defconfig16+17cflags-y :=1819#
···1-#2-# Automatically generated make config: don't edit3-# Linux kernel version: 2.6.23-rc24-# Tue Aug 7 12:39:49 20075-#6-CONFIG_MIPS=y7-8-#9-# Machine selection10-#11-CONFIG_ZONE_DMA=y12-# CONFIG_MACH_ALCHEMY is not set13-# CONFIG_BASLER_EXCITE is not set14-# CONFIG_MIPS_COBALT is not set15-# CONFIG_MACH_DECSTATION is not set16-# CONFIG_MACH_JAZZ is not set17-# CONFIG_LEMOTE_FULONG is not set18-# CONFIG_MIPS_ATLAS is not set19-# CONFIG_MIPS_MALTA is not set20-# CONFIG_MIPS_SEAD is not set21-# CONFIG_MIPS_SIM is not set22-# CONFIG_MARKEINS is not set23-# CONFIG_MACH_VR41XX is not set24-# CONFIG_PNX8550_JBS is not set25-# CONFIG_PNX8550_STB810 is not set26-# CONFIG_PMC_MSP is not set27-# CONFIG_PMC_YOSEMITE is not set28-CONFIG_SGI_IP22=y29-# CONFIG_SGI_IP27 is not set30-# CONFIG_SGI_IP32 is not set31-# CONFIG_SIBYTE_CRHINE is not set32-# CONFIG_SIBYTE_CARMEL is not set33-# CONFIG_SIBYTE_CRHONE is not set34-# CONFIG_SIBYTE_RHONE is not set35-# CONFIG_SIBYTE_SWARM is not set36-# CONFIG_SIBYTE_LITTLESUR is not set37-# CONFIG_SIBYTE_SENTOSA is not set38-# CONFIG_SIBYTE_BIGSUR is not set39-# CONFIG_SNI_RM is not set40-# CONFIG_TOSHIBA_JMR3927 is not set41-# CONFIG_TOSHIBA_RBTX4927 is not set42-# CONFIG_TOSHIBA_RBTX4938 is not set43-# CONFIG_WR_PPMC is not set44-CONFIG_RWSEM_GENERIC_SPINLOCK=y45-# CONFIG_ARCH_HAS_ILOG2_U32 is not set46-# CONFIG_ARCH_HAS_ILOG2_U64 is not set47-CONFIG_GENERIC_FIND_NEXT_BIT=y48-CONFIG_GENERIC_HWEIGHT=y49-CONFIG_GENERIC_CALIBRATE_DELAY=y50-CONFIG_GENERIC_TIME=y51-CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y52-# CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ is not set53-CONFIG_ARC=y54-CONFIG_DMA_NONCOHERENT=y55-CONFIG_DMA_NEED_PCI_MAP_STATE=y56-CONFIG_EARLY_PRINTK=y57-CONFIG_SYS_HAS_EARLY_PRINTK=y58-# CONFIG_NO_IOPORT is not set59-CONFIG_GENERIC_ISA_DMA_SUPPORT_BROKEN=y60-CONFIG_CPU_BIG_ENDIAN=y61-# CONFIG_CPU_LITTLE_ENDIAN is not set62-CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y63-CONFIG_IRQ_CPU=y64-CONFIG_SWAP_IO_SPACE=y65-CONFIG_ARC32=y66-CONFIG_BOOT_ELF32=y67-CONFIG_MIPS_L1_CACHE_SHIFT=568-CONFIG_ARC_CONSOLE=y69-CONFIG_ARC_PROMLIB=y70-71-#72-# CPU selection73-#74-# CONFIG_CPU_LOONGSON2 is not set75-# CONFIG_CPU_MIPS32_R1 is not set76-# CONFIG_CPU_MIPS32_R2 is not set77-# CONFIG_CPU_MIPS64_R1 is not set78-# CONFIG_CPU_MIPS64_R2 is not set79-# CONFIG_CPU_R3000 is not set80-# CONFIG_CPU_TX39XX is not set81-# CONFIG_CPU_VR41XX is not set82-# CONFIG_CPU_R4300 is not set83-# CONFIG_CPU_R4X00 is not set84-# CONFIG_CPU_TX49XX is not set85-CONFIG_CPU_R5000=y86-# CONFIG_CPU_R5432 is not set87-# CONFIG_CPU_R6000 is not set88-# CONFIG_CPU_NEVADA is not set89-# CONFIG_CPU_R8000 is not set90-# CONFIG_CPU_R10000 is not set91-# CONFIG_CPU_RM7000 is not set92-# CONFIG_CPU_RM9000 is not set93-# CONFIG_CPU_SB1 is not set94-CONFIG_SYS_HAS_CPU_R4X00=y95-CONFIG_SYS_HAS_CPU_R5000=y96-CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y97-CONFIG_SYS_SUPPORTS_64BIT_KERNEL=y98-CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y99-CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y100-101-#102-# Kernel type103-#104-CONFIG_32BIT=y105-# CONFIG_64BIT is not set106-CONFIG_PAGE_SIZE_4KB=y107-# CONFIG_PAGE_SIZE_8KB is not set108-# CONFIG_PAGE_SIZE_16KB is not set109-# CONFIG_PAGE_SIZE_64KB is not set110-CONFIG_BOARD_SCACHE=y111-CONFIG_IP22_CPU_SCACHE=y112-CONFIG_MIPS_MT_DISABLED=y113-# CONFIG_MIPS_MT_SMP is not set114-# CONFIG_MIPS_MT_SMTC is not set115-CONFIG_CPU_HAS_LLSC=y116-CONFIG_CPU_HAS_SYNC=y117-CONFIG_GENERIC_HARDIRQS=y118-CONFIG_GENERIC_IRQ_PROBE=y119-CONFIG_ARCH_FLATMEM_ENABLE=y120-CONFIG_SELECT_MEMORY_MODEL=y121-CONFIG_FLATMEM_MANUAL=y122-# CONFIG_DISCONTIGMEM_MANUAL is not set123-# CONFIG_SPARSEMEM_MANUAL is not set124-CONFIG_FLATMEM=y125-CONFIG_FLAT_NODE_MEM_MAP=y126-# CONFIG_SPARSEMEM_STATIC is not set127-CONFIG_SPLIT_PTLOCK_CPUS=4128-# CONFIG_RESOURCES_64BIT is not set129-CONFIG_ZONE_DMA_FLAG=1130-CONFIG_BOUNCE=y131-CONFIG_VIRT_TO_BUS=y132-# CONFIG_HZ_48 is not set133-# CONFIG_HZ_100 is not set134-# CONFIG_HZ_128 is not set135-# CONFIG_HZ_250 is not set136-# CONFIG_HZ_256 is not set137-CONFIG_HZ_1000=y138-# CONFIG_HZ_1024 is not set139-CONFIG_SYS_SUPPORTS_ARBIT_HZ=y140-CONFIG_HZ=1000141-# CONFIG_PREEMPT_NONE is not set142-CONFIG_PREEMPT_VOLUNTARY=y143-# CONFIG_PREEMPT is not set144-# CONFIG_KEXEC is not set145-CONFIG_SECCOMP=y146-CONFIG_LOCKDEP_SUPPORT=y147-CONFIG_STACKTRACE_SUPPORT=y148-CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"149-150-#151-# General setup152-#153-CONFIG_EXPERIMENTAL=y154-CONFIG_BROKEN_ON_SMP=y155-CONFIG_INIT_ENV_ARG_LIMIT=32156-CONFIG_LOCALVERSION=""157-CONFIG_LOCALVERSION_AUTO=y158-CONFIG_SWAP=y159-CONFIG_SYSVIPC=y160-CONFIG_SYSVIPC_SYSCTL=y161-# CONFIG_POSIX_MQUEUE is not set162-# CONFIG_BSD_PROCESS_ACCT is not set163-# CONFIG_TASKSTATS is not set164-# CONFIG_USER_NS is not set165-# CONFIG_AUDIT is not set166-CONFIG_IKCONFIG=y167-CONFIG_IKCONFIG_PROC=y168-CONFIG_LOG_BUF_SHIFT=14169-CONFIG_SYSFS_DEPRECATED=y170-CONFIG_RELAY=y171-# CONFIG_BLK_DEV_INITRD is not set172-# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set173-CONFIG_SYSCTL=y174-CONFIG_EMBEDDED=y175-CONFIG_SYSCTL_SYSCALL=y176-CONFIG_KALLSYMS=y177-# CONFIG_KALLSYMS_EXTRA_PASS is not set178-# CONFIG_HOTPLUG is not set179-CONFIG_PRINTK=y180-CONFIG_BUG=y181-CONFIG_ELF_CORE=y182-CONFIG_BASE_FULL=y183-CONFIG_FUTEX=y184-CONFIG_ANON_INODES=y185-CONFIG_EPOLL=y186-CONFIG_SIGNALFD=y187-CONFIG_TIMERFD=y188-CONFIG_EVENTFD=y189-CONFIG_SHMEM=y190-CONFIG_VM_EVENT_COUNTERS=y191-CONFIG_SLAB=y192-# CONFIG_SLUB is not set193-# CONFIG_SLOB is not set194-CONFIG_RT_MUTEXES=y195-# CONFIG_TINY_SHMEM is not set196-CONFIG_BASE_SMALL=0197-CONFIG_MODULES=y198-CONFIG_MODULE_UNLOAD=y199-# CONFIG_MODULE_FORCE_UNLOAD is not set200-CONFIG_MODVERSIONS=y201-CONFIG_MODULE_SRCVERSION_ALL=y202-CONFIG_KMOD=y203-CONFIG_BLOCK=y204-# CONFIG_LBD is not set205-# CONFIG_BLK_DEV_IO_TRACE is not set206-# CONFIG_LSF is not set207-# CONFIG_BLK_DEV_BSG is not set208-209-#210-# IO Schedulers211-#212-CONFIG_IOSCHED_NOOP=y213-CONFIG_IOSCHED_AS=y214-CONFIG_IOSCHED_DEADLINE=y215-CONFIG_IOSCHED_CFQ=y216-CONFIG_DEFAULT_AS=y217-# CONFIG_DEFAULT_DEADLINE is not set218-# CONFIG_DEFAULT_CFQ is not set219-# CONFIG_DEFAULT_NOOP is not set220-CONFIG_DEFAULT_IOSCHED="anticipatory"221-222-#223-# Bus options (PCI, PCMCIA, EISA, ISA, TC)224-#225-CONFIG_HW_HAS_EISA=y226-# CONFIG_ARCH_SUPPORTS_MSI is not set227-# CONFIG_EISA is not set228-CONFIG_MMU=y229-230-#231-# PCCARD (PCMCIA/CardBus) support232-#233-234-#235-# Executable file formats236-#237-CONFIG_BINFMT_ELF=y238-CONFIG_BINFMT_MISC=m239-CONFIG_TRAD_SIGNALS=y240-241-#242-# Power management options243-#244-CONFIG_PM=y245-# CONFIG_PM_LEGACY is not set246-# CONFIG_PM_DEBUG is not set247-# CONFIG_SUSPEND is not set248-249-#250-# Networking251-#252-CONFIG_NET=y253-254-#255-# Networking options256-#257-CONFIG_PACKET=y258-CONFIG_PACKET_MMAP=y259-CONFIG_UNIX=y260-CONFIG_XFRM=y261-CONFIG_XFRM_USER=m262-# CONFIG_XFRM_SUB_POLICY is not set263-CONFIG_XFRM_MIGRATE=y264-CONFIG_NET_KEY=y265-CONFIG_NET_KEY_MIGRATE=y266-CONFIG_INET=y267-CONFIG_IP_MULTICAST=y268-# CONFIG_IP_ADVANCED_ROUTER is not set269-CONFIG_IP_FIB_HASH=y270-CONFIG_IP_PNP=y271-# CONFIG_IP_PNP_DHCP is not set272-CONFIG_IP_PNP_BOOTP=y273-# CONFIG_IP_PNP_RARP is not set274-# CONFIG_NET_IPIP is not set275-# CONFIG_NET_IPGRE is not set276-# CONFIG_IP_MROUTE is not set277-# CONFIG_ARPD is not set278-# CONFIG_SYN_COOKIES is not set279-CONFIG_INET_AH=m280-CONFIG_INET_ESP=m281-CONFIG_INET_IPCOMP=m282-CONFIG_INET_XFRM_TUNNEL=m283-CONFIG_INET_TUNNEL=m284-CONFIG_INET_XFRM_MODE_TRANSPORT=m285-CONFIG_INET_XFRM_MODE_TUNNEL=m286-CONFIG_INET_XFRM_MODE_BEET=m287-CONFIG_INET_DIAG=y288-CONFIG_INET_TCP_DIAG=y289-# CONFIG_TCP_CONG_ADVANCED is not set290-CONFIG_TCP_CONG_CUBIC=y291-CONFIG_DEFAULT_TCP_CONG="cubic"292-CONFIG_TCP_MD5SIG=y293-CONFIG_IP_VS=m294-# CONFIG_IP_VS_DEBUG is not set295-CONFIG_IP_VS_TAB_BITS=12296-297-#298-# IPVS transport protocol load balancing support299-#300-CONFIG_IP_VS_PROTO_TCP=y301-CONFIG_IP_VS_PROTO_UDP=y302-CONFIG_IP_VS_PROTO_ESP=y303-CONFIG_IP_VS_PROTO_AH=y304-305-#306-# IPVS scheduler307-#308-CONFIG_IP_VS_RR=m309-CONFIG_IP_VS_WRR=m310-CONFIG_IP_VS_LC=m311-CONFIG_IP_VS_WLC=m312-CONFIG_IP_VS_LBLC=m313-CONFIG_IP_VS_LBLCR=m314-CONFIG_IP_VS_DH=m315-CONFIG_IP_VS_SH=m316-CONFIG_IP_VS_SED=m317-CONFIG_IP_VS_NQ=m318-319-#320-# IPVS application helper321-#322-CONFIG_IP_VS_FTP=m323-CONFIG_IPV6=m324-CONFIG_IPV6_PRIVACY=y325-CONFIG_IPV6_ROUTER_PREF=y326-CONFIG_IPV6_ROUTE_INFO=y327-CONFIG_IPV6_OPTIMISTIC_DAD=y328-CONFIG_INET6_AH=m329-CONFIG_INET6_ESP=m330-CONFIG_INET6_IPCOMP=m331-CONFIG_IPV6_MIP6=m332-CONFIG_INET6_XFRM_TUNNEL=m333-CONFIG_INET6_TUNNEL=m334-CONFIG_INET6_XFRM_MODE_TRANSPORT=m335-CONFIG_INET6_XFRM_MODE_TUNNEL=m336-CONFIG_INET6_XFRM_MODE_BEET=m337-CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m338-CONFIG_IPV6_SIT=m339-CONFIG_IPV6_TUNNEL=m340-CONFIG_IPV6_MULTIPLE_TABLES=y341-CONFIG_IPV6_SUBTREES=y342-CONFIG_NETWORK_SECMARK=y343-CONFIG_NETFILTER=y344-# CONFIG_NETFILTER_DEBUG is not set345-346-#347-# Core Netfilter Configuration348-#349-CONFIG_NETFILTER_NETLINK=m350-CONFIG_NETFILTER_NETLINK_QUEUE=m351-CONFIG_NETFILTER_NETLINK_LOG=m352-CONFIG_NF_CONNTRACK_ENABLED=m353-CONFIG_NF_CONNTRACK=m354-CONFIG_NF_CT_ACCT=y355-CONFIG_NF_CONNTRACK_MARK=y356-CONFIG_NF_CONNTRACK_SECMARK=y357-CONFIG_NF_CONNTRACK_EVENTS=y358-CONFIG_NF_CT_PROTO_GRE=m359-CONFIG_NF_CT_PROTO_SCTP=m360-CONFIG_NF_CT_PROTO_UDPLITE=m361-CONFIG_NF_CONNTRACK_AMANDA=m362-CONFIG_NF_CONNTRACK_FTP=m363-CONFIG_NF_CONNTRACK_H323=m364-CONFIG_NF_CONNTRACK_IRC=m365-# CONFIG_NF_CONNTRACK_NETBIOS_NS is not set366-CONFIG_NF_CONNTRACK_PPTP=m367-CONFIG_NF_CONNTRACK_SANE=m368-CONFIG_NF_CONNTRACK_SIP=m369-CONFIG_NF_CONNTRACK_TFTP=m370-CONFIG_NF_CT_NETLINK=m371-CONFIG_NETFILTER_XTABLES=m372-CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m373-CONFIG_NETFILTER_XT_TARGET_CONNMARK=m374-CONFIG_NETFILTER_XT_TARGET_DSCP=m375-CONFIG_NETFILTER_XT_TARGET_MARK=m376-CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m377-CONFIG_NETFILTER_XT_TARGET_NFLOG=m378-CONFIG_NETFILTER_XT_TARGET_NOTRACK=m379-CONFIG_NETFILTER_XT_TARGET_TRACE=m380-CONFIG_NETFILTER_XT_TARGET_SECMARK=m381-CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m382-CONFIG_NETFILTER_XT_TARGET_TCPMSS=m383-CONFIG_NETFILTER_XT_MATCH_COMMENT=m384-CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m385-CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m386-CONFIG_NETFILTER_XT_MATCH_CONNMARK=m387-CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m388-CONFIG_NETFILTER_XT_MATCH_DCCP=m389-CONFIG_NETFILTER_XT_MATCH_DSCP=m390-CONFIG_NETFILTER_XT_MATCH_ESP=m391-CONFIG_NETFILTER_XT_MATCH_HELPER=m392-CONFIG_NETFILTER_XT_MATCH_LENGTH=m393-CONFIG_NETFILTER_XT_MATCH_LIMIT=m394-CONFIG_NETFILTER_XT_MATCH_MAC=m395-CONFIG_NETFILTER_XT_MATCH_MARK=m396-CONFIG_NETFILTER_XT_MATCH_POLICY=m397-CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m398-CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m399-CONFIG_NETFILTER_XT_MATCH_QUOTA=m400-CONFIG_NETFILTER_XT_MATCH_REALM=m401-CONFIG_NETFILTER_XT_MATCH_SCTP=m402-CONFIG_NETFILTER_XT_MATCH_STATE=m403-CONFIG_NETFILTER_XT_MATCH_STATISTIC=m404-CONFIG_NETFILTER_XT_MATCH_STRING=m405-CONFIG_NETFILTER_XT_MATCH_TCPMSS=m406-CONFIG_NETFILTER_XT_MATCH_U32=m407-CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m408-409-#410-# IP: Netfilter Configuration411-#412-CONFIG_NF_CONNTRACK_IPV4=m413-CONFIG_NF_CONNTRACK_PROC_COMPAT=y414-CONFIG_IP_NF_QUEUE=m415-CONFIG_IP_NF_IPTABLES=m416-CONFIG_IP_NF_MATCH_IPRANGE=m417-CONFIG_IP_NF_MATCH_TOS=m418-CONFIG_IP_NF_MATCH_RECENT=m419-CONFIG_IP_NF_MATCH_ECN=m420-CONFIG_IP_NF_MATCH_AH=m421-CONFIG_IP_NF_MATCH_TTL=m422-CONFIG_IP_NF_MATCH_OWNER=m423-CONFIG_IP_NF_MATCH_ADDRTYPE=m424-CONFIG_IP_NF_FILTER=m425-CONFIG_IP_NF_TARGET_REJECT=m426-CONFIG_IP_NF_TARGET_LOG=m427-CONFIG_IP_NF_TARGET_ULOG=m428-CONFIG_NF_NAT=m429-CONFIG_NF_NAT_NEEDED=y430-CONFIG_IP_NF_TARGET_MASQUERADE=m431-CONFIG_IP_NF_TARGET_REDIRECT=m432-CONFIG_IP_NF_TARGET_NETMAP=m433-CONFIG_IP_NF_TARGET_SAME=m434-CONFIG_NF_NAT_SNMP_BASIC=m435-CONFIG_NF_NAT_PROTO_GRE=m436-CONFIG_NF_NAT_FTP=m437-CONFIG_NF_NAT_IRC=m438-CONFIG_NF_NAT_TFTP=m439-CONFIG_NF_NAT_AMANDA=m440-CONFIG_NF_NAT_PPTP=m441-CONFIG_NF_NAT_H323=m442-CONFIG_NF_NAT_SIP=m443-CONFIG_IP_NF_MANGLE=m444-CONFIG_IP_NF_TARGET_TOS=m445-CONFIG_IP_NF_TARGET_ECN=m446-CONFIG_IP_NF_TARGET_TTL=m447-CONFIG_IP_NF_TARGET_CLUSTERIP=m448-CONFIG_IP_NF_RAW=m449-CONFIG_IP_NF_ARPTABLES=m450-CONFIG_IP_NF_ARPFILTER=m451-CONFIG_IP_NF_ARP_MANGLE=m452-453-#454-# IPv6: Netfilter Configuration (EXPERIMENTAL)455-#456-CONFIG_NF_CONNTRACK_IPV6=m457-CONFIG_IP6_NF_QUEUE=m458-CONFIG_IP6_NF_IPTABLES=m459-CONFIG_IP6_NF_MATCH_RT=m460-CONFIG_IP6_NF_MATCH_OPTS=m461-CONFIG_IP6_NF_MATCH_FRAG=m462-CONFIG_IP6_NF_MATCH_HL=m463-CONFIG_IP6_NF_MATCH_OWNER=m464-CONFIG_IP6_NF_MATCH_IPV6HEADER=m465-CONFIG_IP6_NF_MATCH_AH=m466-CONFIG_IP6_NF_MATCH_MH=m467-CONFIG_IP6_NF_MATCH_EUI64=m468-CONFIG_IP6_NF_FILTER=m469-CONFIG_IP6_NF_TARGET_LOG=m470-CONFIG_IP6_NF_TARGET_REJECT=m471-CONFIG_IP6_NF_MANGLE=m472-CONFIG_IP6_NF_TARGET_HL=m473-CONFIG_IP6_NF_RAW=m474-# CONFIG_IP_DCCP is not set475-CONFIG_IP_SCTP=m476-# CONFIG_SCTP_DBG_MSG is not set477-# CONFIG_SCTP_DBG_OBJCNT is not set478-# CONFIG_SCTP_HMAC_NONE is not set479-# CONFIG_SCTP_HMAC_SHA1 is not set480-CONFIG_SCTP_HMAC_MD5=y481-# CONFIG_TIPC is not set482-# CONFIG_ATM is not set483-# CONFIG_BRIDGE is not set484-# CONFIG_VLAN_8021Q is not set485-# CONFIG_DECNET is not set486-# CONFIG_LLC2 is not set487-# CONFIG_IPX is not set488-# CONFIG_ATALK is not set489-# CONFIG_X25 is not set490-# CONFIG_LAPB is not set491-# CONFIG_ECONET is not set492-# CONFIG_WAN_ROUTER is not set493-494-#495-# QoS and/or fair queueing496-#497-CONFIG_NET_SCHED=y498-CONFIG_NET_SCH_FIFO=y499-500-#501-# Queueing/Scheduling502-#503-CONFIG_NET_SCH_CBQ=m504-CONFIG_NET_SCH_HTB=m505-CONFIG_NET_SCH_HFSC=m506-CONFIG_NET_SCH_PRIO=m507-CONFIG_NET_SCH_RR=m508-CONFIG_NET_SCH_RED=m509-CONFIG_NET_SCH_SFQ=m510-CONFIG_NET_SCH_TEQL=m511-CONFIG_NET_SCH_TBF=m512-CONFIG_NET_SCH_GRED=m513-CONFIG_NET_SCH_DSMARK=m514-CONFIG_NET_SCH_NETEM=m515-CONFIG_NET_SCH_INGRESS=m516-517-#518-# Classification519-#520-CONFIG_NET_CLS=y521-CONFIG_NET_CLS_BASIC=m522-CONFIG_NET_CLS_TCINDEX=m523-CONFIG_NET_CLS_ROUTE4=m524-CONFIG_NET_CLS_ROUTE=y525-CONFIG_NET_CLS_FW=m526-CONFIG_NET_CLS_U32=m527-# CONFIG_CLS_U32_PERF is not set528-# CONFIG_CLS_U32_MARK is not set529-CONFIG_NET_CLS_RSVP=m530-CONFIG_NET_CLS_RSVP6=m531-# CONFIG_NET_EMATCH is not set532-CONFIG_NET_CLS_ACT=y533-CONFIG_NET_ACT_POLICE=y534-CONFIG_NET_ACT_GACT=m535-CONFIG_GACT_PROB=y536-CONFIG_NET_ACT_MIRRED=m537-CONFIG_NET_ACT_IPT=m538-CONFIG_NET_ACT_PEDIT=m539-CONFIG_NET_ACT_SIMP=m540-CONFIG_NET_CLS_POLICE=y541-# CONFIG_NET_CLS_IND is not set542-543-#544-# Network testing545-#546-# CONFIG_NET_PKTGEN is not set547-# CONFIG_HAMRADIO is not set548-# CONFIG_IRDA is not set549-# CONFIG_BT is not set550-# CONFIG_AF_RXRPC is not set551-CONFIG_FIB_RULES=y552-553-#554-# Wireless555-#556-CONFIG_CFG80211=m557-CONFIG_WIRELESS_EXT=y558-CONFIG_MAC80211=m559-# CONFIG_MAC80211_DEBUG is not set560-CONFIG_IEEE80211=m561-# CONFIG_IEEE80211_DEBUG is not set562-CONFIG_IEEE80211_CRYPT_WEP=m563-CONFIG_IEEE80211_CRYPT_CCMP=m564-CONFIG_IEEE80211_CRYPT_TKIP=m565-CONFIG_IEEE80211_SOFTMAC=m566-# CONFIG_IEEE80211_SOFTMAC_DEBUG is not set567-CONFIG_RFKILL=m568-CONFIG_RFKILL_INPUT=m569-# CONFIG_NET_9P is not set570-571-#572-# Device Drivers573-#574-575-#576-# Generic Driver Options577-#578-CONFIG_STANDALONE=y579-CONFIG_PREVENT_FIRMWARE_BUILD=y580-# CONFIG_SYS_HYPERVISOR is not set581-CONFIG_CONNECTOR=m582-# CONFIG_MTD is not set583-# CONFIG_PARPORT is not set584-CONFIG_BLK_DEV=y585-# CONFIG_BLK_DEV_COW_COMMON is not set586-# CONFIG_BLK_DEV_LOOP is not set587-# CONFIG_BLK_DEV_NBD is not set588-# CONFIG_BLK_DEV_RAM is not set589-CONFIG_CDROM_PKTCDVD=m590-CONFIG_CDROM_PKTCDVD_BUFFERS=8591-# CONFIG_CDROM_PKTCDVD_WCACHE is not set592-CONFIG_ATA_OVER_ETH=m593-# CONFIG_MISC_DEVICES is not set594-# CONFIG_IDE is not set595-596-#597-# SCSI device support598-#599-CONFIG_RAID_ATTRS=m600-CONFIG_SCSI=y601-CONFIG_SCSI_DMA=y602-CONFIG_SCSI_TGT=m603-# CONFIG_SCSI_NETLINK is not set604-CONFIG_SCSI_PROC_FS=y605-606-#607-# SCSI support type (disk, tape, CD-ROM)608-#609-CONFIG_BLK_DEV_SD=y610-CONFIG_CHR_DEV_ST=y611-# CONFIG_CHR_DEV_OSST is not set612-CONFIG_BLK_DEV_SR=y613-# CONFIG_BLK_DEV_SR_VENDOR is not set614-# CONFIG_CHR_DEV_SG is not set615-CONFIG_CHR_DEV_SCH=m616-617-#618-# Some SCSI devices (e.g. CD jukebox) support multiple LUNs619-#620-# CONFIG_SCSI_MULTI_LUN is not set621-CONFIG_SCSI_CONSTANTS=y622-# CONFIG_SCSI_LOGGING is not set623-CONFIG_SCSI_SCAN_ASYNC=y624-CONFIG_SCSI_WAIT_SCAN=m625-626-#627-# SCSI Transports628-#629-CONFIG_SCSI_SPI_ATTRS=m630-# CONFIG_SCSI_FC_ATTRS is not set631-CONFIG_SCSI_ISCSI_ATTRS=m632-# CONFIG_SCSI_SAS_LIBSAS is not set633-CONFIG_SCSI_LOWLEVEL=y634-CONFIG_ISCSI_TCP=m635-CONFIG_SGIWD93_SCSI=y636-# CONFIG_SCSI_DEBUG is not set637-# CONFIG_ATA is not set638-# CONFIG_MD is not set639-CONFIG_NETDEVICES=y640-# CONFIG_NETDEVICES_MULTIQUEUE is not set641-# CONFIG_IFB is not set642-CONFIG_DUMMY=m643-CONFIG_BONDING=m644-CONFIG_MACVLAN=m645-CONFIG_EQUALIZER=m646-CONFIG_TUN=m647-CONFIG_PHYLIB=m648-649-#650-# MII PHY device drivers651-#652-CONFIG_MARVELL_PHY=m653-CONFIG_DAVICOM_PHY=m654-CONFIG_QSEMI_PHY=m655-CONFIG_LXT_PHY=m656-CONFIG_CICADA_PHY=m657-# CONFIG_VITESSE_PHY is not set658-# CONFIG_SMSC_PHY is not set659-# CONFIG_BROADCOM_PHY is not set660-# CONFIG_ICPLUS_PHY is not set661-# CONFIG_FIXED_PHY is not set662-CONFIG_NET_ETHERNET=y663-# CONFIG_MII is not set664-# CONFIG_AX88796 is not set665-# CONFIG_DM9000 is not set666-CONFIG_SGISEEQ=y667-# CONFIG_NETDEV_1000 is not set668-# CONFIG_NETDEV_10000 is not set669-670-#671-# Wireless LAN672-#673-CONFIG_WLAN_PRE80211=y674-CONFIG_STRIP=m675-CONFIG_WLAN_80211=y676-# CONFIG_LIBERTAS is not set677-CONFIG_HOSTAP=m678-# CONFIG_HOSTAP_FIRMWARE is not set679-# CONFIG_WAN is not set680-# CONFIG_PPP is not set681-# CONFIG_SLIP is not set682-# CONFIG_SHAPER is not set683-# CONFIG_NETCONSOLE is not set684-# CONFIG_NETPOLL is not set685-# CONFIG_NET_POLL_CONTROLLER is not set686-# CONFIG_ISDN is not set687-# CONFIG_PHONE is not set688-689-#690-# Input device support691-#692-CONFIG_INPUT=y693-# CONFIG_INPUT_FF_MEMLESS is not set694-# CONFIG_INPUT_POLLDEV is not set695-696-#697-# Userland interfaces698-#699-CONFIG_INPUT_MOUSEDEV=m700-CONFIG_INPUT_MOUSEDEV_PSAUX=y701-CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024702-CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768703-# CONFIG_INPUT_JOYDEV is not set704-# CONFIG_INPUT_TSDEV is not set705-# CONFIG_INPUT_EVDEV is not set706-# CONFIG_INPUT_EVBUG is not set707-708-#709-# Input Device Drivers710-#711-CONFIG_INPUT_KEYBOARD=y712-CONFIG_KEYBOARD_ATKBD=y713-# CONFIG_KEYBOARD_SUNKBD is not set714-# CONFIG_KEYBOARD_LKKBD is not set715-# CONFIG_KEYBOARD_XTKBD is not set716-# CONFIG_KEYBOARD_NEWTON is not set717-# CONFIG_KEYBOARD_STOWAWAY is not set718-CONFIG_INPUT_MOUSE=y719-CONFIG_MOUSE_PS2=m720-# CONFIG_MOUSE_PS2_ALPS is not set721-CONFIG_MOUSE_PS2_LOGIPS2PP=y722-# CONFIG_MOUSE_PS2_SYNAPTICS is not set723-# CONFIG_MOUSE_PS2_LIFEBOOK is not set724-CONFIG_MOUSE_PS2_TRACKPOINT=y725-# CONFIG_MOUSE_PS2_TOUCHKIT is not set726-CONFIG_MOUSE_SERIAL=m727-# CONFIG_MOUSE_VSXXXAA is not set728-# CONFIG_INPUT_JOYSTICK is not set729-# CONFIG_INPUT_TABLET is not set730-# CONFIG_INPUT_TOUCHSCREEN is not set731-# CONFIG_INPUT_MISC is not set732-733-#734-# Hardware I/O ports735-#736-CONFIG_SERIO=y737-CONFIG_SERIO_I8042=y738-CONFIG_SERIO_SERPORT=y739-CONFIG_SERIO_LIBPS2=y740-CONFIG_SERIO_RAW=m741-# CONFIG_GAMEPORT is not set742-743-#744-# Character devices745-#746-CONFIG_VT=y747-CONFIG_VT_CONSOLE=y748-CONFIG_HW_CONSOLE=y749-CONFIG_VT_HW_CONSOLE_BINDING=y750-# CONFIG_SERIAL_NONSTANDARD is not set751-752-#753-# Serial drivers754-#755-# CONFIG_SERIAL_8250 is not set756-757-#758-# Non-8250 serial port support759-#760-CONFIG_SERIAL_IP22_ZILOG=m761-CONFIG_SERIAL_CORE=m762-CONFIG_UNIX98_PTYS=y763-CONFIG_LEGACY_PTYS=y764-CONFIG_LEGACY_PTY_COUNT=256765-# CONFIG_IPMI_HANDLER is not set766-CONFIG_WATCHDOG=y767-# CONFIG_WATCHDOG_NOWAYOUT is not set768-769-#770-# Watchdog Device Drivers771-#772-# CONFIG_SOFT_WATCHDOG is not set773-CONFIG_INDYDOG=m774-# CONFIG_HW_RANDOM is not set775-# CONFIG_RTC is not set776-CONFIG_SGI_DS1286=m777-# CONFIG_R3964 is not set778-CONFIG_RAW_DRIVER=m779-CONFIG_MAX_RAW_DEVS=256780-# CONFIG_TCG_TPM is not set781-# CONFIG_I2C is not set782-783-#784-# SPI support785-#786-# CONFIG_SPI is not set787-# CONFIG_SPI_MASTER is not set788-# CONFIG_W1 is not set789-# CONFIG_POWER_SUPPLY is not set790-# CONFIG_HWMON is not set791-792-#793-# Multifunction device drivers794-#795-# CONFIG_MFD_SM501 is not set796-797-#798-# Multimedia devices799-#800-# CONFIG_VIDEO_DEV is not set801-# CONFIG_DVB_CORE is not set802-# CONFIG_DAB is not set803-804-#805-# Graphics support806-#807-# CONFIG_BACKLIGHT_LCD_SUPPORT is not set808-809-#810-# Display device support811-#812-# CONFIG_DISPLAY_SUPPORT is not set813-# CONFIG_VGASTATE is not set814-# CONFIG_VIDEO_OUTPUT_CONTROL is not set815-# CONFIG_FB is not set816-817-#818-# Console display driver support819-#820-# CONFIG_VGA_CONSOLE is not set821-CONFIG_SGI_NEWPORT_CONSOLE=y822-CONFIG_DUMMY_CONSOLE=y823-CONFIG_FONT_8x16=y824-CONFIG_LOGO=y825-# CONFIG_LOGO_LINUX_MONO is not set826-# CONFIG_LOGO_LINUX_VGA16 is not set827-# CONFIG_LOGO_LINUX_CLUT224 is not set828-CONFIG_LOGO_SGI_CLUT224=y829-830-#831-# Sound832-#833-# CONFIG_SOUND is not set834-CONFIG_HID_SUPPORT=y835-CONFIG_HID=y836-# CONFIG_HID_DEBUG is not set837-CONFIG_USB_SUPPORT=y838-# CONFIG_USB_ARCH_HAS_HCD is not set839-# CONFIG_USB_ARCH_HAS_OHCI is not set840-# CONFIG_USB_ARCH_HAS_EHCI is not set841-842-#843-# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support'844-#845-846-#847-# USB Gadget Support848-#849-# CONFIG_USB_GADGET is not set850-# CONFIG_MMC is not set851-# CONFIG_NEW_LEDS is not set852-# CONFIG_RTC_CLASS is not set853-854-#855-# DMA Engine support856-#857-# CONFIG_DMA_ENGINE is not set858-859-#860-# DMA Clients861-#862-863-#864-# DMA Devices865-#866-867-#868-# Userspace I/O869-#870-# CONFIG_UIO is not set871-872-#873-# File systems874-#875-CONFIG_EXT2_FS=m876-# CONFIG_EXT2_FS_XATTR is not set877-# CONFIG_EXT2_FS_XIP is not set878-CONFIG_EXT3_FS=y879-CONFIG_EXT3_FS_XATTR=y880-CONFIG_EXT3_FS_POSIX_ACL=y881-CONFIG_EXT3_FS_SECURITY=y882-# CONFIG_EXT4DEV_FS is not set883-CONFIG_JBD=y884-# CONFIG_JBD_DEBUG is not set885-CONFIG_FS_MBCACHE=y886-# CONFIG_REISERFS_FS is not set887-# CONFIG_JFS_FS is not set888-CONFIG_FS_POSIX_ACL=y889-CONFIG_XFS_FS=m890-CONFIG_XFS_QUOTA=y891-CONFIG_XFS_SECURITY=y892-# CONFIG_XFS_POSIX_ACL is not set893-# CONFIG_XFS_RT is not set894-# CONFIG_GFS2_FS is not set895-# CONFIG_OCFS2_FS is not set896-CONFIG_MINIX_FS=m897-# CONFIG_ROMFS_FS is not set898-CONFIG_INOTIFY=y899-CONFIG_INOTIFY_USER=y900-CONFIG_QUOTA=y901-# CONFIG_QFMT_V1 is not set902-CONFIG_QFMT_V2=m903-CONFIG_QUOTACTL=y904-CONFIG_DNOTIFY=y905-CONFIG_AUTOFS_FS=m906-CONFIG_AUTOFS4_FS=m907-CONFIG_FUSE_FS=m908-CONFIG_GENERIC_ACL=y909-910-#911-# CD-ROM/DVD Filesystems912-#913-CONFIG_ISO9660_FS=m914-CONFIG_JOLIET=y915-CONFIG_ZISOFS=y916-CONFIG_UDF_FS=m917-CONFIG_UDF_NLS=y918-919-#920-# DOS/FAT/NT Filesystems921-#922-CONFIG_FAT_FS=m923-CONFIG_MSDOS_FS=m924-CONFIG_VFAT_FS=m925-CONFIG_FAT_DEFAULT_CODEPAGE=437926-CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"927-# CONFIG_NTFS_FS is not set928-929-#930-# Pseudo filesystems931-#932-CONFIG_PROC_FS=y933-CONFIG_PROC_KCORE=y934-CONFIG_PROC_SYSCTL=y935-CONFIG_SYSFS=y936-CONFIG_TMPFS=y937-CONFIG_TMPFS_POSIX_ACL=y938-# CONFIG_HUGETLB_PAGE is not set939-CONFIG_RAMFS=y940-CONFIG_CONFIGFS_FS=m941-942-#943-# Miscellaneous filesystems944-#945-# CONFIG_ADFS_FS is not set946-# CONFIG_AFFS_FS is not set947-# CONFIG_ECRYPT_FS is not set948-# CONFIG_HFS_FS is not set949-# CONFIG_HFSPLUS_FS is not set950-# CONFIG_BEFS_FS is not set951-# CONFIG_BFS_FS is not set952-CONFIG_EFS_FS=m953-# CONFIG_CRAMFS is not set954-# CONFIG_VXFS_FS is not set955-# CONFIG_HPFS_FS is not set956-# CONFIG_QNX4FS_FS is not set957-# CONFIG_SYSV_FS is not set958-CONFIG_UFS_FS=m959-# CONFIG_UFS_FS_WRITE is not set960-# CONFIG_UFS_DEBUG is not set961-962-#963-# Network File Systems964-#965-CONFIG_NFS_FS=m966-CONFIG_NFS_V3=y967-CONFIG_NFS_V3_ACL=y968-# CONFIG_NFS_V4 is not set969-# CONFIG_NFS_DIRECTIO is not set970-CONFIG_NFSD=m971-CONFIG_NFSD_V2_ACL=y972-CONFIG_NFSD_V3=y973-CONFIG_NFSD_V3_ACL=y974-# CONFIG_NFSD_V4 is not set975-CONFIG_NFSD_TCP=y976-CONFIG_LOCKD=m977-CONFIG_LOCKD_V4=y978-CONFIG_EXPORTFS=m979-CONFIG_NFS_ACL_SUPPORT=m980-CONFIG_NFS_COMMON=y981-CONFIG_SUNRPC=m982-CONFIG_SUNRPC_GSS=m983-# CONFIG_SUNRPC_BIND34 is not set984-CONFIG_RPCSEC_GSS_KRB5=m985-# CONFIG_RPCSEC_GSS_SPKM3 is not set986-CONFIG_SMB_FS=m987-CONFIG_SMB_NLS_DEFAULT=y988-CONFIG_SMB_NLS_REMOTE="cp437"989-CONFIG_CIFS=m990-# CONFIG_CIFS_STATS is not set991-# CONFIG_CIFS_WEAK_PW_HASH is not set992-# CONFIG_CIFS_XATTR is not set993-# CONFIG_CIFS_DEBUG2 is not set994-# CONFIG_CIFS_EXPERIMENTAL is not set995-# CONFIG_NCP_FS is not set996-CONFIG_CODA_FS=m997-# CONFIG_CODA_FS_OLD_API is not set998-# CONFIG_AFS_FS is not set999-1000-#1001-# Partition Types1002-#1003-CONFIG_PARTITION_ADVANCED=y1004-# CONFIG_ACORN_PARTITION is not set1005-# CONFIG_OSF_PARTITION is not set1006-# CONFIG_AMIGA_PARTITION is not set1007-# CONFIG_ATARI_PARTITION is not set1008-# CONFIG_MAC_PARTITION is not set1009-CONFIG_MSDOS_PARTITION=y1010-# CONFIG_BSD_DISKLABEL is not set1011-# CONFIG_MINIX_SUBPARTITION is not set1012-# CONFIG_SOLARIS_X86_PARTITION is not set1013-# CONFIG_UNIXWARE_DISKLABEL is not set1014-# CONFIG_LDM_PARTITION is not set1015-CONFIG_SGI_PARTITION=y1016-# CONFIG_ULTRIX_PARTITION is not set1017-# CONFIG_SUN_PARTITION is not set1018-# CONFIG_KARMA_PARTITION is not set1019-# CONFIG_EFI_PARTITION is not set1020-# CONFIG_SYSV68_PARTITION is not set1021-1022-#1023-# Native Language Support1024-#1025-CONFIG_NLS=m1026-CONFIG_NLS_DEFAULT="iso8859-1"1027-CONFIG_NLS_CODEPAGE_437=m1028-CONFIG_NLS_CODEPAGE_737=m1029-CONFIG_NLS_CODEPAGE_775=m1030-CONFIG_NLS_CODEPAGE_850=m1031-CONFIG_NLS_CODEPAGE_852=m1032-CONFIG_NLS_CODEPAGE_855=m1033-CONFIG_NLS_CODEPAGE_857=m1034-CONFIG_NLS_CODEPAGE_860=m1035-CONFIG_NLS_CODEPAGE_861=m1036-CONFIG_NLS_CODEPAGE_862=m1037-CONFIG_NLS_CODEPAGE_863=m1038-CONFIG_NLS_CODEPAGE_864=m1039-CONFIG_NLS_CODEPAGE_865=m1040-CONFIG_NLS_CODEPAGE_866=m1041-CONFIG_NLS_CODEPAGE_869=m1042-CONFIG_NLS_CODEPAGE_936=m1043-CONFIG_NLS_CODEPAGE_950=m1044-CONFIG_NLS_CODEPAGE_932=m1045-CONFIG_NLS_CODEPAGE_949=m1046-CONFIG_NLS_CODEPAGE_874=m1047-CONFIG_NLS_ISO8859_8=m1048-CONFIG_NLS_CODEPAGE_1250=m1049-CONFIG_NLS_CODEPAGE_1251=m1050-CONFIG_NLS_ASCII=m1051-CONFIG_NLS_ISO8859_1=m1052-CONFIG_NLS_ISO8859_2=m1053-CONFIG_NLS_ISO8859_3=m1054-CONFIG_NLS_ISO8859_4=m1055-CONFIG_NLS_ISO8859_5=m1056-CONFIG_NLS_ISO8859_6=m1057-CONFIG_NLS_ISO8859_7=m1058-CONFIG_NLS_ISO8859_9=m1059-CONFIG_NLS_ISO8859_13=m1060-CONFIG_NLS_ISO8859_14=m1061-CONFIG_NLS_ISO8859_15=m1062-CONFIG_NLS_KOI8_R=m1063-CONFIG_NLS_KOI8_U=m1064-CONFIG_NLS_UTF8=m1065-1066-#1067-# Distributed Lock Manager1068-#1069-CONFIG_DLM=m1070-# CONFIG_DLM_DEBUG is not set1071-1072-#1073-# Profiling support1074-#1075-# CONFIG_PROFILING is not set1076-1077-#1078-# Kernel hacking1079-#1080-CONFIG_TRACE_IRQFLAGS_SUPPORT=y1081-# CONFIG_PRINTK_TIME is not set1082-CONFIG_ENABLE_MUST_CHECK=y1083-# CONFIG_MAGIC_SYSRQ is not set1084-# CONFIG_UNUSED_SYMBOLS is not set1085-# CONFIG_DEBUG_FS is not set1086-# CONFIG_HEADERS_CHECK is not set1087-# CONFIG_DEBUG_KERNEL is not set1088-CONFIG_CROSSCOMPILE=y1089-CONFIG_CMDLINE=""1090-1091-#1092-# Security options1093-#1094-CONFIG_KEYS=y1095-CONFIG_KEYS_DEBUG_PROC_KEYS=y1096-# CONFIG_SECURITY is not set1097-CONFIG_CRYPTO=y1098-CONFIG_CRYPTO_ALGAPI=y1099-CONFIG_CRYPTO_ABLKCIPHER=m1100-CONFIG_CRYPTO_BLKCIPHER=m1101-CONFIG_CRYPTO_HASH=y1102-CONFIG_CRYPTO_MANAGER=y1103-CONFIG_CRYPTO_HMAC=y1104-CONFIG_CRYPTO_XCBC=m1105-CONFIG_CRYPTO_NULL=m1106-CONFIG_CRYPTO_MD4=m1107-CONFIG_CRYPTO_MD5=y1108-CONFIG_CRYPTO_SHA1=m1109-CONFIG_CRYPTO_SHA256=m1110-CONFIG_CRYPTO_SHA512=m1111-CONFIG_CRYPTO_WP512=m1112-CONFIG_CRYPTO_TGR192=m1113-CONFIG_CRYPTO_GF128MUL=m1114-CONFIG_CRYPTO_ECB=m1115-CONFIG_CRYPTO_CBC=m1116-CONFIG_CRYPTO_PCBC=m1117-CONFIG_CRYPTO_LRW=m1118-CONFIG_CRYPTO_CRYPTD=m1119-CONFIG_CRYPTO_DES=m1120-CONFIG_CRYPTO_FCRYPT=m1121-CONFIG_CRYPTO_BLOWFISH=m1122-CONFIG_CRYPTO_TWOFISH=m1123-CONFIG_CRYPTO_TWOFISH_COMMON=m1124-CONFIG_CRYPTO_SERPENT=m1125-CONFIG_CRYPTO_AES=m1126-CONFIG_CRYPTO_CAST5=m1127-CONFIG_CRYPTO_CAST6=m1128-CONFIG_CRYPTO_TEA=m1129-CONFIG_CRYPTO_ARC4=m1130-CONFIG_CRYPTO_KHAZAD=m1131-CONFIG_CRYPTO_ANUBIS=m1132-CONFIG_CRYPTO_DEFLATE=m1133-CONFIG_CRYPTO_MICHAEL_MIC=m1134-CONFIG_CRYPTO_CRC32C=m1135-CONFIG_CRYPTO_CAMELLIA=m1136-# CONFIG_CRYPTO_TEST is not set1137-# CONFIG_CRYPTO_HW is not set1138-1139-#1140-# Library routines1141-#1142-CONFIG_BITREVERSE=m1143-# CONFIG_CRC_CCITT is not set1144-CONFIG_CRC16=m1145-# CONFIG_CRC_ITU_T is not set1146-CONFIG_CRC32=m1147-# CONFIG_CRC7 is not set1148-CONFIG_LIBCRC32C=m1149-CONFIG_ZLIB_INFLATE=m1150-CONFIG_ZLIB_DEFLATE=m1151-CONFIG_TEXTSEARCH=y1152-CONFIG_TEXTSEARCH_KMP=m1153-CONFIG_TEXTSEARCH_BM=m1154-CONFIG_TEXTSEARCH_FSM=m1155-CONFIG_PLIST=y1156-CONFIG_HAS_IOMEM=y1157-CONFIG_HAS_IOPORT=y1158-CONFIG_HAS_DMA=y
···534535/*536 * Simulate trapping 'rdhwr' instructions to provide user accessible537- * registers not implemented in hardware. The only current use of this538- * is the thread area pointer.539 */540static int simulate_rdhwr(struct pt_regs *regs, unsigned int opcode)541{···544 int rd = (opcode & RD) >> 11;545 int rt = (opcode & RT) >> 16;546 switch (rd) {547- case 29:548- regs->regs[rt] = ti->tp_value;549- return 0;0000000000000550 default:551- return -1;0000000552 }553 }554···1306int cp0_perfcount_irq;1307EXPORT_SYMBOL_GPL(cp0_perfcount_irq);13081309-void __init per_cpu_trap_init(void)1310{1311 unsigned int cpu = smp_processor_id();1312 unsigned int status_set = ST0_CU0;···1423 flush_icache_range(ebase + offset, ebase + offset + size);1424}14251426-static char panic_null_cerr[] __initdata =1427 "Trying to set NULL cache error exception handler";14281429/* Install uncached CPU exception handler */1430-void __init set_uncached_handler(unsigned long offset, void *addr, unsigned long size)01431{1432#ifdef CONFIG_32BIT1433 unsigned long uncached_ebase = KSEG1ADDR(ebase);
···534535/*536 * Simulate trapping 'rdhwr' instructions to provide user accessible537+ * registers not implemented in hardware.0538 */539static int simulate_rdhwr(struct pt_regs *regs, unsigned int opcode)540{···545 int rd = (opcode & RD) >> 11;546 int rt = (opcode & RT) >> 16;547 switch (rd) {548+ case 0: /* CPU number */549+ regs->regs[rt] = smp_processor_id();550+ return 0;551+ case 1: /* SYNCI length */552+ regs->regs[rt] = min(current_cpu_data.dcache.linesz,553+ current_cpu_data.icache.linesz);554+ return 0;555+ case 2: /* Read count register */556+ regs->regs[rt] = read_c0_count();557+ return 0;558+ case 3: /* Count register resolution */559+ switch (current_cpu_data.cputype) {560+ case CPU_20KC:561+ case CPU_25KF:562+ regs->regs[rt] = 1;563+ break;564 default:565+ regs->regs[rt] = 2;566+ }567+ return 0;568+ case 29:569+ regs->regs[rt] = ti->tp_value;570+ return 0;571+ default:572+ return -1;573 }574 }575···1287int cp0_perfcount_irq;1288EXPORT_SYMBOL_GPL(cp0_perfcount_irq);12891290+void __cpuinit per_cpu_trap_init(void)1291{1292 unsigned int cpu = smp_processor_id();1293 unsigned int status_set = ST0_CU0;···1404 flush_icache_range(ebase + offset, ebase + offset + size);1405}14061407+static char panic_null_cerr[] __cpuinitdata =1408 "Trying to set NULL cache error exception handler";14091410/* Install uncached CPU exception handler */1411+void __cpuinit set_uncached_handler(unsigned long offset, void *addr,1412+ unsigned long size)1413{1414#ifdef CONFIG_32BIT1415 unsigned long uncached_ebase = KSEG1ADDR(ebase);
···36 * values, so we can avoid sharing the same stack area between a cached37 * and the uncached mode.38 */39-unsigned long __init run_uncached(void *func)40{41 register long sp __asm__("$sp");42 register long ret __asm__("$2");
···36 * values, so we can avoid sharing the same stack area between a cached37 * and the uncached mode.38 */39+unsigned long __cpuinit run_uncached(void *func)40{41 register long sp __asm__("$sp");42 register long ret __asm__("$2");
+1-1
arch/mips/mips-boards/generic/time.c
···146 }147}148149-unsigned int __init get_c0_compare_int(void)150{151#ifdef MSC01E_INT_BASE152 if (cpu_has_veic) {
···146 }147}148149+unsigned int __cpuinit get_c0_compare_int(void)150{151#ifdef MSC01E_INT_BASE152 if (cpu_has_veic) {
+1-1
arch/mips/mipssim/sim_time.c
···83}848586-unsigned __init get_c0_compare_int(void)87{88#ifdef MSC01E_INT_BASE89 if (cpu_has_veic) {
···83}848586+unsigned __cpuinit get_c0_compare_int(void)87{88#ifdef MSC01E_INT_BASE89 if (cpu_has_veic) {
···34 * is changed.35 */3637- __INIT38-39 .set mips6440 .set noreorder41 .set noat···48 * since the final 16 bytes of the exception vector memory49 * (0x170-0x17f) are used to preserve k0, k1, and ra.50 */005152LEAF(except_vec2_sb1)53 /*
···34 * is changed.35 */360037 .set mips6438 .set noreorder39 .set noat···50 * since the final 16 bytes of the exception vector memory51 * (0x170-0x17f) are used to preserve k0, k1, and ra.52 */53+54+ __CPUINIT5556LEAF(except_vec2_sb1)57 /*
+11-11
arch/mips/mm/pg-r4k.c
···66 * with 64-bit kernels. The prefetch offsets have been experimentally tuned67 * an Origin 200.68 */69-static int pref_offset_clear __initdata = 512;70-static int pref_offset_copy __initdata = 256;7172-static unsigned int pref_src_mode __initdata;73-static unsigned int pref_dst_mode __initdata;7475-static int load_offset __initdata;76-static int store_offset __initdata;7778-static unsigned int __initdata *dest, *epc;7980static unsigned int instruction_pending;81static union mips_instruction delayed_mi;8283-static void __init emit_instruction(union mips_instruction mi)84{85 if (instruction_pending)86 *epc++ = delayed_mi.word;···222 emit_instruction(mi);223}224225-static void __init __build_store_reg(int reg)226{227 union mips_instruction mi;228 unsigned int width;···339 flush_delay_slot_or_nop();340}341342-void __init build_clear_page(void)343{344 unsigned int loop_start;345 unsigned long off;···442 pr_debug("\t.set pop\n");443}444445-void __init build_copy_page(void)446{447 unsigned int loop_start;448 unsigned long off;
···66 * with 64-bit kernels. The prefetch offsets have been experimentally tuned67 * an Origin 200.68 */69+static int pref_offset_clear __cpuinitdata = 512;70+static int pref_offset_copy __cpuinitdata = 256;7172+static unsigned int pref_src_mode __cpuinitdata;73+static unsigned int pref_dst_mode __cpuinitdata;7475+static int load_offset __cpuinitdata;76+static int store_offset __cpuinitdata;7778+static unsigned int __cpuinitdata *dest, *epc;7980static unsigned int instruction_pending;81static union mips_instruction delayed_mi;8283+static void __cpuinit emit_instruction(union mips_instruction mi)84{85 if (instruction_pending)86 *epc++ = delayed_mi.word;···222 emit_instruction(mi);223}224225+static void __cpuinit __build_store_reg(int reg)226{227 union mips_instruction mi;228 unsigned int width;···339 flush_delay_slot_or_nop();340}341342+void __cpuinit build_clear_page(void)343{344 unsigned int loop_start;345 unsigned long off;···442 pr_debug("\t.set pop\n");443}444445+void __cpuinit build_copy_page(void)446{447 unsigned int loop_start;448 unsigned long off;
···388 * lifetime of the system389 */390391-static int temp_tlb_entry __initdata;392393__init int add_temporary_entry(unsigned long entrylo0, unsigned long entrylo1,394 unsigned long entryhi, unsigned long pagemask)···427 return ret;428}429430-static void __init probe_tlb(unsigned long config)431{432 struct cpuinfo_mips *c = ¤t_cpu_data;433 unsigned int reg;···455 c->tlbsize = ((reg >> 25) & 0x3f) + 1;456}457458-static int __initdata ntlb = 0;459static int __init set_ntlb(char *str)460{461 get_option(&str, &ntlb);···464465__setup("ntlb=", set_ntlb);466467-void __init tlb_init(void)468{469 unsigned int config = read_c0_config();470···473 * - On R4600 1.7 the tlbp never hits for pages smaller than474 * the value in the c0_pagemask register.475 * - The entire mm handling assumes the c0_pagemask register to476- * be set for 4kb pages.477 */478 probe_tlb(config);479 write_c0_pagemask(PM_DEFAULT_MASK);
···388 * lifetime of the system389 */390391+static int temp_tlb_entry __cpuinitdata;392393__init int add_temporary_entry(unsigned long entrylo0, unsigned long entrylo1,394 unsigned long entryhi, unsigned long pagemask)···427 return ret;428}429430+static void __cpuinit probe_tlb(unsigned long config)431{432 struct cpuinfo_mips *c = ¤t_cpu_data;433 unsigned int reg;···455 c->tlbsize = ((reg >> 25) & 0x3f) + 1;456}457458+static int __cpuinitdata ntlb = 0;459static int __init set_ntlb(char *str)460{461 get_option(&str, &ntlb);···464465__setup("ntlb=", set_ntlb);466467+void __cpuinit tlb_init(void)468{469 unsigned int config = read_c0_config();470···473 * - On R4600 1.7 the tlbp never hits for pages smaller than474 * the value in the c0_pagemask register.475 * - The entire mm handling assumes the c0_pagemask register to476+ * be set to fixed-size pages.477 */478 probe_tlb(config);479 write_c0_pagemask(PM_DEFAULT_MASK);
+2-2
arch/mips/mm/tlb-r8k.c
···214 local_irq_restore(flags);215}216217-static void __init probe_tlb(unsigned long config)218{219 struct cpuinfo_mips *c = ¤t_cpu_data;220221 c->tlbsize = 3 * 128; /* 3 sets each 128 entries */222}223224-void __init tlb_init(void)225{226 unsigned int config = read_c0_config();227 unsigned long status;
···214 local_irq_restore(flags);215}216217+static void __cpuinit probe_tlb(unsigned long config)218{219 struct cpuinfo_mips *c = ¤t_cpu_data;220221 c->tlbsize = 3 * 128; /* 3 sets each 128 entries */222}223224+void __cpuinit tlb_init(void)225{226 unsigned int config = read_c0_config();227 unsigned long status;
+35-35
arch/mips/mm/tlbex.c
···60 * why; it's not an issue caused by the core RTL.61 *62 */63-static int __init m4kc_tlbp_war(void)64{65 return (current_cpu_data.processor_id & 0xffff00) ==66 (PRID_COMP_MIPS | PRID_IMP_4KC);···144 * We deliberately chose a buffer size of 128, so we won't scribble145 * over anything important on overflow before we panic.146 */147-static u32 tlb_handler[128] __initdata;148149/* simply assume worst case size for labels and relocs */150-static struct uasm_label labels[128] __initdata;151-static struct uasm_reloc relocs[128] __initdata;152153/*154 * The R3000 TLB handler is simple.155 */156-static void __init build_r3000_tlb_refill_handler(void)157{158 long pgdc = (long)pgd_current;159 u32 *p;···197 * other one.To keep things simple, we first assume linear space,198 * then we relocate it to the final handler layout as needed.199 */200-static u32 final_handler[64] __initdata;201202/*203 * Hazards···221 *222 * As if we MIPS hackers wouldn't know how to nop pipelines happy ...223 */224-static void __init __maybe_unused build_tlb_probe_entry(u32 **p)225{226 switch (current_cpu_type()) {227 /* Found by experiment: R4600 v2.0 needs this, too. */···245 */246enum tlb_write_entry { tlb_random, tlb_indexed };247248-static void __init build_tlb_write_entry(u32 **p, struct uasm_label **l,249 struct uasm_reloc **r,250 enum tlb_write_entry wmode)251{···389 * TMP and PTR are scratch.390 * TMP will be clobbered, PTR will hold the pmd entry.391 */392-static void __init393build_get_pmde64(u32 **p, struct uasm_label **l, struct uasm_reloc **r,394 unsigned int tmp, unsigned int ptr)395{···450 * BVADDR is the faulting address, PTR is scratch.451 * PTR will hold the pgd for vmalloc.452 */453-static void __init454build_get_pgd_vmalloc64(u32 **p, struct uasm_label **l, struct uasm_reloc **r,455 unsigned int bvaddr, unsigned int ptr)456{···522 * TMP and PTR are scratch.523 * TMP will be clobbered, PTR will hold the pgd entry.524 */525-static void __init __maybe_unused526build_get_pgde32(u32 **p, unsigned int tmp, unsigned int ptr)527{528 long pgdc = (long)pgd_current;···557558#endif /* !CONFIG_64BIT */559560-static void __init build_adjust_context(u32 **p, unsigned int ctx)561{562 unsigned int shift = 4 - (PTE_T_LOG2 + 1) + PAGE_SHIFT - 12;563 unsigned int mask = (PTRS_PER_PTE / 2 - 1) << (PTE_T_LOG2 + 1);···583 uasm_i_andi(p, ctx, ctx, mask);584}585586-static void __init build_get_ptep(u32 **p, unsigned int tmp, unsigned int ptr)587{588 /*589 * Bug workaround for the Nevada. It seems as if under certain···608 UASM_i_ADDU(p, ptr, ptr, tmp); /* add in offset */609}610611-static void __init build_update_entries(u32 **p, unsigned int tmp,612 unsigned int ptep)613{614 /*···651#endif652}653654-static void __init build_r4000_tlb_refill_handler(void)655{656 u32 *p = tlb_handler;657 struct uasm_label *l = labels;···783u32 handle_tlbs[FASTPATH_SIZE] __cacheline_aligned;784u32 handle_tlbm[FASTPATH_SIZE] __cacheline_aligned;785786-static void __init787iPTE_LW(u32 **p, struct uasm_label **l, unsigned int pte, unsigned int ptr)788{789#ifdef CONFIG_SMP···803#endif804}805806-static void __init807iPTE_SW(u32 **p, struct uasm_reloc **r, unsigned int pte, unsigned int ptr,808 unsigned int mode)809{···863 * the page table where this PTE is located, PTE will be re-loaded864 * with it's original value.865 */866-static void __init867build_pte_present(u32 **p, struct uasm_label **l, struct uasm_reloc **r,868 unsigned int pte, unsigned int ptr, enum label_id lid)869{···874}875876/* Make PTE valid, store result in PTR. */877-static void __init878build_make_valid(u32 **p, struct uasm_reloc **r, unsigned int pte,879 unsigned int ptr)880{···887 * Check if PTE can be written to, if not branch to LABEL. Regardless888 * restore PTE with value from PTR when done.889 */890-static void __init891build_pte_writable(u32 **p, struct uasm_label **l, struct uasm_reloc **r,892 unsigned int pte, unsigned int ptr, enum label_id lid)893{···900/* Make PTE writable, update software status bits as well, then store901 * at PTR.902 */903-static void __init904build_make_write(u32 **p, struct uasm_reloc **r, unsigned int pte,905 unsigned int ptr)906{···914 * Check if PTE can be modified, if not branch to LABEL. Regardless915 * restore PTE with value from PTR when done.916 */917-static void __init918build_pte_modifiable(u32 **p, struct uasm_label **l, struct uasm_reloc **r,919 unsigned int pte, unsigned int ptr, enum label_id lid)920{···931 * This places the pte into ENTRYLO0 and writes it with tlbwi.932 * Then it returns.933 */934-static void __init935build_r3000_pte_reload_tlbwi(u32 **p, unsigned int pte, unsigned int tmp)936{937 uasm_i_mtc0(p, pte, C0_ENTRYLO0); /* cp0 delay */···947 * may have the probe fail bit set as a result of a trap on a948 * kseg2 access, i.e. without refill. Then it returns.949 */950-static void __init951build_r3000_tlb_reload_write(u32 **p, struct uasm_label **l,952 struct uasm_reloc **r, unsigned int pte,953 unsigned int tmp)···965 uasm_i_rfe(p); /* branch delay */966}967968-static void __init969build_r3000_tlbchange_handler_head(u32 **p, unsigned int pte,970 unsigned int ptr)971{···985 uasm_i_tlbp(p); /* load delay */986}987988-static void __init build_r3000_tlb_load_handler(void)989{990 u32 *p = handle_tlbl;991 struct uasm_label *l = labels;···1015 dump_handler(handle_tlbl, ARRAY_SIZE(handle_tlbl));1016}10171018-static void __init build_r3000_tlb_store_handler(void)1019{1020 u32 *p = handle_tlbs;1021 struct uasm_label *l = labels;···1045 dump_handler(handle_tlbs, ARRAY_SIZE(handle_tlbs));1046}10471048-static void __init build_r3000_tlb_modify_handler(void)1049{1050 u32 *p = handle_tlbm;1051 struct uasm_label *l = labels;···1078/*1079 * R4000 style TLB load/store/modify handlers.1080 */1081-static void __init1082build_r4000_tlbchange_handler_head(u32 **p, struct uasm_label **l,1083 struct uasm_reloc **r, unsigned int pte,1084 unsigned int ptr)···1103 build_tlb_probe_entry(p);1104}11051106-static void __init1107build_r4000_tlbchange_handler_tail(u32 **p, struct uasm_label **l,1108 struct uasm_reloc **r, unsigned int tmp,1109 unsigned int ptr)···1120#endif1121}11221123-static void __init build_r4000_tlb_load_handler(void)1124{1125 u32 *p = handle_tlbl;1126 struct uasm_label *l = labels;···1160 dump_handler(handle_tlbl, ARRAY_SIZE(handle_tlbl));1161}11621163-static void __init build_r4000_tlb_store_handler(void)1164{1165 u32 *p = handle_tlbs;1166 struct uasm_label *l = labels;···1191 dump_handler(handle_tlbs, ARRAY_SIZE(handle_tlbs));1192}11931194-static void __init build_r4000_tlb_modify_handler(void)1195{1196 u32 *p = handle_tlbm;1197 struct uasm_label *l = labels;···1223 dump_handler(handle_tlbm, ARRAY_SIZE(handle_tlbm));1224}12251226-void __init build_tlb_refill_handler(void)1227{1228 /*1229 * The refill handler is generated per-CPU, multi-node systems···1269 }1270}12711272-void __init flush_tlb_handlers(void)1273{1274 flush_icache_range((unsigned long)handle_tlbl,1275 (unsigned long)handle_tlbl + sizeof(handle_tlbl));
···60 * why; it's not an issue caused by the core RTL.61 *62 */63+static int __cpuinit m4kc_tlbp_war(void)64{65 return (current_cpu_data.processor_id & 0xffff00) ==66 (PRID_COMP_MIPS | PRID_IMP_4KC);···144 * We deliberately chose a buffer size of 128, so we won't scribble145 * over anything important on overflow before we panic.146 */147+static u32 tlb_handler[128] __cpuinitdata;148149/* simply assume worst case size for labels and relocs */150+static struct uasm_label labels[128] __cpuinitdata;151+static struct uasm_reloc relocs[128] __cpuinitdata;152153/*154 * The R3000 TLB handler is simple.155 */156+static void __cpuinit build_r3000_tlb_refill_handler(void)157{158 long pgdc = (long)pgd_current;159 u32 *p;···197 * other one.To keep things simple, we first assume linear space,198 * then we relocate it to the final handler layout as needed.199 */200+static u32 final_handler[64] __cpuinitdata;201202/*203 * Hazards···221 *222 * As if we MIPS hackers wouldn't know how to nop pipelines happy ...223 */224+static void __cpuinit __maybe_unused build_tlb_probe_entry(u32 **p)225{226 switch (current_cpu_type()) {227 /* Found by experiment: R4600 v2.0 needs this, too. */···245 */246enum tlb_write_entry { tlb_random, tlb_indexed };247248+static void __cpuinit build_tlb_write_entry(u32 **p, struct uasm_label **l,249 struct uasm_reloc **r,250 enum tlb_write_entry wmode)251{···389 * TMP and PTR are scratch.390 * TMP will be clobbered, PTR will hold the pmd entry.391 */392+static void __cpuinit393build_get_pmde64(u32 **p, struct uasm_label **l, struct uasm_reloc **r,394 unsigned int tmp, unsigned int ptr)395{···450 * BVADDR is the faulting address, PTR is scratch.451 * PTR will hold the pgd for vmalloc.452 */453+static void __cpuinit454build_get_pgd_vmalloc64(u32 **p, struct uasm_label **l, struct uasm_reloc **r,455 unsigned int bvaddr, unsigned int ptr)456{···522 * TMP and PTR are scratch.523 * TMP will be clobbered, PTR will hold the pgd entry.524 */525+static void __cpuinit __maybe_unused526build_get_pgde32(u32 **p, unsigned int tmp, unsigned int ptr)527{528 long pgdc = (long)pgd_current;···557558#endif /* !CONFIG_64BIT */559560+static void __cpuinit build_adjust_context(u32 **p, unsigned int ctx)561{562 unsigned int shift = 4 - (PTE_T_LOG2 + 1) + PAGE_SHIFT - 12;563 unsigned int mask = (PTRS_PER_PTE / 2 - 1) << (PTE_T_LOG2 + 1);···583 uasm_i_andi(p, ctx, ctx, mask);584}585586+static void __cpuinit build_get_ptep(u32 **p, unsigned int tmp, unsigned int ptr)587{588 /*589 * Bug workaround for the Nevada. It seems as if under certain···608 UASM_i_ADDU(p, ptr, ptr, tmp); /* add in offset */609}610611+static void __cpuinit build_update_entries(u32 **p, unsigned int tmp,612 unsigned int ptep)613{614 /*···651#endif652}653654+static void __cpuinit build_r4000_tlb_refill_handler(void)655{656 u32 *p = tlb_handler;657 struct uasm_label *l = labels;···783u32 handle_tlbs[FASTPATH_SIZE] __cacheline_aligned;784u32 handle_tlbm[FASTPATH_SIZE] __cacheline_aligned;785786+static void __cpuinit787iPTE_LW(u32 **p, struct uasm_label **l, unsigned int pte, unsigned int ptr)788{789#ifdef CONFIG_SMP···803#endif804}805806+static void __cpuinit807iPTE_SW(u32 **p, struct uasm_reloc **r, unsigned int pte, unsigned int ptr,808 unsigned int mode)809{···863 * the page table where this PTE is located, PTE will be re-loaded864 * with it's original value.865 */866+static void __cpuinit867build_pte_present(u32 **p, struct uasm_label **l, struct uasm_reloc **r,868 unsigned int pte, unsigned int ptr, enum label_id lid)869{···874}875876/* Make PTE valid, store result in PTR. */877+static void __cpuinit878build_make_valid(u32 **p, struct uasm_reloc **r, unsigned int pte,879 unsigned int ptr)880{···887 * Check if PTE can be written to, if not branch to LABEL. Regardless888 * restore PTE with value from PTR when done.889 */890+static void __cpuinit891build_pte_writable(u32 **p, struct uasm_label **l, struct uasm_reloc **r,892 unsigned int pte, unsigned int ptr, enum label_id lid)893{···900/* Make PTE writable, update software status bits as well, then store901 * at PTR.902 */903+static void __cpuinit904build_make_write(u32 **p, struct uasm_reloc **r, unsigned int pte,905 unsigned int ptr)906{···914 * Check if PTE can be modified, if not branch to LABEL. Regardless915 * restore PTE with value from PTR when done.916 */917+static void __cpuinit918build_pte_modifiable(u32 **p, struct uasm_label **l, struct uasm_reloc **r,919 unsigned int pte, unsigned int ptr, enum label_id lid)920{···931 * This places the pte into ENTRYLO0 and writes it with tlbwi.932 * Then it returns.933 */934+static void __cpuinit935build_r3000_pte_reload_tlbwi(u32 **p, unsigned int pte, unsigned int tmp)936{937 uasm_i_mtc0(p, pte, C0_ENTRYLO0); /* cp0 delay */···947 * may have the probe fail bit set as a result of a trap on a948 * kseg2 access, i.e. without refill. Then it returns.949 */950+static void __cpuinit951build_r3000_tlb_reload_write(u32 **p, struct uasm_label **l,952 struct uasm_reloc **r, unsigned int pte,953 unsigned int tmp)···965 uasm_i_rfe(p); /* branch delay */966}967968+static void __cpuinit969build_r3000_tlbchange_handler_head(u32 **p, unsigned int pte,970 unsigned int ptr)971{···985 uasm_i_tlbp(p); /* load delay */986}987988+static void __cpuinit build_r3000_tlb_load_handler(void)989{990 u32 *p = handle_tlbl;991 struct uasm_label *l = labels;···1015 dump_handler(handle_tlbl, ARRAY_SIZE(handle_tlbl));1016}10171018+static void __cpuinit build_r3000_tlb_store_handler(void)1019{1020 u32 *p = handle_tlbs;1021 struct uasm_label *l = labels;···1045 dump_handler(handle_tlbs, ARRAY_SIZE(handle_tlbs));1046}10471048+static void __cpuinit build_r3000_tlb_modify_handler(void)1049{1050 u32 *p = handle_tlbm;1051 struct uasm_label *l = labels;···1078/*1079 * R4000 style TLB load/store/modify handlers.1080 */1081+static void __cpuinit1082build_r4000_tlbchange_handler_head(u32 **p, struct uasm_label **l,1083 struct uasm_reloc **r, unsigned int pte,1084 unsigned int ptr)···1103 build_tlb_probe_entry(p);1104}11051106+static void __cpuinit1107build_r4000_tlbchange_handler_tail(u32 **p, struct uasm_label **l,1108 struct uasm_reloc **r, unsigned int tmp,1109 unsigned int ptr)···1120#endif1121}11221123+static void __cpuinit build_r4000_tlb_load_handler(void)1124{1125 u32 *p = handle_tlbl;1126 struct uasm_label *l = labels;···1160 dump_handler(handle_tlbl, ARRAY_SIZE(handle_tlbl));1161}11621163+static void __cpuinit build_r4000_tlb_store_handler(void)1164{1165 u32 *p = handle_tlbs;1166 struct uasm_label *l = labels;···1191 dump_handler(handle_tlbs, ARRAY_SIZE(handle_tlbs));1192}11931194+static void __cpuinit build_r4000_tlb_modify_handler(void)1195{1196 u32 *p = handle_tlbm;1197 struct uasm_label *l = labels;···1223 dump_handler(handle_tlbm, ARRAY_SIZE(handle_tlbm));1224}12251226+void __cpuinit build_tlb_refill_handler(void)1227{1228 /*1229 * The refill handler is generated per-CPU, multi-node systems···1269 }1270}12711272+void __cpuinit flush_tlb_handlers(void)1273{1274 flush_icache_range((unsigned long)handle_tlbl,1275 (unsigned long)handle_tlbl + sizeof(handle_tlbl));
···11#include <linux/types.h>1213#define Ip_u1u2u3(op) \14-void __init \15uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c)1617#define Ip_u2u1u3(op) \18-void __init \19uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c)2021#define Ip_u3u1u2(op) \22-void __init \23uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c)2425#define Ip_u1u2s3(op) \26-void __init \27uasm_i##op(u32 **buf, unsigned int a, unsigned int b, signed int c)2829#define Ip_u2s3u1(op) \30-void __init \31uasm_i##op(u32 **buf, unsigned int a, signed int b, unsigned int c)3233#define Ip_u2u1s3(op) \34-void __init \35uasm_i##op(u32 **buf, unsigned int a, unsigned int b, signed int c)3637#define Ip_u1u2(op) \38-void __init uasm_i##op(u32 **buf, unsigned int a, unsigned int b)3940#define Ip_u1s2(op) \41-void __init uasm_i##op(u32 **buf, unsigned int a, signed int b)4243-#define Ip_u1(op) void __init uasm_i##op(u32 **buf, unsigned int a)4445-#define Ip_0(op) void __init uasm_i##op(u32 **buf)4647Ip_u2u1s3(_addiu);48Ip_u3u1u2(_addu);···98 int lab;99};100101-void __init uasm_build_label(struct uasm_label **lab, u32 *addr, int lid);102#ifdef CONFIG_64BIT103-int __init uasm_in_compat_space_p(long addr);104-int __init uasm_rel_highest(long val);105-int __init uasm_rel_higher(long val);106#endif107-int __init uasm_rel_hi(long val);108-int __init uasm_rel_lo(long val);109-void __init UASM_i_LA_mostly(u32 **buf, unsigned int rs, long addr);110-void __init UASM_i_LA(u32 **buf, unsigned int rs, long addr);111112#define UASM_L_LA(lb) \113-static inline void __init uasm_l##lb(struct uasm_label **lab, u32 *addr) \114{ \115 uasm_build_label(lab, addr, label##lb); \116}···164/* This is zero so we can use zeroed label arrays. */165#define UASM_LABEL_INVALID 0166167-void __init uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid);168-void __init169-uasm_resolve_relocs(struct uasm_reloc *rel, struct uasm_label *lab);170-void __init171-uasm_move_relocs(struct uasm_reloc *rel, u32 *first, u32 *end, long off);172-void __init173-uasm_move_labels(struct uasm_label *lab, u32 *first, u32 *end, long off);174-void __init175-uasm_copy_handler(struct uasm_reloc *rel, struct uasm_label *lab, u32 *first,176- u32 *end, u32 *target);177-int __init uasm_insn_has_bdelay(struct uasm_reloc *rel, u32 *addr);178179/* Convenience functions for labeled branches. */180-void __init181-uasm_il_bltz(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);182-void __init uasm_il_b(u32 **p, struct uasm_reloc **r, int lid);183-void __init184-uasm_il_beqz(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);185-void __init186-uasm_il_beqzl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);187-void __init188-uasm_il_bnez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);189-void __init190-uasm_il_bgezl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);191-void __init192-uasm_il_bgez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);
···11#include <linux/types.h>1213#define Ip_u1u2u3(op) \14+void __cpuinit \15uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c)1617#define Ip_u2u1u3(op) \18+void __cpuinit \19uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c)2021#define Ip_u3u1u2(op) \22+void __cpuinit \23uasm_i##op(u32 **buf, unsigned int a, unsigned int b, unsigned int c)2425#define Ip_u1u2s3(op) \26+void __cpuinit \27uasm_i##op(u32 **buf, unsigned int a, unsigned int b, signed int c)2829#define Ip_u2s3u1(op) \30+void __cpuinit \31uasm_i##op(u32 **buf, unsigned int a, signed int b, unsigned int c)3233#define Ip_u2u1s3(op) \34+void __cpuinit \35uasm_i##op(u32 **buf, unsigned int a, unsigned int b, signed int c)3637#define Ip_u1u2(op) \38+void __cpuinit uasm_i##op(u32 **buf, unsigned int a, unsigned int b)3940#define Ip_u1s2(op) \41+void __cpuinit uasm_i##op(u32 **buf, unsigned int a, signed int b)4243+#define Ip_u1(op) void __cpuinit uasm_i##op(u32 **buf, unsigned int a)4445+#define Ip_0(op) void __cpuinit uasm_i##op(u32 **buf)4647Ip_u2u1s3(_addiu);48Ip_u3u1u2(_addu);···98 int lab;99};100101+void __cpuinit uasm_build_label(struct uasm_label **lab, u32 *addr, int lid);102#ifdef CONFIG_64BIT103+int uasm_in_compat_space_p(long addr);104+int uasm_rel_highest(long val);105+int uasm_rel_higher(long val);106#endif107+int uasm_rel_hi(long val);108+int uasm_rel_lo(long val);109+void UASM_i_LA_mostly(u32 **buf, unsigned int rs, long addr);110+void UASM_i_LA(u32 **buf, unsigned int rs, long addr);111112#define UASM_L_LA(lb) \113+static inline void __cpuinit uasm_l##lb(struct uasm_label **lab, u32 *addr) \114{ \115 uasm_build_label(lab, addr, label##lb); \116}···164/* This is zero so we can use zeroed label arrays. */165#define UASM_LABEL_INVALID 0166167+void uasm_r_mips_pc16(struct uasm_reloc **rel, u32 *addr, int lid);168+void uasm_resolve_relocs(struct uasm_reloc *rel, struct uasm_label *lab);169+void uasm_move_relocs(struct uasm_reloc *rel, u32 *first, u32 *end, long off);170+void uasm_move_labels(struct uasm_label *lab, u32 *first, u32 *end, long off);171+void uasm_copy_handler(struct uasm_reloc *rel, struct uasm_label *lab,172+ u32 *first, u32 *end, u32 *target);173+int uasm_insn_has_bdelay(struct uasm_reloc *rel, u32 *addr);0000174175/* Convenience functions for labeled branches. */176+void uasm_il_bltz(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);177+void uasm_il_b(u32 **p, struct uasm_reloc **r, int lid);178+void uasm_il_beqz(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);179+void uasm_il_beqzl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);180+void uasm_il_bnez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);181+void uasm_il_bgezl(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);182+void uasm_il_bgez(u32 **p, struct uasm_reloc **r, unsigned int reg, int lid);000000
+3-2
arch/mips/pci/pci-bcm1480.c
···249 * XXX ehs: Should this happen in PCI Device mode?250 */251252- set_io_port_base((unsigned long)253- ioremap(A_BCM1480_PHYS_PCI_IO_MATCH_BYTES, 65536));0254 isa_slot_offset = (unsigned long)255 ioremap(A_BCM1480_PHYS_PCI_MEM_MATCH_BYTES, 1024*1024);256
···249 * XXX ehs: Should this happen in PCI Device mode?250 */251252+ bcm1480_controller.io_map_base = (unsigned long)253+ ioremap(A_BCM1480_PHYS_PCI_IO_MATCH_BYTES, 65536);254+ set_io_port_base(bcm1480_controller.io_map_base);255 isa_slot_offset = (unsigned long)256 ioremap(A_BCM1480_PHYS_PCI_MEM_MATCH_BYTES, 1024*1024);257
+1-1
arch/mips/pci/pci-ip27.c
···4041extern struct pci_ops bridge_pci_ops;4243-int __init bridge_probe(nasid_t nasid, int widget_id, int masterwid)44{45 unsigned long offset = NODE_OFFSET(nasid);46 struct bridge_controller *bc;
···4041extern struct pci_ops bridge_pci_ops;4243+int __cpuinit bridge_probe(nasid_t nasid, int widget_id, int masterwid)44{45 unsigned long offset = NODE_OFFSET(nasid);46 struct bridge_controller *bc;
+1-1
arch/mips/pci/pci.c
···260 }261}262263-void pcibios_fixup_bus(struct pci_bus *bus)264{265 /* Propagate hose info into the subordinate devices. */266
···260 }261}262263+void __devinit pcibios_fixup_bus(struct pci_bus *bus)264{265 /* Propagate hose info into the subordinate devices. */266
+3-3
arch/mips/pmc-sierra/yosemite/smp.c
···78#define LAUNCHSTACK_SIZE 256910-static __initdata DEFINE_SPINLOCK(launch_lock);1112-static unsigned long secondary_sp __initdata;13-static unsigned long secondary_gp __initdata;1415static unsigned char launchstack[LAUNCHSTACK_SIZE] __initdata16 __attribute__((aligned(2 * sizeof(long))));
···78#define LAUNCHSTACK_SIZE 256910+static __cpuinitdata DEFINE_SPINLOCK(launch_lock);1112+static unsigned long secondary_sp __cpuinitdata;13+static unsigned long secondary_gp __cpuinitdata;1415static unsigned char launchstack[LAUNCHSTACK_SIZE] __initdata16 __attribute__((aligned(2 * sizeof(long))));
···1-#2-# Automatically generated make config: don't edit3-# Linux kernel version: 2.6.24-rc64-# Thu Jan 17 16:17:38 20085-#6-# CONFIG_PPC64 is not set7-8-#9-# Processor support10-#11-# CONFIG_6xx is not set12-# CONFIG_PPC_85xx is not set13-CONFIG_PPC_8xx=y14-# CONFIG_40x is not set15-# CONFIG_44x is not set16-# CONFIG_E200 is not set17-CONFIG_8xx=y18-# CONFIG_PPC_MM_SLICES is not set19-CONFIG_NOT_COHERENT_CACHE=y20-CONFIG_PPC32=y21-CONFIG_WORD_SIZE=3222-CONFIG_PPC_MERGE=y23-CONFIG_MMU=y24-CONFIG_GENERIC_CMOS_UPDATE=y25-CONFIG_GENERIC_TIME=y26-CONFIG_GENERIC_TIME_VSYSCALL=y27-CONFIG_GENERIC_CLOCKEVENTS=y28-CONFIG_GENERIC_HARDIRQS=y29-CONFIG_IRQ_PER_CPU=y30-CONFIG_RWSEM_XCHGADD_ALGORITHM=y31-CONFIG_ARCH_HAS_ILOG2_U32=y32-CONFIG_GENERIC_HWEIGHT=y33-CONFIG_GENERIC_CALIBRATE_DELAY=y34-CONFIG_GENERIC_FIND_NEXT_BIT=y35-# CONFIG_ARCH_NO_VIRT_TO_BUS is not set36-CONFIG_PPC=y37-CONFIG_EARLY_PRINTK=y38-CONFIG_GENERIC_NVRAM=y39-CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y40-CONFIG_ARCH_MAY_HAVE_PC_FDC=y41-CONFIG_PPC_OF=y42-CONFIG_OF=y43-# CONFIG_PPC_UDBG_16550 is not set44-# CONFIG_GENERIC_TBSYNC is not set45-CONFIG_AUDIT_ARCH=y46-CONFIG_GENERIC_BUG=y47-# CONFIG_DEFAULT_UIMAGE is not set48-CONFIG_REDBOOT=y49-# CONFIG_PPC_DCR_NATIVE is not set50-# CONFIG_PPC_DCR_MMIO is not set51-CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"52-53-#54-# General setup55-#56-CONFIG_EXPERIMENTAL=y57-CONFIG_BROKEN_ON_SMP=y58-CONFIG_INIT_ENV_ARG_LIMIT=3259-CONFIG_LOCALVERSION=""60-CONFIG_LOCALVERSION_AUTO=y61-# CONFIG_SWAP is not set62-CONFIG_SYSVIPC=y63-CONFIG_SYSVIPC_SYSCTL=y64-# CONFIG_POSIX_MQUEUE is not set65-# CONFIG_BSD_PROCESS_ACCT is not set66-# CONFIG_TASKSTATS is not set67-# CONFIG_USER_NS is not set68-# CONFIG_PID_NS is not set69-# CONFIG_AUDIT is not set70-# CONFIG_IKCONFIG is not set71-CONFIG_LOG_BUF_SHIFT=1472-# CONFIG_CGROUPS is not set73-CONFIG_FAIR_GROUP_SCHED=y74-CONFIG_FAIR_USER_SCHED=y75-# CONFIG_FAIR_CGROUP_SCHED is not set76-CONFIG_SYSFS_DEPRECATED=y77-# CONFIG_RELAY is not set78-# CONFIG_BLK_DEV_INITRD is not set79-# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set80-CONFIG_SYSCTL=y81-CONFIG_EMBEDDED=y82-# CONFIG_SYSCTL_SYSCALL is not set83-CONFIG_KALLSYMS=y84-# CONFIG_KALLSYMS_ALL is not set85-# CONFIG_KALLSYMS_EXTRA_PASS is not set86-CONFIG_HOTPLUG=y87-CONFIG_PRINTK=y88-CONFIG_BUG=y89-# CONFIG_ELF_CORE is not set90-# CONFIG_BASE_FULL is not set91-# CONFIG_FUTEX is not set92-CONFIG_ANON_INODES=y93-CONFIG_EPOLL=y94-CONFIG_SIGNALFD=y95-CONFIG_EVENTFD=y96-CONFIG_SHMEM=y97-# CONFIG_VM_EVENT_COUNTERS is not set98-CONFIG_SLUB_DEBUG=y99-# CONFIG_SLAB is not set100-CONFIG_SLUB=y101-# CONFIG_SLOB is not set102-# CONFIG_TINY_SHMEM is not set103-CONFIG_BASE_SMALL=1104-# CONFIG_MODULES is not set105-CONFIG_BLOCK=y106-# CONFIG_LBD is not set107-# CONFIG_BLK_DEV_IO_TRACE is not set108-# CONFIG_LSF is not set109-# CONFIG_BLK_DEV_BSG is not set110-111-#112-# IO Schedulers113-#114-CONFIG_IOSCHED_NOOP=y115-# CONFIG_IOSCHED_AS is not set116-CONFIG_IOSCHED_DEADLINE=y117-# CONFIG_IOSCHED_CFQ is not set118-# CONFIG_DEFAULT_AS is not set119-CONFIG_DEFAULT_DEADLINE=y120-# CONFIG_DEFAULT_CFQ is not set121-# CONFIG_DEFAULT_NOOP is not set122-CONFIG_DEFAULT_IOSCHED="deadline"123-124-#125-# Platform support126-#127-# CONFIG_PPC_MPC52xx is not set128-# CONFIG_PPC_MPC5200 is not set129-# CONFIG_PPC_CELL is not set130-# CONFIG_PPC_CELL_NATIVE is not set131-CONFIG_CPM1=y132-# CONFIG_MPC8XXFADS is not set133-# CONFIG_MPC86XADS is not set134-# CONFIG_MPC885ADS is not set135-# CONFIG_PPC_EP88XC is not set136-CONFIG_PPC_ADDER875=y137-138-#139-# MPC8xx CPM Options140-#141-142-#143-# Generic MPC8xx Options144-#145-CONFIG_8xx_COPYBACK=y146-# CONFIG_8xx_CPU6 is not set147-CONFIG_8xx_CPU15=y148-CONFIG_NO_UCODE_PATCH=y149-# CONFIG_USB_SOF_UCODE_PATCH is not set150-# CONFIG_I2C_SPI_UCODE_PATCH is not set151-# CONFIG_I2C_SPI_SMC1_UCODE_PATCH is not set152-# CONFIG_PQ2ADS is not set153-# CONFIG_MPIC is not set154-# CONFIG_MPIC_WEIRD is not set155-# CONFIG_PPC_I8259 is not set156-# CONFIG_PPC_RTAS is not set157-# CONFIG_MMIO_NVRAM is not set158-# CONFIG_PPC_MPC106 is not set159-# CONFIG_PPC_970_NAP is not set160-# CONFIG_PPC_INDIRECT_IO is not set161-# CONFIG_GENERIC_IOMAP is not set162-# CONFIG_CPU_FREQ is not set163-# CONFIG_CPM2 is not set164-CONFIG_PPC_CPM_NEW_BINDING=y165-# CONFIG_FSL_ULI1575 is not set166-CONFIG_CPM=y167-168-#169-# Kernel options170-#171-# CONFIG_HIGHMEM is not set172-# CONFIG_TICK_ONESHOT is not set173-# CONFIG_NO_HZ is not set174-# CONFIG_HIGH_RES_TIMERS is not set175-CONFIG_GENERIC_CLOCKEVENTS_BUILD=y176-# CONFIG_HZ_100 is not set177-# CONFIG_HZ_250 is not set178-# CONFIG_HZ_300 is not set179-CONFIG_HZ_1000=y180-CONFIG_HZ=1000181-CONFIG_PREEMPT_NONE=y182-# CONFIG_PREEMPT_VOLUNTARY is not set183-# CONFIG_PREEMPT is not set184-CONFIG_BINFMT_ELF=y185-# CONFIG_BINFMT_MISC is not set186-# CONFIG_MATH_EMULATION is not set187-# CONFIG_8XX_MINIMAL_FPEMU is not set188-CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y189-CONFIG_ARCH_FLATMEM_ENABLE=y190-CONFIG_ARCH_POPULATES_NODE_MAP=y191-CONFIG_SELECT_MEMORY_MODEL=y192-CONFIG_FLATMEM_MANUAL=y193-# CONFIG_DISCONTIGMEM_MANUAL is not set194-# CONFIG_SPARSEMEM_MANUAL is not set195-CONFIG_FLATMEM=y196-CONFIG_FLAT_NODE_MEM_MAP=y197-# CONFIG_SPARSEMEM_STATIC is not set198-# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set199-CONFIG_SPLIT_PTLOCK_CPUS=4200-# CONFIG_RESOURCES_64BIT is not set201-CONFIG_ZONE_DMA_FLAG=1202-CONFIG_BOUNCE=y203-CONFIG_VIRT_TO_BUS=y204-# CONFIG_PROC_DEVICETREE is not set205-# CONFIG_CMDLINE_BOOL is not set206-# CONFIG_PM is not set207-CONFIG_SUSPEND_UP_POSSIBLE=y208-CONFIG_HIBERNATION_UP_POSSIBLE=y209-# CONFIG_SECCOMP is not set210-CONFIG_WANT_DEVICE_TREE=y211-CONFIG_DEVICE_TREE="adder875-redboot.dts"212-CONFIG_ISA_DMA_API=y213-214-#215-# Bus options216-#217-CONFIG_ZONE_DMA=y218-CONFIG_FSL_SOC=y219-# CONFIG_PCI is not set220-# CONFIG_PCI_DOMAINS is not set221-# CONFIG_PCI_SYSCALL is not set222-# CONFIG_PCI_QSPAN is not set223-# CONFIG_ARCH_SUPPORTS_MSI is not set224-# CONFIG_PCCARD is not set225-226-#227-# Advanced setup228-#229-# CONFIG_ADVANCED_OPTIONS is not set230-231-#232-# Default settings for advanced configuration options are used233-#234-CONFIG_HIGHMEM_START=0xfe000000235-CONFIG_LOWMEM_SIZE=0x30000000236-CONFIG_KERNEL_START=0xc0000000237-CONFIG_TASK_SIZE=0x80000000238-CONFIG_CONSISTENT_START=0xfd000000239-CONFIG_CONSISTENT_SIZE=0x00200000240-CONFIG_BOOT_LOAD=0x00400000241-242-#243-# Networking244-#245-CONFIG_NET=y246-247-#248-# Networking options249-#250-CONFIG_PACKET=y251-# CONFIG_PACKET_MMAP is not set252-CONFIG_UNIX=y253-# CONFIG_NET_KEY is not set254-CONFIG_INET=y255-CONFIG_IP_MULTICAST=y256-# CONFIG_IP_ADVANCED_ROUTER is not set257-CONFIG_IP_FIB_HASH=y258-CONFIG_IP_PNP=y259-# CONFIG_IP_PNP_DHCP is not set260-# CONFIG_IP_PNP_BOOTP is not set261-# CONFIG_IP_PNP_RARP is not set262-# CONFIG_NET_IPIP is not set263-# CONFIG_NET_IPGRE is not set264-# CONFIG_IP_MROUTE is not set265-# CONFIG_ARPD is not set266-CONFIG_SYN_COOKIES=y267-# CONFIG_INET_AH is not set268-# CONFIG_INET_ESP is not set269-# CONFIG_INET_IPCOMP is not set270-# CONFIG_INET_XFRM_TUNNEL is not set271-# CONFIG_INET_TUNNEL is not set272-# CONFIG_INET_XFRM_MODE_TRANSPORT is not set273-# CONFIG_INET_XFRM_MODE_TUNNEL is not set274-# CONFIG_INET_XFRM_MODE_BEET is not set275-# CONFIG_INET_LRO is not set276-CONFIG_INET_DIAG=y277-CONFIG_INET_TCP_DIAG=y278-# CONFIG_TCP_CONG_ADVANCED is not set279-CONFIG_TCP_CONG_CUBIC=y280-CONFIG_DEFAULT_TCP_CONG="cubic"281-# CONFIG_TCP_MD5SIG is not set282-# CONFIG_IPV6 is not set283-# CONFIG_INET6_XFRM_TUNNEL is not set284-# CONFIG_INET6_TUNNEL is not set285-# CONFIG_NETWORK_SECMARK is not set286-# CONFIG_NETFILTER is not set287-# CONFIG_IP_DCCP is not set288-# CONFIG_IP_SCTP is not set289-# CONFIG_TIPC is not set290-# CONFIG_ATM is not set291-# CONFIG_BRIDGE is not set292-# CONFIG_VLAN_8021Q is not set293-# CONFIG_DECNET is not set294-# CONFIG_LLC2 is not set295-# CONFIG_IPX is not set296-# CONFIG_ATALK is not set297-# CONFIG_X25 is not set298-# CONFIG_LAPB is not set299-# CONFIG_ECONET is not set300-# CONFIG_WAN_ROUTER is not set301-# CONFIG_NET_SCHED is not set302-303-#304-# Network testing305-#306-# CONFIG_NET_PKTGEN is not set307-# CONFIG_HAMRADIO is not set308-# CONFIG_IRDA is not set309-# CONFIG_BT is not set310-# CONFIG_AF_RXRPC is not set311-312-#313-# Wireless314-#315-# CONFIG_CFG80211 is not set316-# CONFIG_WIRELESS_EXT is not set317-# CONFIG_MAC80211 is not set318-# CONFIG_IEEE80211 is not set319-# CONFIG_RFKILL is not set320-# CONFIG_NET_9P is not set321-322-#323-# Device Drivers324-#325-326-#327-# Generic Driver Options328-#329-CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"330-CONFIG_STANDALONE=y331-CONFIG_PREVENT_FIRMWARE_BUILD=y332-# CONFIG_FW_LOADER is not set333-# CONFIG_DEBUG_DRIVER is not set334-# CONFIG_DEBUG_DEVRES is not set335-# CONFIG_SYS_HYPERVISOR is not set336-# CONFIG_CONNECTOR is not set337-CONFIG_MTD=y338-# CONFIG_MTD_DEBUG is not set339-# CONFIG_MTD_CONCAT is not set340-# CONFIG_MTD_PARTITIONS is not set341-342-#343-# User Modules And Translation Layers344-#345-CONFIG_MTD_CHAR=y346-CONFIG_MTD_BLKDEVS=y347-CONFIG_MTD_BLOCK=y348-# CONFIG_FTL is not set349-# CONFIG_NFTL is not set350-# CONFIG_INFTL is not set351-# CONFIG_RFD_FTL is not set352-# CONFIG_SSFDC is not set353-# CONFIG_MTD_OOPS is not set354-355-#356-# RAM/ROM/Flash chip drivers357-#358-CONFIG_MTD_CFI=y359-# CONFIG_MTD_JEDECPROBE is not set360-CONFIG_MTD_GEN_PROBE=y361-# CONFIG_MTD_CFI_ADV_OPTIONS is not set362-CONFIG_MTD_MAP_BANK_WIDTH_1=y363-CONFIG_MTD_MAP_BANK_WIDTH_2=y364-CONFIG_MTD_MAP_BANK_WIDTH_4=y365-# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set366-# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set367-# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set368-CONFIG_MTD_CFI_I1=y369-CONFIG_MTD_CFI_I2=y370-# CONFIG_MTD_CFI_I4 is not set371-# CONFIG_MTD_CFI_I8 is not set372-# CONFIG_MTD_CFI_INTELEXT is not set373-CONFIG_MTD_CFI_AMDSTD=y374-# CONFIG_MTD_CFI_STAA is not set375-CONFIG_MTD_CFI_UTIL=y376-# CONFIG_MTD_RAM is not set377-# CONFIG_MTD_ROM is not set378-# CONFIG_MTD_ABSENT is not set379-380-#381-# Mapping drivers for chip access382-#383-# CONFIG_MTD_COMPLEX_MAPPINGS is not set384-# CONFIG_MTD_PHYSMAP is not set385-CONFIG_MTD_PHYSMAP_OF=y386-# CONFIG_MTD_CFI_FLAGADM is not set387-# CONFIG_MTD_PLATRAM is not set388-389-#390-# Self-contained MTD device drivers391-#392-# CONFIG_MTD_SLRAM is not set393-# CONFIG_MTD_PHRAM is not set394-# CONFIG_MTD_MTDRAM is not set395-# CONFIG_MTD_BLOCK2MTD is not set396-397-#398-# Disk-On-Chip Device Drivers399-#400-# CONFIG_MTD_DOC2000 is not set401-# CONFIG_MTD_DOC2001 is not set402-# CONFIG_MTD_DOC2001PLUS is not set403-# CONFIG_MTD_NAND is not set404-# CONFIG_MTD_ONENAND is not set405-406-#407-# UBI - Unsorted block images408-#409-# CONFIG_MTD_UBI is not set410-CONFIG_OF_DEVICE=y411-# CONFIG_PARPORT is not set412-# CONFIG_BLK_DEV is not set413-# CONFIG_MISC_DEVICES is not set414-# CONFIG_IDE is not set415-416-#417-# SCSI device support418-#419-# CONFIG_RAID_ATTRS is not set420-# CONFIG_SCSI is not set421-# CONFIG_SCSI_DMA is not set422-# CONFIG_SCSI_NETLINK is not set423-# CONFIG_ATA is not set424-# CONFIG_MD is not set425-# CONFIG_MACINTOSH_DRIVERS is not set426-CONFIG_NETDEVICES=y427-# CONFIG_NETDEVICES_MULTIQUEUE is not set428-# CONFIG_DUMMY is not set429-# CONFIG_BONDING is not set430-# CONFIG_MACVLAN is not set431-# CONFIG_EQUALIZER is not set432-# CONFIG_TUN is not set433-# CONFIG_VETH is not set434-CONFIG_PHYLIB=y435-436-#437-# MII PHY device drivers438-#439-# CONFIG_MARVELL_PHY is not set440-CONFIG_DAVICOM_PHY=y441-# CONFIG_QSEMI_PHY is not set442-# CONFIG_LXT_PHY is not set443-# CONFIG_CICADA_PHY is not set444-# CONFIG_VITESSE_PHY is not set445-# CONFIG_SMSC_PHY is not set446-# CONFIG_BROADCOM_PHY is not set447-# CONFIG_ICPLUS_PHY is not set448-# CONFIG_FIXED_PHY is not set449-# CONFIG_MDIO_BITBANG is not set450-CONFIG_NET_ETHERNET=y451-CONFIG_MII=y452-# CONFIG_IBM_NEW_EMAC_ZMII is not set453-# CONFIG_IBM_NEW_EMAC_RGMII is not set454-# CONFIG_IBM_NEW_EMAC_TAH is not set455-# CONFIG_IBM_NEW_EMAC_EMAC4 is not set456-# CONFIG_B44 is not set457-CONFIG_FS_ENET=y458-# CONFIG_FS_ENET_HAS_SCC is not set459-CONFIG_FS_ENET_HAS_FEC=y460-CONFIG_FS_ENET_MDIO_FEC=y461-# CONFIG_NETDEV_1000 is not set462-# CONFIG_NETDEV_10000 is not set463-464-#465-# Wireless LAN466-#467-# CONFIG_WLAN_PRE80211 is not set468-# CONFIG_WLAN_80211 is not set469-# CONFIG_WAN is not set470-# CONFIG_PPP is not set471-# CONFIG_SLIP is not set472-# CONFIG_SHAPER is not set473-# CONFIG_NETCONSOLE is not set474-# CONFIG_NETPOLL is not set475-# CONFIG_NET_POLL_CONTROLLER is not set476-# CONFIG_ISDN is not set477-# CONFIG_PHONE is not set478-479-#480-# Input device support481-#482-CONFIG_INPUT=y483-# CONFIG_INPUT_FF_MEMLESS is not set484-# CONFIG_INPUT_POLLDEV is not set485-486-#487-# Userland interfaces488-#489-CONFIG_INPUT_MOUSEDEV=y490-CONFIG_INPUT_MOUSEDEV_PSAUX=y491-CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024492-CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768493-# CONFIG_INPUT_JOYDEV is not set494-# CONFIG_INPUT_EVDEV is not set495-# CONFIG_INPUT_EVBUG is not set496-497-#498-# Input Device Drivers499-#500-CONFIG_INPUT_KEYBOARD=y501-CONFIG_KEYBOARD_ATKBD=y502-# CONFIG_KEYBOARD_SUNKBD is not set503-# CONFIG_KEYBOARD_LKKBD is not set504-# CONFIG_KEYBOARD_XTKBD is not set505-# CONFIG_KEYBOARD_NEWTON is not set506-# CONFIG_KEYBOARD_STOWAWAY is not set507-CONFIG_INPUT_MOUSE=y508-CONFIG_MOUSE_PS2=y509-CONFIG_MOUSE_PS2_ALPS=y510-CONFIG_MOUSE_PS2_LOGIPS2PP=y511-CONFIG_MOUSE_PS2_SYNAPTICS=y512-CONFIG_MOUSE_PS2_LIFEBOOK=y513-CONFIG_MOUSE_PS2_TRACKPOINT=y514-# CONFIG_MOUSE_PS2_TOUCHKIT is not set515-# CONFIG_MOUSE_SERIAL is not set516-# CONFIG_MOUSE_VSXXXAA is not set517-# CONFIG_INPUT_JOYSTICK is not set518-# CONFIG_INPUT_TABLET is not set519-# CONFIG_INPUT_TOUCHSCREEN is not set520-# CONFIG_INPUT_MISC is not set521-522-#523-# Hardware I/O ports524-#525-CONFIG_SERIO=y526-CONFIG_SERIO_I8042=y527-CONFIG_SERIO_SERPORT=y528-CONFIG_SERIO_LIBPS2=y529-# CONFIG_SERIO_RAW is not set530-# CONFIG_GAMEPORT is not set531-532-#533-# Character devices534-#535-# CONFIG_VT is not set536-# CONFIG_SERIAL_NONSTANDARD is not set537-538-#539-# Serial drivers540-#541-# CONFIG_SERIAL_8250 is not set542-543-#544-# Non-8250 serial port support545-#546-# CONFIG_SERIAL_UARTLITE is not set547-CONFIG_SERIAL_CORE=y548-CONFIG_SERIAL_CORE_CONSOLE=y549-CONFIG_SERIAL_CPM=y550-CONFIG_SERIAL_CPM_CONSOLE=y551-# CONFIG_SERIAL_CPM_SCC1 is not set552-# CONFIG_SERIAL_CPM_SCC2 is not set553-# CONFIG_SERIAL_CPM_SCC3 is not set554-# CONFIG_SERIAL_CPM_SCC4 is not set555-CONFIG_SERIAL_CPM_SMC1=y556-CONFIG_SERIAL_CPM_SMC2=y557-CONFIG_UNIX98_PTYS=y558-# CONFIG_LEGACY_PTYS is not set559-# CONFIG_IPMI_HANDLER is not set560-CONFIG_HW_RANDOM=y561-# CONFIG_NVRAM is not set562-CONFIG_GEN_RTC=y563-# CONFIG_GEN_RTC_X is not set564-# CONFIG_R3964 is not set565-# CONFIG_RAW_DRIVER is not set566-# CONFIG_TCG_TPM is not set567-# CONFIG_I2C is not set568-569-#570-# SPI support571-#572-# CONFIG_SPI is not set573-# CONFIG_SPI_MASTER is not set574-# CONFIG_W1 is not set575-# CONFIG_POWER_SUPPLY is not set576-# CONFIG_HWMON is not set577-# CONFIG_WATCHDOG is not set578-579-#580-# Sonics Silicon Backplane581-#582-CONFIG_SSB_POSSIBLE=y583-# CONFIG_SSB is not set584-585-#586-# Multifunction device drivers587-#588-# CONFIG_MFD_SM501 is not set589-590-#591-# Multimedia devices592-#593-# CONFIG_VIDEO_DEV is not set594-# CONFIG_DVB_CORE is not set595-CONFIG_DAB=y596-597-#598-# Graphics support599-#600-# CONFIG_VGASTATE is not set601-CONFIG_VIDEO_OUTPUT_CONTROL=y602-# CONFIG_FB is not set603-# CONFIG_BACKLIGHT_LCD_SUPPORT is not set604-605-#606-# Display device support607-#608-# CONFIG_DISPLAY_SUPPORT is not set609-610-#611-# Sound612-#613-# CONFIG_SOUND is not set614-# CONFIG_HID_SUPPORT is not set615-# CONFIG_USB_SUPPORT is not set616-# CONFIG_MMC is not set617-# CONFIG_NEW_LEDS is not set618-# CONFIG_EDAC is not set619-# CONFIG_RTC_CLASS is not set620-621-#622-# Userspace I/O623-#624-# CONFIG_UIO is not set625-626-#627-# File systems628-#629-# CONFIG_EXT2_FS is not set630-# CONFIG_EXT3_FS is not set631-# CONFIG_EXT4DEV_FS is not set632-# CONFIG_REISERFS_FS is not set633-# CONFIG_JFS_FS is not set634-# CONFIG_FS_POSIX_ACL is not set635-# CONFIG_XFS_FS is not set636-# CONFIG_GFS2_FS is not set637-# CONFIG_OCFS2_FS is not set638-# CONFIG_MINIX_FS is not set639-# CONFIG_ROMFS_FS is not set640-# CONFIG_INOTIFY is not set641-# CONFIG_QUOTA is not set642-# CONFIG_DNOTIFY is not set643-# CONFIG_AUTOFS_FS is not set644-# CONFIG_AUTOFS4_FS is not set645-# CONFIG_FUSE_FS is not set646-647-#648-# CD-ROM/DVD Filesystems649-#650-# CONFIG_ISO9660_FS is not set651-# CONFIG_UDF_FS is not set652-653-#654-# DOS/FAT/NT Filesystems655-#656-# CONFIG_MSDOS_FS is not set657-# CONFIG_VFAT_FS is not set658-# CONFIG_NTFS_FS is not set659-660-#661-# Pseudo filesystems662-#663-CONFIG_PROC_FS=y664-# CONFIG_PROC_KCORE is not set665-CONFIG_PROC_SYSCTL=y666-CONFIG_SYSFS=y667-CONFIG_TMPFS=y668-# CONFIG_TMPFS_POSIX_ACL is not set669-# CONFIG_HUGETLB_PAGE is not set670-# CONFIG_CONFIGFS_FS is not set671-672-#673-# Miscellaneous filesystems674-#675-# CONFIG_ADFS_FS is not set676-# CONFIG_AFFS_FS is not set677-# CONFIG_HFS_FS is not set678-# CONFIG_HFSPLUS_FS is not set679-# CONFIG_BEFS_FS is not set680-# CONFIG_BFS_FS is not set681-# CONFIG_EFS_FS is not set682-# CONFIG_JFFS2_FS is not set683-CONFIG_CRAMFS=y684-# CONFIG_VXFS_FS is not set685-# CONFIG_HPFS_FS is not set686-# CONFIG_QNX4FS_FS is not set687-# CONFIG_SYSV_FS is not set688-# CONFIG_UFS_FS is not set689-CONFIG_NETWORK_FILESYSTEMS=y690-CONFIG_NFS_FS=y691-CONFIG_NFS_V3=y692-# CONFIG_NFS_V3_ACL is not set693-# CONFIG_NFS_V4 is not set694-# CONFIG_NFS_DIRECTIO is not set695-# CONFIG_NFSD is not set696-CONFIG_ROOT_NFS=y697-CONFIG_LOCKD=y698-CONFIG_LOCKD_V4=y699-CONFIG_NFS_COMMON=y700-CONFIG_SUNRPC=y701-# CONFIG_SUNRPC_BIND34 is not set702-# CONFIG_RPCSEC_GSS_KRB5 is not set703-# CONFIG_RPCSEC_GSS_SPKM3 is not set704-# CONFIG_SMB_FS is not set705-# CONFIG_CIFS is not set706-# CONFIG_NCP_FS is not set707-# CONFIG_CODA_FS is not set708-# CONFIG_AFS_FS is not set709-710-#711-# Partition Types712-#713-CONFIG_PARTITION_ADVANCED=y714-# CONFIG_ACORN_PARTITION is not set715-# CONFIG_OSF_PARTITION is not set716-# CONFIG_AMIGA_PARTITION is not set717-# CONFIG_ATARI_PARTITION is not set718-# CONFIG_MAC_PARTITION is not set719-CONFIG_MSDOS_PARTITION=y720-# CONFIG_BSD_DISKLABEL is not set721-# CONFIG_MINIX_SUBPARTITION is not set722-# CONFIG_SOLARIS_X86_PARTITION is not set723-# CONFIG_UNIXWARE_DISKLABEL is not set724-# CONFIG_LDM_PARTITION is not set725-# CONFIG_SGI_PARTITION is not set726-# CONFIG_ULTRIX_PARTITION is not set727-# CONFIG_SUN_PARTITION is not set728-# CONFIG_KARMA_PARTITION is not set729-# CONFIG_EFI_PARTITION is not set730-# CONFIG_SYSV68_PARTITION is not set731-# CONFIG_NLS is not set732-# CONFIG_DLM is not set733-# CONFIG_UCC_SLOW is not set734-735-#736-# Library routines737-#738-# CONFIG_CRC_CCITT is not set739-# CONFIG_CRC16 is not set740-# CONFIG_CRC_ITU_T is not set741-# CONFIG_CRC32 is not set742-# CONFIG_CRC7 is not set743-# CONFIG_LIBCRC32C is not set744-CONFIG_ZLIB_INFLATE=y745-CONFIG_HAS_IOMEM=y746-CONFIG_HAS_IOPORT=y747-CONFIG_HAS_DMA=y748-CONFIG_INSTRUMENTATION=y749-# CONFIG_PROFILING is not set750-# CONFIG_MARKERS is not set751-752-#753-# Kernel hacking754-#755-# CONFIG_PRINTK_TIME is not set756-CONFIG_ENABLE_WARN_DEPRECATED=y757-CONFIG_ENABLE_MUST_CHECK=y758-CONFIG_MAGIC_SYSRQ=y759-# CONFIG_UNUSED_SYMBOLS is not set760-# CONFIG_DEBUG_FS is not set761-# CONFIG_HEADERS_CHECK is not set762-CONFIG_DEBUG_KERNEL=y763-# CONFIG_DEBUG_SHIRQ is not set764-CONFIG_DETECT_SOFTLOCKUP=y765-CONFIG_SCHED_DEBUG=y766-# CONFIG_SCHEDSTATS is not set767-# CONFIG_TIMER_STATS is not set768-# CONFIG_SLUB_DEBUG_ON is not set769-# CONFIG_DEBUG_SPINLOCK is not set770-# CONFIG_DEBUG_MUTEXES is not set771-# CONFIG_DEBUG_SPINLOCK_SLEEP is not set772-# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set773-# CONFIG_DEBUG_KOBJECT is not set774-CONFIG_DEBUG_BUGVERBOSE=y775-CONFIG_DEBUG_INFO=y776-# CONFIG_DEBUG_VM is not set777-# CONFIG_DEBUG_LIST is not set778-# CONFIG_DEBUG_SG is not set779-CONFIG_FORCED_INLINING=y780-# CONFIG_BOOT_PRINTK_DELAY is not set781-# CONFIG_FAULT_INJECTION is not set782-# CONFIG_SAMPLES is not set783-# CONFIG_DEBUG_STACKOVERFLOW is not set784-# CONFIG_DEBUG_STACK_USAGE is not set785-# CONFIG_DEBUG_PAGEALLOC is not set786-# CONFIG_DEBUGGER is not set787-# CONFIG_BDI_SWITCH is not set788-# CONFIG_PPC_EARLY_DEBUG is not set789-790-#791-# Security options792-#793-# CONFIG_KEYS is not set794-# CONFIG_SECURITY is not set795-# CONFIG_SECURITY_FILE_CAPABILITIES is not set796-# CONFIG_CRYPTO is not set797-# CONFIG_PPC_CLOCK is not set798-CONFIG_PPC_LIB_RHEAP=y
···1#2# Automatically generated make config: don't edit3-# Linux kernel version: 2.6.24-rc64-# Thu Jan 17 16:17:18 20085#6# CONFIG_PPC64 is not set7···26CONFIG_GENERIC_TIME_VSYSCALL=y27CONFIG_GENERIC_CLOCKEVENTS=y28CONFIG_GENERIC_HARDIRQS=y029CONFIG_IRQ_PER_CPU=y30CONFIG_RWSEM_XCHGADD_ALGORITHM=y31CONFIG_ARCH_HAS_ILOG2_U32=y···65# CONFIG_POSIX_MQUEUE is not set66# CONFIG_BSD_PROCESS_ACCT is not set67# CONFIG_TASKSTATS is not set68-# CONFIG_USER_NS is not set69-# CONFIG_PID_NS is not set70# CONFIG_AUDIT is not set71# CONFIG_IKCONFIG is not set72CONFIG_LOG_BUF_SHIFT=1473# CONFIG_CGROUPS is not set074CONFIG_FAIR_GROUP_SCHED=y75-CONFIG_FAIR_USER_SCHED=y76-# CONFIG_FAIR_CGROUP_SCHED is not set077CONFIG_SYSFS_DEPRECATED=y78# CONFIG_RELAY is not set079# CONFIG_BLK_DEV_INITRD is not set80# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set81CONFIG_SYSCTL=y···89CONFIG_PRINTK=y90CONFIG_BUG=y91# CONFIG_ELF_CORE is not set092# CONFIG_BASE_FULL is not set93# CONFIG_FUTEX is not set94CONFIG_ANON_INODES=y95CONFIG_EPOLL=y96CONFIG_SIGNALFD=y097CONFIG_EVENTFD=y98CONFIG_SHMEM=y99# CONFIG_VM_EVENT_COUNTERS is not set···103# CONFIG_SLAB is not set104CONFIG_SLUB=y105# CONFIG_SLOB is not set000000106# CONFIG_TINY_SHMEM is not set107CONFIG_BASE_SMALL=1108# CONFIG_MODULES is not set···130# CONFIG_DEFAULT_CFQ is not set131# CONFIG_DEFAULT_NOOP is not set132CONFIG_DEFAULT_IOSCHED="deadline"00133134#135# Platform support136#137-# CONFIG_PPC_MPC52xx is not set138-# CONFIG_PPC_MPC5200 is not set139# CONFIG_PPC_CELL is not set140# CONFIG_PPC_CELL_NATIVE is not set141CONFIG_CPM1=y···162# CONFIG_I2C_SPI_UCODE_PATCH is not set163# CONFIG_I2C_SPI_SMC1_UCODE_PATCH is not set164# CONFIG_PQ2ADS is not set0165# CONFIG_MPIC is not set166# CONFIG_MPIC_WEIRD is not set167# CONFIG_PPC_I8259 is not set···173# CONFIG_PPC_INDIRECT_IO is not set174# CONFIG_GENERIC_IOMAP is not set175# CONFIG_CPU_FREQ is not set176-# CONFIG_CPM2 is not set177CONFIG_PPC_CPM_NEW_BINDING=y178# CONFIG_FSL_ULI1575 is not set179CONFIG_CPM=y···190# CONFIG_HZ_300 is not set191CONFIG_HZ_1000=y192CONFIG_HZ=10000193CONFIG_PREEMPT_NONE=y194# CONFIG_PREEMPT_VOLUNTARY is not set195# CONFIG_PREEMPT is not set0196CONFIG_BINFMT_ELF=y197# CONFIG_BINFMT_MISC is not set198# CONFIG_MATH_EMULATION is not set199# CONFIG_8XX_MINIMAL_FPEMU is not set0200CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y00201CONFIG_ARCH_FLATMEM_ENABLE=y202CONFIG_ARCH_POPULATES_NODE_MAP=y203CONFIG_SELECT_MEMORY_MODEL=y···221# CONFIG_PROC_DEVICETREE is not set222# CONFIG_CMDLINE_BOOL is not set223# CONFIG_PM is not set224-CONFIG_SUSPEND_UP_POSSIBLE=y225-CONFIG_HIBERNATION_UP_POSSIBLE=y226# CONFIG_SECCOMP is not set227-CONFIG_WANT_DEVICE_TREE=y228-CONFIG_DEVICE_TREE="adder875-uboot.dts"229CONFIG_ISA_DMA_API=y230231#···318#319# CONFIG_NET_PKTGEN is not set320# CONFIG_HAMRADIO is not set0321# CONFIG_IRDA is not set322# CONFIG_BT is not set323# CONFIG_AF_RXRPC is not set···425# CONFIG_PARPORT is not set426# CONFIG_BLK_DEV is not set427# CONFIG_MISC_DEVICES is not set0428# CONFIG_IDE is not set429430#···460# CONFIG_SMSC_PHY is not set461# CONFIG_BROADCOM_PHY is not set462# CONFIG_ICPLUS_PHY is not set0463# CONFIG_FIXED_PHY is not set464# CONFIG_MDIO_BITBANG is not set465CONFIG_NET_ETHERNET=y···485# CONFIG_WAN is not set486# CONFIG_PPP is not set487# CONFIG_SLIP is not set488-# CONFIG_SHAPER is not set489# CONFIG_NETCONSOLE is not set490# CONFIG_NETPOLL is not set491# CONFIG_NET_POLL_CONTROLLER is not set···589# CONFIG_W1 is not set590# CONFIG_POWER_SUPPLY is not set591# CONFIG_HWMON is not set0592# CONFIG_WATCHDOG is not set593594#···630# CONFIG_HID_SUPPORT is not set631# CONFIG_USB_SUPPORT is not set632# CONFIG_MMC is not set0633# CONFIG_NEW_LEDS is not set634# CONFIG_EDAC is not set635# CONFIG_RTC_CLASS is not set···652# CONFIG_XFS_FS is not set653# CONFIG_GFS2_FS is not set654# CONFIG_OCFS2_FS is not set655-# CONFIG_MINIX_FS is not set656-# CONFIG_ROMFS_FS is not set657# CONFIG_INOTIFY is not set658# CONFIG_QUOTA is not set659-# CONFIG_DNOTIFY is not set660# CONFIG_AUTOFS_FS is not set661# CONFIG_AUTOFS4_FS is not set662# CONFIG_FUSE_FS is not set···697# CONFIG_JFFS2_FS is not set698CONFIG_CRAMFS=y699# CONFIG_VXFS_FS is not set0700# CONFIG_HPFS_FS is not set701# CONFIG_QNX4FS_FS is not set0702# CONFIG_SYSV_FS is not set703# CONFIG_UFS_FS is not set704CONFIG_NETWORK_FILESYSTEMS=y···747# CONFIG_SYSV68_PARTITION is not set748# CONFIG_NLS is not set749# CONFIG_DLM is not set750-# CONFIG_UCC_SLOW is not set751752#753# Library routines···761CONFIG_HAS_IOMEM=y762CONFIG_HAS_IOPORT=y763CONFIG_HAS_DMA=y764-CONFIG_INSTRUMENTATION=y765-# CONFIG_PROFILING is not set766-# CONFIG_MARKERS is not set767768#769# Kernel hacking···770CONFIG_ENABLE_MUST_CHECK=y771CONFIG_MAGIC_SYSRQ=y772# CONFIG_UNUSED_SYMBOLS is not set773-# CONFIG_DEBUG_FS is not set774# CONFIG_HEADERS_CHECK is not set775CONFIG_DEBUG_KERNEL=y776# CONFIG_DEBUG_SHIRQ is not set···779# CONFIG_SCHEDSTATS is not set780# CONFIG_TIMER_STATS is not set781# CONFIG_SLUB_DEBUG_ON is not set0782# CONFIG_DEBUG_SPINLOCK is not set783# CONFIG_DEBUG_MUTEXES is not set784# CONFIG_DEBUG_SPINLOCK_SLEEP is not set···790# CONFIG_DEBUG_VM is not set791# CONFIG_DEBUG_LIST is not set792# CONFIG_DEBUG_SG is not set793-CONFIG_FORCED_INLINING=y794# CONFIG_BOOT_PRINTK_DELAY is not set0795# CONFIG_FAULT_INJECTION is not set796# CONFIG_SAMPLES is not set797# CONFIG_DEBUG_STACKOVERFLOW is not set798# CONFIG_DEBUG_STACK_USAGE is not set799# CONFIG_DEBUG_PAGEALLOC is not set800# CONFIG_DEBUGGER is not set0801# CONFIG_BDI_SWITCH is not set802# CONFIG_PPC_EARLY_DEBUG is not set803
···1#2# Automatically generated make config: don't edit3+# Linux kernel version: 2.6.25-rc24+# Wed Feb 20 12:26:07 20085#6# CONFIG_PPC64 is not set7···26CONFIG_GENERIC_TIME_VSYSCALL=y27CONFIG_GENERIC_CLOCKEVENTS=y28CONFIG_GENERIC_HARDIRQS=y29+# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set30CONFIG_IRQ_PER_CPU=y31CONFIG_RWSEM_XCHGADD_ALGORITHM=y32CONFIG_ARCH_HAS_ILOG2_U32=y···64# CONFIG_POSIX_MQUEUE is not set65# CONFIG_BSD_PROCESS_ACCT is not set66# CONFIG_TASKSTATS is not set0067# CONFIG_AUDIT is not set68# CONFIG_IKCONFIG is not set69CONFIG_LOG_BUF_SHIFT=1470# CONFIG_CGROUPS is not set71+CONFIG_GROUP_SCHED=y72CONFIG_FAIR_GROUP_SCHED=y73+# CONFIG_RT_GROUP_SCHED is not set74+CONFIG_USER_SCHED=y75+# CONFIG_CGROUP_SCHED is not set76CONFIG_SYSFS_DEPRECATED=y77# CONFIG_RELAY is not set78+# CONFIG_NAMESPACES is not set79# CONFIG_BLK_DEV_INITRD is not set80# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set81CONFIG_SYSCTL=y···87CONFIG_PRINTK=y88CONFIG_BUG=y89# CONFIG_ELF_CORE is not set90+CONFIG_COMPAT_BRK=y91# CONFIG_BASE_FULL is not set92# CONFIG_FUTEX is not set93CONFIG_ANON_INODES=y94CONFIG_EPOLL=y95CONFIG_SIGNALFD=y96+CONFIG_TIMERFD=y97CONFIG_EVENTFD=y98CONFIG_SHMEM=y99# CONFIG_VM_EVENT_COUNTERS is not set···99# CONFIG_SLAB is not set100CONFIG_SLUB=y101# CONFIG_SLOB is not set102+# CONFIG_PROFILING is not set103+# CONFIG_MARKERS is not set104+CONFIG_HAVE_OPROFILE=y105+CONFIG_HAVE_KPROBES=y106+CONFIG_PROC_PAGE_MONITOR=y107+CONFIG_SLABINFO=y108# CONFIG_TINY_SHMEM is not set109CONFIG_BASE_SMALL=1110# CONFIG_MODULES is not set···120# CONFIG_DEFAULT_CFQ is not set121# CONFIG_DEFAULT_NOOP is not set122CONFIG_DEFAULT_IOSCHED="deadline"123+CONFIG_CLASSIC_RCU=y124+# CONFIG_PREEMPT_RCU is not set125126#127# Platform support128#129+# CONFIG_PPC_MPC512x is not set130+# CONFIG_PPC_MPC5121 is not set131# CONFIG_PPC_CELL is not set132# CONFIG_PPC_CELL_NATIVE is not set133CONFIG_CPM1=y···150# CONFIG_I2C_SPI_UCODE_PATCH is not set151# CONFIG_I2C_SPI_SMC1_UCODE_PATCH is not set152# CONFIG_PQ2ADS is not set153+# CONFIG_IPIC is not set154# CONFIG_MPIC is not set155# CONFIG_MPIC_WEIRD is not set156# CONFIG_PPC_I8259 is not set···160# CONFIG_PPC_INDIRECT_IO is not set161# CONFIG_GENERIC_IOMAP is not set162# CONFIG_CPU_FREQ is not set0163CONFIG_PPC_CPM_NEW_BINDING=y164# CONFIG_FSL_ULI1575 is not set165CONFIG_CPM=y···178# CONFIG_HZ_300 is not set179CONFIG_HZ_1000=y180CONFIG_HZ=1000181+# CONFIG_SCHED_HRTICK is not set182CONFIG_PREEMPT_NONE=y183# CONFIG_PREEMPT_VOLUNTARY is not set184# CONFIG_PREEMPT is not set185+CONFIG_RCU_TRACE=y186CONFIG_BINFMT_ELF=y187# CONFIG_BINFMT_MISC is not set188# CONFIG_MATH_EMULATION is not set189# CONFIG_8XX_MINIMAL_FPEMU is not set190+# CONFIG_IOMMU_HELPER is not set191CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y192+CONFIG_ARCH_HAS_WALK_MEMORY=y193+CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y194CONFIG_ARCH_FLATMEM_ENABLE=y195CONFIG_ARCH_POPULATES_NODE_MAP=y196CONFIG_SELECT_MEMORY_MODEL=y···204# CONFIG_PROC_DEVICETREE is not set205# CONFIG_CMDLINE_BOOL is not set206# CONFIG_PM is not set00207# CONFIG_SECCOMP is not set00208CONFIG_ISA_DMA_API=y209210#···305#306# CONFIG_NET_PKTGEN is not set307# CONFIG_HAMRADIO is not set308+# CONFIG_CAN is not set309# CONFIG_IRDA is not set310# CONFIG_BT is not set311# CONFIG_AF_RXRPC is not set···411# CONFIG_PARPORT is not set412# CONFIG_BLK_DEV is not set413# CONFIG_MISC_DEVICES is not set414+CONFIG_HAVE_IDE=y415# CONFIG_IDE is not set416417#···445# CONFIG_SMSC_PHY is not set446# CONFIG_BROADCOM_PHY is not set447# CONFIG_ICPLUS_PHY is not set448+# CONFIG_REALTEK_PHY is not set449# CONFIG_FIXED_PHY is not set450# CONFIG_MDIO_BITBANG is not set451CONFIG_NET_ETHERNET=y···469# CONFIG_WAN is not set470# CONFIG_PPP is not set471# CONFIG_SLIP is not set0472# CONFIG_NETCONSOLE is not set473# CONFIG_NETPOLL is not set474# CONFIG_NET_POLL_CONTROLLER is not set···574# CONFIG_W1 is not set575# CONFIG_POWER_SUPPLY is not set576# CONFIG_HWMON is not set577+CONFIG_THERMAL=y578# CONFIG_WATCHDOG is not set579580#···614# CONFIG_HID_SUPPORT is not set615# CONFIG_USB_SUPPORT is not set616# CONFIG_MMC is not set617+# CONFIG_MEMSTICK is not set618# CONFIG_NEW_LEDS is not set619# CONFIG_EDAC is not set620# CONFIG_RTC_CLASS is not set···635# CONFIG_XFS_FS is not set636# CONFIG_GFS2_FS is not set637# CONFIG_OCFS2_FS is not set638+# CONFIG_DNOTIFY is not set0639# CONFIG_INOTIFY is not set640# CONFIG_QUOTA is not set0641# CONFIG_AUTOFS_FS is not set642# CONFIG_AUTOFS4_FS is not set643# CONFIG_FUSE_FS is not set···682# CONFIG_JFFS2_FS is not set683CONFIG_CRAMFS=y684# CONFIG_VXFS_FS is not set685+# CONFIG_MINIX_FS is not set686# CONFIG_HPFS_FS is not set687# CONFIG_QNX4FS_FS is not set688+# CONFIG_ROMFS_FS is not set689# CONFIG_SYSV_FS is not set690# CONFIG_UFS_FS is not set691CONFIG_NETWORK_FILESYSTEMS=y···730# CONFIG_SYSV68_PARTITION is not set731# CONFIG_NLS is not set732# CONFIG_DLM is not set0733734#735# Library routines···745CONFIG_HAS_IOMEM=y746CONFIG_HAS_IOPORT=y747CONFIG_HAS_DMA=y000748749#750# Kernel hacking···757CONFIG_ENABLE_MUST_CHECK=y758CONFIG_MAGIC_SYSRQ=y759# CONFIG_UNUSED_SYMBOLS is not set760+CONFIG_DEBUG_FS=y761# CONFIG_HEADERS_CHECK is not set762CONFIG_DEBUG_KERNEL=y763# CONFIG_DEBUG_SHIRQ is not set···766# CONFIG_SCHEDSTATS is not set767# CONFIG_TIMER_STATS is not set768# CONFIG_SLUB_DEBUG_ON is not set769+# CONFIG_SLUB_STATS is not set770# CONFIG_DEBUG_SPINLOCK is not set771# CONFIG_DEBUG_MUTEXES is not set772# CONFIG_DEBUG_SPINLOCK_SLEEP is not set···776# CONFIG_DEBUG_VM is not set777# CONFIG_DEBUG_LIST is not set778# CONFIG_DEBUG_SG is not set0779# CONFIG_BOOT_PRINTK_DELAY is not set780+# CONFIG_BACKTRACE_SELF_TEST is not set781# CONFIG_FAULT_INJECTION is not set782# CONFIG_SAMPLES is not set783# CONFIG_DEBUG_STACKOVERFLOW is not set784# CONFIG_DEBUG_STACK_USAGE is not set785# CONFIG_DEBUG_PAGEALLOC is not set786# CONFIG_DEBUGGER is not set787+# CONFIG_VIRQ_DEBUG is not set788# CONFIG_BDI_SWITCH is not set789# CONFIG_PPC_EARLY_DEBUG is not set790
+29-1
arch/powerpc/kernel/head_8xx.S
···332 mfspr r11, SPRN_MD_TWC /* ....and get the pte address */333 lwz r10, 0(r11) /* Get the pte */334000000000335 ori r10, r10, _PAGE_ACCESSED336 stw r10, 0(r11)0337338 /* The Linux PTE won't go exactly into the MMU TLB.339 * Software indicator bits 21, 22 and 28 must be clear.···408 DO_8xx_CPU6(0x3b80, r3)409 mtspr SPRN_MD_TWC, r11410411- mfspr r11, SPRN_MD_TWC /* get the pte address again */000412 ori r10, r10, _PAGE_ACCESSED000000413 stw r10, 0(r11)414415 /* The Linux PTE won't go exactly into the MMU TLB.···526527 /* Update 'changed', among others.528 */00000000529 ori r10, r10, _PAGE_DIRTY|_PAGE_ACCESSED|_PAGE_HWWRITE0530 mfspr r11, SPRN_MD_TWC /* Get pte address again */531 stw r10, 0(r11) /* and update pte in table */532
···332 mfspr r11, SPRN_MD_TWC /* ....and get the pte address */333 lwz r10, 0(r11) /* Get the pte */334335+#ifdef CONFIG_SWAP336+ /* do not set the _PAGE_ACCESSED bit of a non-present page */337+ andi. r11, r10, _PAGE_PRESENT338+ beq 4f339+ ori r10, r10, _PAGE_ACCESSED340+ mfspr r11, SPRN_MD_TWC /* get the pte address again */341+ stw r10, 0(r11)342+4:343+#else344 ori r10, r10, _PAGE_ACCESSED345 stw r10, 0(r11)346+#endif347348 /* The Linux PTE won't go exactly into the MMU TLB.349 * Software indicator bits 21, 22 and 28 must be clear.···398 DO_8xx_CPU6(0x3b80, r3)399 mtspr SPRN_MD_TWC, r11400401+#ifdef CONFIG_SWAP402+ /* do not set the _PAGE_ACCESSED bit of a non-present page */403+ andi. r11, r10, _PAGE_PRESENT404+ beq 4f405 ori r10, r10, _PAGE_ACCESSED406+4:407+ /* and update pte in table */408+#else409+ ori r10, r10, _PAGE_ACCESSED410+#endif411+ mfspr r11, SPRN_MD_TWC /* get the pte address again */412 stw r10, 0(r11)413414 /* The Linux PTE won't go exactly into the MMU TLB.···507508 /* Update 'changed', among others.509 */510+#ifdef CONFIG_SWAP511+ ori r10, r10, _PAGE_DIRTY|_PAGE_HWWRITE512+ /* do not set the _PAGE_ACCESSED bit of a non-present page */513+ andi. r11, r10, _PAGE_PRESENT514+ beq 4f515+ ori r10, r10, _PAGE_ACCESSED516+4:517+#else518 ori r10, r10, _PAGE_DIRTY|_PAGE_ACCESSED|_PAGE_HWWRITE519+#endif520 mfspr r11, SPRN_MD_TWC /* Get pte address again */521 stw r10, 0(r11) /* and update pte in table */522
···785 or r4,r4,r7 # LSW |= t2786 blr787788+/*789+ * 64-bit comparison: __ucmpdi2(u64 a, u64 b)790+ * Returns 0 if a < b, 1 if a == b, 2 if a > b.791+ */792+_GLOBAL(__ucmpdi2)793+ cmplw r3,r5794+ li r3,1795+ bne 1f796+ cmplw r4,r6797+ beqlr798+1: li r3,0799+ bltlr800+ li r3,2801+ blr802+803_GLOBAL(abs)804 srawi r4,r3,31805 xor r3,r3,r4
+7-1
arch/powerpc/kernel/pci-common.c
···748 struct resource *res = dev->resource + i;749 if (!res->flags)750 continue;751- if (res->end == 0xffffffff) {000000752 pr_debug("PCI:%s Resource %d %016llx-%016llx [%x] is unassigned\n",753 pci_name(dev), i,754 (unsigned long long)res->start,
···748 struct resource *res = dev->resource + i;749 if (!res->flags)750 continue;751+ /* On platforms that have PPC_PCI_PROBE_ONLY set, we don't752+ * consider 0 as an unassigned BAR value. It's technically753+ * a valid value, but linux doesn't like it... so when we can754+ * re-assign things, we do so, but if we can't, we keep it755+ * around and hope for the best...756+ */757+ if (res->start == 0 && !(ppc_pci_flags & PPC_PCI_PROBE_ONLY)) {758 pr_debug("PCI:%s Resource %d %016llx-%016llx [%x] is unassigned\n",759 pci_name(dev), i,760 (unsigned long long)res->start,
+3
arch/powerpc/kernel/ppc_ksyms.c
···58extern void single_step_exception(struct pt_regs *regs);59extern int sys_sigreturn(struct pt_regs *regs);60061EXPORT_SYMBOL(clear_pages);62EXPORT_SYMBOL(copy_page);63EXPORT_SYMBOL(ISA_DMA_THRESHOLD);···150EXPORT_SYMBOL(__ashrdi3);151EXPORT_SYMBOL(__ashldi3);152EXPORT_SYMBOL(__lshrdi3);00153#endif154155EXPORT_SYMBOL(memcpy);
···58extern void single_step_exception(struct pt_regs *regs);59extern int sys_sigreturn(struct pt_regs *regs);6061+EXPORT_SYMBOL(empty_zero_page);62EXPORT_SYMBOL(clear_pages);63EXPORT_SYMBOL(copy_page);64EXPORT_SYMBOL(ISA_DMA_THRESHOLD);···149EXPORT_SYMBOL(__ashrdi3);150EXPORT_SYMBOL(__ashldi3);151EXPORT_SYMBOL(__lshrdi3);152+int __ucmpdi2(unsigned long long, unsigned long long);153+EXPORT_SYMBOL(__ucmpdi2);154#endif155156EXPORT_SYMBOL(memcpy);
+2-2
arch/powerpc/mm/hash_utils_64.c
···506 } else {507 /* Find storage for the HPT. Must be contiguous in508 * the absolute address space. On cell we want it to be509- * in the first 1 Gig.510 */511 if (machine_is(cell))512- limit = 0x40000000;513 else514 limit = 0;515
···506 } else {507 /* Find storage for the HPT. Must be contiguous in508 * the absolute address space. On cell we want it to be509+ * in the first 2 Gig so we can use it for IOMMU hacks.510 */511 if (machine_is(cell))512+ limit = 0x80000000;513 else514 limit = 0;515
···113 default y114115config FSL_EMB_PERFMON116+ bool "Freescale Embedded Perfmon"117+ depends on E500 || PPC_83xx118+ help119+ This is the Performance Monitor support found on the e500 core120+ and some e300 cores (c3 and c4). Select this only if your121+ core supports the Embedded Performance Monitor APU122123config PTE_64BIT124 bool
+2-1
arch/powerpc/platforms/cell/spufs/context.c
···170{171 BUG_ON(ctx->state != SPU_STATE_SAVED);172173- if (test_and_clear_bit(SPU_SCHED_WAS_ACTIVE, &ctx->sched_flags))0174 spu_activate(ctx, 0);175176 spu_release(ctx);
···867 if (ctx->policy == SCHED_FIFO)868 goto out;869870- if (--ctx->time_slice && ctx->policy != SCHED_IDLE)871 goto out;872873 spu = ctx->spu;···877 new = grab_runnable_context(ctx->prio + 1, spu->node);878 if (new) {879 spu_unschedule(spu, ctx);880- if (ctx->policy != SCHED_IDLE)881 spu_add_to_rq(ctx);882 } else {883 spu_context_nospu_trace(spusched_tick__newslice, ctx);
···867 if (ctx->policy == SCHED_FIFO)868 goto out;869870+ if (--ctx->time_slice && test_bit(SPU_SCHED_SPU_RUN, &ctx->sched_flags))871 goto out;872873 spu = ctx->spu;···877 new = grab_runnable_context(ctx->prio + 1, spu->node);878 if (new) {879 spu_unschedule(spu, ctx);880+ if (test_bit(SPU_SCHED_SPU_RUN, &ctx->sched_flags))881 spu_add_to_rq(ctx);882 } else {883 spu_context_nospu_trace(spusched_tick__newslice, ctx);
+1
arch/powerpc/platforms/cell/spufs/spufs.h
···44enum {45 SPU_SCHED_NOTIFY_ACTIVE,46 SPU_SCHED_WAS_ACTIVE, /* was active upon spu_acquire_saved() */047};4849struct spu_context {
···44enum {45 SPU_SCHED_NOTIFY_ACTIVE,46 SPU_SCHED_WAS_ACTIVE, /* was active upon spu_acquire_saved() */47+ SPU_SCHED_SPU_RUN, /* context is within spu_run */48};4950struct spu_context {
···509 }510511 /* Validate some of the fields */512- if ((firmware->count < 1) || (firmware->count >= MAX_QE_RISC)) {513 printk(KERN_ERR "qe-firmware: invalid data\n");514 return -EINVAL;515 }···609 * If we haven't checked yet, and a driver hasn't uploaded a firmware610 * yet, then check the device tree for information.611 */612- if (initialized || qe_firmware_uploaded)000613 return NULL;614615 initialized = 1;
···509 }510511 /* Validate some of the fields */512+ if ((firmware->count < 1) || (firmware->count > MAX_QE_RISC)) {513 printk(KERN_ERR "qe-firmware: invalid data\n");514 return -EINVAL;515 }···609 * If we haven't checked yet, and a driver hasn't uploaded a firmware610 * yet, then check the device tree for information.611 */612+ if (qe_firmware_uploaded)613+ return &qe_firmware_info;614+615+ if (initialized)616 return NULL;617618 initialized = 1;
+29-1
arch/ppc/kernel/head_8xx.S
···329 mfspr r11, SPRN_MD_TWC /* ....and get the pte address */330 lwz r10, 0(r11) /* Get the pte */331000000000332 ori r10, r10, _PAGE_ACCESSED333 stw r10, 0(r11)0334335 /* The Linux PTE won't go exactly into the MMU TLB.336 * Software indicator bits 21, 22 and 28 must be clear.···405 DO_8xx_CPU6(0x3b80, r3)406 mtspr SPRN_MD_TWC, r11407408- mfspr r11, SPRN_MD_TWC /* get the pte address again */000409 ori r10, r10, _PAGE_ACCESSED000000410 stw r10, 0(r11)411412 /* The Linux PTE won't go exactly into the MMU TLB.···594595 /* Update 'changed', among others.596 */00000000597 ori r10, r10, _PAGE_DIRTY|_PAGE_ACCESSED|_PAGE_HWWRITE0598 mfspr r11, SPRN_MD_TWC /* Get pte address again */599 stw r10, 0(r11) /* and update pte in table */600
···329 mfspr r11, SPRN_MD_TWC /* ....and get the pte address */330 lwz r10, 0(r11) /* Get the pte */331332+#ifdef CONFIG_SWAP333+ /* do not set the _PAGE_ACCESSED bit of a non-present page */334+ andi. r11, r10, _PAGE_PRESENT335+ beq 4f336+ ori r10, r10, _PAGE_ACCESSED337+ mfspr r11, SPRN_MD_TWC /* get the pte address again */338+ stw r10, 0(r11)339+4:340+#else341 ori r10, r10, _PAGE_ACCESSED342 stw r10, 0(r11)343+#endif344345 /* The Linux PTE won't go exactly into the MMU TLB.346 * Software indicator bits 21, 22 and 28 must be clear.···395 DO_8xx_CPU6(0x3b80, r3)396 mtspr SPRN_MD_TWC, r11397398+#ifdef CONFIG_SWAP399+ /* do not set the _PAGE_ACCESSED bit of a non-present page */400+ andi. r11, r10, _PAGE_PRESENT401+ beq 4f402 ori r10, r10, _PAGE_ACCESSED403+4:404+ /* and update pte in table */405+#else406+ ori r10, r10, _PAGE_ACCESSED407+#endif408+ mfspr r11, SPRN_MD_TWC /* get the pte address again */409 stw r10, 0(r11)410411 /* The Linux PTE won't go exactly into the MMU TLB.···575576 /* Update 'changed', among others.577 */578+#ifdef CONFIG_SWAP579+ ori r10, r10, _PAGE_DIRTY|_PAGE_HWWRITE580+ /* do not set the _PAGE_ACCESSED bit of a non-present page */581+ andi. r11, r10, _PAGE_PRESENT582+ beq 4f583+ ori r10, r10, _PAGE_ACCESSED584+4:585+#else586 ori r10, r10, _PAGE_DIRTY|_PAGE_ACCESSED|_PAGE_HWWRITE587+#endif588 mfspr r11, SPRN_MD_TWC /* Get pte address again */589 stw r10, 0(r11) /* and update pte in table */590
+1-1
arch/x86/Kconfig
···1259 machines with more than one CPU.12601261 In order to use APM, you will need supporting software. For location1262- and more information, read <file:Documentation/pm.txt> and the1263 Battery Powered Linux mini-HOWTO, available from1264 <http://www.tldp.org/docs.html#howto>.1265
···1259 machines with more than one CPU.12601261 In order to use APM, you will need supporting software. For location1262+ and more information, read <file:Documentation/power/pm.txt> and the1263 Battery Powered Linux mini-HOWTO, available from1264 <http://www.tldp.org/docs.html#howto>.1265
+3-1
block/genhd.c
···360361static int __init genhd_device_init(void)362{363- class_register(&block_class);00364 bdev_map = kobj_map_init(base_probe, &block_class_lock);365 blk_dev_init();366
···360361static int __init genhd_device_init(void)362{363+ int error = class_register(&block_class);364+ if (unlikely(error))365+ return error;366 bdev_map = kobj_map_init(base_probe, &block_class_lock);367 blk_dev_init();368
+3-3
crypto/async_tx/async_memcpy.c
···66 }6768 if (tx) {69- pr_debug("%s: (async) len: %zu\n", __FUNCTION__, len);70 async_tx_submit(chan, tx, flags, depend_tx, cb_fn, cb_param);71 } else {72 void *dest_buf, *src_buf;73- pr_debug("%s: (sync) len: %zu\n", __FUNCTION__, len);7475 /* wait for any prerequisite operations */76 if (depend_tx) {···80 BUG_ON(depend_tx->ack);81 if (dma_wait_for_async_tx(depend_tx) == DMA_ERROR)82 panic("%s: DMA_ERROR waiting for depend_tx\n",83- __FUNCTION__);84 }8586 dest_buf = kmap_atomic(dest, KM_USER0) + dest_offset;
···66 }6768 if (tx) {69+ pr_debug("%s: (async) len: %zu\n", __func__, len);70 async_tx_submit(chan, tx, flags, depend_tx, cb_fn, cb_param);71 } else {72 void *dest_buf, *src_buf;73+ pr_debug("%s: (sync) len: %zu\n", __func__, len);7475 /* wait for any prerequisite operations */76 if (depend_tx) {···80 BUG_ON(depend_tx->ack);81 if (dma_wait_for_async_tx(depend_tx) == DMA_ERROR)82 panic("%s: DMA_ERROR waiting for depend_tx\n",83+ __func__);84 }8586 dest_buf = kmap_atomic(dest, KM_USER0) + dest_offset;
···472 tx = NULL;473474 if (tx) {475- pr_debug("%s: (async)\n", __FUNCTION__);476477 async_tx_submit(chan, tx, flags, depend_tx, cb_fn, cb_param);478 } else {479- pr_debug("%s: (sync)\n", __FUNCTION__);480481 /* wait for any prerequisite operations */482 if (depend_tx) {···486 BUG_ON(depend_tx->ack);487 if (dma_wait_for_async_tx(depend_tx) == DMA_ERROR)488 panic("%s: DMA_ERROR waiting for depend_tx\n",489- __FUNCTION__);490 }491492 async_tx_sync_epilog(flags, depend_tx, cb_fn, cb_param);
···472 tx = NULL;473474 if (tx) {475+ pr_debug("%s: (async)\n", __func__);476477 async_tx_submit(chan, tx, flags, depend_tx, cb_fn, cb_param);478 } else {479+ pr_debug("%s: (sync)\n", __func__);480481 /* wait for any prerequisite operations */482 if (depend_tx) {···486 BUG_ON(depend_tx->ack);487 if (dma_wait_for_async_tx(depend_tx) == DMA_ERROR)488 panic("%s: DMA_ERROR waiting for depend_tx\n",489+ __func__);490 }491492 async_tx_sync_epilog(flags, depend_tx, cb_fn, cb_param);
+6-6
crypto/async_tx/async_xor.c
···47 int i;48 unsigned long dma_prep_flags = cb_fn ? DMA_PREP_INTERRUPT : 0;4950- pr_debug("%s: len: %zu\n", __FUNCTION__, len);5152 dma_dest = dma_map_page(device->dev, dest, offset, len,53 DMA_FROM_DEVICE);···86 void *_dest;87 int i;8889- pr_debug("%s: len: %zu\n", __FUNCTION__, len);9091 /* reuse the 'src_list' array to convert to buffer pointers */92 for (i = 0; i < src_cnt; i++)···196 DMA_ERROR)197 panic("%s: DMA_ERROR waiting for "198 "depend_tx\n",199- __FUNCTION__);200 }201202 do_sync_xor(dest, &src_list[src_off], offset,···276 unsigned long dma_prep_flags = cb_fn ? DMA_PREP_INTERRUPT : 0;277 int i;278279- pr_debug("%s: (async) len: %zu\n", __FUNCTION__, len);280281 for (i = 0; i < src_cnt; i++)282 dma_src[i] = dma_map_page(device->dev, src_list[i],···299 } else {300 unsigned long xor_flags = flags;301302- pr_debug("%s: (sync) len: %zu\n", __FUNCTION__, len);303304 xor_flags |= ASYNC_TX_XOR_DROP_DST;305 xor_flags &= ~ASYNC_TX_ACK;···310 if (tx) {311 if (dma_wait_for_async_tx(tx) == DMA_ERROR)312 panic("%s: DMA_ERROR waiting for tx\n",313- __FUNCTION__);314 async_tx_ack(tx);315 }316
···47 int i;48 unsigned long dma_prep_flags = cb_fn ? DMA_PREP_INTERRUPT : 0;4950+ pr_debug("%s: len: %zu\n", __func__, len);5152 dma_dest = dma_map_page(device->dev, dest, offset, len,53 DMA_FROM_DEVICE);···86 void *_dest;87 int i;8889+ pr_debug("%s: len: %zu\n", __func__, len);9091 /* reuse the 'src_list' array to convert to buffer pointers */92 for (i = 0; i < src_cnt; i++)···196 DMA_ERROR)197 panic("%s: DMA_ERROR waiting for "198 "depend_tx\n",199+ __func__);200 }201202 do_sync_xor(dest, &src_list[src_off], offset,···276 unsigned long dma_prep_flags = cb_fn ? DMA_PREP_INTERRUPT : 0;277 int i;278279+ pr_debug("%s: (async) len: %zu\n", __func__, len);280281 for (i = 0; i < src_cnt; i++)282 dma_src[i] = dma_map_page(device->dev, src_list[i],···299 } else {300 unsigned long xor_flags = flags;301302+ pr_debug("%s: (sync) len: %zu\n", __func__, len);303304 xor_flags |= ASYNC_TX_XOR_DROP_DST;305 xor_flags &= ~ASYNC_TX_ACK;···310 if (tx) {311 if (dma_wait_for_async_tx(tx) == DMA_ERROR)312 panic("%s: DMA_ERROR waiting for tx\n",313+ __func__);314 async_tx_ack(tx);315 }316
+9-10
drivers/acpi/Kconfig
···283 If you have a legacy free Toshiba laptop (such as the Libretto L1284 series), say Y.285286-config ACPI_CUSTOM_DSDT287- bool "Include Custom DSDT"0288 depends on !STANDALONE289- default n 290 help291 This option supports a custom DSDT by linking it into the kernel.292 See Documentation/acpi/dsdt-override.txt293294- If unsure, say N.295-296-config ACPI_CUSTOM_DSDT_FILE297- string "Custom DSDT Table file to include"298- depends on ACPI_CUSTOM_DSDT299- default ""300- help301 Enter the full path name to the file which includes the AmlCode302 declaration.000000303304config ACPI_CUSTOM_DSDT_INITRD305 bool "Read Custom DSDT from initramfs"
···283 If you have a legacy free Toshiba laptop (such as the Libretto L1284 series), say Y.285286+config ACPI_CUSTOM_DSDT_FILE287+ string "Custom DSDT Table file to include"288+ default ""289 depends on !STANDALONE0290 help291 This option supports a custom DSDT by linking it into the kernel.292 See Documentation/acpi/dsdt-override.txt2930000000294 Enter the full path name to the file which includes the AmlCode295 declaration.296+297+ If unsure, don't enter a file name.298+299+config ACPI_CUSTOM_DSDT300+ bool301+ default ACPI_CUSTOM_DSDT_FILE != ""302303config ACPI_CUSTOM_DSDT_INITRD304 bool "Read Custom DSDT from initramfs"
···25 */262728+#include <linux/dmi.h>29#include <linux/kernel.h>30#include <linux/module.h>31#include <linux/init.h>···76 return NULL;77}7879+/* http://bugzilla.kernel.org/show_bug.cgi?id=4773 */80+static struct dmi_system_id medion_md9580[] = {81+ {82+ .ident = "Medion MD9580-F laptop",83+ .matches = {84+ DMI_MATCH(DMI_SYS_VENDOR, "MEDIONNB"),85+ DMI_MATCH(DMI_PRODUCT_NAME, "A555"),86+ },87+ },88+ { }89+};90+91+/* http://bugzilla.kernel.org/show_bug.cgi?id=5044 */92+static struct dmi_system_id dell_optiplex[] = {93+ {94+ .ident = "Dell Optiplex GX1",95+ .matches = {96+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer Corporation"),97+ DMI_MATCH(DMI_PRODUCT_NAME, "OptiPlex GX1 600S+"),98+ },99+ },100+ { }101+};102+103+/* http://bugzilla.kernel.org/show_bug.cgi?id=10138 */104+static struct dmi_system_id hp_t5710[] = {105+ {106+ .ident = "HP t5710",107+ .matches = {108+ DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),109+ DMI_MATCH(DMI_PRODUCT_NAME, "hp t5000 series"),110+ DMI_MATCH(DMI_BOARD_NAME, "098Ch"),111+ },112+ },113+ { }114+};115+116+struct prt_quirk {117+ struct dmi_system_id *system;118+ unsigned int segment;119+ unsigned int bus;120+ unsigned int device;121+ unsigned char pin;122+ char *source; /* according to BIOS */123+ char *actual_source;124+};125+126+/*127+ * These systems have incorrect _PRT entries. The BIOS claims the PCI128+ * interrupt at the listed segment/bus/device/pin is connected to the first129+ * link device, but it is actually connected to the second.130+ */131+static struct prt_quirk prt_quirks[] = {132+ { medion_md9580, 0, 0, 9, 'A',133+ "\\_SB_.PCI0.ISA.LNKA",134+ "\\_SB_.PCI0.ISA.LNKB"},135+ { dell_optiplex, 0, 0, 0xd, 'A',136+ "\\_SB_.LNKB",137+ "\\_SB_.LNKA"},138+ { hp_t5710, 0, 0, 1, 'A',139+ "\\_SB_.PCI0.LNK1",140+ "\\_SB_.PCI0.LNK3"},141+};142+143+static void144+do_prt_fixups(struct acpi_prt_entry *entry, struct acpi_pci_routing_table *prt)145+{146+ int i;147+ struct prt_quirk *quirk;148+149+ for (i = 0; i < ARRAY_SIZE(prt_quirks); i++) {150+ quirk = &prt_quirks[i];151+152+ /* All current quirks involve link devices, not GSIs */153+ if (!prt->source)154+ continue;155+156+ if (dmi_check_system(quirk->system) &&157+ entry->id.segment == quirk->segment &&158+ entry->id.bus == quirk->bus &&159+ entry->id.device == quirk->device &&160+ entry->pin + 'A' == quirk->pin &&161+ !strcmp(prt->source, quirk->source) &&162+ strlen(prt->source) >= strlen(quirk->actual_source)) {163+ printk(KERN_WARNING PREFIX "firmware reports "164+ "%04x:%02x:%02x[%c] connected to %s; "165+ "changing to %s\n",166+ entry->id.segment, entry->id.bus,167+ entry->id.device, 'A' + entry->pin,168+ prt->source, quirk->actual_source);169+ strcpy(prt->source, quirk->actual_source);170+ }171+ }172+}173+174static int175acpi_pci_irq_add_entry(acpi_handle handle,176 int segment, int bus, struct acpi_pci_routing_table *prt)···95 entry->id.device = (prt->address >> 16) & 0xFFFF;96 entry->id.function = prt->address & 0xFFFF;97 entry->pin = prt->pin;98+99+ do_prt_fixups(entry, prt);100101 /*102 * Type 1: Dynamic
+1-1
drivers/acpi/pci_root.c
···184 }185}186187-static int acpi_pci_root_add(struct acpi_device *device)188{189 int result = 0;190 struct acpi_pci_root *root = NULL;
···184 }185}186187+static int __devinit acpi_pci_root_add(struct acpi_device *device)188{189 int result = 0;190 struct acpi_pci_root *root = NULL;
+14-11
drivers/acpi/processor_core.c
···840841842 status = acpi_evaluate_integer(handle, "_STA", NULL, &sta);843- /*844- * if a processor object does not have an _STA object,845- * OSPM assumes that the processor is present.846- */847- if (status == AE_NOT_FOUND)848- return 1;849850 if (ACPI_SUCCESS(status) && (sta & ACPI_STA_DEVICE_PRESENT))851 return 1;852853- ACPI_EXCEPTION((AE_INFO, status, "Processor Device is not present"));00000000854 return 0;855}856···888 return 0;889}890891-static void892-acpi_processor_hotplug_notify(acpi_handle handle, u32 event, void *data)893{894 struct acpi_processor *pr;895 struct acpi_device *device = NULL;···899 switch (event) {900 case ACPI_NOTIFY_BUS_CHECK:901 case ACPI_NOTIFY_DEVICE_CHECK:902- printk("Processor driver received %s event\n",0903 (event == ACPI_NOTIFY_BUS_CHECK) ?904- "ACPI_NOTIFY_BUS_CHECK" : "ACPI_NOTIFY_DEVICE_CHECK");905906 if (!is_processor_present(handle))907 break;
···840841842 status = acpi_evaluate_integer(handle, "_STA", NULL, &sta);000000843844 if (ACPI_SUCCESS(status) && (sta & ACPI_STA_DEVICE_PRESENT))845 return 1;846847+ /*848+ * _STA is mandatory for a processor that supports hot plug849+ */850+ if (status == AE_NOT_FOUND)851+ ACPI_DEBUG_PRINT((ACPI_DB_INFO,852+ "Processor does not support hot plug\n"));853+ else854+ ACPI_EXCEPTION((AE_INFO, status,855+ "Processor Device is not present"));856 return 0;857}858···886 return 0;887}888889+static void __ref acpi_processor_hotplug_notify(acpi_handle handle,890+ u32 event, void *data)891{892 struct acpi_processor *pr;893 struct acpi_device *device = NULL;···897 switch (event) {898 case ACPI_NOTIFY_BUS_CHECK:899 case ACPI_NOTIFY_DEVICE_CHECK:900+ ACPI_DEBUG_PRINT((ACPI_DB_INFO,901+ "Processor driver received %s event\n",902 (event == ACPI_NOTIFY_BUS_CHECK) ?903+ "ACPI_NOTIFY_BUS_CHECK" : "ACPI_NOTIFY_DEVICE_CHECK"));904905 if (!is_processor_present(handle))906 break;
+3-2
drivers/acpi/scan.c
···609 status = acpi_evaluate_object(handle, "_EJD", NULL, &buffer);610 if (ACPI_SUCCESS(status)) {611 obj = buffer.pointer;612- status = acpi_get_handle(NULL, obj->string.pointer, ejd);0613 kfree(buffer.pointer);614 }615 return status;···967 case ACPI_BUS_TYPE_DEVICE:968 status = acpi_get_object_info(handle, &buffer);969 if (ACPI_FAILURE(status)) {970- printk(KERN_ERR PREFIX "%s: Error reading device info\n", __FUNCTION__);971 return;972 }973
···609 status = acpi_evaluate_object(handle, "_EJD", NULL, &buffer);610 if (ACPI_SUCCESS(status)) {611 obj = buffer.pointer;612+ status = acpi_get_handle(ACPI_ROOT_OBJECT, obj->string.pointer,613+ ejd);614 kfree(buffer.pointer);615 }616 return status;···966 case ACPI_BUS_TYPE_DEVICE:967 status = acpi_get_object_info(handle, &buffer);968 if (ACPI_FAILURE(status)) {969+ printk(KERN_ERR PREFIX "%s: Error reading device info\n", __func__);970 return;971 }972
+1-1
drivers/acpi/sleep/main.c
···504static void acpi_power_off(void)505{506 /* acpi_sleep_prepare(ACPI_STATE_S5) should have already been called */507- printk("%s called\n", __FUNCTION__);508 local_irq_disable();509 acpi_enable_wakeup_device(ACPI_STATE_S5);510 acpi_enter_sleep_state(ACPI_STATE_S5);
···504static void acpi_power_off(void)505{506 /* acpi_sleep_prepare(ACPI_STATE_S5) should have already been called */507+ printk("%s called\n", __func__);508 local_irq_disable();509 acpi_enable_wakeup_device(ACPI_STATE_S5);510 acpi_enter_sleep_state(ACPI_STATE_S5);
+1-1
drivers/acpi/system.c
···319 goto fail;320321 for (i = 0; i < num_counters; ++i) {322- char buffer[10];323 char *name;324325 if (i < num_gpes)
···319 goto fail;320321 for (i = 0; i < num_counters; ++i) {322+ char buffer[12];323 char *name;324325 if (i < num_gpes)
+7-5
drivers/acpi/thermal.c
···879}880881/* sys I/F for generic thermal sysfs support */00882static int thermal_get_temp(struct thermal_zone_device *thermal, char *buf)883{884 struct acpi_thermal *tz = thermal->devdata;···888 if (!tz)889 return -EINVAL;890891- return sprintf(buf, "%ld\n", KELVIN_TO_CELSIUS(tz->temperature));892}893894static const char enabled[] = "kernel";···982983 if (tz->trips.critical.flags.valid) {984 if (!trip)985- return sprintf(buf, "%ld\n", KELVIN_TO_CELSIUS(986 tz->trips.critical.temperature));987 trip--;988 }989990 if (tz->trips.hot.flags.valid) {991 if (!trip)992- return sprintf(buf, "%ld\n", KELVIN_TO_CELSIUS(993 tz->trips.hot.temperature));994 trip--;995 }996997 if (tz->trips.passive.flags.valid) {998 if (!trip)999- return sprintf(buf, "%ld\n", KELVIN_TO_CELSIUS(1000 tz->trips.passive.temperature));1001 trip--;1002 }···1004 for (i = 0; i < ACPI_THERMAL_MAX_ACTIVE &&1005 tz->trips.active[i].flags.valid; i++) {1006 if (!trip)1007- return sprintf(buf, "%ld\n", KELVIN_TO_CELSIUS(1008 tz->trips.active[i].temperature));1009 trip--;1010 }
···879}880881/* sys I/F for generic thermal sysfs support */882+#define KELVIN_TO_MILLICELSIUS(t) (t * 100 - 273200)883+884static int thermal_get_temp(struct thermal_zone_device *thermal, char *buf)885{886 struct acpi_thermal *tz = thermal->devdata;···886 if (!tz)887 return -EINVAL;888889+ return sprintf(buf, "%ld\n", KELVIN_TO_MILLICELSIUS(tz->temperature));890}891892static const char enabled[] = "kernel";···980981 if (tz->trips.critical.flags.valid) {982 if (!trip)983+ return sprintf(buf, "%ld\n", KELVIN_TO_MILLICELSIUS(984 tz->trips.critical.temperature));985 trip--;986 }987988 if (tz->trips.hot.flags.valid) {989 if (!trip)990+ return sprintf(buf, "%ld\n", KELVIN_TO_MILLICELSIUS(991 tz->trips.hot.temperature));992 trip--;993 }994995 if (tz->trips.passive.flags.valid) {996 if (!trip)997+ return sprintf(buf, "%ld\n", KELVIN_TO_MILLICELSIUS(998 tz->trips.passive.temperature));999 trip--;1000 }···1002 for (i = 0; i < ACPI_THERMAL_MAX_ACTIVE &&1003 tz->trips.active[i].flags.valid; i++) {1004 if (!trip)1005+ return sprintf(buf, "%ld\n", KELVIN_TO_MILLICELSIUS(1006 tz->trips.active[i].temperature));1007 trip--;1008 }
···109 * RETURN: Updated pointer to the function name110 *111 * DESCRIPTION: Remove the "Acpi" prefix from the function name, if present.112- * This allows compiler macros such as __FUNCTION__ to be used113 * with no change to the debug output.114 *115 ******************************************************************************/
···109 * RETURN: Updated pointer to the function name110 *111 * DESCRIPTION: Remove the "Acpi" prefix from the function name, if present.112+ * This allows compiler macros such as __func__ to be used113 * with no change to the debug output.114 *115 ******************************************************************************/
+1-1
drivers/acpi/utilities/utobject.c
···432 * element -- which is legal)433 */434 if (!internal_object) {435- *obj_length = 0;436 return_ACPI_STATUS(AE_OK);437 }438
···432 * element -- which is legal)433 */434 if (!internal_object) {435+ *obj_length = sizeof(union acpi_object);436 return_ACPI_STATUS(AE_OK);437 }438
+6
drivers/acpi/utils.c
···407 break;408 }409000000410 /* Get the acpi_handle. */411412 list->handles[i] = element->reference.handle;
···407 break;408 }409410+ if (!element->reference.handle) {411+ printk(KERN_WARNING PREFIX "Invalid reference in"412+ " package %s\n", pathname);413+ status = AE_NULL_ENTRY;414+ break;415+ }416 /* Get the acpi_handle. */417418 list->handles[i] = element->reference.handle;
+2-2
drivers/acpi/video.c
···713714 kfree(obj);715716- if (device->cap._BCL && device->cap._BCM && device->cap._BQC && max_level > 0){717 int result;718 static int count = 0;719 char *name;···1201 if (!video)1202 goto end;12031204- printk(KERN_INFO PREFIX "Please implement %s\n", __FUNCTION__);1205 seq_printf(seq, "<TODO>\n");12061207 end:
···713714 kfree(obj);715716+ if (device->cap._BCL && device->cap._BCM && max_level > 0) {717 int result;718 static int count = 0;719 char *name;···1201 if (!video)1202 goto end;12031204+ printk(KERN_INFO PREFIX "Please implement %s\n", __func__);1205 seq_printf(seq, "<TODO>\n");12061207 end:
+6-4
drivers/acpi/wmi.c
···293{294 struct guid_block *block = NULL;295 struct wmi_block *wblock = NULL;296- acpi_handle handle;297 acpi_status status, wc_status = AE_ERROR;298 struct acpi_object_list input, wc_input;299 union acpi_object wc_params[1], wq_params[1];···338 * expensive, but have no corresponding WCxx method. So we339 * should not fail if this happens.340 */341- wc_status = acpi_evaluate_object(handle, wc_method,342- &wc_input, NULL);00343 }344345 strcpy(method, "WQ");···353 * If ACPI_WMI_EXPENSIVE, call the relevant WCxx method, even if354 * the WQxx method failed - we should disable collection anyway.355 */356- if ((block->flags & ACPI_WMI_EXPENSIVE) && wc_status) {357 wc_params[0].integer.value = 0;358 status = acpi_evaluate_object(handle,359 wc_method, &wc_input, NULL);
···293{294 struct guid_block *block = NULL;295 struct wmi_block *wblock = NULL;296+ acpi_handle handle, wc_handle;297 acpi_status status, wc_status = AE_ERROR;298 struct acpi_object_list input, wc_input;299 union acpi_object wc_params[1], wq_params[1];···338 * expensive, but have no corresponding WCxx method. So we339 * should not fail if this happens.340 */341+ wc_status = acpi_get_handle(handle, wc_method, &wc_handle);342+ if (ACPI_SUCCESS(wc_status))343+ wc_status = acpi_evaluate_object(handle, wc_method,344+ &wc_input, NULL);345 }346347 strcpy(method, "WQ");···351 * If ACPI_WMI_EXPENSIVE, call the relevant WCxx method, even if352 * the WQxx method failed - we should disable collection anyway.353 */354+ if ((block->flags & ACPI_WMI_EXPENSIVE) && ACPI_SUCCESS(wc_status)) {355 wc_params[0].integer.value = 0;356 status = acpi_evaluate_object(handle,357 wc_method, &wc_input, NULL);
···335 u8 temp;336337 /* driver_data might come from user-space, so check it */338- if (id->driver_data > ARRAY_SIZE(chipname))339 return -EINVAL;340341 if (amd756_ioport) {
···335 u8 temp;336337 /* driver_data might come from user-space, so check it */338+ if (id->driver_data >= ARRAY_SIZE(chipname))339 return -EINVAL;340341 if (amd756_ioport) {
···1#2# Makefile for miscellaneous I2C chip drivers.3#4+# Think twice before you add a new driver to this directory.5+# Device drivers are better grouped according to the functionality they6+# implement rather than to the bus they are connected to. In particular:7+# * Hardware monitoring chip drivers go to drivers/hwmon8+# * RTC chip drivers go to drivers/rtc9+# * I/O expander drivers go to drivers/gpio10+#1112obj-$(CONFIG_DS1682) += ds1682.o13obj-$(CONFIG_SENSORS_EEPROM) += eeprom.o
···1196 list_move_tail(&qp->timerwait,1197 &dev->pending[dev->pending_index]);1198 spin_unlock(&dev->pending_lock);00001199 /*1200 * Update the RDMA receive state but do the copy w/o1201 * holding the locks and blocking interrupts.
···1196 list_move_tail(&qp->timerwait,1197 &dev->pending[dev->pending_index]);1198 spin_unlock(&dev->pending_lock);1199+1200+ if (opcode == OP(RDMA_READ_RESPONSE_MIDDLE))1201+ qp->s_retry = qp->s_retry_cnt;1202+1203 /*1204 * Update the RDMA receive state but do the copy w/o1205 * holding the locks and blocking interrupts.
+1-1
drivers/infiniband/hw/ipath/ipath_registers.h
···185#define INFINIPATH_IBCC_LINKINITCMD_SLEEP 3186#define INFINIPATH_IBCC_LINKINITCMD_SHIFT 16187#define INFINIPATH_IBCC_LINKCMD_MASK 0x3ULL188-#define INFINIPATH_IBCC_LINKCMD_INIT 1 /* move to 0x11 */189#define INFINIPATH_IBCC_LINKCMD_ARMED 2 /* move to 0x21 */190#define INFINIPATH_IBCC_LINKCMD_ACTIVE 3 /* move to 0x31 */191#define INFINIPATH_IBCC_LINKCMD_SHIFT 18
···185#define INFINIPATH_IBCC_LINKINITCMD_SLEEP 3186#define INFINIPATH_IBCC_LINKINITCMD_SHIFT 16187#define INFINIPATH_IBCC_LINKCMD_MASK 0x3ULL188+#define INFINIPATH_IBCC_LINKCMD_DOWN 1 /* move to 0x11 */189#define INFINIPATH_IBCC_LINKCMD_ARMED 2 /* move to 0x21 */190#define INFINIPATH_IBCC_LINKCMD_ACTIVE 3 /* move to 0x31 */191#define INFINIPATH_IBCC_LINKCMD_SHIFT 18
···62 * and to 67452301 when keylen = 2. This is necessary because ordering on63 * the isdn line is the other way.64 */65-static __inline unsigned char66FlipBits(unsigned char c, int keylen)67{68 unsigned char b = c;
···62 * and to 67452301 when keylen = 2. This is necessary because ordering on63 * the isdn line is the other way.64 */65+static inline unsigned char66FlipBits(unsigned char c, int keylen)67{68 unsigned char b = c;
···108 depends on ACPI109 depends on LEDS_CLASS110 depends on BACKLIGHT_CLASS_DEVICE0111 select ACPI_WMI112 ---help---113 This is a driver for newer Acer (and Wistron) laptops. It adds
···108 depends on ACPI109 depends on LEDS_CLASS110 depends on BACKLIGHT_CLASS_DEVICE111+ depends on SERIO_I8042112 select ACPI_WMI113 ---help---114 This is a driver for newer Acer (and Wistron) laptops. It adds
+31-13
drivers/misc/acer-wmi.c
···219 },220 {221 .callback = dmi_matched,000000000222 .ident = "Acer Aspire 5100",223 .matches = {224 DMI_MATCH(DMI_SYS_VENDOR, "Acer"),225 DMI_MATCH(DMI_PRODUCT_NAME, "Aspire 5100"),000000000226 },227 .driver_data = &quirk_acer_travelmate_2490,228 },···779}780781static struct led_classdev mail_led = {782- .name = "acer-mail:green",783 .brightness_set = mail_led_set,784};785786-static int __init acer_led_init(struct device *dev)787{788 return led_classdev_register(dev, &mail_led);789}···816 .update_status = update_bl_status,817};818819-static int __init acer_backlight_init(struct device *dev)820{821 struct backlight_device *bd;822···835 return 0;836}837838-static void __exit acer_backlight_exit(void)839{840 backlight_device_unregister(acer_backlight_device);841}···10701071 if (wmi_has_guid(WMID_GUID2) && interface) {1072 if (ACPI_FAILURE(WMID_set_capabilities())) {1073- printk(ACER_ERR "Unable to detect available devices\n");01074 return -ENODEV;1075 }1076 } else if (!wmi_has_guid(WMID_GUID2) && interface) {1077- printk(ACER_ERR "Unable to detect available devices\n");1078 return -ENODEV;1079 }1080···1083 interface = &AMW0_interface;10841085 if (ACPI_FAILURE(AMW0_set_capabilities())) {1086- printk(ACER_ERR "Unable to detect available devices\n");01087 return -ENODEV;1088 }1089 }10901091- if (wmi_has_guid(AMW0_GUID1)) {1092- if (ACPI_FAILURE(AMW0_find_mailled()))1093- printk(ACER_ERR "Unable to detect mail LED\n");1094- }10951096 find_quirks();10971098 if (!interface) {1099- printk(ACER_ERR "No or unsupported WMI interface, unable to ");1100- printk(KERN_CONT "load.\n");1101 return -ENODEV;1102 }1103
···315 break;316317 default:318- if (event > ARRAY_SIZE(sony_laptop_input_index)) {319 dprintk("sony_laptop_report_input_event, event not known: %d\n", event);320 break;321 }
···315 break;316317 default:318+ if (event >= ARRAY_SIZE(sony_laptop_input_index)) {319 dprintk("sony_laptop_report_input_event, event not known: %d\n", event);320 break;321 }
+10-10
drivers/net/Kconfig
···2366 module will be called ps3_gelic.23672368config GELIC_WIRELESS2369- bool "PS3 Wireless support"2370- depends on GELIC_NET2371- select WIRELESS_EXT2372- help2373- This option adds the support for the wireless feature of PS3.2374- If you have the wireless-less model of PS3 or have no plan to2375- use wireless feature, disabling this option saves memory. As2376- the driver automatically distinguishes the models, you can2377- safely enable this option even if you have a wireless-less model.23782379config GIANFAR2380 tristate "Gianfar Ethernet"···25192520config EHEA2521 tristate "eHEA Ethernet support"2522- depends on IBMEBUS && INET2523 select INET_LRO2524 ---help---2525 This driver supports the IBM pSeries eHEA ethernet adapter.
···2366 module will be called ps3_gelic.23672368config GELIC_WIRELESS2369+ bool "PS3 Wireless support"2370+ depends on GELIC_NET2371+ select WIRELESS_EXT2372+ help2373+ This option adds the support for the wireless feature of PS3.2374+ If you have the wireless-less model of PS3 or have no plan to2375+ use wireless feature, disabling this option saves memory. As2376+ the driver automatically distinguishes the models, you can2377+ safely enable this option even if you have a wireless-less model.23782379config GIANFAR2380 tristate "Gianfar Ethernet"···25192520config EHEA2521 tristate "eHEA Ethernet support"2522+ depends on IBMEBUS && INET && SPARSEMEM2523 select INET_LRO2524 ---help---2525 This driver supports the IBM pSeries eHEA ethernet adapter.
+4-3
drivers/net/ac3200.c
···369MODULE_DESCRIPTION("Ansel AC3200 EISA ethernet driver");370MODULE_LICENSE("GPL");371372-int __init init_module(void)373{374 struct net_device *dev;375 int this_dev, found = 0;···404 iounmap(ei_status.mem);405}406407-void __exit408-cleanup_module(void)409{410 int this_dev;411···417 }418 }419}00420#endif /* MODULE */
···369MODULE_DESCRIPTION("Ansel AC3200 EISA ethernet driver");370MODULE_LICENSE("GPL");371372+static int __init ac3200_module_init(void)373{374 struct net_device *dev;375 int this_dev, found = 0;···404 iounmap(ei_status.mem);405}406407+static void __exit ac3200_module_exit(void)0408{409 int this_dev;410···418 }419 }420}421+module_init(ac3200_module_init);422+module_exit(ac3200_module_exit);423#endif /* MODULE */
+4-3
drivers/net/apne.c
···569#ifdef MODULE570static struct net_device *apne_dev;571572-int __init init_module(void)573{574 apne_dev = apne_probe(-1);575 if (IS_ERR(apne_dev))···577 return 0;578}579580-void __exit cleanup_module(void)581{582 unregister_netdev(apne_dev);583···591592 free_netdev(apne_dev);593}594-0595#endif596597static int init_pcmcia(void)
···569#ifdef MODULE570static struct net_device *apne_dev;571572+static int __init apne_module_init(void)573{574 apne_dev = apne_probe(-1);575 if (IS_ERR(apne_dev))···577 return 0;578}579580+static void __exit apne_module_exit(void)581{582 unregister_netdev(apne_dev);583···591592 free_netdev(apne_dev);593}594+module_init(apne_module_init);595+module_exit(apne_module_exit);596#endif597598static int init_pcmcia(void)
···336337/***************************** Prototypes *****************************/338339-static int addr_accessible( volatile void *regp, int wordflag, int340- writeflag );341static unsigned long lance_probe1( struct net_device *dev, struct lance_addr342 *init_rec );343static int lance_open( struct net_device *dev );···404405/* Derived from hwreg_present() in atari/config.c: */406407-static int __init addr_accessible( volatile void *regp, int wordflag, int writeflag )0408{409 int ret;410 long flags;
···336337/***************************** Prototypes *****************************/33800339static unsigned long lance_probe1( struct net_device *dev, struct lance_addr340 *init_rec );341static int lance_open( struct net_device *dev );···406407/* Derived from hwreg_present() in atari/config.c: */408409+static noinline int __init addr_accessible(volatile void *regp, int wordflag,410+ int writeflag)411{412 int ret;413 long flags;
···2104MODULE_AUTHOR( "Rabeeh Khoury, Assaf Hoffman, Matthew Dharm, Manish Lachwani"2105 " and Dale Farnsworth");2106MODULE_DESCRIPTION("Ethernet driver for Marvell MV643XX");021072108/*2109 * The second part is the low level driver of the gigE ethernet ports.
···2104MODULE_AUTHOR( "Rabeeh Khoury, Assaf Hoffman, Matthew Dharm, Manish Lachwani"2105 " and Dale Farnsworth");2106MODULE_DESCRIPTION("Ethernet driver for Marvell MV643XX");2107+MODULE_ALIAS("platform:mv643xx_eth");21082109/*2110 * The second part is the low level driver of the gigE ethernet ports.
+1-1
drivers/net/pcmcia/axnet_cs.c
···1268 }1269 }12701271- if (interrupts && ei_debug) 1272 {1273 handled = 1;1274 if (nr_serviced >= MAX_SERVICE)
···1268 }1269 }12701271+ if (interrupts && ei_debug > 3) 1272 {1273 handled = 1;1274 if (nr_serviced >= MAX_SERVICE)
+1
drivers/net/phy/Kconfig
···6768config FIXED_PHY69 bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"070 ---help---71 Adds the platform "fixed" MDIO Bus to cover the boards that use72 PHYs that are not connected to the real MDIO bus.
···6768config FIXED_PHY69 bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"70+ depends on PHYLIB=y71 ---help---72 Adds the platform "fixed" MDIO Bus to cover the boards that use73 PHYs that are not connected to the real MDIO bus.
+14-3
drivers/net/phy/davicom.c
···3738#define MII_DM9161_SCR 0x1039#define MII_DM9161_SCR_INIT 0x061004041/* DM9161 Interrupt Register */42#define MII_DM9161_INTR 0x15···104105static int dm9161_config_init(struct phy_device *phydev)106{107- int err;108109 /* Isolate the PHY */110 err = phy_write(phydev, MII_BMCR, BMCR_ISOLATE);···112 if (err < 0)113 return err;114115- /* Do not bypass the scrambler/descrambler */116- err = phy_write(phydev, MII_DM9161_SCR, MII_DM9161_SCR_INIT);0000000011700118 if (err < 0)119 return err;120
···3738#define MII_DM9161_SCR 0x1039#define MII_DM9161_SCR_INIT 0x061040+#define MII_DM9161_SCR_RMII 0x01004142/* DM9161 Interrupt Register */43#define MII_DM9161_INTR 0x15···103104static int dm9161_config_init(struct phy_device *phydev)105{106+ int err, temp;107108 /* Isolate the PHY */109 err = phy_write(phydev, MII_BMCR, BMCR_ISOLATE);···111 if (err < 0)112 return err;113114+ switch (phydev->interface) {115+ case PHY_INTERFACE_MODE_MII:116+ temp = MII_DM9161_SCR_INIT;117+ break;118+ case PHY_INTERFACE_MODE_RMII:119+ temp = MII_DM9161_SCR_INIT | MII_DM9161_SCR_RMII;120+ break;121+ default:122+ return -EINVAL;123+ }124125+ /* Do not bypass the scrambler/descrambler */126+ err = phy_write(phydev, MII_DM9161_SCR, temp);127 if (err < 0)128 return err;129
+37-32
drivers/net/pppol2tp.c
···302 struct pppol2tp_session *session;303 struct hlist_node *walk;304305- read_lock(&tunnel->hlist_lock);306 hlist_for_each_entry(session, walk, session_list, hlist) {307 if (session->tunnel_addr.s_session == session_id) {308- read_unlock(&tunnel->hlist_lock);309 return session;310 }311 }312- read_unlock(&tunnel->hlist_lock);313314 return NULL;315}···320{321 struct pppol2tp_tunnel *tunnel = NULL;322323- read_lock(&pppol2tp_tunnel_list_lock);324 list_for_each_entry(tunnel, &pppol2tp_tunnel_list, list) {325 if (tunnel->stats.tunnel_id == tunnel_id) {326- read_unlock(&pppol2tp_tunnel_list_lock);327 return tunnel;328 }329 }330- read_unlock(&pppol2tp_tunnel_list_lock);331332 return NULL;333}···342static void pppol2tp_recv_queue_skb(struct pppol2tp_session *session, struct sk_buff *skb)343{344 struct sk_buff *skbp;0345 u16 ns = PPPOL2TP_SKB_CB(skb)->ns;346347- spin_lock(&session->reorder_q.lock);348- skb_queue_walk(&session->reorder_q, skbp) {349 if (PPPOL2TP_SKB_CB(skbp)->ns > ns) {350 __skb_insert(skb, skbp->prev, skbp, &session->reorder_q);351 PRINTK(session->debug, PPPOL2TP_MSG_SEQ, KERN_DEBUG,···361 __skb_queue_tail(&session->reorder_q, skb);362363out:364- spin_unlock(&session->reorder_q.lock);365}366367/* Dequeue a single skb.···372 int length = PPPOL2TP_SKB_CB(skb)->length;373 struct sock *session_sock = NULL;374375- /* We're about to requeue the skb, so unlink it and return resources376 * to its current owner (a socket receive buffer).377 */378- skb_unlink(skb, &session->reorder_q);379 skb_orphan(skb);380381 tunnel->stats.rx_packets++;···442 * expect to send up next, dequeue it and any other443 * in-sequence packets behind it.444 */445- spin_lock(&session->reorder_q.lock);446 skb_queue_walk_safe(&session->reorder_q, skb, tmp) {447 if (time_after(jiffies, PPPOL2TP_SKB_CB(skb)->expires)) {448 session->stats.rx_seq_discards++;···470 goto out;471 }472 }473- spin_unlock(&session->reorder_q.lock);00000474 pppol2tp_recv_dequeue_skb(session, skb);475- spin_lock(&session->reorder_q.lock);476 }477478out:479- spin_unlock(&session->reorder_q.lock);480}481482/* Internal receive frame. Do the real work of receiving an L2TP data frame···10641065 /* Get routing info from the tunnel socket */1066 dst_release(skb->dst);1067- skb->dst = sk_dst_get(sk_tun);1068 skb_orphan(skb);1069 skb->sk = sk_tun;1070···1112 PRINTK(tunnel->debug, PPPOL2TP_MSG_CONTROL, KERN_INFO,1113 "%s: closing all sessions...\n", tunnel->name);11141115- write_lock(&tunnel->hlist_lock);1116 for (hash = 0; hash < PPPOL2TP_HASH_SIZE; hash++) {1117again:1118 hlist_for_each_safe(walk, tmp, &tunnel->session_hlist[hash]) {···1134 * disappear as we're jumping between locks.1135 */1136 sock_hold(sk);1137- write_unlock(&tunnel->hlist_lock);1138 lock_sock(sk);11391140 if (sk->sk_state & (PPPOX_CONNECTED | PPPOX_BOUND)) {···1159 * list so we are guaranteed to make forward1160 * progress.1161 */1162- write_lock(&tunnel->hlist_lock);1163 goto again;1164 }1165 }1166- write_unlock(&tunnel->hlist_lock);1167}11681169/* Really kill the tunnel.···1172static void pppol2tp_tunnel_free(struct pppol2tp_tunnel *tunnel)1173{1174 /* Remove from socket list */1175- write_lock(&pppol2tp_tunnel_list_lock);1176 list_del_init(&tunnel->list);1177- write_unlock(&pppol2tp_tunnel_list_lock);11781179 atomic_dec(&pppol2tp_tunnel_count);1180 kfree(tunnel);···1250 /* Delete the session socket from the1251 * hash1252 */1253- write_lock(&tunnel->hlist_lock);1254 hlist_del_init(&session->hlist);1255- write_unlock(&tunnel->hlist_lock);12561257 atomic_dec(&pppol2tp_session_count);1258 }···13971398 /* Add tunnel to our list */1399 INIT_LIST_HEAD(&tunnel->list);1400- write_lock(&pppol2tp_tunnel_list_lock);1401 list_add(&tunnel->list, &pppol2tp_tunnel_list);1402- write_unlock(&pppol2tp_tunnel_list_lock);1403 atomic_inc(&pppol2tp_tunnel_count);14041405 /* Bump the reference count. The tunnel context is deleted···1604 sk->sk_user_data = session;16051606 /* Add session to the tunnel's hash list */1607- write_lock(&tunnel->hlist_lock);1608 hlist_add_head(&session->hlist,1609 pppol2tp_session_id_hash(tunnel,1610 session->tunnel_addr.s_session));1611- write_unlock(&tunnel->hlist_lock);16121613 atomic_inc(&pppol2tp_session_count);1614···2210 int next = 0;2211 int i;22122213- read_lock(&tunnel->hlist_lock);2214 for (i = 0; i < PPPOL2TP_HASH_SIZE; i++) {2215 hlist_for_each_entry(session, walk, &tunnel->session_hlist[i], hlist) {2216 if (curr == NULL) {···2228 }2229 }2230out:2231- read_unlock(&tunnel->hlist_lock);2232 if (!found)2233 session = NULL;2234···2239{2240 struct pppol2tp_tunnel *tunnel = NULL;22412242- read_lock(&pppol2tp_tunnel_list_lock);2243 if (list_is_last(&curr->list, &pppol2tp_tunnel_list)) {2244 goto out;2245 }2246 tunnel = list_entry(curr->list.next, struct pppol2tp_tunnel, list);2247out:2248- read_unlock(&pppol2tp_tunnel_list_lock);22492250 return tunnel;2251}
···302 struct pppol2tp_session *session;303 struct hlist_node *walk;304305+ read_lock_bh(&tunnel->hlist_lock);306 hlist_for_each_entry(session, walk, session_list, hlist) {307 if (session->tunnel_addr.s_session == session_id) {308+ read_unlock_bh(&tunnel->hlist_lock);309 return session;310 }311 }312+ read_unlock_bh(&tunnel->hlist_lock);313314 return NULL;315}···320{321 struct pppol2tp_tunnel *tunnel = NULL;322323+ read_lock_bh(&pppol2tp_tunnel_list_lock);324 list_for_each_entry(tunnel, &pppol2tp_tunnel_list, list) {325 if (tunnel->stats.tunnel_id == tunnel_id) {326+ read_unlock_bh(&pppol2tp_tunnel_list_lock);327 return tunnel;328 }329 }330+ read_unlock_bh(&pppol2tp_tunnel_list_lock);331332 return NULL;333}···342static void pppol2tp_recv_queue_skb(struct pppol2tp_session *session, struct sk_buff *skb)343{344 struct sk_buff *skbp;345+ struct sk_buff *tmp;346 u16 ns = PPPOL2TP_SKB_CB(skb)->ns;347348+ spin_lock_bh(&session->reorder_q.lock);349+ skb_queue_walk_safe(&session->reorder_q, skbp, tmp) {350 if (PPPOL2TP_SKB_CB(skbp)->ns > ns) {351 __skb_insert(skb, skbp->prev, skbp, &session->reorder_q);352 PRINTK(session->debug, PPPOL2TP_MSG_SEQ, KERN_DEBUG,···360 __skb_queue_tail(&session->reorder_q, skb);361362out:363+ spin_unlock_bh(&session->reorder_q.lock);364}365366/* Dequeue a single skb.···371 int length = PPPOL2TP_SKB_CB(skb)->length;372 struct sock *session_sock = NULL;373374+ /* We're about to requeue the skb, so return resources375 * to its current owner (a socket receive buffer).376 */0377 skb_orphan(skb);378379 tunnel->stats.rx_packets++;···442 * expect to send up next, dequeue it and any other443 * in-sequence packets behind it.444 */445+ spin_lock_bh(&session->reorder_q.lock);446 skb_queue_walk_safe(&session->reorder_q, skb, tmp) {447 if (time_after(jiffies, PPPOL2TP_SKB_CB(skb)->expires)) {448 session->stats.rx_seq_discards++;···470 goto out;471 }472 }473+ __skb_unlink(skb, &session->reorder_q);474+475+ /* Process the skb. We release the queue lock while we476+ * do so to let other contexts process the queue.477+ */478+ spin_unlock_bh(&session->reorder_q.lock);479 pppol2tp_recv_dequeue_skb(session, skb);480+ spin_lock_bh(&session->reorder_q.lock);481 }482483out:484+ spin_unlock_bh(&session->reorder_q.lock);485}486487/* Internal receive frame. Do the real work of receiving an L2TP data frame···10591060 /* Get routing info from the tunnel socket */1061 dst_release(skb->dst);1062+ skb->dst = dst_clone(__sk_dst_get(sk_tun));1063 skb_orphan(skb);1064 skb->sk = sk_tun;1065···1107 PRINTK(tunnel->debug, PPPOL2TP_MSG_CONTROL, KERN_INFO,1108 "%s: closing all sessions...\n", tunnel->name);11091110+ write_lock_bh(&tunnel->hlist_lock);1111 for (hash = 0; hash < PPPOL2TP_HASH_SIZE; hash++) {1112again:1113 hlist_for_each_safe(walk, tmp, &tunnel->session_hlist[hash]) {···1129 * disappear as we're jumping between locks.1130 */1131 sock_hold(sk);1132+ write_unlock_bh(&tunnel->hlist_lock);1133 lock_sock(sk);11341135 if (sk->sk_state & (PPPOX_CONNECTED | PPPOX_BOUND)) {···1154 * list so we are guaranteed to make forward1155 * progress.1156 */1157+ write_lock_bh(&tunnel->hlist_lock);1158 goto again;1159 }1160 }1161+ write_unlock_bh(&tunnel->hlist_lock);1162}11631164/* Really kill the tunnel.···1167static void pppol2tp_tunnel_free(struct pppol2tp_tunnel *tunnel)1168{1169 /* Remove from socket list */1170+ write_lock_bh(&pppol2tp_tunnel_list_lock);1171 list_del_init(&tunnel->list);1172+ write_unlock_bh(&pppol2tp_tunnel_list_lock);11731174 atomic_dec(&pppol2tp_tunnel_count);1175 kfree(tunnel);···1245 /* Delete the session socket from the1246 * hash1247 */1248+ write_lock_bh(&tunnel->hlist_lock);1249 hlist_del_init(&session->hlist);1250+ write_unlock_bh(&tunnel->hlist_lock);12511252 atomic_dec(&pppol2tp_session_count);1253 }···13921393 /* Add tunnel to our list */1394 INIT_LIST_HEAD(&tunnel->list);1395+ write_lock_bh(&pppol2tp_tunnel_list_lock);1396 list_add(&tunnel->list, &pppol2tp_tunnel_list);1397+ write_unlock_bh(&pppol2tp_tunnel_list_lock);1398 atomic_inc(&pppol2tp_tunnel_count);13991400 /* Bump the reference count. The tunnel context is deleted···1599 sk->sk_user_data = session;16001601 /* Add session to the tunnel's hash list */1602+ write_lock_bh(&tunnel->hlist_lock);1603 hlist_add_head(&session->hlist,1604 pppol2tp_session_id_hash(tunnel,1605 session->tunnel_addr.s_session));1606+ write_unlock_bh(&tunnel->hlist_lock);16071608 atomic_inc(&pppol2tp_session_count);1609···2205 int next = 0;2206 int i;22072208+ read_lock_bh(&tunnel->hlist_lock);2209 for (i = 0; i < PPPOL2TP_HASH_SIZE; i++) {2210 hlist_for_each_entry(session, walk, &tunnel->session_hlist[i], hlist) {2211 if (curr == NULL) {···2223 }2224 }2225out:2226+ read_unlock_bh(&tunnel->hlist_lock);2227 if (!found)2228 session = NULL;2229···2234{2235 struct pppol2tp_tunnel *tunnel = NULL;22362237+ read_lock_bh(&pppol2tp_tunnel_list_lock);2238 if (list_is_last(&curr->list, &pppol2tp_tunnel_list)) {2239 goto out;2240 }2241 tunnel = list_entry(curr->list.next, struct pppol2tp_tunnel, list);2242out:2243+ read_unlock_bh(&pppol2tp_tunnel_list_lock);22442245 return tunnel;2246}
···1088 * '-1' on failure1089 */10901091+static int init_tti(struct s2io_nic *nic, int link)1092{1093 struct XENA_dev_config __iomem *bar0 = nic->bar0;1094 register u64 val64 = 0;
+2-1
drivers/net/tulip/de2104x.c
···910 unsigned media = de->media_type;911 u32 macmode = dr32(MacMode);912913- BUG_ON(de_is_running(de));0914915 if (de->de21040)916 dw32(CSR11, FULL_DUPLEX_MAGIC);
···910 unsigned media = de->media_type;911 u32 macmode = dr32(MacMode);912913+ if (de_is_running(de))914+ printk(KERN_WARNING "%s: chip is running while changing media!\n", de->dev->name);915916 if (de->de21040)917 dw32(CSR11, FULL_DUPLEX_MAGIC);
···578 goto done;579 }580 if (respcmd != CMD_RET(curcmd) &&581- respcmd != CMD_802_11_ASSOCIATE && curcmd != CMD_RET_802_11_ASSOCIATE) {582 lbs_pr_info("Invalid CMD_RESP %x to command %x!\n", respcmd, curcmd);583 spin_unlock_irqrestore(&priv->driver_lock, flags);584 ret = -1;
···578 goto done;579 }580 if (respcmd != CMD_RET(curcmd) &&581+ respcmd != CMD_RET_802_11_ASSOCIATE && curcmd != CMD_802_11_ASSOCIATE) {582 lbs_pr_info("Invalid CMD_RESP %x to command %x!\n", respcmd, curcmd);583 spin_unlock_irqrestore(&priv->driver_lock, flags);584 ret = -1;
+2-2
drivers/net/wireless/rt2x00/rt61pci.c
···2302 * Apply some rules to the filters:2303 * - Some filters imply different filters to be set.2304 * - Some things we can't filter out at all.02305 */2306- if (mc_count)2307- *total_flags |= FIF_ALLMULTI;2308 if (*total_flags & FIF_OTHER_BSS ||2309 *total_flags & FIF_PROMISC_IN_BSS)2310 *total_flags |= FIF_PROMISC_IN_BSS | FIF_OTHER_BSS;
···2302 * Apply some rules to the filters:2303 * - Some filters imply different filters to be set.2304 * - Some things we can't filter out at all.2305+ * - Multicast filter seems to kill broadcast traffic so never use it.2306 */2307+ *total_flags |= FIF_ALLMULTI;02308 if (*total_flags & FIF_OTHER_BSS ||2309 *total_flags & FIF_PROMISC_IN_BSS)2310 *total_flags |= FIF_PROMISC_IN_BSS | FIF_OTHER_BSS;
+3-2
drivers/net/wireless/rt2x00/rt73usb.c
···1869 * Apply some rules to the filters:1870 * - Some filters imply different filters to be set.1871 * - Some things we can't filter out at all.01872 */1873- if (mc_count)1874- *total_flags |= FIF_ALLMULTI;1875 if (*total_flags & FIF_OTHER_BSS ||1876 *total_flags & FIF_PROMISC_IN_BSS)1877 *total_flags |= FIF_PROMISC_IN_BSS | FIF_OTHER_BSS;···2098 /* D-Link */2099 { USB_DEVICE(0x07d1, 0x3c03), USB_DEVICE_DATA(&rt73usb_ops) },2100 { USB_DEVICE(0x07d1, 0x3c04), USB_DEVICE_DATA(&rt73usb_ops) },02101 /* Gemtek */2102 { USB_DEVICE(0x15a9, 0x0004), USB_DEVICE_DATA(&rt73usb_ops) },2103 /* Gigabyte */
···1869 * Apply some rules to the filters:1870 * - Some filters imply different filters to be set.1871 * - Some things we can't filter out at all.1872+ * - Multicast filter seems to kill broadcast traffic so never use it.1873 */1874+ *total_flags |= FIF_ALLMULTI;01875 if (*total_flags & FIF_OTHER_BSS ||1876 *total_flags & FIF_PROMISC_IN_BSS)1877 *total_flags |= FIF_PROMISC_IN_BSS | FIF_OTHER_BSS;···2098 /* D-Link */2099 { USB_DEVICE(0x07d1, 0x3c03), USB_DEVICE_DATA(&rt73usb_ops) },2100 { USB_DEVICE(0x07d1, 0x3c04), USB_DEVICE_DATA(&rt73usb_ops) },2101+ { USB_DEVICE(0x07d1, 0x3c07), USB_DEVICE_DATA(&rt73usb_ops) },2102 /* Gemtek */2103 { USB_DEVICE(0x15a9, 0x0004), USB_DEVICE_DATA(&rt73usb_ops) },2104 /* Gigabyte */
+5-1
drivers/pci/bus.c
···143 /* register the bus with sysfs as the parent is now144 * properly registered. */145 child_bus = dev->subordinate;00146 child_bus->dev.parent = child_bus->bridge;147 retval = device_register(&child_bus->dev);148 if (retval)149 dev_err(&dev->dev, "Error registering pci_bus,"150 " continuing...\n");151- else0152 retval = device_create_file(&child_bus->dev,153 &dev_attr_cpuaffinity);0154 if (retval)155 dev_err(&dev->dev, "Error creating cpuaffinity"156 " file, continuing...\n");
···143 /* register the bus with sysfs as the parent is now144 * properly registered. */145 child_bus = dev->subordinate;146+ if (child_bus->is_added)147+ continue;148 child_bus->dev.parent = child_bus->bridge;149 retval = device_register(&child_bus->dev);150 if (retval)151 dev_err(&dev->dev, "Error registering pci_bus,"152 " continuing...\n");153+ else {154+ child_bus->is_added = 1;155 retval = device_create_file(&child_bus->dev,156 &dev_attr_cpuaffinity);157+ }158 if (retval)159 dev_err(&dev->dev, "Error creating cpuaffinity"160 " file, continuing...\n");
+16-8
drivers/pci/pci-acpi.c
···272{273 acpi_handle handle = DEVICE_ACPI_HANDLE(&dev->dev);274 acpi_handle tmp;275- static int state_conv[] = {276- [0] = 0,277- [1] = 1,278- [2] = 2,279- [3] = 3,280- [4] = 3281 };282- int acpi_state = state_conv[(int __force) state];283284 if (!handle)285 return -ENODEV;286 /* If the ACPI device has _EJ0, ignore the device */287 if (ACPI_SUCCESS(acpi_get_handle(handle, "_EJ0", &tmp)))288 return 0;289- return acpi_bus_set_power(handle, acpi_state);000000000290}291292
···272{273 acpi_handle handle = DEVICE_ACPI_HANDLE(&dev->dev);274 acpi_handle tmp;275+ static const u8 state_conv[] = {276+ [PCI_D0] = ACPI_STATE_D0,277+ [PCI_D1] = ACPI_STATE_D1,278+ [PCI_D2] = ACPI_STATE_D2,279+ [PCI_D3hot] = ACPI_STATE_D3,280+ [PCI_D3cold] = ACPI_STATE_D3281 };0282283 if (!handle)284 return -ENODEV;285 /* If the ACPI device has _EJ0, ignore the device */286 if (ACPI_SUCCESS(acpi_get_handle(handle, "_EJ0", &tmp)))287 return 0;288+289+ switch (state) {290+ case PCI_D0:291+ case PCI_D1:292+ case PCI_D2:293+ case PCI_D3hot:294+ case PCI_D3cold:295+ return acpi_bus_set_power(handle, state_conv[state]);296+ }297+ return -EINVAL;298}299300
+65-35
drivers/pnp/quirks.c
···17#include <linux/slab.h>18#include <linux/pnp.h>19#include <linux/io.h>20-#include <linux/dmi.h>21#include <linux/kallsyms.h>22#include "base.h"23···108 "pnp: SB audio device quirk - increasing port range\n");109}110111-static void quirk_supermicro_h8dce_system(struct pnp_dev *dev)112-{113- int i;114- static struct dmi_system_id supermicro_h8dce[] = {115- {116- .ident = "Supermicro H8DCE",117- .matches = {118- DMI_MATCH(DMI_SYS_VENDOR, "Supermicro"),119- DMI_MATCH(DMI_PRODUCT_NAME, "H8DCE"),120- },121- },122- { }123- };124125- if (!dmi_check_system(supermicro_h8dce))126- return;00000127128 /*129- * On the Supermicro H8DCE, there's a system device with resources130- * that overlap BAR 6 of the built-in SATA PCI adapter. If the PNP131- * system device claims them, the sata_nv driver won't be able to.132- * More details at:133- * https://bugzilla.redhat.com/show_bug.cgi?id=280641134- * https://bugzilla.redhat.com/show_bug.cgi?id=313491135- * http://lkml.org/lkml/2008/1/9/449136- * http://thread.gmane.org/gmane.linux.acpi.devel/27312137 */138- for (i = 0; i < PNP_MAX_MEM; i++) {139- if (pnp_mem_valid(dev, i) && pnp_mem_len(dev, i) &&140- (pnp_mem_start(dev, i) & 0xdfef0000) == 0xdfef0000) {141- dev_warn(&dev->dev, "disabling 0x%llx-0x%llx to prevent"142- " conflict with sata_nv PCI device\n",143- (unsigned long long) pnp_mem_start(dev, i),144- (unsigned long long) (pnp_mem_start(dev, i) +145- pnp_mem_len(dev, i) - 1));146- pnp_mem_flags(dev, i) = 0;0000000000000000000000000000000000000000147 }148 }149}···199 {"CTL0043", quirk_sb16audio_resources},200 {"CTL0044", quirk_sb16audio_resources},201 {"CTL0045", quirk_sb16audio_resources},202- {"PNP0c01", quirk_supermicro_h8dce_system},203- {"PNP0c02", quirk_supermicro_h8dce_system},204 {""}205};206
···17#include <linux/slab.h>18#include <linux/pnp.h>19#include <linux/io.h>020#include <linux/kallsyms.h>21#include "base.h"22···109 "pnp: SB audio device quirk - increasing port range\n");110}1110000000000000112113+#include <linux/pci.h>114+115+static void quirk_system_pci_resources(struct pnp_dev *dev)116+{117+ struct pci_dev *pdev = NULL;118+ resource_size_t pnp_start, pnp_end, pci_start, pci_end;119+ int i, j;120121 /*122+ * Some BIOSes have PNP motherboard devices with resources that123+ * partially overlap PCI BARs. The PNP system driver claims these124+ * motherboard resources, which prevents the normal PCI driver from125+ * requesting them later.126+ *127+ * This patch disables the PNP resources that conflict with PCI BARs128+ * so they won't be claimed by the PNP system driver.0129 */130+ for_each_pci_dev(pdev) {131+ for (i = 0; i < DEVICE_COUNT_RESOURCE; i++) {132+ if (!(pci_resource_flags(pdev, i) & IORESOURCE_MEM) ||133+ pci_resource_len(pdev, i) == 0)134+ continue;135+136+ pci_start = pci_resource_start(pdev, i);137+ pci_end = pci_resource_end(pdev, i);138+ for (j = 0; j < PNP_MAX_MEM; j++) {139+ if (!pnp_mem_valid(dev, j) ||140+ pnp_mem_len(dev, j) == 0)141+ continue;142+143+ pnp_start = pnp_mem_start(dev, j);144+ pnp_end = pnp_mem_end(dev, j);145+146+ /*147+ * If the PNP region doesn't overlap the PCI148+ * region at all, there's no problem.149+ */150+ if (pnp_end < pci_start || pnp_start > pci_end)151+ continue;152+153+ /*154+ * If the PNP region completely encloses (or is155+ * at least as large as) the PCI region, that's156+ * also OK. For example, this happens when the157+ * PNP device describes a bridge with PCI158+ * behind it.159+ */160+ if (pnp_start <= pci_start &&161+ pnp_end >= pci_end)162+ continue;163+164+ /*165+ * Otherwise, the PNP region overlaps *part* of166+ * the PCI region, and that might prevent a PCI167+ * driver from requesting its resources.168+ */169+ dev_warn(&dev->dev, "mem resource "170+ "(0x%llx-0x%llx) overlaps %s BAR %d "171+ "(0x%llx-0x%llx), disabling\n",172+ (unsigned long long) pnp_start,173+ (unsigned long long) pnp_end,174+ pci_name(pdev), i,175+ (unsigned long long) pci_start,176+ (unsigned long long) pci_end);177+ pnp_mem_flags(dev, j) = 0;178+ }179 }180 }181}···169 {"CTL0043", quirk_sb16audio_resources},170 {"CTL0044", quirk_sb16audio_resources},171 {"CTL0045", quirk_sb16audio_resources},172+ {"PNP0c01", quirk_system_pci_resources},173+ {"PNP0c02", quirk_system_pci_resources},174 {""}175};176
+2-2
drivers/spi/au1550_spi.c
···99static void au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw);100101102-/**103 * compute BRG and DIV bits to setup spi clock based on main input clock rate104 * that was specified in platform data structure105 * according to au1550 datasheet:···650 return hw->txrx_bufs(spi, t);651}652653-static irqreturn_t au1550_spi_irq(int irq, void *dev, struct pt_regs *regs)654{655 struct au1550_spi *hw = dev;656 return hw->irq_callback(hw);
···99static void au1550_spi_bits_handlers_set(struct au1550_spi *hw, int bpw);100101102+/*103 * compute BRG and DIV bits to setup spi clock based on main input clock rate104 * that was specified in platform data structure105 * according to au1550 datasheet:···650 return hw->txrx_bufs(spi, t);651}652653+static irqreturn_t au1550_spi_irq(int irq, void *dev)654{655 struct au1550_spi *hw = dev;656 return hw->irq_callback(hw);
+5-3
drivers/spi/spi_bitbang.c
···344 t->rx_dma = t->tx_dma = 0;345 status = bitbang->txrx_bufs(spi, t);346 }00347 if (status != t->len) {348- if (status > 0)349- status = -EMSGSIZE;0350 break;351 }352- m->actual_length += status;353 status = 0;354355 /* protocol tweaks before next transfer */
···344 t->rx_dma = t->tx_dma = 0;345 status = bitbang->txrx_bufs(spi, t);346 }347+ if (status > 0)348+ m->actual_length += status;349 if (status != t->len) {350+ /* always report some kind of error */351+ if (status >= 0)352+ status = -EREMOTEIO;353 break;354 }0355 status = 0;356357 /* protocol tweaks before next transfer */
+1
drivers/thermal/Kconfig
···45menuconfig THERMAL6 bool "Generic Thermal sysfs driver"07 default y8 help9 Generic Thermal Sysfs driver offers a generic mechanism for
···377 * Don't create negative dentries here, return -ENOENT by hand378 * instead.379 */380-struct dentry *proc_lookup(struct inode * dir, struct dentry *dentry, struct nameidata *nd)0381{382 struct inode *inode = NULL;383- struct proc_dir_entry * de;384 int error = -ENOENT;385386 lock_kernel();387 spin_lock(&proc_subdir_lock);388- de = PDE(dir);389 if (de) {390 for (de = de->subdir; de ; de = de->next) {391 if (de->namelen != dentry->d_name.len)···392 if (!memcmp(dentry->d_name.name, de->name, de->namelen)) {393 unsigned int ino;394395- if (de->shadow_proc)396- de = de->shadow_proc(current, de);397 ino = de->low_ino;398 de_get(de);399 spin_unlock(&proc_subdir_lock);···414 return ERR_PTR(error);415}416000000417/*418 * This returns non-zero if at EOF, so that the /proc419 * root directory can use this and check if it should···429 * value of the readdir() call, as long as it's non-negative430 * for success..431 */432-int proc_readdir(struct file * filp,433- void * dirent, filldir_t filldir)434{435- struct proc_dir_entry * de;436 unsigned int ino;437 int i;438 struct inode *inode = filp->f_path.dentry->d_inode;···440 lock_kernel();441442 ino = inode->i_ino;443- de = PDE(inode);444 if (!de) {445 ret = -EINVAL;446 goto out;···498 ret = 1;499out: unlock_kernel();500 return ret; 0000000501}502503/*
···377 * Don't create negative dentries here, return -ENOENT by hand378 * instead.379 */380+struct dentry *proc_lookup_de(struct proc_dir_entry *de, struct inode *dir,381+ struct dentry *dentry)382{383 struct inode *inode = NULL;0384 int error = -ENOENT;385386 lock_kernel();387 spin_lock(&proc_subdir_lock);0388 if (de) {389 for (de = de->subdir; de ; de = de->next) {390 if (de->namelen != dentry->d_name.len)···393 if (!memcmp(dentry->d_name.name, de->name, de->namelen)) {394 unsigned int ino;39500396 ino = de->low_ino;397 de_get(de);398 spin_unlock(&proc_subdir_lock);···417 return ERR_PTR(error);418}419420+struct dentry *proc_lookup(struct inode *dir, struct dentry *dentry,421+ struct nameidata *nd)422+{423+ return proc_lookup_de(PDE(dir), dir, dentry);424+}425+426/*427 * This returns non-zero if at EOF, so that the /proc428 * root directory can use this and check if it should···426 * value of the readdir() call, as long as it's non-negative427 * for success..428 */429+int proc_readdir_de(struct proc_dir_entry *de, struct file *filp, void *dirent,430+ filldir_t filldir)431{0432 unsigned int ino;433 int i;434 struct inode *inode = filp->f_path.dentry->d_inode;···438 lock_kernel();439440 ino = inode->i_ino;0441 if (!de) {442 ret = -EINVAL;443 goto out;···497 ret = 1;498out: unlock_kernel();499 return ret; 500+}501+502+int proc_readdir(struct file *filp, void *dirent, filldir_t filldir)503+{504+ struct inode *inode = filp->f_path.dentry->d_inode;505+506+ return proc_readdir_de(PDE(inode), filp, dirent, filldir);507}508509/*
···2728/* defines for UART registers */2930-#include "asm/plat-s3c/regs-serial.h"31-#include "asm/plat-s3c/regs-watchdog.h"3233/* working in physical space... */34#undef S3C2410_WDOGREG
···2728/* defines for UART registers */2930+#include <asm/plat-s3c/regs-serial.h>31+#include <asm/plat-s3c/regs-watchdog.h>3233/* working in physical space... */34#undef S3C2410_WDOGREG
···93 clear_bit(PG_dcache_dirty, &(page)->flags)9495/* Run kernel code uncached, useful for cache probing functions. */96-unsigned long __init run_uncached(void *func);9798extern void *kmap_coherent(struct page *page, unsigned long addr);99extern void kunmap_coherent(void);
···93 clear_bit(PG_dcache_dirty, &(page)->flags)9495/* Run kernel code uncached, useful for cache probing functions. */96+unsigned long run_uncached(void *func);9798extern void *kmap_coherent(struct page *page, unsigned long addr);99extern void kunmap_coherent(void);
-1
include/asm-mips/highmem.h
···39 * easily, subsequent pte tables have to be allocated in one physical40 * chunk of RAM.41 */42-#define PKMAP_BASE (0xfe000000UL)43#define LAST_PKMAP 102444#define LAST_PKMAP_MASK (LAST_PKMAP-1)45#define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT)
···39 * easily, subsequent pte tables have to be allocated in one physical40 * chunk of RAM.41 */042#define LAST_PKMAP 102443#define LAST_PKMAP_MASK (LAST_PKMAP-1)44#define PKMAP_NR(virt) ((virt-PKMAP_BASE) >> PAGE_SHIFT)
···64 * Initialize the count register as a clocksource65 */66#ifdef CONFIG_CEVT_R4K67-extern void init_mips_clocksource(void);68#else69-static inline void init_mips_clocksource(void)70{071}72#endif73
···64 * Initialize the count register as a clocksource65 */66#ifdef CONFIG_CEVT_R4K67+extern int init_mips_clocksource(void);68#else69+static inline int init_mips_clocksource(void)70{71+ return 0;72}73#endif74
-8
include/asm-powerpc/pgtable-ppc32.h
···339#define _PMD_PAGE_MASK 0x000c340#define _PMD_PAGE_8M 0x000c341342-/*343- * The 8xx TLB miss handler allegedly sets _PAGE_ACCESSED in the PTE344- * for an address even if _PAGE_PRESENT is not set, as a performance345- * optimization. This is a bug if you ever want to use swap unless346- * _PAGE_ACCESSED is 2, which it isn't, or unless you have 8xx-specific347- * definitions for __swp_entry etc. below, which would be gross.348- * -- paulus349- */350#define _PTE_NONE_MASK _PAGE_ACCESSED351352#else /* CONFIG_6xx */
···299#define _PMD_PAGE_MASK 0x000c300#define _PMD_PAGE_8M 0x000c301302-/*303- * The 8xx TLB miss handler allegedly sets _PAGE_ACCESSED in the PTE304- * for an address even if _PAGE_PRESENT is not set, as a performance305- * optimization. This is a bug if you ever want to use swap unless306- * _PAGE_ACCESSED is 2, which it isn't, or unless you have 8xx-specific307- * definitions for __swp_entry etc. below, which would be gross.308- * -- paulus309- */310#define _PTE_NONE_MASK _PAGE_ACCESSED311312#else /* CONFIG_6xx */
···12#ifndef _LINUX_ETHTOOL_H13#define _LINUX_ETHTOOL_H1401516/* This should work for both 32 and 64 bit userland. */17struct ethtool_cmd {
···12#ifndef _LINUX_ETHTOOL_H13#define _LINUX_ETHTOOL_H1415+#include <linux/types.h>1617/* This should work for both 32 and 64 bit userland. */18struct ethtool_cmd {
+3-27
include/linux/genhd.h
···55 UNIXWARE_PARTITION = 0x63, /* Same as GNU_HURD and SCO Unix */56};5758-#ifndef __KERNEL__59-60-struct partition {61- unsigned char boot_ind; /* 0x80 - active */62- unsigned char head; /* starting head */63- unsigned char sector; /* starting sector */64- unsigned char cyl; /* starting cylinder */65- unsigned char sys_ind; /* What partition type */66- unsigned char end_head; /* end head */67- unsigned char end_sector; /* end sector */68- unsigned char end_cyl; /* end cylinder */69- unsigned int start_sect; /* starting sector counting from 0 */70- unsigned int nr_sects; /* nr of sectors in partition */71-} __attribute__((packed));72-73-#endif74-75-#ifdef __KERNEL__76#include <linux/major.h>77#include <linux/device.h>78#include <linux/smp.h>···210 sizeof(struct disk_stats));211}212213-#else214#define __disk_stat_add(gendiskp, field, addnd) \215 (gendiskp->dkstats.field += addnd)216#define disk_stat_read(gendiskp, field) (gendiskp->dkstats.field)···238 memset(&part->dkstats, value, sizeof(struct disk_stats));239}240241-#endif242243#define disk_stat_add(gendiskp, field, addnd) \244 do { \···376{377 disk->capacity = size;378}379-380-#endif /* __KERNEL__ */381382#ifdef CONFIG_SOLARIS_X86_PARTITION383···520# define MINIX_NR_SUBPARTITIONS 4521#endif /* CONFIG_MINIX_SUBPARTITION */522523-#ifdef __KERNEL__524-525#define ADDPART_FLAG_NONE 0526#define ADDPART_FLAG_RAID 1527#define ADDPART_FLAG_WHOLEDISK 2···548 return bdget(MKDEV(disk->major, disk->first_minor) + index);549}550551-#endif552-553#else /* CONFIG_BLOCK */554555static inline void printk_all_partitions(void) { }···560561#endif /* CONFIG_BLOCK */562563-#endif
···235struct page *vmalloc_to_page(const void *addr);236unsigned long vmalloc_to_pfn(const void *addr);237238-#ifdef CONFIG_MMU239-/* Determine if an address is within the vmalloc range */0000240static inline int is_vmalloc_addr(const void *x)241{0242 unsigned long addr = (unsigned long)x;243244 return addr >= VMALLOC_START && addr < VMALLOC_END;245-}0246#endif0247248static inline struct page *compound_head(struct page *page)249{
···235struct page *vmalloc_to_page(const void *addr);236unsigned long vmalloc_to_pfn(const void *addr);237238+/*239+ * Determine if an address is within the vmalloc range240+ *241+ * On nommu, vmalloc/vfree wrap through kmalloc/kfree directly, so there242+ * is no special casing required.243+ */244static inline int is_vmalloc_addr(const void *x)245{246+#ifdef CONFIG_MMU247 unsigned long addr = (unsigned long)x;248249 return addr >= VMALLOC_START && addr < VMALLOC_END;250+#else251+ return 0;252#endif253+}254255static inline struct page *compound_head(struct page *page)256{
+1-1
include/linux/netfilter/nfnetlink_compat.h
···1#ifndef _NFNETLINK_COMPAT_H2#define _NFNETLINK_COMPAT_H3-#ifndef __KERNEL4/* Old nfnetlink macros for userspace */56/* nfnetlink groups: Up to 32 maximum */
···1#ifndef _NFNETLINK_COMPAT_H2#define _NFNETLINK_COMPAT_H3+#ifndef __KERNEL__4/* Old nfnetlink macros for userspace */56/* nfnetlink groups: Up to 32 maximum */
+1
include/linux/pci.h
···278 struct device dev;279 struct bin_attribute *legacy_io; /* legacy I/O for this bus */280 struct bin_attribute *legacy_mem; /* legacy mem */0281};282283#define pci_bus_b(n) list_entry(n, struct pci_bus, node)
···278 struct device dev;279 struct bin_attribute *legacy_io; /* legacy I/O for this bus */280 struct bin_attribute *legacy_mem; /* legacy mem */281+ unsigned int is_added:1;282};283284#define pci_bus_b(n) list_entry(n, struct pci_bus, node)
+8-1
include/linux/pmu.h
···147/* For use before switching interrupts off for a long time;148 * warning: not stackable149 */0150extern void pmu_suspend(void);151extern void pmu_resume(void);000000152153extern void pmu_enable_irled(int on);154···199extern void pmu_backlight_init(void);200201/* some code needs to know if the PMU was suspended for hibernation */202-#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_PPC32)203extern int pmu_sys_suspended;204#else205/* if power management is not configured it can't be suspended */
···147/* For use before switching interrupts off for a long time;148 * warning: not stackable149 */150+#if defined(CONFIG_ADB_PMU)151extern void pmu_suspend(void);152extern void pmu_resume(void);153+#else154+static inline void pmu_suspend(void)155+{}156+static inline void pmu_resume(void)157+{}158+#endif159160extern void pmu_enable_irled(int on);161···192extern void pmu_backlight_init(void);193194/* some code needs to know if the PMU was suspended for hibernation */195+#if defined(CONFIG_SUSPEND) && defined(CONFIG_PPC32)196extern int pmu_sys_suspended;197#else198/* if power management is not configured it can't be suspended */
-3
include/linux/proc_fs.h
···50typedef int (write_proc_t)(struct file *file, const char __user *buffer,51 unsigned long count, void *data);52typedef int (get_info_t)(char *, char **, off_t, int);53-typedef struct proc_dir_entry *(shadow_proc_t)(struct task_struct *task,54- struct proc_dir_entry *pde);5556struct proc_dir_entry {57 unsigned int low_ino;···80 int pde_users; /* number of callers into module in progress */81 spinlock_t pde_unload_lock; /* proc_fops checks and pde_users bumps */82 struct completion *pde_unload_completion;83- shadow_proc_t *shadow_proc;84};8586struct kcore_list {
···50typedef int (write_proc_t)(struct file *file, const char __user *buffer,51 unsigned long count, void *data);52typedef int (get_info_t)(char *, char **, off_t, int);005354struct proc_dir_entry {55 unsigned int low_ino;···82 int pde_users; /* number of callers into module in progress */83 spinlock_t pde_unload_lock; /* proc_fops checks and pde_users bumps */84 struct completion *pde_unload_completion;085};8687struct kcore_list {
+1-1
include/net/bluetooth/bluetooth.h
···170int bt_err(__u16 code);171172extern int hci_sock_init(void);173-extern int hci_sock_cleanup(void);174175extern int bt_sysfs_init(void);176extern void bt_sysfs_cleanup(void);
···170int bt_err(__u16 code);171172extern int hci_sock_init(void);173+extern void hci_sock_cleanup(void);174175extern int bt_sysfs_init(void);176extern void bt_sysfs_cleanup(void);
···190 notification of APM "events" (e.g. battery status change).191192 In order to use APM, you will need supporting software. For location193- and more information, read <file:Documentation/pm.txt> and the194 Battery Powered Linux mini-HOWTO, available from195 <http://www.tldp.org/docs.html#howto>.196
···190 notification of APM "events" (e.g. battery status change).191192 In order to use APM, you will need supporting software. For location193+ and more information, read <file:Documentation/power/pm.txt> and the194 Battery Powered Linux mini-HOWTO, available from195 <http://www.tldp.org/docs.html#howto>.196
+34-7
kernel/power/snapshot.c
···447 * of @bm->cur_zone_bm are updated.448 */449450-static void memory_bm_find_bit(struct memory_bitmap *bm, unsigned long pfn,451 void **addr, unsigned int *bit_nr)452{453 struct zone_bitmap *zone_bm;···461 while (pfn < zone_bm->start_pfn || pfn >= zone_bm->end_pfn) {462 zone_bm = zone_bm->next;463464- BUG_ON(!zone_bm);0465 }466 bm->cur.zone_bm = zone_bm;467 }···480 pfn -= bb->start_pfn;481 *bit_nr = pfn % BM_BITS_PER_CHUNK;482 *addr = bb->data + pfn / BM_BITS_PER_CHUNK;0483}484485static void memory_bm_set_bit(struct memory_bitmap *bm, unsigned long pfn)486{487 void *addr;488 unsigned int bit;0489490- memory_bm_find_bit(bm, pfn, &addr, &bit);0491 set_bit(bit, addr);000000000000492}493494static void memory_bm_clear_bit(struct memory_bitmap *bm, unsigned long pfn)495{496 void *addr;497 unsigned int bit;0498499- memory_bm_find_bit(bm, pfn, &addr, &bit);0500 clear_bit(bit, addr);501}502···521{522 void *addr;523 unsigned int bit;0524525- memory_bm_find_bit(bm, pfn, &addr, &bit);0526 return test_bit(bit, addr);527}528···729 region->end_pfn << PAGE_SHIFT);730731 for (pfn = region->start_pfn; pfn < region->end_pfn; pfn++)732- if (pfn_valid(pfn))733- memory_bm_set_bit(bm, pfn);0000000734 }735}736
···447 * of @bm->cur_zone_bm are updated.448 */449450+static int memory_bm_find_bit(struct memory_bitmap *bm, unsigned long pfn,451 void **addr, unsigned int *bit_nr)452{453 struct zone_bitmap *zone_bm;···461 while (pfn < zone_bm->start_pfn || pfn >= zone_bm->end_pfn) {462 zone_bm = zone_bm->next;463464+ if (!zone_bm)465+ return -EFAULT;466 }467 bm->cur.zone_bm = zone_bm;468 }···479 pfn -= bb->start_pfn;480 *bit_nr = pfn % BM_BITS_PER_CHUNK;481 *addr = bb->data + pfn / BM_BITS_PER_CHUNK;482+ return 0;483}484485static void memory_bm_set_bit(struct memory_bitmap *bm, unsigned long pfn)486{487 void *addr;488 unsigned int bit;489+ int error;490491+ error = memory_bm_find_bit(bm, pfn, &addr, &bit);492+ BUG_ON(error);493 set_bit(bit, addr);494+}495+496+static int mem_bm_set_bit_check(struct memory_bitmap *bm, unsigned long pfn)497+{498+ void *addr;499+ unsigned int bit;500+ int error;501+502+ error = memory_bm_find_bit(bm, pfn, &addr, &bit);503+ if (!error)504+ set_bit(bit, addr);505+ return error;506}507508static void memory_bm_clear_bit(struct memory_bitmap *bm, unsigned long pfn)509{510 void *addr;511 unsigned int bit;512+ int error;513514+ error = memory_bm_find_bit(bm, pfn, &addr, &bit);515+ BUG_ON(error);516 clear_bit(bit, addr);517}518···503{504 void *addr;505 unsigned int bit;506+ int error;507508+ error = memory_bm_find_bit(bm, pfn, &addr, &bit);509+ BUG_ON(error);510 return test_bit(bit, addr);511}512···709 region->end_pfn << PAGE_SHIFT);710711 for (pfn = region->start_pfn; pfn < region->end_pfn; pfn++)712+ if (pfn_valid(pfn)) {713+ /*714+ * It is safe to ignore the result of715+ * mem_bm_set_bit_check() here, since we won't716+ * touch the PFNs for which the error is717+ * returned anyway.718+ */719+ mem_bm_set_bit_check(bm, pfn);720+ }721 }722}723
+16-14
lib/swiotlb.c
···310 start_dma_addr = virt_to_bus(io_tlb_start) & mask;311312 offset_slots = ALIGN(start_dma_addr, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT;313- max_slots = ALIGN(mask + 1, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT;00314315 /*316 * For mappings greater than a page, we limit the stride (and···335 index = ALIGN(io_tlb_index, stride);336 if (index >= io_tlb_nslabs)337 index = 0;338-339- while (is_span_boundary(index, nslots, offset_slots,340- max_slots)) {341- index += stride;342- if (index >= io_tlb_nslabs)343- index = 0;344- }345 wrap = index;346347 do {000000000348 /*349 * If we find a slot that indicates we have 'nslots'350 * number of contiguous buffers, we allocate the···371372 goto found;373 }374- do {375- index += stride;376- if (index >= io_tlb_nslabs)377- index = 0;378- } while (is_span_boundary(index, nslots, offset_slots,379- max_slots));380 } while (index != wrap);3810382 spin_unlock_irqrestore(&io_tlb_lock, flags);383 return NULL;384 }
···310 start_dma_addr = virt_to_bus(io_tlb_start) & mask;311312 offset_slots = ALIGN(start_dma_addr, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT;313+ max_slots = mask + 1314+ ? ALIGN(mask + 1, 1 << IO_TLB_SHIFT) >> IO_TLB_SHIFT315+ : 1UL << (BITS_PER_LONG - IO_TLB_SHIFT);316317 /*318 * For mappings greater than a page, we limit the stride (and···333 index = ALIGN(io_tlb_index, stride);334 if (index >= io_tlb_nslabs)335 index = 0;0000000336 wrap = index;337338 do {339+ while (is_span_boundary(index, nslots, offset_slots,340+ max_slots)) {341+ index += stride;342+ if (index >= io_tlb_nslabs)343+ index = 0;344+ if (index == wrap)345+ goto not_found;346+ }347+348 /*349 * If we find a slot that indicates we have 'nslots'350 * number of contiguous buffers, we allocate the···367368 goto found;369 }370+ index += stride;371+ if (index >= io_tlb_nslabs)372+ index = 0;000373 } while (index != wrap);374375+ not_found:376 spin_unlock_irqrestore(&io_tlb_lock, flags);377 return NULL;378 }
+1-1
net/bluetooth/bnep/bnep.h
···174175void bnep_net_setup(struct net_device *dev);176int bnep_sock_init(void);177-int bnep_sock_cleanup(void);178179static inline int bnep_mc_hash(__u8 *addr)180{
···174175void bnep_net_setup(struct net_device *dev);176int bnep_sock_init(void);177+void bnep_sock_cleanup(void);178179static inline int bnep_mc_hash(__u8 *addr)180{
···1035 * introducing MSS oddities to segment boundaries. In rare cases where1036 * mss_now != mss_cache, we will request caller to create a small skb1037 * per input skb which could be mostly avoided here (if desired).00000001038 */1039static unsigned int tcp_mss_split_point(struct sock *sk, struct sk_buff *skb,1040 unsigned int mss_now, unsigned int cwnd)···1055 if (likely(cwnd_len <= window && skb != tcp_write_queue_tail(sk)))1056 return cwnd_len;10571058- if (skb == tcp_write_queue_tail(sk) && cwnd_len <= skb->len)001059 return cwnd_len;10601061- needed = min(skb->len, window);1062 return needed - needed % mss_now;1063}1064
···1035 * introducing MSS oddities to segment boundaries. In rare cases where1036 * mss_now != mss_cache, we will request caller to create a small skb1037 * per input skb which could be mostly avoided here (if desired).1038+ *1039+ * We explicitly want to create a request for splitting write queue tail1040+ * to a small skb for Nagle purposes while avoiding unnecessary modulos,1041+ * thus all the complexity (cwnd_len is always MSS multiple which we1042+ * return whenever allowed by the other factors). Basically we need the1043+ * modulo only when the receiver window alone is the limiting factor or1044+ * when we would be allowed to send the split-due-to-Nagle skb fully.1045 */1046static unsigned int tcp_mss_split_point(struct sock *sk, struct sk_buff *skb,1047 unsigned int mss_now, unsigned int cwnd)···1048 if (likely(cwnd_len <= window && skb != tcp_write_queue_tail(sk)))1049 return cwnd_len;10501051+ needed = min(skb->len, window);1052+1053+ if (skb == tcp_write_queue_tail(sk) && cwnd_len <= needed)1054 return cwnd_len;105501056 return needed - needed % mss_now;1057}1058
+1-1
net/netfilter/nf_conntrack_expect.c
···381 if (nf_ct_expect_count >= nf_ct_expect_max) {382 if (net_ratelimit())383 printk(KERN_WARNING384- "nf_conntrack: expectation table full");385 ret = -EMFILE;386 goto out;387 }
···381 if (nf_ct_expect_count >= nf_ct_expect_max) {382 if (net_ratelimit())383 printk(KERN_WARNING384+ "nf_conntrack: expectation table full\n");385 ret = -EMFILE;386 goto out;387 }
···556 /* FIXME: do we want to make the size calculation conditional based on557 * what is actually present? way more branches and checks, but more558 * memory efficient... */559- size = NLMSG_ALIGN(sizeof(struct nfgenmsg))560 + nla_total_size(sizeof(struct nfulnl_msg_packet_hdr))561 + nla_total_size(sizeof(u_int32_t)) /* ifindex */562 + nla_total_size(sizeof(u_int32_t)) /* ifindex */···702 struct nfgenmsg *nfmsg = NLMSG_DATA(nlh);703 u_int16_t group_num = ntohs(nfmsg->res_id);704 struct nfulnl_instance *inst;0705 int ret = 0;00000000000000706707 inst = instance_lookup_get(group_num);708 if (inst && inst->peer_pid != NETLINK_CB(skb).pid) {···725 goto out_put;726 }727728- if (nfula[NFULA_CFG_CMD]) {729- u_int8_t pf = nfmsg->nfgen_family;730- struct nfulnl_msg_config_cmd *cmd;731-732- cmd = nla_data(nfula[NFULA_CFG_CMD]);733-734 switch (cmd->command) {735 case NFULNL_CFG_CMD_BIND:736 if (inst) {···748749 instance_destroy(inst);750 goto out;751- case NFULNL_CFG_CMD_PF_BIND:752- ret = nf_log_register(pf, &nfulnl_logger);753- break;754- case NFULNL_CFG_CMD_PF_UNBIND:755- /* This is a bug and a feature. We cannot unregister756- * other handlers, like nfnetlink_inst can */757- nf_log_unregister_pf(pf);758- break;759 default:760 ret = -ENOTSUPP;761 break;
···556 /* FIXME: do we want to make the size calculation conditional based on557 * what is actually present? way more branches and checks, but more558 * memory efficient... */559+ size = NLMSG_SPACE(sizeof(struct nfgenmsg))560 + nla_total_size(sizeof(struct nfulnl_msg_packet_hdr))561 + nla_total_size(sizeof(u_int32_t)) /* ifindex */562 + nla_total_size(sizeof(u_int32_t)) /* ifindex */···702 struct nfgenmsg *nfmsg = NLMSG_DATA(nlh);703 u_int16_t group_num = ntohs(nfmsg->res_id);704 struct nfulnl_instance *inst;705+ struct nfulnl_msg_config_cmd *cmd = NULL;706 int ret = 0;707+708+ if (nfula[NFULA_CFG_CMD]) {709+ u_int8_t pf = nfmsg->nfgen_family;710+ cmd = nla_data(nfula[NFULA_CFG_CMD]);711+712+ /* Commands without queue context */713+ switch (cmd->command) {714+ case NFULNL_CFG_CMD_PF_BIND:715+ return nf_log_register(pf, &nfulnl_logger);716+ case NFULNL_CFG_CMD_PF_UNBIND:717+ nf_log_unregister_pf(pf);718+ return 0;719+ }720+ }721722 inst = instance_lookup_get(group_num);723 if (inst && inst->peer_pid != NETLINK_CB(skb).pid) {···710 goto out_put;711 }712713+ if (cmd != NULL) {00000714 switch (cmd->command) {715 case NFULNL_CFG_CMD_BIND:716 if (inst) {···738739 instance_destroy(inst);740 goto out;00000000741 default:742 ret = -ENOTSUPP;743 break;
···143 /* copy the peer address and timestamp */144 if (!continue_call) {145 if (msg->msg_name && msg->msg_namelen > 0)146- memcpy(&msg->msg_name, &call->conn->trans->peer->srx,0147 sizeof(call->conn->trans->peer->srx));148 sock_recv_timestamp(msg, &rx->sk, skb);149 }
···143 /* copy the peer address and timestamp */144 if (!continue_call) {145 if (msg->msg_name && msg->msg_namelen > 0)146+ memcpy(msg->msg_name,147+ &call->conn->trans->peer->srx,148 sizeof(call->conn->trans->peer->srx));149 sock_recv_timestamp(msg, &rx->sk, skb);150 }
+3-1
net/sctp/bind_addr.c
···209int sctp_del_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *del_addr)210{211 struct sctp_sockaddr_entry *addr, *temp;0212213 /* We hold the socket lock when calling this function,214 * and that acts as a writer synchronizing lock.···217 list_for_each_entry_safe(addr, temp, &bp->address_list, list) {218 if (sctp_cmp_addr_exact(&addr->a, del_addr)) {219 /* Found the exact match. */0220 addr->valid = 0;221 list_del_rcu(&addr->list);222 break;223 }224 }225226- if (addr && !addr->valid) {227 call_rcu(&addr->rcu, sctp_local_addr_free);228 SCTP_DBG_OBJCNT_DEC(addr);229 return 0;
···209int sctp_del_bind_addr(struct sctp_bind_addr *bp, union sctp_addr *del_addr)210{211 struct sctp_sockaddr_entry *addr, *temp;212+ int found = 0;213214 /* We hold the socket lock when calling this function,215 * and that acts as a writer synchronizing lock.···216 list_for_each_entry_safe(addr, temp, &bp->address_list, list) {217 if (sctp_cmp_addr_exact(&addr->a, del_addr)) {218 /* Found the exact match. */219+ found = 1;220 addr->valid = 0;221 list_del_rcu(&addr->list);222 break;223 }224 }225226+ if (found) {227 call_rcu(&addr->rcu, sctp_local_addr_free);228 SCTP_DBG_OBJCNT_DEC(addr);229 return 0;
···628 struct in_ifaddr *ifa = (struct in_ifaddr *)ptr;629 struct sctp_sockaddr_entry *addr = NULL;630 struct sctp_sockaddr_entry *temp;631+ int found = 0;632633 switch (ev) {634 case NETDEV_UP:···647 list_for_each_entry_safe(addr, temp,648 &sctp_local_addr_list, list) {649 if (addr->a.v4.sin_addr.s_addr == ifa->ifa_local) {650+ found = 1;651 addr->valid = 0;652 list_del_rcu(&addr->list);653 break;654 }655 }656 spin_unlock_bh(&sctp_local_addr_lock);657+ if (found)658 call_rcu(&addr->rcu, sctp_local_addr_free);659 break;660 }
+8
net/sctp/sm_make_chunk.c
···2375 asoc->peer.ipv4_address = 0;2376 asoc->peer.ipv6_address = 0;2377000000002378 /* Cycle through address types; avoid divide by 0. */2379 sat = ntohs(param.p->length) - sizeof(sctp_paramhdr_t);2380 if (sat)
···2375 asoc->peer.ipv4_address = 0;2376 asoc->peer.ipv6_address = 0;23772378+ /* Assume that peer supports the address family2379+ * by which it sends a packet.2380+ */2381+ if (peer_addr->sa.sa_family == AF_INET6)2382+ asoc->peer.ipv6_address = 1;2383+ else if (peer_addr->sa.sa_family == AF_INET)2384+ asoc->peer.ipv4_address = 1;2385+2386 /* Cycle through address types; avoid divide by 0. */2387 sat = ntohs(param.p->length) - sizeof(sctp_paramhdr_t);2388 if (sat)
+62-15
net/sctp/socket.c
···2933 char __user *optval,2934 int optlen)2935{0002936 int val;029372938- if (optlen != sizeof(int))2939- return -EINVAL;2940- if (get_user(val, (int __user *)optval))2941- return -EFAULT;2942-2943- if (val < 0)2944 return -EINVAL;29452946- sctp_sk(sk)->max_burst = val;0000000000000000000000029472948 return 0;2949}···5027 char __user *optval,5028 int __user *optlen)5029{5030- int val;0050315032 if (len < sizeof(int))5033 return -EINVAL;50345035- len = sizeof(int);000000000050365037- val = sctp_sk(sk)->max_burst;5038- if (put_user(len, optlen))5039- return -EFAULT;5040- if (copy_to_user(optval, &val, len))5041- return -EFAULT;50425043- return -ENOTSUPP;000000000000000005044}50455046static int sctp_getsockopt_hmac_ident(struct sock *sk, int len,
···2933 char __user *optval,2934 int optlen)2935{2936+ struct sctp_assoc_value params;2937+ struct sctp_sock *sp;2938+ struct sctp_association *asoc;2939 int val;2940+ int assoc_id = 0;29412942+ if (optlen < sizeof(int))000002943 return -EINVAL;29442945+ if (optlen == sizeof(int)) {2946+ printk(KERN_WARNING2947+ "SCTP: Use of int in max_burst socket option deprecated\n");2948+ printk(KERN_WARNING2949+ "SCTP: Use struct sctp_assoc_value instead\n");2950+ if (copy_from_user(&val, optval, optlen))2951+ return -EFAULT;2952+ } else if (optlen == sizeof(struct sctp_assoc_value)) {2953+ if (copy_from_user(¶ms, optval, optlen))2954+ return -EFAULT;2955+ val = params.assoc_value;2956+ assoc_id = params.assoc_id;2957+ } else2958+ return -EINVAL;2959+2960+ sp = sctp_sk(sk);2961+2962+ if (assoc_id != 0) {2963+ asoc = sctp_id2assoc(sk, assoc_id);2964+ if (!asoc)2965+ return -EINVAL;2966+ asoc->max_burst = val;2967+ } else2968+ sp->max_burst = val;29692970 return 0;2971}···5005 char __user *optval,5006 int __user *optlen)5007{5008+ struct sctp_assoc_value params;5009+ struct sctp_sock *sp;5010+ struct sctp_association *asoc;50115012 if (len < sizeof(int))5013 return -EINVAL;50145015+ if (len == sizeof(int)) {5016+ printk(KERN_WARNING5017+ "SCTP: Use of int in max_burst socket option deprecated\n");5018+ printk(KERN_WARNING5019+ "SCTP: Use struct sctp_assoc_value instead\n");5020+ params.assoc_id = 0;5021+ } else if (len == sizeof (struct sctp_assoc_value)) {5022+ if (copy_from_user(¶ms, optval, len))5023+ return -EFAULT;5024+ } else5025+ return -EINVAL;50265027+ sp = sctp_sk(sk);000050285029+ if (params.assoc_id != 0) {5030+ asoc = sctp_id2assoc(sk, params.assoc_id);5031+ if (!asoc)5032+ return -EINVAL;5033+ params.assoc_value = asoc->max_burst;5034+ } else5035+ params.assoc_value = sp->max_burst;5036+5037+ if (len == sizeof(int)) {5038+ if (copy_to_user(optval, ¶ms.assoc_value, len))5039+ return -EFAULT;5040+ } else {5041+ if (copy_to_user(optval, ¶ms, len))5042+ return -EFAULT;5043+ }5044+5045+ return 0;5046+5047}50485049static int sctp_getsockopt_hmac_ident(struct sock *sk, int len,
+1-1
net/sunrpc/xprtrdma/svc_rdma_sendto.c
···156 struct svc_rdma_op_ctxt *ctxt;157 int ret = 0;158159- BUG_ON(sge_count >= 32);160 dprintk("svcrdma: RDMA_WRITE rmr=%x, to=%llx, xdr_off=%d, "161 "write_len=%d, xdr_sge=%p, sge_count=%d\n",162 rmr, (unsigned long long)to, xdr_off,
···156 struct svc_rdma_op_ctxt *ctxt;157 int ret = 0;158159+ BUG_ON(sge_count > RPCSVC_MAXPAGES);160 dprintk("svcrdma: RDMA_WRITE rmr=%x, to=%llx, xdr_off=%d, "161 "write_len=%d, xdr_sge=%p, sge_count=%d\n",162 rmr, (unsigned long long)to, xdr_off,
+62-42
net/sunrpc/xprtrdma/svc_rdma_transport.c
···54 int flags);55static struct svc_xprt *svc_rdma_accept(struct svc_xprt *xprt);56static void svc_rdma_release_rqst(struct svc_rqst *);57-static void rdma_destroy_xprt(struct svcxprt_rdma *xprt);58static void dto_tasklet_func(unsigned long data);59static void svc_rdma_detach(struct svc_xprt *xprt);60static void svc_rdma_free(struct svc_xprt *xprt);···246 sq_cq_reap(xprt);247 }2480249 spin_lock_irqsave(&dto_lock, flags);250 }251 spin_unlock_irqrestore(&dto_lock, flags);···275 * add it276 */277 spin_lock_irqsave(&dto_lock, flags);278- if (list_empty(&xprt->sc_dto_q))0279 list_add_tail(&xprt->sc_dto_q, &dto_xprt_q);0280 spin_unlock_irqrestore(&dto_lock, flags);281282 /* Tasklet does all the work to avoid irqsave locks. */···388 * add it389 */390 spin_lock_irqsave(&dto_lock, flags);391- if (list_empty(&xprt->sc_dto_q))0392 list_add_tail(&xprt->sc_dto_q, &dto_xprt_q);0393 spin_unlock_irqrestore(&dto_lock, flags);394395 /* Tasklet does all the work to avoid irqsave locks. */···615 switch (event->event) {616 case RDMA_CM_EVENT_ESTABLISHED:617 /* Accept complete */0618 dprintk("svcrdma: Connection completed on DTO xprt=%p, "619 "cm_id=%p\n", xprt, cma_id);620 clear_bit(RDMAXPRT_CONN_PENDING, &rdma->sc_flags);···666667 listen_id = rdma_create_id(rdma_listen_handler, cma_xprt, RDMA_PS_TCP);668 if (IS_ERR(listen_id)) {669- rdma_destroy_xprt(cma_xprt);670 dprintk("svcrdma: rdma_create_id failed = %ld\n",671 PTR_ERR(listen_id));672 return (void *)listen_id;673 }674 ret = rdma_bind_addr(listen_id, sa);675 if (ret) {676- rdma_destroy_xprt(cma_xprt);677 rdma_destroy_id(listen_id);0678 dprintk("svcrdma: rdma_bind_addr failed = %d\n", ret);679 return ERR_PTR(ret);680 }···683 ret = rdma_listen(listen_id, RPCRDMA_LISTEN_BACKLOG);684 if (ret) {685 rdma_destroy_id(listen_id);686- rdma_destroy_xprt(cma_xprt);687 dprintk("svcrdma: rdma_listen failed = %d\n", ret);0688 }689690 /*···826 newxprt->sc_sq_depth = qp_attr.cap.max_send_wr;827 newxprt->sc_max_requests = qp_attr.cap.max_recv_wr;828 }0829 newxprt->sc_qp = newxprt->sc_cm_id->qp;830831 /* Register all of physical memory */···898899 errout:900 dprintk("svcrdma: failure accepting new connection rc=%d.\n", ret);000000901 rdma_destroy_id(newxprt->sc_cm_id);902- rdma_destroy_xprt(newxprt);0903 return NULL;904}905···933 rqstp->rq_xprt_ctxt = NULL;934}935936-/* Disable data ready events for this connection */00000000000000937static void svc_rdma_detach(struct svc_xprt *xprt)938{939 struct svcxprt_rdma *rdma =940 container_of(xprt, struct svcxprt_rdma, sc_xprt);941- unsigned long flags;942-943 dprintk("svc: svc_rdma_detach(%p)\n", xprt);944- /*945- * Shutdown the connection. This will ensure we don't get any946- * more events from the provider.947- */948- rdma_disconnect(rdma->sc_cm_id);949- rdma_destroy_id(rdma->sc_cm_id);950951- /* We may already be on the DTO list */952- spin_lock_irqsave(&dto_lock, flags);953- if (!list_empty(&rdma->sc_dto_q))954- list_del_init(&rdma->sc_dto_q);955- spin_unlock_irqrestore(&dto_lock, flags);000000956}957958static void svc_rdma_free(struct svc_xprt *xprt)959{960 struct svcxprt_rdma *rdma = (struct svcxprt_rdma *)xprt;961 dprintk("svcrdma: svc_rdma_free(%p)\n", rdma);962- rdma_destroy_xprt(rdma);00000000000000963 kfree(rdma);964-}965-966-static void rdma_destroy_xprt(struct svcxprt_rdma *xprt)967-{968- if (xprt->sc_qp && !IS_ERR(xprt->sc_qp))969- ib_destroy_qp(xprt->sc_qp);970-971- if (xprt->sc_sq_cq && !IS_ERR(xprt->sc_sq_cq))972- ib_destroy_cq(xprt->sc_sq_cq);973-974- if (xprt->sc_rq_cq && !IS_ERR(xprt->sc_rq_cq))975- ib_destroy_cq(xprt->sc_rq_cq);976-977- if (xprt->sc_phys_mr && !IS_ERR(xprt->sc_phys_mr))978- ib_dereg_mr(xprt->sc_phys_mr);979-980- if (xprt->sc_pd && !IS_ERR(xprt->sc_pd))981- ib_dealloc_pd(xprt->sc_pd);982-983- destroy_context_cache(xprt->sc_ctxt_head);984}985986static int svc_rdma_has_wspace(struct svc_xprt *xprt)
···54 int flags);55static struct svc_xprt *svc_rdma_accept(struct svc_xprt *xprt);56static void svc_rdma_release_rqst(struct svc_rqst *);057static void dto_tasklet_func(unsigned long data);58static void svc_rdma_detach(struct svc_xprt *xprt);59static void svc_rdma_free(struct svc_xprt *xprt);···247 sq_cq_reap(xprt);248 }249250+ svc_xprt_put(&xprt->sc_xprt);251 spin_lock_irqsave(&dto_lock, flags);252 }253 spin_unlock_irqrestore(&dto_lock, flags);···275 * add it276 */277 spin_lock_irqsave(&dto_lock, flags);278+ if (list_empty(&xprt->sc_dto_q)) {279+ svc_xprt_get(&xprt->sc_xprt);280 list_add_tail(&xprt->sc_dto_q, &dto_xprt_q);281+ }282 spin_unlock_irqrestore(&dto_lock, flags);283284 /* Tasklet does all the work to avoid irqsave locks. */···386 * add it387 */388 spin_lock_irqsave(&dto_lock, flags);389+ if (list_empty(&xprt->sc_dto_q)) {390+ svc_xprt_get(&xprt->sc_xprt);391 list_add_tail(&xprt->sc_dto_q, &dto_xprt_q);392+ }393 spin_unlock_irqrestore(&dto_lock, flags);394395 /* Tasklet does all the work to avoid irqsave locks. */···611 switch (event->event) {612 case RDMA_CM_EVENT_ESTABLISHED:613 /* Accept complete */614+ svc_xprt_get(xprt);615 dprintk("svcrdma: Connection completed on DTO xprt=%p, "616 "cm_id=%p\n", xprt, cma_id);617 clear_bit(RDMAXPRT_CONN_PENDING, &rdma->sc_flags);···661662 listen_id = rdma_create_id(rdma_listen_handler, cma_xprt, RDMA_PS_TCP);663 if (IS_ERR(listen_id)) {664+ svc_xprt_put(&cma_xprt->sc_xprt);665 dprintk("svcrdma: rdma_create_id failed = %ld\n",666 PTR_ERR(listen_id));667 return (void *)listen_id;668 }669 ret = rdma_bind_addr(listen_id, sa);670 if (ret) {0671 rdma_destroy_id(listen_id);672+ svc_xprt_put(&cma_xprt->sc_xprt);673 dprintk("svcrdma: rdma_bind_addr failed = %d\n", ret);674 return ERR_PTR(ret);675 }···678 ret = rdma_listen(listen_id, RPCRDMA_LISTEN_BACKLOG);679 if (ret) {680 rdma_destroy_id(listen_id);681+ svc_xprt_put(&cma_xprt->sc_xprt);682 dprintk("svcrdma: rdma_listen failed = %d\n", ret);683+ return ERR_PTR(ret);684 }685686 /*···820 newxprt->sc_sq_depth = qp_attr.cap.max_send_wr;821 newxprt->sc_max_requests = qp_attr.cap.max_recv_wr;822 }823+ svc_xprt_get(&newxprt->sc_xprt);824 newxprt->sc_qp = newxprt->sc_cm_id->qp;825826 /* Register all of physical memory */···891892 errout:893 dprintk("svcrdma: failure accepting new connection rc=%d.\n", ret);894+ /* Take a reference in case the DTO handler runs */895+ svc_xprt_get(&newxprt->sc_xprt);896+ if (newxprt->sc_qp && !IS_ERR(newxprt->sc_qp)) {897+ ib_destroy_qp(newxprt->sc_qp);898+ svc_xprt_put(&newxprt->sc_xprt);899+ }900 rdma_destroy_id(newxprt->sc_cm_id);901+ /* This call to put will destroy the transport */902+ svc_xprt_put(&newxprt->sc_xprt);903 return NULL;904}905···919 rqstp->rq_xprt_ctxt = NULL;920}921922+/*923+ * When connected, an svc_xprt has at least three references:924+ *925+ * - A reference held by the QP. We still hold that here because this926+ * code deletes the QP and puts the reference.927+ *928+ * - A reference held by the cm_id between the ESTABLISHED and929+ * DISCONNECTED events. If the remote peer disconnected first, this930+ * reference could be gone.931+ *932+ * - A reference held by the svc_recv code that called this function933+ * as part of close processing.934+ *935+ * At a minimum two references should still be held.936+ */937static void svc_rdma_detach(struct svc_xprt *xprt)938{939 struct svcxprt_rdma *rdma =940 container_of(xprt, struct svcxprt_rdma, sc_xprt);00941 dprintk("svc: svc_rdma_detach(%p)\n", xprt);000000942943+ /* Disconnect and flush posted WQE */944+ rdma_disconnect(rdma->sc_cm_id);945+946+ /* Destroy the QP if present (not a listener) */947+ if (rdma->sc_qp && !IS_ERR(rdma->sc_qp)) {948+ ib_destroy_qp(rdma->sc_qp);949+ svc_xprt_put(xprt);950+ }951+952+ /* Destroy the CM ID */953+ rdma_destroy_id(rdma->sc_cm_id);954}955956static void svc_rdma_free(struct svc_xprt *xprt)957{958 struct svcxprt_rdma *rdma = (struct svcxprt_rdma *)xprt;959 dprintk("svcrdma: svc_rdma_free(%p)\n", rdma);960+ /* We should only be called from kref_put */961+ BUG_ON(atomic_read(&xprt->xpt_ref.refcount) != 0);962+ if (rdma->sc_sq_cq && !IS_ERR(rdma->sc_sq_cq))963+ ib_destroy_cq(rdma->sc_sq_cq);964+965+ if (rdma->sc_rq_cq && !IS_ERR(rdma->sc_rq_cq))966+ ib_destroy_cq(rdma->sc_rq_cq);967+968+ if (rdma->sc_phys_mr && !IS_ERR(rdma->sc_phys_mr))969+ ib_dereg_mr(rdma->sc_phys_mr);970+971+ if (rdma->sc_pd && !IS_ERR(rdma->sc_pd))972+ ib_dealloc_pd(rdma->sc_pd);973+974+ destroy_context_cache(rdma->sc_ctxt_head);975 kfree(rdma);00000000000000000000976}977978static int svc_rdma_has_wspace(struct svc_xprt *xprt)
+4
scripts/kernel-doc
···247my ($type,$declaration_name,$return_type);248my ($newsection,$newcontents,$prototype,$filelist, $brcount, %source_map);2490000250# Generated docbook code is inserted in a template at a point where251# docbook v3.1 requires a non-zero sequence of RefEntry's; see:252# http://www.oasis-open.org/docbook/documentation/reference/html/refentry.html
···247my ($type,$declaration_name,$return_type);248my ($newsection,$newcontents,$prototype,$filelist, $brcount, %source_map);249250+if (defined($ENV{'KBUILD_VERBOSE'})) {251+ $verbose = "$ENV{'KBUILD_VERBOSE'}";252+}253+254# Generated docbook code is inserted in a template at a point where255# docbook v3.1 requires a non-zero sequence of RefEntry's; see:256# http://www.oasis-open.org/docbook/documentation/reference/html/refentry.html
-8
security/smack/smack.h
···26#define SMK_MAXLEN 2327#define SMK_LABELLEN (SMK_MAXLEN+1)2829-/*30- * How many kinds of access are there?31- * Here's your answer.32- */33-#define SMK_ACCESSDASH '-'34-#define SMK_ACCESSLOW "rwxa"35-#define SMK_ACCESSKINDS (sizeof(SMK_ACCESSLOW) - 1)36-37struct superblock_smack {38 char *smk_root;39 char *smk_floor;