linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Mon, 11 Jul 2005 11:50:21 +0100
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/07/11 11:50:14

Modified files:
        arch/mips      : Kconfig Makefile defconfig 
        arch/mips/boot : .cvsignore Makefile 
        arch/mips/configs: atlas_defconfig capcella_defconfig 
                           cobalt_defconfig db1000_defconfig 
                           db1100_defconfig db1500_defconfig 
                           db1550_defconfig ddb5476_defconfig 
                           ddb5477_defconfig decstation_defconfig 
                           e55_defconfig ev64120_defconfig 
                           ev96100_defconfig ip22_defconfig 
                           ip27_defconfig ip32_defconfig 
                           it8172_defconfig ivr_defconfig 
                           jaguar-atx_defconfig jmr3927_defconfig 
                           lasat200_defconfig malta_defconfig 
                           mpc30x_defconfig ocelot_3_defconfig 
                           ocelot_c_defconfig ocelot_defconfig 
                           ocelot_g_defconfig pb1100_defconfig 
                           pb1500_defconfig pb1550_defconfig 
                           rm200_defconfig sb1250-swarm_defconfig 
                           sead_defconfig tb0226_defconfig 
                           tb0229_defconfig workpad_defconfig 
                           yosemite_defconfig 
        arch/mips/kernel: head.S 
Added files:
        arch/mips/configs: qemu_defconfig 
        arch/mips/qemu : .cvsignore Makefile q-firmware.c q-int.S 
                         q-irq.c q-mem.c q-setup.c q-vga.c 
        include/asm-mips: qemu.h 
        include/asm-mips/mach-qemu: cpu-feature-overrides.h param.h 

Log message:
        Kernel configuration to support Qemu's system architecture.  More
        information can be found at http://www.linux-mips.org/wiki/Qemu.

diff -urN linux/arch/mips/Kconfig linux/arch/mips/Kconfig
--- linux/arch/mips/Kconfig     2005/07/06 12:08:11     1.148
+++ linux/arch/mips/Kconfig     2005/07/11 10:50:11     1.149
@@ -450,6 +450,24 @@
          Yosemite is an evaluation board for the RM9000x2 processor
          manufactured by PMC-Sierra.
 
+config QEMU
+       bool "Support for Qemu"
+       select DMA_COHERENT
+       select GENERIC_ISA_DMA
+       select HAVE_STD_PC_SERIAL_PORT
+       select I8259
+       select ISA
+       select SWAP_IO_SPACE
+       select SYS_SUPPORTS_32BIT_KERNEL
+       select SYS_SUPPORTS_BIG_ENDIAN
+       help
+         Qemu is a software emulator which among other architectures also
+         can simulate a MIPS32 4Kc system.  This patch adds support for the
+         system architecture that currently is being simulated by Qemu.  It
+         will eventually be removed again when Qemu has the capability to
+         simulate actual MIPS hardware platforms.  More information on Qemu
+         can be found at http://www.linux-mips.org/wiki/Qemu.
+
 config SGI_IP22
        bool "Support for SGI IP22 (Indy/Indigo2)"
        select ARC
diff -urN linux/arch/mips/Makefile linux/arch/mips/Makefile
--- linux/arch/mips/Makefile    2005/07/11 10:03:23     1.200
+++ linux/arch/mips/Makefile    2005/07/11 10:50:11     1.201
@@ -459,6 +459,13 @@
 load-$(CONFIG_PMC_YOSEMITE)    += 0xffffffff80100000
 
 #
+# Qemu simulating MIPS32 4Kc
+#
+core-$(CONFIG_QEMU)            += arch/mips/qemu/
+cflags-$(CONFIG_QEMU)          += -Iinclude/asm-mips/mach-qemu
+load-$(CONFIG_QEMU)            += 0xffffffff80010000
+
+#
 # Momentum Ocelot-3
 #
 core-$(CONFIG_MOMENCO_OCELOT_3)        += arch/mips/momentum/ocelot_3/
@@ -751,10 +758,17 @@
 all:   vmlinux.srec
 endif
 
+ifdef CONFIG_QEMU
+all:   vmlinux.bin
+endif
+
 ifdef CONFIG_SNI_RM200_PCI
 all:   vmlinux.ecoff
 endif
 
+vmlinux.bin: $(vmlinux-32)
+       +@$(call makeboot,$@)
+
 vmlinux.ecoff vmlinux.rm200: $(vmlinux-32)
        +@$(call makeboot,$@)
 
diff -urN linux/arch/mips/defconfig linux/arch/mips/defconfig
--- linux/arch/mips/defconfig   2005/07/06 12:08:11     1.294
+++ linux/arch/mips/defconfig   2005/07/11 10:50:12     1.295
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:00 2005
+# Mon Jul 11 11:45:30 2005
 #
 CONFIG_MIPS=y
 
@@ -93,6 +93,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 CONFIG_SGI_IP22=y
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/boot/.cvsignore linux/arch/mips/boot/.cvsignore
--- linux/arch/mips/boot/.cvsignore     2005/05/19 14:44:24     1.11
+++ linux/arch/mips/boot/.cvsignore     2005/07/11 10:50:12     1.12
@@ -3,4 +3,5 @@
 zImage
 zImage.tmp
 .*.cmd
+vmlinux.bin
 vmlinux.srec
diff -urN linux/arch/mips/boot/Makefile linux/arch/mips/boot/Makefile
--- linux/arch/mips/boot/Makefile       2004/10/20 00:04:04     1.28
+++ linux/arch/mips/boot/Makefile       2005/07/11 10:50:12     1.29
@@ -33,6 +33,9 @@
 $(obj)/elf2ecoff: $(obj)/elf2ecoff.c
        $(HOSTCC) -o $@ $^
 
+vmlinux.bin: $(VMLINUX)
+       $(OBJCOPY) -O binary $(strip-flags) $(VMLINUX) $(obj)/vmlinux.bin
+
 vmlinux.srec: $(VMLINUX)
        $(OBJCOPY) -S -O srec $(strip-flags) $(VMLINUX) $(obj)/vmlinux.srec
 
diff -urN linux/arch/mips/configs/qemu_defconfig 
linux/arch/mips/configs/qemu_defconfig
--- linux/arch/mips/configs/qemu_defconfig      1970/01/01 00:00:00
+++ linux/arch/mips/configs/qemu_defconfig      2005-07-11 11:50:12.818178000 
+0100     1.1
@@ -0,0 +1,629 @@
+#
+# Automatically generated make config: don't edit
+# Linux kernel version: 2.6.12
+# Mon Jul 11 11:46:46 2005
+#
+CONFIG_MIPS=y
+
+#
+# Code maturity level options
+#
+# CONFIG_EXPERIMENTAL is not set
+CONFIG_CLEAN_COMPILE=y
+CONFIG_BROKEN_ON_SMP=y
+CONFIG_INIT_ENV_ARG_LIMIT=32
+
+#
+# General setup
+#
+CONFIG_LOCALVERSION=""
+# CONFIG_SWAP is not set
+# CONFIG_SYSVIPC is not set
+# CONFIG_BSD_PROCESS_ACCT is not set
+# CONFIG_SYSCTL is not set
+# CONFIG_AUDIT is not set
+# CONFIG_HOTPLUG is not set
+CONFIG_KOBJECT_UEVENT=y
+# CONFIG_IKCONFIG is not set
+CONFIG_EMBEDDED=y
+CONFIG_KALLSYMS=y
+# CONFIG_KALLSYMS_EXTRA_PASS is not set
+CONFIG_PRINTK=y
+# CONFIG_BUG is not set
+# CONFIG_BASE_FULL is not set
+# CONFIG_FUTEX is not set
+# CONFIG_EPOLL is not set
+# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
+# CONFIG_SHMEM is not set
+CONFIG_CC_ALIGN_FUNCTIONS=0
+CONFIG_CC_ALIGN_LABELS=0
+CONFIG_CC_ALIGN_LOOPS=0
+CONFIG_CC_ALIGN_JUMPS=0
+CONFIG_TINY_SHMEM=y
+CONFIG_BASE_SMALL=1
+
+#
+# Loadable module support
+#
+# CONFIG_MODULES is not set
+
+#
+# Machine selection
+#
+# CONFIG_MIPS_MTX1 is not set
+# CONFIG_MIPS_BOSPORUS is not set
+# CONFIG_MIPS_PB1000 is not set
+# CONFIG_MIPS_PB1100 is not set
+# CONFIG_MIPS_PB1500 is not set
+# CONFIG_MIPS_PB1550 is not set
+# CONFIG_MIPS_PB1200 is not set
+# CONFIG_MIPS_DB1000 is not set
+# CONFIG_MIPS_DB1100 is not set
+# CONFIG_MIPS_DB1500 is not set
+# CONFIG_MIPS_DB1550 is not set
+# CONFIG_MIPS_DB1200 is not set
+# CONFIG_MIPS_MIRAGE is not set
+# CONFIG_MIPS_COBALT is not set
+# CONFIG_MACH_DECSTATION is not set
+# CONFIG_MIPS_EV64120 is not set
+# CONFIG_MIPS_EV96100 is not set
+# CONFIG_MIPS_IVR is not set
+# CONFIG_MIPS_ITE8172 is not set
+# CONFIG_MACH_JAZZ is not set
+# CONFIG_LASAT is not set
+# CONFIG_MIPS_ATLAS is not set
+# CONFIG_MIPS_MALTA is not set
+# CONFIG_MIPS_SEAD is not set
+# CONFIG_MOMENCO_JAGUAR_ATX is not set
+# CONFIG_MOMENCO_OCELOT is not set
+# CONFIG_MOMENCO_OCELOT_3 is not set
+# CONFIG_MOMENCO_OCELOT_C is not set
+# CONFIG_MOMENCO_OCELOT_G is not set
+# CONFIG_MIPS_XXS1500 is not set
+# CONFIG_DDB5074 is not set
+# CONFIG_DDB5476 is not set
+# CONFIG_DDB5477 is not set
+# CONFIG_MACH_VR41XX is not set
+# CONFIG_PMC_YOSEMITE is not set
+CONFIG_QEMU=y
+# CONFIG_SGI_IP22 is not set
+# CONFIG_SGI_IP27 is not set
+# CONFIG_SGI_IP32 is not set
+# CONFIG_SIBYTE_SWARM is not set
+# CONFIG_SIBYTE_SENTOSA is not set
+# CONFIG_SIBYTE_RHONE is not set
+# CONFIG_SIBYTE_CARMEL is not set
+# CONFIG_SIBYTE_PTSWARM is not set
+# CONFIG_SIBYTE_LITTLESUR is not set
+# CONFIG_SIBYTE_CRHINE is not set
+# CONFIG_SIBYTE_CRHONE is not set
+# CONFIG_SNI_RM200_PCI is not set
+# CONFIG_TOSHIBA_JMR3927 is not set
+# CONFIG_TOSHIBA_RBTX4927 is not set
+CONFIG_RWSEM_GENERIC_SPINLOCK=y
+CONFIG_GENERIC_CALIBRATE_DELAY=y
+CONFIG_HAVE_DEC_LOCK=y
+CONFIG_DMA_COHERENT=y
+CONFIG_GENERIC_ISA_DMA=y
+CONFIG_I8259=y
+CONFIG_CPU_BIG_ENDIAN=y
+# CONFIG_CPU_LITTLE_ENDIAN is not set
+CONFIG_SYS_SUPPORTS_BIG_ENDIAN=y
+CONFIG_SWAP_IO_SPACE=y
+CONFIG_MIPS_L1_CACHE_SHIFT=5
+CONFIG_HAVE_STD_PC_SERIAL_PORT=y
+
+#
+# CPU selection
+#
+# CONFIG_CPU_MIPS32_R1 is not set
+# CONFIG_CPU_MIPS64_R1 is not set
+# CONFIG_CPU_R3000 is not set
+# CONFIG_CPU_TX39XX is not set
+# CONFIG_CPU_VR41XX is not set
+# CONFIG_CPU_R4300 is not set
+CONFIG_CPU_R4X00=y
+# CONFIG_CPU_TX49XX is not set
+# CONFIG_CPU_R5000 is not set
+# CONFIG_CPU_R5432 is not set
+# CONFIG_CPU_R6000 is not set
+# CONFIG_CPU_NEVADA is not set
+# CONFIG_CPU_R8000 is not set
+# CONFIG_CPU_R10000 is not set
+# CONFIG_CPU_RM7000 is not set
+# CONFIG_CPU_RM9000 is not set
+# CONFIG_CPU_SB1 is not set
+CONFIG_SYS_SUPPORTS_32BIT_KERNEL=y
+CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y
+CONFIG_CPU_SUPPORTS_64BIT_KERNEL=y
+
+#
+# Kernel type
+#
+CONFIG_MIPS32=y
+# CONFIG_MIPS64 is not set
+# CONFIG_64BIT is not set
+CONFIG_PAGE_SIZE_4KB=y
+# CONFIG_PAGE_SIZE_8KB is not set
+# CONFIG_PAGE_SIZE_16KB is not set
+# CONFIG_PAGE_SIZE_64KB is not set
+# CONFIG_64BIT_PHYS_ADDR is not set
+# CONFIG_CPU_ADVANCED is not set
+CONFIG_CPU_HAS_LLSC=y
+CONFIG_CPU_HAS_LLDSCD=y
+CONFIG_CPU_HAS_SYNC=y
+# CONFIG_PREEMPT is not set
+
+#
+# Bus options (PCI, PCMCIA, EISA, ISA, TC)
+#
+CONFIG_ISA=y
+CONFIG_MMU=y
+
+#
+# PCCARD (PCMCIA/CardBus) support
+#
+# CONFIG_PCCARD is not set
+
+#
+# PCI Hotplug Support
+#
+
+#
+# Executable file formats
+#
+CONFIG_BINFMT_ELF=y
+# CONFIG_BINFMT_MISC is not set
+CONFIG_TRAD_SIGNALS=y
+
+#
+# Device Drivers
+#
+
+#
+# Generic Driver Options
+#
+CONFIG_STANDALONE=y
+# CONFIG_PREVENT_FIRMWARE_BUILD is not set
+# CONFIG_FW_LOADER is not set
+
+#
+# Memory Technology Devices (MTD)
+#
+# CONFIG_MTD is not set
+
+#
+# Parallel port support
+#
+# CONFIG_PARPORT is not set
+
+#
+# Plug and Play support
+#
+# CONFIG_PNP is not set
+
+#
+# Block devices
+#
+# CONFIG_BLK_DEV_FD is not set
+# CONFIG_BLK_DEV_COW_COMMON is not set
+# CONFIG_BLK_DEV_LOOP is not set
+# CONFIG_BLK_DEV_NBD is not set
+# CONFIG_BLK_DEV_RAM is not set
+CONFIG_BLK_DEV_RAM_COUNT=16
+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 is not set
+# CONFIG_IOSCHED_CFQ is not set
+# CONFIG_ATA_OVER_ETH is not set
+
+#
+# ATA/ATAPI/MFM/RLL support
+#
+# CONFIG_IDE is not set
+
+#
+# SCSI device support
+#
+# CONFIG_SCSI is not set
+
+#
+# Old CD-ROM drivers (not SCSI, not IDE)
+#
+# CONFIG_CD_NO_IDESCSI is not set
+
+#
+# Multi-device support (RAID and LVM)
+#
+# CONFIG_MD is not set
+
+#
+# Fusion MPT device support
+#
+
+#
+# IEEE 1394 (FireWire) support
+#
+
+#
+# I2O device support
+#
+
+#
+# Networking support
+#
+CONFIG_NET=y
+
+#
+# Networking options
+#
+CONFIG_PACKET=y
+CONFIG_PACKET_MMAP=y
+CONFIG_UNIX=y
+# CONFIG_NET_KEY is not set
+CONFIG_INET=y
+CONFIG_IP_MULTICAST=y
+# CONFIG_IP_ADVANCED_ROUTER is not set
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+# CONFIG_IP_PNP_RARP is not set
+# CONFIG_NET_IPIP is not set
+# CONFIG_NET_IPGRE is not set
+# CONFIG_IP_MROUTE 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
+CONFIG_IP_TCPDIAG=y
+# CONFIG_IP_TCPDIAG_IPV6 is not set
+# CONFIG_IPV6 is not set
+# CONFIG_NETFILTER 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
+
+#
+# QoS and/or fair queueing
+#
+# CONFIG_NET_SCHED is not set
+# CONFIG_NET_CLS_ROUTE is not set
+
+#
+# Network testing
+#
+# 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_NET_VENDOR_3COM is not set
+# CONFIG_NET_VENDOR_SMC is not set
+# CONFIG_NET_VENDOR_RACAL is not set
+# CONFIG_DEPCA is not set
+# CONFIG_HP100 is not set
+CONFIG_NET_ISA=y
+# CONFIG_E2100 is not set
+# CONFIG_EWRK3 is not set
+# CONFIG_EEXPRESS is not set
+# CONFIG_EEXPRESS_PRO is not set
+# CONFIG_HPLAN_PLUS is not set
+# CONFIG_HPLAN is not set
+# CONFIG_LP486E is not set
+# CONFIG_ETH16I is not set
+CONFIG_NE2000=y
+# CONFIG_NET_PCI is not set
+# CONFIG_NET_POCKET is not set
+
+#
+# Ethernet (1000 Mbit)
+#
+
+#
+# Ethernet (10000 Mbit)
+#
+
+#
+# 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_PPP is not set
+# CONFIG_SLIP 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 Device Drivers
+#
+# CONFIG_INPUT_KEYBOARD 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
+
+#
+# Hardware I/O ports
+#
+# CONFIG_SERIO is not set
+# CONFIG_GAMEPORT 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_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 is not set
+# CONFIG_LEGACY_PTYS is not set
+
+#
+# IPMI
+#
+# CONFIG_IPMI_HANDLER is not set
+
+#
+# Watchdog Cards
+#
+# CONFIG_WATCHDOG is not set
+# CONFIG_RTC is not set
+# CONFIG_GEN_RTC is not set
+# CONFIG_DTLK is not set
+# CONFIG_R3964 is not set
+
+#
+# Ftape, the floppy tape device driver
+#
+# CONFIG_DRM is not set
+# CONFIG_RAW_DRIVER is not set
+
+#
+# TPM devices
+#
+
+#
+# I2C support
+#
+# CONFIG_I2C is not set
+
+#
+# Dallas's 1-wire bus
+#
+# CONFIG_W1 is not set
+
+#
+# Misc devices
+#
+
+#
+# Multimedia devices
+#
+# CONFIG_VIDEO_DEV is not set
+
+#
+# Digital Video Broadcasting Devices
+#
+# CONFIG_DVB is not set
+
+#
+# Graphics support
+#
+# CONFIG_FB is not set
+
+#
+# Console display driver support
+#
+CONFIG_VGA_CONSOLE=y
+# CONFIG_MDA_CONSOLE is not set
+CONFIG_DUMMY_CONSOLE=y
+
+#
+# Sound
+#
+# CONFIG_SOUND is not set
+
+#
+# USB support
+#
+# CONFIG_USB_ARCH_HAS_HCD is not set
+# CONFIG_USB_ARCH_HAS_OHCI is not set
+
+#
+# USB Gadget Support
+#
+# CONFIG_USB_GADGET is not set
+
+#
+# MMC/SD Card support
+#
+# CONFIG_MMC is not set
+
+#
+# InfiniBand support
+#
+# CONFIG_INFINIBAND is not set
+
+#
+# File systems
+#
+# CONFIG_EXT2_FS 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
+
+#
+# XFS support
+#
+# CONFIG_XFS_FS is not set
+# CONFIG_MINIX_FS is not set
+# CONFIG_ROMFS_FS is not set
+# CONFIG_QUOTA is not set
+# CONFIG_DNOTIFY is not set
+# CONFIG_AUTOFS_FS is not set
+# CONFIG_AUTOFS4_FS is not set
+
+#
+# CD-ROM/DVD Filesystems
+#
+# CONFIG_ISO9660_FS is not set
+# CONFIG_UDF_FS is not set
+
+#
+# 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 is not set
+# CONFIG_SYSFS is not set
+# CONFIG_TMPFS is not set
+# CONFIG_HUGETLB_PAGE is not set
+CONFIG_RAMFS=y
+
+#
+# Miscellaneous filesystems
+#
+# CONFIG_HFSPLUS_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=y
+CONFIG_NFS_V3=y
+# CONFIG_NFSD is not set
+CONFIG_ROOT_NFS=y
+CONFIG_LOCKD=y
+CONFIG_LOCKD_V4=y
+CONFIG_SUNRPC=y
+# CONFIG_SMB_FS is not set
+# CONFIG_CIFS is not set
+# CONFIG_NCP_FS is not set
+# CONFIG_CODA_FS is not set
+
+#
+# Partition Types
+#
+# CONFIG_PARTITION_ADVANCED is not set
+CONFIG_MSDOS_PARTITION=y
+
+#
+# Native Language Support
+#
+# CONFIG_NLS is not set
+
+#
+# Kernel hacking
+#
+# CONFIG_PRINTK_TIME is not set
+# CONFIG_DEBUG_KERNEL is not set
+CONFIG_LOG_BUF_SHIFT=14
+CONFIG_CROSSCOMPILE=y
+CONFIG_CMDLINE="console=ttyS0 debug ip=172.20.0.2:172.20.0.1::255.255.0.0"
+
+#
+# Security options
+#
+# CONFIG_KEYS is not set
+# CONFIG_SECURITY is not set
+
+#
+# Cryptographic options
+#
+# CONFIG_CRYPTO is not set
+
+#
+# Hardware crypto devices
+#
+
+#
+# Library routines
+#
+# CONFIG_CRC_CCITT is not set
+CONFIG_CRC32=y
+# CONFIG_LIBCRC32C is not set
+CONFIG_GENERIC_HARDIRQS=y
+CONFIG_GENERIC_IRQ_PROBE=y
diff -urN linux/arch/mips/configs/atlas_defconfig 
linux/arch/mips/configs/atlas_defconfig
--- linux/arch/mips/configs/atlas_defconfig     2005/07/06 12:08:11     1.58
+++ linux/arch/mips/configs/atlas_defconfig     2005/07/11 10:50:12     1.59
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:01 2005
+# Mon Jul 11 11:45:33 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/capcella_defconfig 
linux/arch/mips/configs/capcella_defconfig
--- linux/arch/mips/configs/capcella_defconfig  2005/07/06 12:08:11     1.58
+++ linux/arch/mips/configs/capcella_defconfig  2005/07/11 10:50:12     1.59
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:01 2005
+# Mon Jul 11 11:45:36 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 CONFIG_MACH_VR41XX=y
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/cobalt_defconfig 
linux/arch/mips/configs/cobalt_defconfig
--- linux/arch/mips/configs/cobalt_defconfig    2005/07/06 12:08:11     1.55
+++ linux/arch/mips/configs/cobalt_defconfig    2005/07/11 10:50:12     1.56
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:02 2005
+# Mon Jul 11 11:45:38 2005
 #
 CONFIG_MIPS=y
 
@@ -86,6 +86,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/db1000_defconfig 
linux/arch/mips/configs/db1000_defconfig
--- linux/arch/mips/configs/db1000_defconfig    2005/07/06 12:08:11     1.61
+++ linux/arch/mips/configs/db1000_defconfig    2005/07/11 10:50:12     1.62
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:02 2005
+# Mon Jul 11 11:45:42 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/db1100_defconfig 
linux/arch/mips/configs/db1100_defconfig
--- linux/arch/mips/configs/db1100_defconfig    2005/07/06 12:08:11     1.60
+++ linux/arch/mips/configs/db1100_defconfig    2005/07/11 10:50:12     1.61
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:03 2005
+# Mon Jul 11 11:45:45 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/db1500_defconfig 
linux/arch/mips/configs/db1500_defconfig
--- linux/arch/mips/configs/db1500_defconfig    2005/07/06 12:08:11     1.63
+++ linux/arch/mips/configs/db1500_defconfig    2005/07/11 10:50:12     1.64
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:03 2005
+# Mon Jul 11 11:45:48 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/db1550_defconfig 
linux/arch/mips/configs/db1550_defconfig
--- linux/arch/mips/configs/db1550_defconfig    2005/07/06 12:08:11     1.38
+++ linux/arch/mips/configs/db1550_defconfig    2005/07/11 10:50:12     1.39
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:04 2005
+# Mon Jul 11 11:45:51 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/ddb5476_defconfig 
linux/arch/mips/configs/ddb5476_defconfig
--- linux/arch/mips/configs/ddb5476_defconfig   2005/07/06 12:08:11     1.55
+++ linux/arch/mips/configs/ddb5476_defconfig   2005/07/11 10:50:12     1.56
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:04 2005
+# Mon Jul 11 11:45:54 2005
 #
 CONFIG_MIPS=y
 
@@ -86,6 +86,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/ddb5477_defconfig 
linux/arch/mips/configs/ddb5477_defconfig
--- linux/arch/mips/configs/ddb5477_defconfig   2005/07/06 12:08:11     1.55
+++ linux/arch/mips/configs/ddb5477_defconfig   2005/07/11 10:50:12     1.56
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:05 2005
+# Mon Jul 11 11:45:56 2005
 #
 CONFIG_MIPS=y
 
@@ -86,6 +86,7 @@
 CONFIG_DDB5477=y
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/decstation_defconfig 
linux/arch/mips/configs/decstation_defconfig
--- linux/arch/mips/configs/decstation_defconfig        2005/07/06 12:08:11     
1.56
+++ linux/arch/mips/configs/decstation_defconfig        2005/07/11 10:50:12     
1.57
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:15 2005
+# Mon Jul 11 11:45:58 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/e55_defconfig 
linux/arch/mips/configs/e55_defconfig
--- linux/arch/mips/configs/e55_defconfig       2005/07/06 12:08:11     1.57
+++ linux/arch/mips/configs/e55_defconfig       2005/07/11 10:50:12     1.58
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:15 2005
+# Mon Jul 11 11:46:01 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 CONFIG_MACH_VR41XX=y
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/ev64120_defconfig 
linux/arch/mips/configs/ev64120_defconfig
--- linux/arch/mips/configs/ev64120_defconfig   2005/07/06 12:08:11     1.54
+++ linux/arch/mips/configs/ev64120_defconfig   2005/07/11 10:50:12     1.55
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:16 2005
+# Mon Jul 11 11:46:03 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/ev96100_defconfig 
linux/arch/mips/configs/ev96100_defconfig
--- linux/arch/mips/configs/ev96100_defconfig   2005/07/06 12:08:11     1.55
+++ linux/arch/mips/configs/ev96100_defconfig   2005/07/11 10:50:12     1.56
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:16 2005
+# Mon Jul 11 11:46:05 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/ip22_defconfig 
linux/arch/mips/configs/ip22_defconfig
--- linux/arch/mips/configs/ip22_defconfig      2005/07/06 12:08:11     1.64
+++ linux/arch/mips/configs/ip22_defconfig      2005/07/11 10:50:12     1.65
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:17 2005
+# Mon Jul 11 11:46:07 2005
 #
 CONFIG_MIPS=y
 
@@ -93,6 +93,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 CONFIG_SGI_IP22=y
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/ip27_defconfig 
linux/arch/mips/configs/ip27_defconfig
--- linux/arch/mips/configs/ip27_defconfig      2005/07/06 12:08:11     1.68
+++ linux/arch/mips/configs/ip27_defconfig      2005/07/11 10:50:12     1.69
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:17 2005
+# Mon Jul 11 11:46:10 2005
 #
 CONFIG_MIPS=y
 
@@ -95,6 +95,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 CONFIG_SGI_IP27=y
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/ip32_defconfig 
linux/arch/mips/configs/ip32_defconfig
--- linux/arch/mips/configs/ip32_defconfig      2005/07/06 12:08:11     1.58
+++ linux/arch/mips/configs/ip32_defconfig      2005/07/11 10:50:12     1.59
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:18 2005
+# Mon Jul 11 11:46:12 2005
 #
 CONFIG_MIPS=y
 
@@ -87,6 +87,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 CONFIG_SGI_IP32=y
diff -urN linux/arch/mips/configs/it8172_defconfig 
linux/arch/mips/configs/it8172_defconfig
--- linux/arch/mips/configs/it8172_defconfig    2005/07/06 12:08:11     1.54
+++ linux/arch/mips/configs/it8172_defconfig    2005/07/11 10:50:12     1.55
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:19 2005
+# Mon Jul 11 11:46:14 2005
 #
 CONFIG_MIPS=y
 
@@ -93,6 +93,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/ivr_defconfig 
linux/arch/mips/configs/ivr_defconfig
--- linux/arch/mips/configs/ivr_defconfig       2005/07/06 12:08:11     1.54
+++ linux/arch/mips/configs/ivr_defconfig       2005/07/11 10:50:12     1.55
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:19 2005
+# Mon Jul 11 11:46:16 2005
 #
 CONFIG_MIPS=y
 
@@ -93,6 +93,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/jaguar-atx_defconfig 
linux/arch/mips/configs/jaguar-atx_defconfig
--- linux/arch/mips/configs/jaguar-atx_defconfig        2005/07/06 12:08:11     
1.59
+++ linux/arch/mips/configs/jaguar-atx_defconfig        2005/07/11 10:50:12     
1.60
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:20 2005
+# Mon Jul 11 11:46:18 2005
 #
 CONFIG_MIPS=y
 
@@ -90,6 +90,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/jmr3927_defconfig 
linux/arch/mips/configs/jmr3927_defconfig
--- linux/arch/mips/configs/jmr3927_defconfig   2005/07/06 12:08:11     1.55
+++ linux/arch/mips/configs/jmr3927_defconfig   2005/07/11 10:50:12     1.56
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:20 2005
+# Mon Jul 11 11:46:21 2005
 #
 CONFIG_MIPS=y
 
@@ -86,6 +86,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/lasat200_defconfig 
linux/arch/mips/configs/lasat200_defconfig
--- linux/arch/mips/configs/lasat200_defconfig  2005/07/06 12:08:11     1.55
+++ linux/arch/mips/configs/lasat200_defconfig  2005/07/11 10:50:12     1.56
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:21 2005
+# Mon Jul 11 11:46:23 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/malta_defconfig 
linux/arch/mips/configs/malta_defconfig
--- linux/arch/mips/configs/malta_defconfig     2005/07/06 12:08:11     1.57
+++ linux/arch/mips/configs/malta_defconfig     2005/07/11 10:50:12     1.58
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:22 2005
+# Mon Jul 11 11:46:26 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/mpc30x_defconfig 
linux/arch/mips/configs/mpc30x_defconfig
--- linux/arch/mips/configs/mpc30x_defconfig    2005/07/06 12:08:11     1.59
+++ linux/arch/mips/configs/mpc30x_defconfig    2005/07/11 10:50:12     1.60
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:22 2005
+# Mon Jul 11 11:46:28 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 CONFIG_MACH_VR41XX=y
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/ocelot_3_defconfig 
linux/arch/mips/configs/ocelot_3_defconfig
--- linux/arch/mips/configs/ocelot_3_defconfig  2005/07/06 12:08:11     1.27
+++ linux/arch/mips/configs/ocelot_3_defconfig  2005/07/11 10:50:12     1.28
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:23 2005
+# Mon Jul 11 11:46:30 2005
 #
 CONFIG_MIPS=y
 
@@ -93,6 +93,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/ocelot_c_defconfig 
linux/arch/mips/configs/ocelot_c_defconfig
--- linux/arch/mips/configs/ocelot_c_defconfig  2005/07/06 12:08:11     1.53
+++ linux/arch/mips/configs/ocelot_c_defconfig  2005/07/11 10:50:12     1.54
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:23 2005
+# Mon Jul 11 11:46:32 2005
 #
 CONFIG_MIPS=y
 
@@ -86,6 +86,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/ocelot_defconfig 
linux/arch/mips/configs/ocelot_defconfig
--- linux/arch/mips/configs/ocelot_defconfig    2005/07/06 12:08:11     1.55
+++ linux/arch/mips/configs/ocelot_defconfig    2005/07/11 10:50:12     1.56
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:24 2005
+# Mon Jul 11 11:46:34 2005
 #
 CONFIG_MIPS=y
 
@@ -86,6 +86,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/ocelot_g_defconfig 
linux/arch/mips/configs/ocelot_g_defconfig
--- linux/arch/mips/configs/ocelot_g_defconfig  2005/07/06 12:08:11     1.48
+++ linux/arch/mips/configs/ocelot_g_defconfig  2005/07/11 10:50:12     1.49
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:24 2005
+# Mon Jul 11 11:46:36 2005
 #
 CONFIG_MIPS=y
 
@@ -86,6 +86,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/pb1100_defconfig 
linux/arch/mips/configs/pb1100_defconfig
--- linux/arch/mips/configs/pb1100_defconfig    2005/07/06 12:08:11     1.57
+++ linux/arch/mips/configs/pb1100_defconfig    2005/07/11 10:50:12     1.58
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:25 2005
+# Mon Jul 11 11:46:39 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/pb1500_defconfig 
linux/arch/mips/configs/pb1500_defconfig
--- linux/arch/mips/configs/pb1500_defconfig    2005/07/06 12:08:11     1.63
+++ linux/arch/mips/configs/pb1500_defconfig    2005/07/11 10:50:12     1.64
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:25 2005
+# Mon Jul 11 11:46:41 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/pb1550_defconfig 
linux/arch/mips/configs/pb1550_defconfig
--- linux/arch/mips/configs/pb1550_defconfig    2005/07/06 12:08:11     1.53
+++ linux/arch/mips/configs/pb1550_defconfig    2005/07/11 10:50:12     1.54
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:26 2005
+# Mon Jul 11 11:46:44 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/rm200_defconfig 
linux/arch/mips/configs/rm200_defconfig
--- linux/arch/mips/configs/rm200_defconfig     2005/07/06 12:08:12     1.65
+++ linux/arch/mips/configs/rm200_defconfig     2005/07/11 10:50:12     1.66
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:26 2005
+# Mon Jul 11 11:46:49 2005
 #
 CONFIG_MIPS=y
 
@@ -94,6 +94,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/sb1250-swarm_defconfig 
linux/arch/mips/configs/sb1250-swarm_defconfig
--- linux/arch/mips/configs/sb1250-swarm_defconfig      2005/07/06 12:08:12     
1.61
+++ linux/arch/mips/configs/sb1250-swarm_defconfig      2005/07/11 10:50:12     
1.62
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:27 2005
+# Mon Jul 11 11:46:51 2005
 #
 CONFIG_MIPS=y
 
@@ -94,6 +94,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/sead_defconfig 
linux/arch/mips/configs/sead_defconfig
--- linux/arch/mips/configs/sead_defconfig      2005/07/06 12:08:12     1.53
+++ linux/arch/mips/configs/sead_defconfig      2005/07/11 10:50:12     1.54
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:27 2005
+# Mon Jul 11 11:46:53 2005
 #
 CONFIG_MIPS=y
 
@@ -84,6 +84,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/tb0226_defconfig 
linux/arch/mips/configs/tb0226_defconfig
--- linux/arch/mips/configs/tb0226_defconfig    2005/07/06 12:08:12     1.57
+++ linux/arch/mips/configs/tb0226_defconfig    2005/07/11 10:50:12     1.58
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:28 2005
+# Mon Jul 11 11:46:55 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 CONFIG_MACH_VR41XX=y
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/tb0229_defconfig 
linux/arch/mips/configs/tb0229_defconfig
--- linux/arch/mips/configs/tb0229_defconfig    2005/07/06 12:08:12     1.60
+++ linux/arch/mips/configs/tb0229_defconfig    2005/07/11 10:50:12     1.61
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:28 2005
+# Mon Jul 11 11:46:58 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 CONFIG_MACH_VR41XX=y
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/workpad_defconfig 
linux/arch/mips/configs/workpad_defconfig
--- linux/arch/mips/configs/workpad_defconfig   2005/07/06 12:08:12     1.57
+++ linux/arch/mips/configs/workpad_defconfig   2005/07/11 10:50:12     1.58
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:29 2005
+# Mon Jul 11 11:47:00 2005
 #
 CONFIG_MIPS=y
 
@@ -92,6 +92,7 @@
 # CONFIG_DDB5477 is not set
 CONFIG_MACH_VR41XX=y
 # CONFIG_PMC_YOSEMITE is not set
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/configs/yosemite_defconfig 
linux/arch/mips/configs/yosemite_defconfig
--- linux/arch/mips/configs/yosemite_defconfig  2005/07/06 12:08:12     1.59
+++ linux/arch/mips/configs/yosemite_defconfig  2005/07/11 10:50:12     1.60
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.12
-# Sat Jun 18 14:53:29 2005
+# Mon Jul 11 11:47:02 2005
 #
 CONFIG_MIPS=y
 
@@ -93,6 +93,7 @@
 # CONFIG_DDB5477 is not set
 # CONFIG_MACH_VR41XX is not set
 CONFIG_PMC_YOSEMITE=y
+# CONFIG_QEMU is not set
 # CONFIG_SGI_IP22 is not set
 # CONFIG_SGI_IP27 is not set
 # CONFIG_SGI_IP32 is not set
diff -urN linux/arch/mips/kernel/head.S linux/arch/mips/kernel/head.S
--- linux/arch/mips/kernel/head.S       2005/04/01 14:07:13     1.66
+++ linux/arch/mips/kernel/head.S       2005/07/11 10:50:14     1.67
@@ -131,8 +131,6 @@
 EXPORT(stext)                                  # used for profiling
 EXPORT(_stext)
 
-       __INIT
-
 NESTED(kernel_entry, 16, sp)                   # kernel entry point
        setup_c0_status_pri
 
@@ -166,6 +164,8 @@
        j               start_kernel
        END(kernel_entry)
 
+       __INIT
+
 #ifdef CONFIG_SMP
 /*
  * SMP slave cpus entry point.  Board specific code for bootstrap calls this
diff -urN linux/arch/mips/qemu/.cvsignore linux/arch/mips/qemu/.cvsignore
--- linux/arch/mips/qemu/.cvsignore     1970/01/01 00:00:00
+++ linux/arch/mips/qemu/.cvsignore     2005-07-11 11:50:14.500769000 +0100     
1.1
@@ -0,0 +1,5 @@
+.*.o
+.*.o.d
+.*.cmd
+*.ko
+*.mod.c
diff -urN linux/arch/mips/qemu/Makefile linux/arch/mips/qemu/Makefile
--- linux/arch/mips/qemu/Makefile       1970/01/01 00:00:00
+++ linux/arch/mips/qemu/Makefile       2005-07-11 11:50:14.521702000 +0100     
1.1
@@ -0,0 +1,5 @@
+#
+# Makefile for Qemu specific kernel interface routines under Linux.
+#
+
+obj-y          = q-firmware.o q-int.o q-irq.o q-mem.o q-setup.o q-vga.o
diff -urN linux/arch/mips/qemu/q-firmware.c linux/arch/mips/qemu/q-firmware.c
--- linux/arch/mips/qemu/q-firmware.c   1970/01/01 00:00:00
+++ linux/arch/mips/qemu/q-firmware.c   2005-07-11 11:50:14.545455000 +0100     
1.1
@@ -0,0 +1,7 @@
+#include <linux/init.h>
+#include <asm/bootinfo.h>
+
+void __init prom_init(void)
+{
+       add_memory_region(0x0<<20, 0x10<<20, BOOT_MEM_RAM);
+}
diff -urN linux/arch/mips/qemu/q-int.S linux/arch/mips/qemu/q-int.S
--- linux/arch/mips/qemu/q-int.S        1970/01/01 00:00:00
+++ linux/arch/mips/qemu/q-int.S        2005-07-11 11:50:14.570837000 +0100     
1.1
@@ -0,0 +1,17 @@
+/*
+ * Qemu interrupt handler code.
+ *
+ * Copyright (C) 2005 by Ralf Baechle
+ */
+#include <asm/asm.h>
+#include <asm/regdef.h>
+#include <asm/stackframe.h>
+
+       .align  5
+       NESTED(qemu_handle_int, PT_SIZE, sp)
+       SAVE_ALL
+       CLI
+       move    a0, sp
+       PTR_LA  ra, ret_from_irq
+       j       do_qemu_int
+       END(qemu_handle_int)
diff -urN linux/arch/mips/qemu/q-irq.c linux/arch/mips/qemu/q-irq.c
--- linux/arch/mips/qemu/q-irq.c        1970/01/01 00:00:00
+++ linux/arch/mips/qemu/q-irq.c        2005-07-11 11:50:14.583834000 +0100     
1.1
@@ -0,0 +1,37 @@
+#include <linux/init.h>
+#include <linux/linkage.h>
+
+#include <asm/i8259.h>
+#include <asm/mipsregs.h>
+#include <asm/qemu.h>
+#include <asm/system.h>
+#include <asm/time.h>
+
+extern asmlinkage void qemu_handle_int(void);
+
+asmlinkage void do_qemu_int(struct pt_regs *regs)
+{
+       unsigned int pending = read_c0_status() & read_c0_cause();
+
+       if (pending & 0x8000) {
+               ll_timer_interrupt(Q_COUNT_COMPARE_IRQ, regs);
+               return;
+       }
+       if (pending & 0x0400) {
+               int irq = i8259_irq();
+
+               if (likely(irq >= 0))
+                       do_IRQ(irq, regs);
+
+               return;
+       }
+}
+
+void __init arch_init_irq(void)
+{
+       set_except_vector(0, qemu_handle_int);
+       mips_hpt_frequency = QEMU_C0_COUNTER_CLOCK;             /* 100MHz */
+
+       init_i8259_irqs();
+       set_c0_status(0x8400);
+}
diff -urN linux/arch/mips/qemu/q-mem.c linux/arch/mips/qemu/q-mem.c
--- linux/arch/mips/qemu/q-mem.c        1970/01/01 00:00:00
+++ linux/arch/mips/qemu/q-mem.c        2005-07-11 11:50:14.609481000 +0100     
1.1
@@ -0,0 +1,6 @@
+#include <linux/init.h>
+
+unsigned long __init prom_free_prom_memory(void)
+{
+       return 0UL;
+}
diff -urN linux/arch/mips/qemu/q-setup.c linux/arch/mips/qemu/q-setup.c
--- linux/arch/mips/qemu/q-setup.c      1970/01/01 00:00:00
+++ linux/arch/mips/qemu/q-setup.c      2005-07-11 11:50:14.634915000 +0100     
1.1
@@ -0,0 +1,23 @@
+#include <linux/init.h>
+#include <asm/io.h>
+#include <asm/time.h>
+
+extern void qvga_init(void);
+
+#define QEMU_PORT_BASE 0xb4000000
+
+static void __init qemu_timer_setup(struct irqaction *irq)
+{
+       /* set the clock to 100 Hz */
+       outb_p(0x34,0x43);              /* binary, mode 2, LSB/MSB, ch 0 */
+       outb_p(LATCH & 0xff , 0x40);    /* LSB */
+       outb(LATCH >> 8 , 0x40);        /* MSB */
+       setup_irq(0, irq);
+}
+
+void __init plat_setup(void)
+{
+       set_io_port_base(QEMU_PORT_BASE);
+       qvga_init();
+       board_timer_setup = qemu_timer_setup;
+}
diff -urN linux/arch/mips/qemu/q-vga.c linux/arch/mips/qemu/q-vga.c
--- linux/arch/mips/qemu/q-vga.c        1970/01/01 00:00:00
+++ linux/arch/mips/qemu/q-vga.c        2005-07-11 11:50:14.657562000 +0100     
1.1
@@ -0,0 +1,188 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2005 by Ralf Baechle (ralf@linux-mips.org)
+ *
+ * This will eventually go into the qemu firmware.
+ */
+#include <linux/init.h>
+#include <linux/tty.h>
+#include <asm/io.h>
+#include <video/vga.h>
+
+/*
+ * This will eventually be done by the firmware; right now Linux assumes to
+ * run on the uninitialized hardware.
+ */
+#undef LOAD_VGA_FONT
+
+static unsigned char sr[8] __initdata = {      /* Sequencer */
+       0x03, 0x00, 0x03, 0x04, 0x02, 0x00, 0x00, 0x00
+};
+
+static unsigned char gr[16] __initdata= {      /* Graphics Controller */
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0e, 0x00,
+       0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
+};
+
+static unsigned char ar[21] __initdata= {      /* Attribute Controller */
+       0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
+       0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
+       0x0c, 0x01, 0x07, 0x13, 0x00
+};
+
+static unsigned char cr[32] __initdata= {      /* CRT Controller */
+       0x91, 0x4f, 0x4f, 0x95, 0x57, 0x4f, 0xc0, 0x1f,
+       0x00, 0x4f, 0x0d, 0x0e, 0x02, 0x30, 0x09, 0xb0,
+       0x90, 0x83, 0x8f, 0x28, 0x1f, 0x8f, 0xc1, 0xa3,
+       0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
+};
+
+static struct rgb {
+       unsigned char r;
+       unsigned char g;
+       unsigned char b;
+} palette[16] __initdata= {
+       [ 0] = {0x00, 0x00, 0x00},
+       [ 1] = {0x00, 0x00, 0x2a},
+       [ 2] = {0x00, 0x2a, 0x00},
+       [ 3] = {0x00, 0x2a, 0x2a},
+       [ 4] = {0x2a, 0x00, 0x00},
+       [ 5] = {0x2a, 0x00, 0x2a},
+       [ 6] = {0x2a, 0x15, 0x00},
+       [ 7] = {0x2a, 0x2a, 0x2a},
+       [ 8] = {0x15, 0x15, 0x15},
+       [ 9] = {0x15, 0x15, 0x3f},
+       [10] = {0x15, 0x3f, 0x15},
+       [11] = {0x15, 0x3f, 0x3f},
+       [12] = {0x3f, 0x15, 0x15},
+       [13] = {0x3f, 0x15, 0x3f},
+       [14] = {0x3f, 0x3f, 0x15},
+       [15] = {0x3f, 0x3f, 0x3f}
+
+};
+
+void __init qvga_init_ibm(void)
+{
+       int i;
+
+       for (i = 0; i < 8; i++) {       /* Sequencer registers */
+               outb(i, 0x3c4);
+               outb(sr[i], 0x3c5);
+       }
+
+       for (i = 0; i < 16; i++) {      /* Graphics Controller registers */
+               outb(i, 0x3ce);
+               outb(gr[i], 0x3cf);
+       }
+
+       for (i = 0; i < 21; i++) {      /* Attribute Controller registers */
+               outb(i, 0x3c0);
+               outb(ar[i], 0x3c1);
+       }
+       outb(0x20, 0x3c0);              /* enable bit in *index* register */
+
+       for (i = 0; i < 32; i++) {      /* CRT Controller registers */
+               outb(i, 0x3d4);
+               outb(cr[i], 0x3d5);
+       }
+
+       for (i = 0; i < 16; i++) {      /* palette */
+               outb(i, 0x3c8);
+               outb(palette[i].r, 0x3c9);
+               outb(palette[i].g, 0x3c9);
+               outb(palette[i].b, 0x3c9);
+       }
+
+#if 1
+        for (i = 0; i < 0x20000; i += 2)
+               *(volatile unsigned short *) (0xb00a0000 + i) = 0xaaaa;
+#endif
+}
+
+#ifdef LOAD_VGA_FONT
+#include "/home/ralf/src/qemu/qemu-mips/vgafont.h"
+
+static void __init
+qvga_load_font(unsigned char *def, unsigned int c)
+{
+       volatile void *w = (volatile void *) 0xb00a0000;
+
+       vga_wseq(NULL, 0, 1);
+       vga_wseq(NULL, 2, 4);
+       vga_wseq(NULL, 4, 7);
+       vga_wseq(NULL, 0, 3);
+       vga_wgfx(NULL, 4, 2);
+       vga_wgfx(NULL, 5, 0);
+       vga_wgfx(NULL, 6, 0);
+
+       memcpy(w, def, c);
+
+       vga_wseq(NULL, 0, 1);
+       vga_wseq(NULL, 2, 3);
+       vga_wseq(NULL, 4, 3);
+       vga_wseq(NULL, 0, 3);
+       vga_wgfx(NULL, 4, 0);
+       vga_wgfx(NULL, 5, 0x10);
+       vga_wgfx(NULL, 6, 0xe);
+}
+#endif
+
+void __init qvga_init(void)
+{
+       struct screen_info *si = &screen_info;
+       unsigned int h;
+       int i;
+
+#if LOAD_VGA_FONT
+       qvga_load_font(vgafont16, 4096);
+#endif
+
+       vga_wgfx(NULL, 5, 0x10);        /* Set odd/even mode */
+       vga_wgfx(NULL, 6, 0x0c);        /* map to offset 0xb8000, text mode */
+       vga_wseq(NULL, 2, 3);           /* Planes 0 & 1 */
+       vga_wseq(NULL, 3, 4);           /* Font offset */
+       outb(1, VGA_MIS_W);             /* set msr to MSR_COLOR_EMULATION */
+       vga_wcrt(NULL, 1, 79);          /* 80 columns */
+       vga_wcrt(NULL, 9, 15);          /* 16 pixels per character */
+       vga_wcrt(NULL, 0x0c, 0);        /* start address high 8 bit */
+       vga_wcrt(NULL, 0x0d, 0);        /* start address low 8 bit */
+       vga_wcrt(NULL, 0x13, 0x28);     /* line offset */
+       vga_wcrt(NULL, 0x07, 0x1f);     /* line compare bit 8 */
+       vga_wcrt(NULL, 0x09, 0x4f);     /* line compare bit 9 */
+       vga_wcrt(NULL, 0x18, 0xff);     /* line compare low 8 bit */
+
+       h = (25 * 16);
+       vga_wcrt(NULL, 0x12, h);
+
+       outb(7, 0x3d4);
+       outb((inb(0x3d5) & ~0x42) | ((h >> 7) & 2) | ((h >> 3) & 0x40), 0x3d5);
+
+       for (i = 0; i < 21; i++)        /* Attribute Controller */
+               vga_wattr(NULL, i, ar[i]);
+       outb(0x20, 0x3c0);              /* Set bit 5 in Attribute Controller */
+                                       /* index ...  VGA is so stupid I want */
+                                       /* to cry all day ... */
+       outb(0, VGA_PEL_IW);
+       for (i = 0; i < 16; i++) {      /* palette */
+               outb(palette[i].r, VGA_PEL_D);
+               outb(palette[i].g, VGA_PEL_D);
+               outb(palette[i].b, VGA_PEL_D);
+       }
+
+       si->orig_x              = 0;                    /* Cursor x position */
+       si->orig_y              = 0;                    /* Cursor y position */
+       si->orig_video_cols     = 80;                   /* Columns */
+       si->orig_video_lines    = 25;                   /* Lines */
+       si->orig_video_isVGA    = VIDEO_TYPE_VGAC;      /* Card type */
+       si->orig_video_points   = 16;
+
+#if 0
+       for (i = 0; i < 80; i += 2)
+               //*(volatile unsigned short *) (0xb00b8000 + i) = 0x0100 | 'A';
+               scr_writew(0x0100 | 'A', (volatile unsigned short *) 
(0xb00b8000 + i));
+       while (1);
+#endif
+}
diff -urN linux/include/asm-mips/qemu.h linux/include/asm-mips/qemu.h
--- linux/include/asm-mips/qemu.h       1970/01/01 00:00:00
+++ linux/include/asm-mips/qemu.h       2005-07-11 11:50:14.785084000 +0100     
1.1
@@ -0,0 +1,24 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2005 by Ralf Baechle (ralf@linux-mips.org)
+ */
+#ifndef __ASM_QEMU_H
+#define __ASM_QEMU_H
+
+/*
+ * Interrupt numbers
+ */
+#define Q_PIC_IRQ_BASE         0
+#define Q_COUNT_COMPARE_IRQ    16
+
+/*
+ * Qemu clock rate.  Unlike on real MIPS this has no relation to the
+ * instruction issue rate, so the choosen value is pure fiction, just needs
+ * to match the value in Qemu itself.
+ */
+#define QEMU_C0_COUNTER_CLOCK  100000000
+
+#endif /* __ASM_QEMU_H */
diff -urN linux/include/asm-mips/mach-qemu/cpu-feature-overrides.h 
linux/include/asm-mips/mach-qemu/cpu-feature-overrides.h
--- linux/include/asm-mips/mach-qemu/cpu-feature-overrides.h    1970/01/01 
00:00:00
+++ linux/include/asm-mips/mach-qemu/cpu-feature-overrides.h    2005-07-11 
11:50:14.928615000 +0100     1.1
@@ -0,0 +1,31 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2003 Ralf Baechle
+ */
+#ifndef __ASM_MACH_QEMU_CPU_FEATURE_OVERRIDES_H
+#define __ASM_MACH_QEMU_CPU_FEATURE_OVERRIDES_H
+
+/*
+ * QEMU only comes with a hazard-free MIPS32 processor, so things are easy.
+ */
+#define cpu_has_mips16         0
+#define cpu_has_divec          0
+#define cpu_has_cache_cdex_p   0
+#define cpu_has_prefetch       0
+#define cpu_has_mcheck         0
+#define cpu_has_ejtag          0
+
+#define cpu_has_llsc           1
+#define cpu_has_vtag_icache    0
+#define cpu_has_dc_aliases     (PAGE_SIZE < 0x4000)
+#define cpu_has_ic_fills_f_dc  0
+
+#define cpu_has_dsp            0
+
+#define cpu_has_nofpuex                0
+#define cpu_has_64bits         0
+
+#endif /* __ASM_MACH_QEMU_CPU_FEATURE_OVERRIDES_H */
diff -urN linux/include/asm-mips/mach-qemu/param.h 
linux/include/asm-mips/mach-qemu/param.h
--- linux/include/asm-mips/mach-qemu/param.h    1970/01/01 00:00:00
+++ linux/include/asm-mips/mach-qemu/param.h    2005-07-11 11:50:14.952637000 
+0100     1.1
@@ -0,0 +1,13 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2005 by Ralf Baechle
+ */
+#ifndef __ASM_MACH_QEMU_PARAM_H
+#define __ASM_MACH_QEMU_PARAM_H
+
+#define HZ             100             /* Internal kernel timer frequency */
+
+#endif /* __ASM_MACH_QEMU_PARAM_H */

<Prev in Thread] Current Thread [Next in Thread>