* 2.6.10-rc1: drivers/ide/ide-dma.o: value of -130 too large for field of 1 bytes at 911
@ 2004-11-01 10:54 Paul Dickson
2004-11-01 12:12 ` Adrian Bunk
0 siblings, 1 reply; 6+ messages in thread
From: Paul Dickson @ 2004-11-01 10:54 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 935 bytes --]
With the attached .config, I'm getting this while compiling...
[...]
CC drivers/ide/pci/sis5513.o
CC drivers/ide/pci/via82cxxx.o
CC drivers/ide/pci/generic.o
LD drivers/ide/pci/built-in.o
CC drivers/ide/ide.o
CC drivers/ide/ide-default.o
CC drivers/ide/ide-io.o
CC drivers/ide/ide-iops.o
CC drivers/ide/ide-lib.o
CC drivers/ide/ide-probe.o
CC drivers/ide/ide-taskfile.o
CC drivers/ide/setup-pci.o
CC drivers/ide/ide-dma.o
{standard input}: Assembler messages:
{standard input}:607: Error: value of -130 too large for field of 1 bytes at 911
make[3]: *** [drivers/ide/ide-dma.o] Error 1
make[2]: *** [drivers/ide] Error 2
make[1]: *** [drivers] Error 2
make: *** [bzImage] Error 2
I got the same error with 2.6.9 too.
GCC 3.2.2 and 3.4.1.
Has this been fixed since 2.6.10-rc1? Searching my Linux-Kernel folder
didn't find a match.
-Paul
[-- Attachment #2: .config --]
[-- Type: application/octet-stream, Size: 18036 bytes --]
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.10-rc1
# Mon Nov 1 03:22:28 2004
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_BROKEN_ON_SMP=y
#
# General setup
#
CONFIG_LOCALVERSION=""
# CONFIG_SWAP is not set
CONFIG_SYSVIPC=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
# CONFIG_AUDIT is not set
CONFIG_LOG_BUF_SHIFT=15
CONFIG_HOTPLUG=y
CONFIG_KOBJECT_UEVENT=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_EMBEDDED=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
# CONFIG_SHMEM is not set
CONFIG_TINY_SHMEM=y
#
# Loadable module support
#
# CONFIG_MODULES is not set
#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
CONFIG_MK6=y
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
CONFIG_X86_GENERIC=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=7
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_ALIGNMENT_16=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_HPET_TIMER is not set
# CONFIG_SMP is not set
# CONFIG_PREEMPT is not set
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_TSC=y
# CONFIG_X86_MCE is not set
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
CONFIG_X86_MSR=y
# CONFIG_X86_CPUID is not set
#
# Firmware Drivers
#
# CONFIG_EDD is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
# CONFIG_REGPARM is not set
#
# Power management options (ACPI, APM)
#
# CONFIG_PM is not set
#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_ASUS=y
CONFIG_ACPI_TOSHIBA=y
CONFIG_ACPI_BLACKLIST_YEAR=0
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
# CONFIG_X86_PM_TIMER is not set
#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_LEGACY_PROC=y
CONFIG_PCI_NAMES=y
# CONFIG_ISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
#
# PCCARD (PCMCIA/CardBus) support
#
# CONFIG_PCCARD is not set
#
# PC-card bridges
#
#
# PCI Hotplug Support
#
# CONFIG_HOTPLUG_PCI is not set
#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set
#
# Device Drivers
#
#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
# CONFIG_FW_LOADER is not set
# CONFIG_DEBUG_DRIVER is not set
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Parallel port support
#
# CONFIG_PARPORT is not set
#
# Plug and Play support
#
#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_RAM is not set
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_LBD is not set
# CONFIG_CDROM_PKTCDVD is not set
#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
# CONFIG_IOSCHED_AS is not set
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_IDE_SATA is not set
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_IDE_TASK_IOCTL is not set
#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_IDEPCI_SHARE_IRQ is not set
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
CONFIG_BLK_DEV_SIS5513=y
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
CONFIG_BLK_DEV_VIA82CXXX=y
# CONFIG_IDE_ARM is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set
#
# SCSI device support
#
# CONFIG_SCSI is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
#
# Fusion MPT device support
#
#
# IEEE 1394 (FireWire) support
#
# CONFIG_IEEE1394 is not set
#
# I2O device support
#
# CONFIG_I2O is not set
#
# Networking support
#
CONFIG_NET=y
#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_TUNNEL is not set
#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_CT_ACCT=y
# CONFIG_IP_NF_CONNTRACK_MARK is not set
# CONFIG_IP_NF_CT_PROTO_SCTP is not set
CONFIG_IP_NF_FTP=y
CONFIG_IP_NF_IRC=y
# CONFIG_IP_NF_TFTP is not set
# CONFIG_IP_NF_AMANDA is not set
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=y
# CONFIG_IP_NF_MATCH_LIMIT is not set
CONFIG_IP_NF_MATCH_IPRANGE=y
# CONFIG_IP_NF_MATCH_MAC is not set
# CONFIG_IP_NF_MATCH_PKTTYPE is not set
# CONFIG_IP_NF_MATCH_MARK is not set
# CONFIG_IP_NF_MATCH_MULTIPORT is not set
# CONFIG_IP_NF_MATCH_TOS is not set
CONFIG_IP_NF_MATCH_RECENT=y
# CONFIG_IP_NF_MATCH_ECN is not set
# CONFIG_IP_NF_MATCH_DSCP is not set
# CONFIG_IP_NF_MATCH_AH_ESP is not set
# CONFIG_IP_NF_MATCH_LENGTH is not set
# CONFIG_IP_NF_MATCH_TTL is not set
# CONFIG_IP_NF_MATCH_TCPMSS is not set
CONFIG_IP_NF_MATCH_HELPER=y
CONFIG_IP_NF_MATCH_STATE=y
CONFIG_IP_NF_MATCH_CONNTRACK=y
# CONFIG_IP_NF_MATCH_OWNER is not set
# CONFIG_IP_NF_MATCH_ADDRTYPE is not set
# CONFIG_IP_NF_MATCH_REALM is not set
# CONFIG_IP_NF_MATCH_SCTP is not set
# CONFIG_IP_NF_MATCH_COMMENT is not set
# CONFIG_IP_NF_MATCH_HASHLIMIT is not set
CONFIG_IP_NF_FILTER=y
CONFIG_IP_NF_TARGET_REJECT=y
CONFIG_IP_NF_TARGET_LOG=y
# CONFIG_IP_NF_TARGET_ULOG is not set
CONFIG_IP_NF_TARGET_TCPMSS=y
CONFIG_IP_NF_NAT=y
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=y
CONFIG_IP_NF_TARGET_REDIRECT=y
CONFIG_IP_NF_TARGET_NETMAP=y
# CONFIG_IP_NF_TARGET_SAME is not set
# CONFIG_IP_NF_NAT_LOCAL is not set
# CONFIG_IP_NF_NAT_SNMP_BASIC is not set
CONFIG_IP_NF_NAT_IRC=y
CONFIG_IP_NF_NAT_FTP=y
CONFIG_IP_NF_MANGLE=y
# CONFIG_IP_NF_TARGET_TOS is not set
# CONFIG_IP_NF_TARGET_ECN is not set
# CONFIG_IP_NF_TARGET_DSCP is not set
# CONFIG_IP_NF_TARGET_MARK is not set
# CONFIG_IP_NF_TARGET_CLASSIFY is not set
# CONFIG_IP_NF_RAW is not set
# CONFIG_IP_NF_ARPTABLES is not set
#
# SCTP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_HW_FLOWCONTROL is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
# CONFIG_NET_CLS_ROUTE is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
CONFIG_NETDEVICES=y
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
#
# ARCnet devices
#
# CONFIG_ARCNET is not set
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
CONFIG_NET_VENDOR_3COM=y
CONFIG_VORTEX=y
# CONFIG_TYPHOON is not set
#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
CONFIG_EPIC100=y
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
CONFIG_VIA_RHINE=y
# CONFIG_VIA_RHINE_MMIO is not set
# CONFIG_VIA_VELOCITY is not set
#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_S2IO is not set
#
# Token Ring devices
#
# CONFIG_TR is not set
#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set
#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
CONFIG_PPP=y
# CONFIG_PPP_MULTILINK is not set
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=y
# CONFIG_PPP_SYNC_TTY is not set
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_BSDCOMP=y
# CONFIG_PPPOE is not set
# CONFIG_SLIP is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set
#
# ISDN subsystem
#
# CONFIG_ISDN is not set
#
# Telephony Support
#
# CONFIG_PHONE is not set
#
# Input device support
#
CONFIG_INPUT=y
#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set
#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PCIPS2 is not set
# CONFIG_SERIO_RAW is not set
#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set
#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set
#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
# CONFIG_SERIAL_8250_ACPI is not set
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HPET is not set
CONFIG_HANGCHECK_TIMER=y
#
# I2C support
#
# CONFIG_I2C is not set
#
# Dallas's 1-wire bus
#
# CONFIG_W1 is not set
#
# Misc devices
#
# CONFIG_IBM_ASM is not set
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
#
# Graphics support
#
# CONFIG_FB is not set
# CONFIG_VIDEO_SELECT is not set
#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
CONFIG_DUMMY_CONSOLE=y
#
# Sound
#
# CONFIG_SOUND is not set
#
# USB support
#
# CONFIG_USB is not set
#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set
#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=y
CONFIG_UDF_NLS=y
#
# DOS/FAT/NT Filesystems
#
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_TMPFS_XATTR is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
#
# Network File Systems
#
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_EXPORTFS is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
# CONFIG_NLS_CODEPAGE_850 is not set
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ASCII=y
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_UTF8 is not set
#
# Profiling support
#
# CONFIG_PROFILING is not set
#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_INFO is not set
CONFIG_FRAME_POINTER=y
# CONFIG_EARLY_PRINTK is not set
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_KPROBES is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_4KSTACKS is not set
#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
#
# Cryptographic options
#
# CONFIG_CRYPTO is not set
#
# Library routines
#
CONFIG_CRC_CCITT=y
CONFIG_CRC32=y
# CONFIG_LIBCRC32C is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_X86_BIOS_REBOOT=y
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.6.10-rc1: drivers/ide/ide-dma.o: value of -130 too large for field of 1 bytes at 911
2004-11-01 10:54 2.6.10-rc1: drivers/ide/ide-dma.o: value of -130 too large for field of 1 bytes at 911 Paul Dickson
@ 2004-11-01 12:12 ` Adrian Bunk
2004-11-01 13:48 ` Paul Dickson
2004-11-01 16:26 ` Paul Dickson
0 siblings, 2 replies; 6+ messages in thread
From: Adrian Bunk @ 2004-11-01 12:12 UTC (permalink / raw)
To: Paul Dickson; +Cc: linux-kernel
On Mon, Nov 01, 2004 at 03:54:02AM -0700, Paul Dickson wrote:
> With the attached .config, I'm getting this while compiling...
>
>...
> CC drivers/ide/ide-dma.o
> {standard input}: Assembler messages:
> {standard input}:607: Error: value of -130 too large for field of 1 bytes at 911
> make[3]: *** [drivers/ide/ide-dma.o] Error 1
> make[2]: *** [drivers/ide] Error 2
> make[1]: *** [drivers] Error 2
> make: *** [bzImage] Error 2
>
> I got the same error with 2.6.9 too.
>
> GCC 3.2.2 and 3.4.1.
>
> Has this been fixed since 2.6.10-rc1? Searching my Linux-Kernel folder
> didn't find a match.
I can't reproduce it with your .config in 2.6.10-rc1.
Please send the output of ./scripts/ver_linux .
> -Paul
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.6.10-rc1: drivers/ide/ide-dma.o: value of -130 too large for field of 1 bytes at 911
2004-11-01 12:12 ` Adrian Bunk
@ 2004-11-01 13:48 ` Paul Dickson
2004-11-01 14:32 ` Adrian Bunk
2004-11-01 16:26 ` Paul Dickson
1 sibling, 1 reply; 6+ messages in thread
From: Paul Dickson @ 2004-11-01 13:48 UTC (permalink / raw)
To: Adrian Bunk; +Cc: linux-kernel
On Mon, 1 Nov 2004 13:12:56 +0100, Adrian Bunk wrote:
> On Mon, Nov 01, 2004 at 03:54:02AM -0700, Paul Dickson wrote:
> > With the attached .config, I'm getting this while compiling...
> >
> >...
> > CC drivers/ide/ide-dma.o
> > {standard input}: Assembler messages:
> > {standard input}:607: Error: value of -130 too large for field of 1 bytes at 911
> > make[3]: *** [drivers/ide/ide-dma.o] Error 1
> > make[2]: *** [drivers/ide] Error 2
> > make[1]: *** [drivers] Error 2
> > make: *** [bzImage] Error 2
> >
> > I got the same error with 2.6.9 too.
> >
> > GCC 3.2.2 and 3.4.1.
> >
> > Has this been fixed since 2.6.10-rc1? Searching my Linux-Kernel folder
> > didn't find a match.
>
> I can't reproduce it with your .config in 2.6.10-rc1.
>
> Please send the output of ./scripts/ver_linux .
>
The problem does not occur if I unselect "Generic PCI bus-master DMA
support".
I'm also using 0=../out.router.20041030 for an external directory:
make O=../out.router.20041030/ bzImage
>From the FC2 system:
Linux violet.pwd.internal 2.6.8-1.521 #1 Mon Aug 16 09:01:18 EDT 2004 i686 i686 i386 GNU/Linux
Gnu C 3.4.1
Gnu make 3.80
binutils 2.15.90.0.3
util-linux 2.12
mount 2.12
module-init-tools 2.4.26
e2fsprogs 1.35
reiserfsprogs line
reiser4progs line
pcmcia-cs 3.2.7
quota-tools 3.10.
PPP 2.4.2
nfs-utils 1.0.6
Linux C Library 2.3.3
Dynamic linker (ldd) 2.3.3
Procps 3.2.0
Net-tools 1.60
Kbd 1.12
Sh-utils 5.2.1
Modules Loaded snd_pcm_oss snd_mixer_oss snd_es1968 snd_ac97_codec snd_pcm snd_page_alloc snd_timer gameport snd_mpu401_uart snd_rawmidi snd_seq_device snd soundcore nfs lockd parport_pc lp parport autofs4 ide_cs ds yenta_socket pcmcia_core sunrpc 3c59x floppy sg scsi_mod microcode vfat fat dm_mod joydev uhci_hcd ext3 jbd
>From the RH9 system:
Linux red 2.4.20-18.9 #1 Thu May 29 07:08:16 EDT 2003 i686 athlon i386 GNU/Linux
Gnu C 3.2.2
Gnu make 3.79.1
binutils 2.13.90.0.18
util-linux 2.11y
mount 2.11y
module-init-tools writing
e2fsprogs 1.32
jfsutils 1.0.17
reiserfsprogs 2002------------->
reiser4progs line
pcmcia-cs 3.1.31
quota-tools 3.06.
PPP 2.4.1
isdn4k-utils 3.1pre4
nfs-utils 1.0.1
Linux C Library 2.3.2
Dynamic linker (ldd) 2.3.2
Procps 2.0.11
Net-tools 1.60
Kbd 1.08
Sh-utils 4.5.3
Modules Loaded w83781d i2c-proc i2c-viapro i2c-core parport_pc lp parport nfsd lockd sunrpc iptable_filter ip_tables autofs 3c59x loop keybdev mousedev hid input usb-uhci usbcore ext3 jbd lvm-mod
-Paul
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.6.10-rc1: drivers/ide/ide-dma.o: value of -130 too large for field of 1 bytes at 911
2004-11-01 13:48 ` Paul Dickson
@ 2004-11-01 14:32 ` Adrian Bunk
2004-11-01 17:21 ` Paul Dickson
0 siblings, 1 reply; 6+ messages in thread
From: Adrian Bunk @ 2004-11-01 14:32 UTC (permalink / raw)
To: Paul Dickson; +Cc: linux-kernel
On Mon, Nov 01, 2004 at 06:48:28AM -0700, Paul Dickson wrote:
> On Mon, 1 Nov 2004 13:12:56 +0100, Adrian Bunk wrote:
>
> > On Mon, Nov 01, 2004 at 03:54:02AM -0700, Paul Dickson wrote:
> > > With the attached .config, I'm getting this while compiling...
> > >
> > >...
> > > CC drivers/ide/ide-dma.o
> > > {standard input}: Assembler messages:
> > > {standard input}:607: Error: value of -130 too large for field of 1 bytes at 911
> > > make[3]: *** [drivers/ide/ide-dma.o] Error 1
> > > make[2]: *** [drivers/ide] Error 2
> > > make[1]: *** [drivers] Error 2
> > > make: *** [bzImage] Error 2
> > >
> > > I got the same error with 2.6.9 too.
> > >
> > > GCC 3.2.2 and 3.4.1.
> > >
> > > Has this been fixed since 2.6.10-rc1? Searching my Linux-Kernel folder
> > > didn't find a match.
> >
> > I can't reproduce it with your .config in 2.6.10-rc1.
> >
> > Please send the output of ./scripts/ver_linux .
>
> The problem does not occur if I unselect "Generic PCI bus-master DMA
> support".
That's not a surprise since in this case ide-dma.c won't be included
into your kernel.
> I'm also using 0=../out.router.20041030 for an external directory:
> make O=../out.router.20041030/ bzImage
Works for me...
> >From the FC2 system:
>...
> >From the RH9 system:
>...
The systems seem to be different enough for ruling out a problem with a
specific compiler or assembler version (in both cases, my versions
are between your versions).
You don't have _any_ patches applied?
Your kernel comes directly from ftp.kernel.org (or one of it's mirrors)?
Does unsetting
General setup
Configure standard kernel features (for small systems)
Optimize for size
help?
Please do the following:
- make V=1 O=../out.router.20041030/ bzImage
- cd ../out.router.20041030/
- the first command should have given you the failed gcc command;
run it with the following changes:
- replace "-c" with "-S"
- replace "ide-dma.o" with "ide-dma.s"
- send me the resulting file drivers/ide/ide-dma.s
(please Cc linux-kernel)
> -Paul
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.6.10-rc1: drivers/ide/ide-dma.o: value of -130 too large for field of 1 bytes at 911
2004-11-01 12:12 ` Adrian Bunk
2004-11-01 13:48 ` Paul Dickson
@ 2004-11-01 16:26 ` Paul Dickson
1 sibling, 0 replies; 6+ messages in thread
From: Paul Dickson @ 2004-11-01 16:26 UTC (permalink / raw)
To: Adrian Bunk; +Cc: linux-kernel
On Mon, 1 Nov 2004 13:12:56 +0100, Adrian Bunk wrote:
> On Mon, Nov 01, 2004 at 03:54:02AM -0700, Paul Dickson wrote:
> > With the attached .config, I'm getting this while compiling...
> >
> >...
> > CC drivers/ide/ide-dma.o
> > {standard input}: Assembler messages:
> > {standard input}:607: Error: value of -130 too large for field of 1 bytes at 911
> > make[3]: *** [drivers/ide/ide-dma.o] Error 1
> > make[2]: *** [drivers/ide] Error 2
> > make[1]: *** [drivers] Error 2
> > make: *** [bzImage] Error 2
> >
> > I got the same error with 2.6.9 too.
> >
> > GCC 3.2.2 and 3.4.1.
> >
> > Has this been fixed since 2.6.10-rc1? Searching my Linux-Kernel folder
> > didn't find a match.
>
> I can't reproduce it with your .config in 2.6.10-rc1.
>
> Please send the output of ./scripts/ver_linux .
Apparently, it was the RH9 system that was the problem. The FC2 system
does not have the problem. I was using the RH9 system for compiling
because it has a 1333 MHz Athlon, while the FC2 system only has a 300 MHz
PII (so I never allowed a complete compilation on that system). The RH9
system is scheduled for updating to FC3 this weekend or the next.
Thanks for the assistance.
-Paul
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.6.10-rc1: drivers/ide/ide-dma.o: value of -130 too large for field of 1 bytes at 911
2004-11-01 14:32 ` Adrian Bunk
@ 2004-11-01 17:21 ` Paul Dickson
0 siblings, 0 replies; 6+ messages in thread
From: Paul Dickson @ 2004-11-01 17:21 UTC (permalink / raw)
To: Adrian Bunk; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 2695 bytes --]
On Mon, 1 Nov 2004 15:32:38 +0100, Adrian Bunk wrote:
> On Mon, Nov 01, 2004 at 06:48:28AM -0700, Paul Dickson wrote:
> > On Mon, 1 Nov 2004 13:12:56 +0100, Adrian Bunk wrote:
> >
> > > On Mon, Nov 01, 2004 at 03:54:02AM -0700, Paul Dickson wrote:
> > > > With the attached .config, I'm getting this while compiling...
> > > >
> > > >...
> > > > CC drivers/ide/ide-dma.o
> > > > {standard input}: Assembler messages:
> > > > {standard input}:607: Error: value of -130 too large for field of 1 bytes at 911
> > > > make[3]: *** [drivers/ide/ide-dma.o] Error 1
> > > > make[2]: *** [drivers/ide] Error 2
> > > > make[1]: *** [drivers] Error 2
> > > > make: *** [bzImage] Error 2
> > > >
> > > > I got the same error with 2.6.9 too.
> > > >
> > > > GCC 3.2.2 and 3.4.1.
> > > >
> > > > Has this been fixed since 2.6.10-rc1? Searching my Linux-Kernel folder
> > > > didn't find a match.
> > >
> > > I can't reproduce it with your .config in 2.6.10-rc1.
> > >
> > > Please send the output of ./scripts/ver_linux .
> >
> > The problem does not occur if I unselect "Generic PCI bus-master DMA
> > support".
>
> That's not a surprise since in this case ide-dma.c won't be included
> into your kernel.
>
> > I'm also using 0=../out.router.20041030 for an external directory:
> > make O=../out.router.20041030/ bzImage
>
> Works for me...
>
> > >From the FC2 system:
> >...
> > >From the RH9 system:
> >...
>
> The systems seem to be different enough for ruling out a problem with a
> specific compiler or assembler version (in both cases, my versions
> are between your versions).
As I mentioned, this is a problem with RH9; you might not want to take
this further. :-)
> You don't have _any_ patches applied?
> Your kernel comes directly from ftp.kernel.org (or one of it's mirrors)?
No patches. I downloaded 2.6.9 again last night and applied the
2.6.10-rc1 patch with ketchup-0.8.1. The downloaded 2.6.9 and my previous
version created by ketchup had no differences.
I avoided a 2.6.10-rc1 problem by hand copying usr/initramfs_list to
../out.router.20041030/usr
> Does unsetting
> General setup
> Configure standard kernel features (for small systems)
> Optimize for size
> help?
Yes, that avoided the problem too.
> Please do the following:
> - make V=1 O=../out.router.20041030/ bzImage
> - cd ../out.router.20041030/
> - the first command should have given you the failed gcc command;
> run it with the following changes:
> - replace "-c" with "-S"
> - replace "ide-dma.o" with "ide-dma.s"
> - send me the resulting file drivers/ide/ide-dma.s
> (please Cc linux-kernel)
Attached is the ide-dma.s with "Optimize for size" on.
-Paul
[-- Attachment #2: ide-dma.s --]
[-- Type: application/octet-stream, Size: 30094 bytes --]
.file "ide-dma.c"
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Micropolis 2112A"
.LC1:
.string "ALL"
.LC2:
.string "CONNER CTMA 4000"
.LC3:
.string "CONNER CTT8000-A"
.LC4:
.string "ST34342A"
.section .rodata
.align 32
.type drive_whitelist,@object
.size drive_whitelist,40
drive_whitelist:
.long .LC0
.long .LC1
.long .LC2
.long .LC1
.long .LC3
.long .LC1
.long .LC4
.long .LC1
.long 0
.long 0
.section .rodata.str1.1
.LC5:
.string "WDC AC11000H"
.LC6:
.string "WDC AC22100H"
.LC7:
.string "WDC AC32500H"
.LC8:
.string "WDC AC33100H"
.LC9:
.string "WDC AC31600H"
.LC10:
.string "WDC AC32100H"
.LC11:
.string "24.09P07"
.LC12:
.string "WDC AC23200L"
.LC13:
.string "21.10N21"
.LC14:
.string "Compaq CRD-8241B"
.LC15:
.string "CRD-8400B"
.LC16:
.string "CRD-8480B"
.LC17:
.string "CRD-8480C"
.LC18:
.string "CRD-8482B"
.LC19:
.string "CRD-84"
.LC20:
.string "SanDisk SDP3B"
.LC21:
.string "SanDisk SDP3B-64"
.LC22:
.string "SANYO CD-ROM CRD"
.LC23:
.string "HITACHI CDR-8"
.LC24:
.string "HITACHI CDR-8335"
.LC25:
.string "HITACHI CDR-8435"
.LC26:
.string "Toshiba CD-ROM XM-6202B"
.LC27:
.string "CD-532E-A"
.LC28:
.string "E-IDE CD-ROM CR-840"
.LC29:
.string "CD-ROM Drive/F5A"
.LC30:
.string "RICOH CD-R/RW MP7083A"
.LC31:
.string "WPI CDD-820"
.LC32:
.string "SAMSUNG CD-ROM SC-148C"
.LC33:
.string "SAMSUNG CD-ROM SC-148F"
.LC34:
.string "SAMSUNG CD-ROM SC"
.LC35:
.string "SAMSUNG CD-ROM SN-124"
.LC36:
.string "PLEXTOR CD-R PX-W8432T"
.section .rodata.str1.32,"aMS",@progbits,1
.align 32
.LC37:
.string "ATAPI CD-ROM DRIVE 40X MAXIMUM"
.section .rodata.str1.1
.LC38:
.string "_NEC DV5800A"
.section .rodata
.align 32
.type drive_blacklist,@object
.size drive_blacklist,272
drive_blacklist:
.long .LC5
.long .LC1
.long .LC6
.long .LC1
.long .LC7
.long .LC1
.long .LC8
.long .LC1
.long .LC9
.long .LC1
.long .LC10
.long .LC11
.long .LC12
.long .LC13
.long .LC14
.long .LC1
.long .LC15
.long .LC1
.long .LC16
.long .LC1
.long .LC17
.long .LC1
.long .LC18
.long .LC1
.long .LC19
.long .LC1
.long .LC20
.long .LC1
.long .LC21
.long .LC1
.long .LC22
.long .LC1
.long .LC23
.long .LC1
.long .LC24
.long .LC1
.long .LC25
.long .LC1
.long .LC26
.long .LC1
.long .LC27
.long .LC1
.long .LC28
.long .LC1
.long .LC29
.long .LC1
.long .LC30
.long .LC1
.long .LC31
.long .LC1
.long .LC32
.long .LC1
.long .LC33
.long .LC1
.long .LC34
.long .LC1
.long .LC21
.long .LC1
.long .LC35
.long .LC1
.long .LC36
.long .LC1
.long .LC37
.long .LC1
.long .LC38
.long .LC1
.long 0
.long 0
.text
.type in_drive_list,@function
in_drive_list:
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %esi
pushl %ebx
movl 12(%ebp), %ebx
cmpl $0, (%ebx)
je .L12
.L10:
movl 8(%ebp), %edi
movl (%ebx), %esi
addl $54, %edi
#APP
1: lodsb
scasb
jne 2f
testb %al,%al
jne 1b
xorl %eax,%eax
jmp 3f
2: sbbl %eax,%eax
orb $1,%al
3:
#NO_APP
testl %eax, %eax
je .L13
.L4:
addl $8, %ebx
cmpl $0, (%ebx)
jne .L10
.L12:
xorl %eax, %eax
.L1:
leal -12(%ebp), %esp
popl %ebx
popl %esi
popl %edi
leave
ret
.L13:
movl 8(%ebp), %eax
addl $46, %eax
pushl %eax
pushl 4(%ebx)
call strstr
popl %edx
testl %eax, %eax
popl %ecx
jne .L8
movl 4(%ebx), %esi
movl $.LC1, %edi
#APP
1: lodsb
scasb
jne 2f
testb %al,%al
jne 1b
xorl %eax,%eax
jmp 3f
2: sbbl %eax,%eax
orb $1,%al
3:
#NO_APP
testl %eax, %eax
jne .L4
.L8:
movl $1, %eax
jmp .L1
.Lfe1:
.size in_drive_list,.Lfe1-in_drive_list
.section .rodata.str1.1
.LC40:
.string "dma_intr"
.section .rodata.str1.32
.align 32
.LC39:
.string "<3>%s: dma_intr: bad DMA status (dma_stat=%x)\n"
.text
.globl ide_dma_intr
.type ide_dma_intr,@function
ide_dma_intr:
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %esi
pushl %ebx
movl 8(%ebp), %ebx
movl 112(%ebx), %eax
pushl %ebx
call *1108(%eax)
movl %eax, %esi
movl 112(%ebx), %eax
pushl 52(%eax)
call *1172(%eax)
popl %edx
popl %ecx
movl %eax, %edi
movb 176(%ebx), %al
orl $88, %eax
andl %edi, %eax
cmpb $80, %al
je .L17
.L15:
movl %edi, %ecx
movl 28(%ebx), %edx
movzbl %cl, %eax
pushl %eax
pushl $.LC40
pushl %ebx
call *32(%edx)
.L14:
leal -12(%ebp), %esp
popl %ebx
popl %esi
popl %edi
leave
ret
.L17:
movl %esi, %eax
testb %al, %al
jne .L16
movl 112(%ebx), %eax
movl 28(%ebx), %edx
movl 8(%eax), %eax
movl 32(%eax), %eax
pushl 16(%eax)
pushl $1
pushl %ebx
call *24(%edx)
xorl %eax, %eax
jmp .L14
.L16:
movzbl %al, %eax
pushl %eax
pushl %ebx
pushl $.LC39
call printk
addl $12, %esp
jmp .L15
.Lfe2:
.size ide_dma_intr,.Lfe2-ide_dma_intr
.section .rodata.str1.1
.LC41:
.string "include2/asm/dma-mapping.h"
.text
.globl ide_build_sglist
.type ide_build_sglist,@function
ide_build_sglist:
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %esi
movl 8(%ebp), %eax
pushl %ebx
movl 112(%eax), %esi
movl 1200(%esi), %ebx
pushl %ebx
pushl 12(%ebp)
pushl 16(%eax)
call blk_rq_map_sg
addl $12, %esp
movl %eax, %edi
movl 12(%ebp), %eax
testb $1, 8(%eax)
sete %al
movzbl %al, %eax
incl %eax
cmpl $3, %eax
movl %eax, 1212(%esi)
je .L37
.L23:
testl %edi, %edi
jle .L35
movl %ebx, %edx
movl %edi, %ecx
.L36:
movl (%edx), %eax
testl %eax, %eax
je .L38
.L29:
subl mem_map, %eax
sarl $5, %eax
sall $12, %eax
addl 4(%edx), %eax
movl %eax, 8(%edx)
addl $16, %edx
loop .L36
.L35:
leal -12(%ebp), %esp
movl %edi, %eax
popl %ebx
popl %esi
popl %edi
leave
ret
.L38:
#APP
ud2
.word 44
.long .LC41
#NO_APP
jmp .L29
.L37:
#APP
ud2
.word 41
.long .LC41
#NO_APP
jmp .L23
.Lfe3:
.size ide_build_sglist,.Lfe3-ide_build_sglist
.section .rodata.str1.32
.align 32
.LC42:
.string "/home/dickson/downloads/linux/linux-2.6.10-rc1/drivers/ide/ide-dma.c"
.text
.globl ide_raw_build_sglist
.type ide_raw_build_sglist,@function
ide_raw_build_sglist:
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %esi
pushl %ebx
subl $16, %esp
movl 8(%ebp), %eax
movl 12(%ebp), %edx
movl 112(%eax), %eax
movl %eax, -16(%ebp)
movl 1200(%eax), %ebx
movl $0, -20(%ebp)
movl 92(%edx), %eax
movl 72(%edx), %esi
cmpl $4, 28(%eax)
setne %al
movl 16(%edx), %edx
movl -16(%ebp), %ecx
movzbl %al, %eax
incl %eax
cmpl $256, %edx
movl %eax, 1212(%ecx)
jle .L42
#APP
ud2
.word 251
.long .LC42
#NO_APP
.L42:
cmpl $128, %edx
jle .L43
movl $4, %ecx
movl %ebx, %edi
movl -20(%ebp), %eax
#APP
rep ; stosl
#NO_APP
leal 1073741824(%esi), %eax
addl $-128, %edx
shrl $12, %eax
sall $5, %eax
addl mem_map, %eax
movl $65536, 12(%ebx)
movl %eax, (%ebx)
movl %esi, %eax
andl $4095, %eax
addl $65536, %esi
movl %eax, 4(%ebx)
movl $1, -20(%ebp)
.L43:
movl -20(%ebp), %edi
sall $9, %edx
xorl %eax, %eax
movl $4, %ecx
sall $4, %edi
leal (%edi,%ebx), %edi
movl %edi, -28(%ebp)
#APP
rep ; stosl
#NO_APP
leal 1073741824(%esi), %eax
movl -28(%ebp), %ecx
andl $4095, %esi
shrl $12, %eax
sall $5, %eax
addl mem_map, %eax
movl %edx, 12(%ecx)
movl %esi, 4(%ecx)
movl %eax, (%ecx)
movl -16(%ebp), %edi
incl -20(%ebp)
cmpl $3, 1212(%edi)
je .L92
.L78:
cmpl $0, -20(%ebp)
jle .L90
movl %ebx, %edi
movl -20(%ebp), %ecx
.L91:
movl (%edi), %eax
testl %eax, %eax
je .L93
.L84:
subl mem_map, %eax
sarl $5, %eax
sall $12, %eax
addl 4(%edi), %eax
movl %eax, 8(%edi)
addl $16, %edi
loop .L91
.L90:
movl -20(%ebp), %eax
addl $16, %esp
popl %ebx
popl %esi
popl %edi
leave
ret
.L93:
#APP
ud2
.word 44
.long .LC41
#NO_APP
jmp .L84
.L92:
#APP
ud2
.word 41
.long .LC41
#NO_APP
jmp .L78
.Lfe4:
.size ide_raw_build_sglist,.Lfe4-ide_raw_build_sglist
.section .rodata.str1.1
.LC44:
.string "<3>%s: empty DMA table?\n"
.LC43:
.string "<3>%s: DMA table too small\n"
.text
.globl ide_build_dmatable
.type ide_build_dmatable,@function
ide_build_dmatable:
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %esi
pushl %ebx
subl $16, %esp
movl 8(%ebp), %eax
movl 12(%ebp), %edx
movl 112(%eax), %eax
movl %eax, -16(%ebp)
cmpl $10, 1024(%eax)
movl 1192(%eax), %ebx
movl $0, -24(%ebp)
sete %al
movl -16(%ebp), %ecx
movzbl %al, %eax
movl %eax, -20(%ebp)
movl 8(%ecx), %eax
movl 32(%eax), %eax
testb $2, 10(%eax)
je .L95
pushl %edx
pushl 8(%ebp)
call ide_raw_build_sglist
.L127:
movl %eax, %ecx
movl -16(%ebp), %eax
movl %ecx, 1208(%eax)
popl %edi
popl %eax
xorl %eax, %eax
testl %ecx, %ecx
je .L94
movl -16(%ebp), %eax
movl 1200(%eax), %eax
movl %eax, -28(%ebp)
.L112:
movl -28(%ebp), %eax
movl 12(%eax), %esi
movl 8(%eax), %edi
testl %esi, %esi
je .L124
.L111:
movl -24(%ebp), %eax
incl -24(%ebp)
cmpl $255, %eax
ja .L126
movl %edi, %eax
movl $65536, %edx
andl $65535, %eax
subl %eax, %edx
cmpl %esi, %edx
jbe .L107
movl %esi, %edx
.L107:
movl %edi, (%ebx)
movzwl %dx,%eax
addl $4, %ebx
cmpl $0, -20(%ebp)
je .L108
shrl $2, %eax
decl %eax
sall $16, %eax
.L108:
testl %eax, %eax
jne .L109
movl -24(%ebp), %eax
incl -24(%ebp)
cmpl $255, %eax
ja .L126
leal 32768(%edi), %eax
movl $32768, (%ebx)
addl $4, %ebx
movl %eax, (%ebx)
movl $32768, %eax
addl $4, %ebx
.L109:
movl %eax, (%ebx)
addl %edx, %edi
addl $4, %ebx
subl %edx, %esi
jne .L111
.L124:
addl $16, -28(%ebp)
loop .L112
cmpl $0, -24(%ebp)
je .L113
cmpl $0, -20(%ebp)
jne .L114
orl $-2147483648, -4(%ebx)
.L114:
movl -24(%ebp), %eax
.L94:
leal -12(%ebp), %esp
popl %ebx
popl %esi
popl %edi
leave
ret
.L113:
pushl 8(%ebp)
pushl $.LC44
.L128:
.L105:
call printk
movl -16(%ebp), %ecx
popl %ebx
cmpl $3, 1212(%ecx)
popl %esi
je .L129
.L120:
xorl %eax, %eax
jmp .L94
.L129:
#APP
ud2
.word 73
.long .LC41
#NO_APP
jmp .L120
.L126:
pushl 8(%ebp)
pushl $.LC43
jmp .L128
.L95:
pushl %edx
pushl 8(%ebp)
call ide_build_sglist
jmp .L127
.Lfe5:
.size ide_build_dmatable,.Lfe5-ide_build_dmatable
.globl ide_destroy_dmatable
.type ide_destroy_dmatable,@function
ide_destroy_dmatable:
pushl %ebp
movl %esp, %ebp
movl 8(%ebp), %eax
movl 112(%eax), %eax
cmpl $3, 1212(%eax)
je .L137
.L130:
leave
ret
.L137:
#APP
ud2
.word 73
.long .LC41
#NO_APP
jmp .L130
.Lfe6:
.size ide_destroy_dmatable,.Lfe6-ide_destroy_dmatable
.type config_drive_for_dma,@function
config_drive_for_dma:
pushl %ebp
movl %esp, %ebp
pushl %esi
pushl %ebx
movl 8(%ebp), %ebx
movl 36(%ebx), %ecx
movl 112(%ebx), %esi
movb 99(%ecx), %al
andl $1, %eax
testb %al, %al
je .L139
testb $64, 1292(%esi)
je .L139
movw 106(%ecx), %dx
movl %edx, %eax
andl $4, %eax
testw %ax, %ax
je .L140
movzbw 177(%ecx), %ax
andl $127, %eax
testw %ax, %ax
jne .L145
.L140:
andl $2, %edx
testw %dx, %dx
je .L141
movw 126(%ecx), %ax
andw $1028, %ax
cmpw $1028, %ax
je .L145
movw 124(%ecx), %ax
andw $1028, %ax
cmpw $1028, %ax
je .L145
.L141:
pushl %ebx
call __ide_dma_good_drive
popl %edx
testl %eax, %eax
jne .L145
.L139:
pushl %ebx
call *1120(%esi)
.L138:
leal -8(%ebp), %esp
popl %ebx
popl %esi
leave
ret
.L145:
pushl %ebx
call *1116(%esi)
jmp .L138
.Lfe7:
.size config_drive_for_dma,.Lfe7-config_drive_for_dma
.section .rodata.str1.32
.align 32
.LC45:
.string "<4>%s: dma_timer_expiry: dma status == 0x%02x\n"
.text
.type dma_timer_expiry,@function
dma_timer_expiry:
pushl %ebp
movl %esp, %ebp
pushl %esi
movl 8(%ebp), %esi
pushl %ebx
movl 112(%esi), %eax
pushl 1264(%eax)
call *1172(%eax)
movb %al, %bl
movzbl %al, %eax
pushl %eax
pushl %esi
pushl $.LC45
call printk
movl $10000, %edx
movb %bl, %al
addl $16, %esp
andl $24, %eax
cmpb $24, %al
je .L146
movl 112(%esi), %eax
orl $-1, %edx
movl 8(%eax), %eax
movl $0, 208(%eax)
movb %bl, %al
andl $2, %eax
testb %al, %al
jne .L146
movb %bl, %al
movl $10000, %edx
andl $1, %eax
testb %al, %al
jne .L146
andl $4, %ebx
movl $10000, %edx
testb %bl, %bl
jne .L146
xorl %edx, %edx
.L146:
leal -8(%ebp), %esp
movl %edx, %eax
popl %ebx
popl %esi
leave
ret
.Lfe8:
.size dma_timer_expiry,.Lfe8-dma_timer_expiry
.globl __ide_dma_host_off
.type __ide_dma_host_off,@function
__ide_dma_host_off:
pushl %ebp
movl %esp, %ebp
pushl %esi
movl 8(%ebp), %eax
pushl %ebx
movb 136(%eax), %bl
movl 112(%eax), %esi
shrb $4, %bl
pushl 1264(%esi)
andl $1, %ebx
call *1172(%esi)
movzbl %bl, %edx
leal 5(%edx), %ecx
movl $-2, %edx
pushl 1264(%esi)
roll %cl, %edx
andl %eax, %edx
movzbl %dl, %edx
pushl %edx
call *1148(%esi)
leal -8(%ebp), %esp
popl %ebx
xorl %eax, %eax
popl %esi
leave
ret
.Lfe9:
.size __ide_dma_host_off,.Lfe9-__ide_dma_host_off
.globl __ide_dma_off_quietly
.type __ide_dma_off_quietly,@function
__ide_dma_off_quietly:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl 8(%ebp), %ebx
movb $0, 142(%ebx)
pushl $0
pushl %ebx
call ide_toggle_bounce
movl 112(%ebx), %eax
pushl %ebx
call *1132(%eax)
addl $12, %esp
movl -4(%ebp), %ebx
leave
testl %eax, %eax
setne %al
movzbl %al, %eax
ret
.Lfe10:
.size __ide_dma_off_quietly,.Lfe10-__ide_dma_off_quietly
.section .rodata.str1.1
.LC46:
.string "<6>%s: DMA disabled\n"
.text
.globl __ide_dma_off
.type __ide_dma_off,@function
__ide_dma_off:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl 8(%ebp), %ebx
pushl %ebx
pushl $.LC46
call printk
movl 112(%ebx), %eax
pushl %ebx
call *1120(%eax)
movl -4(%ebp), %ebx
leave
ret
.Lfe11:
.size __ide_dma_off,.Lfe11-__ide_dma_off
.globl __ide_dma_host_on
.type __ide_dma_host_on,@function
__ide_dma_host_on:
pushl %ebp
movl %esp, %ebp
pushl %esi
movl 8(%ebp), %eax
pushl %ebx
cmpb $0, 142(%eax)
jne .L157
movl $1, %eax
.L155:
leal -8(%ebp), %esp
popl %ebx
popl %esi
leave
ret
.L157:
movb 136(%eax), %bl
movl 112(%eax), %esi
shrb $4, %bl
pushl 1264(%esi)
andl $1, %ebx
call *1172(%esi)
movzbl %bl, %edx
leal 5(%edx), %ecx
movl $1, %edx
pushl 1264(%esi)
sall %cl, %edx
orl %edx, %eax
movzbl %al, %eax
pushl %eax
call *1148(%esi)
xorl %eax, %eax
jmp .L155
.Lfe12:
.size __ide_dma_host_on,.Lfe12-__ide_dma_host_on
.globl __ide_dma_on
.type __ide_dma_on,@function
__ide_dma_on:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl 8(%ebp), %ebx
pushl %ebx
call __ide_dma_bad_drive
movl $1, %edx
testl %eax, %eax
popl %ecx
je .L161
.L158:
movl -4(%ebp), %ebx
movl %edx, %eax
leave
ret
.L161:
movb $1, 142(%ebx)
pushl $1
pushl %ebx
call ide_toggle_bounce
movl 112(%ebx), %eax
pushl %ebx
call *1128(%eax)
xorl %edx, %edx
addl $12, %esp
testl %eax, %eax
setne %dl
jmp .L158
.Lfe13:
.size __ide_dma_on,.Lfe13-__ide_dma_on
.globl __ide_dma_check
.type __ide_dma_check,@function
__ide_dma_check:
pushl %ebp
movl %esp, %ebp
leave
jmp config_drive_for_dma
.Lfe14:
.size __ide_dma_check,.Lfe14-__ide_dma_check
.globl ide_dma_setup
.type ide_dma_setup,@function
ide_dma_setup:
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %esi
movl 8(%ebp), %eax
pushl %ebx
movl 112(%eax), %ebx
movl 8(%ebx), %eax
movl 32(%eax), %esi
testb $1, 8(%esi)
pushl %esi
sete %al
pushl 8(%ebp)
movzbl %al, %edi
call ide_build_dmatable
sall $3, %edi
popl %edx
testl %eax, %eax
popl %ecx
jne .L166
pushl %esi
pushl 8(%ebp)
call ide_map_sg
movl $1, %eax
.L163:
leal -12(%ebp), %esp
popl %ebx
popl %esi
popl %edi
leave
ret
.L166:
pushl 1272(%ebx)
pushl 1196(%ebx)
call *1160(%ebx)
pushl 1256(%ebx)
pushl %edi
call *1148(%ebx)
pushl 1264(%ebx)
call *1172(%ebx)
pushl 1264(%ebx)
orl $6, %eax
movzbl %al, %eax
pushl %eax
call *1148(%ebx)
movl 8(%ebp), %eax
movb $1, 145(%eax)
xorl %eax, %eax
jmp .L163
.Lfe15:
.size ide_dma_setup,.Lfe15-ide_dma_setup
.type ide_dma_exec_cmd,@function
ide_dma_exec_cmd:
pushl %ebp
movl %esp, %ebp
pushl $dma_timer_expiry
movzbl 12(%ebp), %eax
pushl $20000
pushl $ide_dma_intr
pushl %eax
pushl 8(%ebp)
call ide_execute_command
leave
ret
.Lfe16:
.size ide_dma_exec_cmd,.Lfe16-ide_dma_exec_cmd
.globl ide_dma_start
.type ide_dma_start,@function
ide_dma_start:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl 8(%ebp), %eax
movl 112(%eax), %ebx
pushl 1256(%ebx)
call *1172(%ebx)
pushl 1256(%ebx)
orl $1, %eax
movzbl %al, %eax
pushl %eax
call *1148(%ebx)
movl $1, 1484(%ebx)
movl -4(%ebp), %ebx
leave
ret
.Lfe17:
.size ide_dma_start,.Lfe17-ide_dma_start
.globl __ide_dma_end
.type __ide_dma_end,@function
__ide_dma_end:
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %esi
movl 8(%ebp), %esi
pushl %ebx
movl 112(%esi), %ebx
movb $0, 145(%esi)
pushl 1256(%ebx)
call *1172(%ebx)
pushl 1256(%ebx)
andl $254, %eax
pushl %eax
call *1148(%ebx)
pushl 1264(%ebx)
call *1172(%ebx)
pushl 1264(%ebx)
movl %eax, %edi
orl $6, %eax
movzbl %al, %eax
pushl %eax
call *1148(%ebx)
pushl %esi
call ide_destroy_dmatable
movl $0, 1484(%ebx)
movl %edi, %eax
addl $28, %esp
andl $7, %eax
cmpb $4, %al
je .L170
orl $16, %edi
movl %edi, %edx
movzbl %dl, %eax
.L171:
leal -12(%ebp), %esp
popl %ebx
popl %esi
popl %edi
leave
ret
.L170:
xorl %eax, %eax
jmp .L171
.Lfe18:
.size __ide_dma_end,.Lfe18-__ide_dma_end
.section .rodata
.type __func__.0,@object
.size __func__.0,19
__func__.0:
.string "__ide_dma_test_irq"
.section .rodata.str1.32
.align 32
.LC47:
.string "<4>%s: (%s) called while not waiting\n"
.text
.globl __ide_dma_test_irq
.type __ide_dma_test_irq,@function
__ide_dma_test_irq:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl 8(%ebp), %ebx
movl 112(%ebx), %eax
pushl 1264(%eax)
call *1172(%eax)
popl %edx
movl $1, %edx
andl $4, %eax
testb %al, %al
jne .L172
cmpb $0, 145(%ebx)
je .L175
.L174:
xorl %edx, %edx
.L172:
movl -4(%ebp), %ebx
movl %edx, %eax
leave
ret
.L175:
pushl $__func__.0
pushl %ebx
pushl $.LC47
call printk
addl $12, %esp
jmp .L174
.Lfe19:
.size __ide_dma_test_irq,.Lfe19-__ide_dma_test_irq
.section .rodata.str1.32
.align 32
.LC48:
.string "<4>%s: Disabling (U)DMA for %s (blacklisted)\n"
.text
.globl __ide_dma_bad_drive
.type __ide_dma_bad_drive,@function
__ide_dma_bad_drive:
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %esi
movl 8(%ebp), %edi
pushl %ebx
movl 36(%edi), %ebx
pushl $drive_blacklist
pushl %ebx
call in_drive_list
popl %ecx
movl %eax, %esi
popl %eax
testl %esi, %esi
jne .L178
xorl %eax, %eax
.L176:
leal -12(%ebp), %esp
popl %ebx
popl %esi
popl %edi
leave
ret
.L178:
leal 54(%ebx), %eax
pushl %eax
pushl %edi
pushl $.LC48
call printk
movl %esi, %eax
jmp .L176
.Lfe20:
.size __ide_dma_bad_drive,.Lfe20-__ide_dma_bad_drive
.globl __ide_dma_good_drive
.type __ide_dma_good_drive,@function
__ide_dma_good_drive:
pushl %ebp
movl %esp, %ebp
pushl $drive_whitelist
movl 8(%ebp), %eax
pushl 36(%eax)
call in_drive_list
leave
ret
.Lfe21:
.size __ide_dma_good_drive,.Lfe21-__ide_dma_good_drive
.section .rodata.str1.1
.LC57:
.string ", UDMA(16)"
.LC56:
.string ", UDMA(25)"
.LC55:
.string ", UDMA(33)"
.LC54:
.string ", UDMA(44)"
.LC53:
.string ", UDMA(66)"
.LC52:
.string ", UDMA(100)"
.LC51:
.string ", UDMA(133)"
.LC50:
.string ", UDMA(mode 7)"
.LC58:
.string ", (U)DMA"
.LC49:
.string ", BUG DMA OFF"
.LC59:
.string ", DMA"
.LC60:
.string ", BUG"
.text
.globl __ide_dma_verbose
.type __ide_dma_verbose,@function
__ide_dma_verbose:
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %esi
movl 8(%ebp), %eax
pushl %ebx
movl 36(%eax), %esi
movl 112(%eax), %edi
movw 106(%esi), %dx
movl %edx, %eax
andl $4, %eax
testw %ax, %ax
je .L181
cmpb $0, 177(%esi)
movw 176(%esi), %bx
je .L182
cmpb $0, 127(%esi)
jne .L209
.L182:
movzbl 1018(%edi), %ecx
movzbl %bh, %edx
movzwl %bx, %eax
andl %ecx, %edx
testl %edx, %eax
je .L183
shrw $11, %bx
testw %bx, %bx
jne .L210
.L195:
movw 176(%esi), %dx
movl %edx, %eax
shrw $10, %ax
andl $1, %eax
testw %ax, %ax
jne .L211
movl %edx, %eax
shrw $9, %ax
andl $1, %eax
testw %ax, %ax
jne .L212
shrw $8, %dx
andl $1, %edx
testw %dx, %dx
jne .L213
.L203:
movl $1, %eax
.L180:
leal -12(%ebp), %esp
popl %ebx
popl %esi
popl %edi
leave
ret
.L213:
pushl $.LC57
.L208:
call printk
popl %eax
jmp .L203
.L212:
pushl $.LC56
jmp .L208
.L211:
pushl $.LC55
jmp .L208
.L210:
pushl 8(%ebp)
call eighty_ninty_three
popl %edx
testb %al, %al
je .L195
movw 176(%esi), %dx
testw %dx, %dx
js .L214
movl %edx, %eax
shrw $14, %ax
andl $1, %eax
testw %ax, %ax
jne .L215
movl %edx, %eax
shrw $13, %ax
andl $1, %eax
testw %ax, %ax
jne .L216
movl %edx, %eax
shrw $12, %ax
andl $1, %eax
testw %ax, %ax
jne .L217
shrw $11, %dx
andl $1, %edx
testw %dx, %dx
je .L195
pushl $.LC54
jmp .L208
.L217:
pushl $.LC53
jmp .L208
.L216:
pushl $.LC52
jmp .L208
.L215:
pushl $.LC51
jmp .L208
.L214:
pushl $.LC50
jmp .L208
.L183:
pushl $.LC58
jmp .L208
.L209:
pushl $.LC49
call printk
pushl 8(%ebp)
call *1120(%edi)
jmp .L180
.L181:
movl %edx, %eax
andl $2, %eax
testw %ax, %ax
je .L204
cmpb $0, 127(%esi)
je .L205
cmpb $0, 125(%esi)
jne .L209
.L205:
pushl $.LC59
jmp .L208
.L204:
andl $1, %edx
testw %dx, %dx
je .L203
pushl $.LC60
jmp .L208
.Lfe22:
.size __ide_dma_verbose,.Lfe22-__ide_dma_verbose
.section .rodata.str1.1
.LC61:
.string "%s: DMA interrupt recovery\n"
.text
.globl __ide_dma_lostirq
.type __ide_dma_lostirq,@function
__ide_dma_lostirq:
pushl %ebp
movl %esp, %ebp
pushl 8(%ebp)
pushl $.LC61
call printk
leave
movl $1, %eax
ret
.Lfe23:
.size __ide_dma_lostirq,.Lfe23-__ide_dma_lostirq
.section .rodata.str1.32
.align 32
.LC62:
.string "<3>%s: timeout waiting for DMA\n"
.text
.globl __ide_dma_timeout
.type __ide_dma_timeout,@function
__ide_dma_timeout:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl 8(%ebp), %ebx
pushl %ebx
pushl $.LC62
call printk
movl 112(%ebx), %eax
pushl %ebx
call *1124(%eax)
xorl %edx, %edx
addl $12, %esp
testl %eax, %eax
je .L221
.L219:
movl -4(%ebp), %ebx
movl %edx, %eax
leave
ret
.L221:
movl 112(%ebx), %eax
pushl %ebx
call *1108(%eax)
movl %eax, %edx
jmp .L219
.Lfe24:
.size __ide_dma_timeout,.Lfe24-__ide_dma_timeout
.globl ide_release_dma_engine
.type ide_release_dma_engine,@function
ide_release_dma_engine:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl 8(%ebp), %ebx
movl 1192(%ebx), %eax
testl %eax, %eax
je .L223
movl 1028(%ebx), %edx
pushl 1196(%ebx)
pushl %eax
xorl %eax, %eax
testl %edx, %edx
pushl $2048
je .L225
leal 68(%edx), %eax
.L225:
pushl %eax
call dma_free_coherent
movl $0, 1192(%ebx)
addl $16, %esp
.L223:
movl -4(%ebp), %ebx
movl $1, %eax
leave
ret
.Lfe25:
.size ide_release_dma_engine,.Lfe25-ide_release_dma_engine
.globl ide_release_iomio_dma
.type ide_release_iomio_dma,@function
ide_release_iomio_dma:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl 8(%ebp), %ebx
movl 1280(%ebx), %eax
testl %eax, %eax
je .L228
cmpb $0, 1014(%ebx)
je .L230
.L228:
pushl $8
pushl 1252(%ebx)
pushl $ioport_resource
call __release_region
addl $12, %esp
cmpl $0, 1276(%ebx)
jne .L231
.L229:
movl -4(%ebp), %ebx
movl $1, %eax
leave
ret
.L231:
pushl $8
pushl 1252(%ebx)
pushl $ioport_resource
call __release_region
addl $12, %esp
jmp .L229
.L230:
pushl %eax
movl 1252(%ebx), %eax
addl $16, %eax
pushl %eax
pushl $ioport_resource
call __release_region
addl $12, %esp
jmp .L228
.Lfe26:
.size ide_release_iomio_dma,.Lfe26-ide_release_iomio_dma
.globl ide_release_dma
.type ide_release_dma,@function
ide_release_dma:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl 8(%ebp), %ebx
cmpl $2, 1236(%ebx)
je .L232
cmpl $15, 1024(%ebx)
je .L232
pushl %ebx
call ide_release_dma_engine
popl %ecx
movl %ebx, 8(%ebp)
movl -4(%ebp), %ebx
leave
jmp ide_release_iomio_dma
.L232:
movl -4(%ebp), %ebx
movl $1, %eax
leave
ret
.Lfe27:
.size ide_release_dma,.Lfe27-ide_release_dma
.section .rodata.str1.1
.LC63:
.string " CPU"
.section .rodata.str1.32
.align 32
.LC65:
.string "<3>%s: -- Error, unable to allocate%s DMA table(s).\n"
.text
.globl ide_allocate_dma_engine
.type ide_allocate_dma_engine,@function
ide_allocate_dma_engine:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl 8(%ebp), %ebx
movl 1028(%ebx), %edx
leal 1196(%ebx), %eax
pushl $32
pushl %eax
xorl %eax, %eax
testl %edx, %edx
pushl $2048
je .L237
leal 68(%edx), %eax
.L237:
pushl %eax
call dma_alloc_coherent
xorl %edx, %edx
addl $16, %esp
movl %eax, 1192(%ebx)
testl %eax, %eax
je .L242
.L235:
movl -4(%ebp), %ebx
movl %edx, %eax
leave
ret
.L242:
movl 1032(%ebx), %eax
pushl (%eax)
pushl $.LC63
pushl $.LC65
call printk
pushl %ebx
call ide_release_dma_engine
movl $1, %edx
jmp .L235
.Lfe28:
.size ide_allocate_dma_engine,.Lfe28-ide_allocate_dma_engine
.section .rodata.str1.1
.LC66:
.string "<6> %s: MMIO-DMA "
.text
.globl ide_mapped_mmio_dma
.type ide_mapped_mmio_dma,@function
ide_mapped_mmio_dma:
pushl %ebp
movl %esp, %ebp
pushl %esi
pushl %ebx
movl 12(%ebp), %esi
movl 8(%ebp), %ebx
leal 16(%ebx), %eax
pushl %eax
pushl $.LC66
call printk
movl 1032(%ebx), %eax
movl %esi, 1252(%ebx)
movl 40(%eax), %eax
popl %edx
testl %eax, %eax
popl %ecx
je .L244
cmpb $0, 1014(%ebx)
jne .L244
movl %eax, 1280(%ebx)
.L244:
movl 4(%ebx), %eax
testl %eax, %eax
je .L245
cmpb $0, 1014(%ebx)
je .L246
movl 1252(%eax), %eax
.L247:
movl %eax, 1248(%ebx)
.L248:
leal -8(%ebp), %esp
xorl %eax, %eax
popl %ebx
popl %esi
leave
ret
.L246:
movl %esi, %eax
jmp .L247
.L245:
movl %esi, 1248(%ebx)
jmp .L248
.Lfe29:
.size ide_mapped_mmio_dma,.Lfe29-ide_mapped_mmio_dma
.section .rodata.str1.32
.align 32
.LC67:
.string "<6> %s: BM-DMA at 0x%04lx-0x%04lx"
.align 32
.LC69:
.string " -- Error, secondary ports in use.\n"
.section .rodata.str1.1
.LC68:
.string " -- Error, ports in use.\n"
.text
.globl ide_iomio_dma
.type ide_iomio_dma,@function
ide_iomio_dma:
pushl %ebp
movl %esp, %ebp
pushl %edi
movl 16(%ebp), %edx
pushl %esi
movl 12(%ebp), %edi
pushl %ebx
movl 8(%ebp), %esi
leal -1(%edx,%edi), %eax
leal 16(%esi), %ebx
pushl %eax
pushl %edi
pushl %ebx
pushl $.LC67
call printk
pushl %ebx
pushl 16(%ebp)
pushl %edi
pushl $ioport_resource
call __request_region
addl $32, %esp
testl %eax, %eax
je .L259
movl 1032(%esi), %eax
movl %edi, 1252(%esi)
cmpl $0, 40(%eax)
je .L251
cmpb $0, 1014(%esi)
je .L260
.L251:
movl 4(%esi), %eax
testl %eax, %eax
je .L252
cmpb $0, 1014(%esi)
je .L253
movl 1252(%eax), %eax
.L254:
movl %eax, 1248(%esi)
.L255:
movl 1276(%esi), %edx
testl %edx, %edx
jne .L261
.L256:
xorl %eax, %eax
.L249:
leal -12(%ebp), %esp
popl %ebx
popl %esi
popl %edi
leave
ret
.L261:
leal 16(%esi), %eax
pushl %eax
pushl 16(%ebp)
pushl %edx
pushl $ioport_resource
call __request_region
addl $16, %esp
testl %eax, %eax
jne .L256
pushl $.LC69
call printk
pushl 16(%ebp)
pushl %edi
pushl $ioport_resource
call __release_region
.L258:
movl $1, %eax
jmp .L249
.L253:
movl %edi, %eax
jmp .L254
.L252:
movl %edi, 1248(%esi)
jmp .L255
.L260:
pushl (%eax)
pushl 40(%eax)
leal 16(%edi), %eax
pushl %eax
pushl $ioport_resource
call __request_region
addl $16, %esp
movl 1032(%esi), %eax
movl 40(%eax), %eax
movl %eax, 1280(%esi)
jmp .L251
.L259:
pushl $.LC68
call printk
jmp .L258
.Lfe30:
.size ide_iomio_dma,.Lfe30-ide_iomio_dma
.globl ide_dma_iobase
.type ide_dma_iobase,@function
ide_dma_iobase:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl 8(%ebp), %edx
movl 12(%ebp), %ebx
movl 1236(%edx), %eax
movl 16(%ebp), %ecx
cmpl $2, %eax
je .L266
decl %eax
je .L267
.L264:
movl %ecx, 16(%ebp)
movl %ebx, 12(%ebp)
movl %edx, 8(%ebp)
popl %ebx
leave
jmp ide_iomio_dma
.L267:
#APP
ud2
.word 910
.long .LC42
#NO_APP
jmp .L264
.L266:
popl %ebx
leave
jmp ide_mapped_mmio_dma
.Lfe31:
.size ide_dma_iobase,.Lfe31-ide_dma_iobase
.section .rodata.str1.1
.LC70:
.string "DMA"
.LC71:
.string "pio"
.LC72:
.string ", BIOS settings: %s:%s, %s:%s"
.LC73:
.string "\n"
.text
.globl ide_setup_dma
.type ide_setup_dma,@function
ide_setup_dma:
pushl %ebp
movl %esp, %ebp
pushl %ebx
movl 8(%ebp), %ebx
pushl 16(%ebp)
pushl 12(%ebp)
pushl %ebx
call ide_dma_iobase
addl $12, %esp
testl %eax, %eax
je .L295
.L268:
movl -4(%ebp), %ebx
leave
ret
.L295:
pushl %ebx
call ide_allocate_dma_engine
popl %edx
testl %eax, %eax
jne .L296
cmpl $0, 1256(%ebx)
jne .L271
movl 1252(%ebx), %eax
movl %eax, 1256(%ebx)
.L271:
cmpl $0, 1260(%ebx)
jne .L272
movl 1252(%ebx), %eax
incl %eax
movl %eax, 1260(%ebx)
.L272:
cmpl $0, 1264(%ebx)
jne .L273
movl 1252(%ebx), %eax
addl $2, %eax
movl %eax, 1264(%ebx)
.L273:
cmpl $0, 1268(%ebx)
jne .L274
movl 1252(%ebx), %eax
addl $3, %eax
movl %eax, 1268(%ebx)
.L274:
cmpl $0, 1272(%ebx)
jne .L275
movl 1252(%ebx), %eax
addl $4, %eax
movl %eax, 1272(%ebx)
.L275:
cmpl $0, 1120(%ebx)
jne .L276
movl $__ide_dma_off_quietly, 1120(%ebx)
.L276:
cmpl $0, 1132(%ebx)
jne .L277
movl $__ide_dma_host_off, 1132(%ebx)
.L277:
cmpl $0, 1116(%ebx)
jne .L278
movl $__ide_dma_on, 1116(%ebx)
.L278:
cmpl $0, 1128(%ebx)
jne .L279
movl $__ide_dma_host_on, 1128(%ebx)
.L279:
cmpl $0, 1112(%ebx)
jne .L280
movl $__ide_dma_check, 1112(%ebx)
.L280:
cmpl $0, 1096(%ebx)
jne .L281
movl $ide_dma_setup, 1096(%ebx)
.L281:
cmpl $0, 1100(%ebx)
jne .L282
movl $ide_dma_exec_cmd, 1100(%ebx)
.L282:
cmpl $0, 1104(%ebx)
jne .L283
movl $ide_dma_start, 1104(%ebx)
.L283:
cmpl $0, 1108(%ebx)
jne .L284
movl $__ide_dma_end, 1108(%ebx)
.L284:
cmpl $0, 1124(%ebx)
jne .L285
movl $__ide_dma_test_irq, 1124(%ebx)
.L285:
cmpl $0, 1136(%ebx)
jne .L286
movl $__ide_dma_verbose, 1136(%ebx)
.L286:
cmpl $0, 1144(%ebx)
jne .L287
movl $__ide_dma_timeout, 1144(%ebx)
.L287:
cmpl $0, 1140(%ebx)
jne .L288
movl $__ide_dma_lostirq, 1140(%ebx)
.L288:
cmpl $10, 1024(%ebx)
je .L289
pushl 1264(%ebx)
call *1172(%ebx)
movl $.LC70, %ecx
movb %al, %dl
andl $64, %eax
testb %al, %al
jne .L291
movl $.LC71, %ecx
.L291:
leal 592(%ebx), %eax
andl $32, %edx
pushl %ecx
testb %dl, %dl
pushl %eax
movl $.LC70, %eax
jne .L293
movl $.LC71, %eax
.L293:
pushl %eax
leal 172(%ebx), %eax
pushl %eax
pushl $.LC72
call printk
addl $24, %esp
.L289:
pushl $.LC73
call printk
cmpl $0, 1248(%ebx)
popl %eax
jne .L268
#APP
ud2
.word 974
.long .LC42
#NO_APP
jmp .L268
.L296:
movl %ebx, 8(%ebp)
movl -4(%ebp), %ebx
leave
jmp ide_release_dma
.Lfe32:
.size ide_setup_dma,.Lfe32-ide_setup_dma
.ident "GCC: (GNU) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)"
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-11-01 17:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-01 10:54 2.6.10-rc1: drivers/ide/ide-dma.o: value of -130 too large for field of 1 bytes at 911 Paul Dickson
2004-11-01 12:12 ` Adrian Bunk
2004-11-01 13:48 ` Paul Dickson
2004-11-01 14:32 ` Adrian Bunk
2004-11-01 17:21 ` Paul Dickson
2004-11-01 16:26 ` Paul Dickson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox