📄 update-2.4.22-mipsorg-0.030928.1.patch
字号:
vmlinux.ecoff: $(CONFIGURE) elf2ecoff $(TOPDIR)/vmlinux ./elf2ecoff $(TOPDIR)/vmlinux vmlinux.ecoff $(E2EFLAGS)@@ -32,6 +32,9 @@ elf2ecoff: elf2ecoff.c $(HOSTCC) -o $@ $^ +vmlinux.srec: $(CONFIGURE) $(TOPDIR)/vmlinux+ $(OBJCOPY) -S -O srec $(strip-flags) $(TOPDIR)/vmlinux vmlinux.srec+ addinitrd: addinitrd.c $(HOSTCC) -o $@ $^ @@ -40,10 +43,12 @@ clean: rm -f vmlinux.ecoff+ rm -f vmlinux.srec rm -f zImage zImage.tmp mrproper: rm -f vmlinux.ecoff+ rm -f vmlinux.srec rm -f addinitrd rm -f elf2ecoff diff -Naur --exclude='*.orig' --exclude=CVS --exclude=.cvsignore --exclude='.#*' --exclude=README.Debian linux-2.4.22.clean/arch/mips/config-shared.in linux-2.4.22/arch/mips/config-shared.in--- linux-2.4.22.clean/arch/mips/config-shared.in 2003-08-25 13:44:39.000000000 +0200+++ linux-2.4.22/arch/mips/config-shared.in 2003-09-27 14:07:02.000000000 +0200@@ -33,6 +33,7 @@ dep_bool 'Support for Alchemy PB1500 board' CONFIG_MIPS_PB1500 $CONFIG_MIPS32 dep_bool 'Support for MyCable XXS1500 board' CONFIG_MIPS_XXS1500 $CONFIG_MIPS32 dep_bool 'Support for 4G Systems MTX-1 board' CONFIG_MIPS_MTX1 $CONFIG_MIPS32+dep_bool 'Support for Cogent CSB250 board' CONFIG_COGENT_CSB250 $CONFIG_MIPS32 dep_bool 'Support for BAGET MIPS series (EXPERIMENTAL)' CONFIG_BAGET_MIPS $CONFIG_MIPS32 $CONFIG_EXPERIMENTAL bool 'Support for CASIO CASSIOPEIA E-10/15/55/65' CONFIG_CASIO_E55 dep_bool 'Support for Cobalt Server (EXPERIMENTAL)' CONFIG_MIPS_COBALT $CONFIG_EXPERIMENTAL@@ -117,10 +118,10 @@ if [ "$CONFIG_SIBYTE_UNKNOWN" = "y" ]; then choice ' BCM1xxx SOC Type' \- "BCM91250 CONFIG_SIBYTE_SB1250 \- BCM91120 CONFIG_SIBYTE_BCM1120 \- BCM91125 CONFIG_SIBYTE_BCM1125 \- BCM91125H CONFIG_SIBYTE_BCM1125H" CONFIG_SIBYTE_SB1250+ "BCM1250 CONFIG_SIBYTE_SB1250 \+ BCM1120 CONFIG_SIBYTE_BCM1120 \+ BCM1125 CONFIG_SIBYTE_BCM1125 \+ BCM1125H CONFIG_SIBYTE_BCM1125H" CONFIG_SIBYTE_SB1250 unset CONFIG_SIBYTE_BOARD else define_bool CONFIG_SIBYTE_BOARD y@@ -246,6 +247,7 @@ if [ "$CONFIG_MIPS_MIRAGE" = "y" ]; then define_bool CONFIG_SOC_AU1X00 y define_bool CONFIG_SOC_AU1500 y+ define_bool CONFIG_NEW_TIME_C y define_bool CONFIG_PC_KEYB y define_bool CONFIG_PCI y define_bool CONFIG_NEW_PCI y@@ -255,6 +257,7 @@ if [ "$CONFIG_MIPS_BOSPORUS" = "y" ]; then define_bool CONFIG_SOC_AU1X00 y define_bool CONFIG_SOC_AU1500 y+ define_bool CONFIG_NEW_TIME_C y define_bool CONFIG_PC_KEYB y define_bool CONFIG_PCI y define_bool CONFIG_NEW_PCI y@@ -264,6 +267,7 @@ if [ "$CONFIG_MIPS_PB1000" = "y" ]; then define_bool CONFIG_SOC_AU1X00 y define_bool CONFIG_SOC_AU1000 y+ define_bool CONFIG_NEW_TIME_C y define_bool CONFIG_PCI y define_bool CONFIG_NEW_PCI y define_bool CONFIG_NONCOHERENT_IO y@@ -274,6 +278,7 @@ if [ "$CONFIG_MIPS_PB1100" = "y" ]; then define_bool CONFIG_SOC_AU1X00 y define_bool CONFIG_SOC_AU1100 y+ define_bool CONFIG_NEW_TIME_C y define_bool CONFIG_PCI y define_bool CONFIG_PCI_AUTO n define_bool CONFIG_NEW_PCI y@@ -285,6 +290,7 @@ if [ "$CONFIG_MIPS_PB1500" = "y" ]; then define_bool CONFIG_SOC_AU1X00 y define_bool CONFIG_SOC_AU1500 y+ define_bool CONFIG_NEW_TIME_C y define_bool CONFIG_PCI y define_bool CONFIG_NEW_PCI y define_bool CONFIG_PCI_AUTO y@@ -294,6 +300,7 @@ if [ "$CONFIG_MIPS_DB1000" = "y" ]; then define_bool CONFIG_SOC_AU1X00 y define_bool CONFIG_SOC_AU1000 y+ define_bool CONFIG_NEW_TIME_C y # CONFIG_PCI needed for USB define_bool CONFIG_PCI y define_bool CONFIG_NEW_PCI y@@ -305,6 +312,7 @@ if [ "$CONFIG_MIPS_DB1500" = "y" ]; then define_bool CONFIG_SOC_AU1X00 y define_bool CONFIG_SOC_AU1500 y+ define_bool CONFIG_NEW_TIME_C y define_bool CONFIG_PCI y define_bool CONFIG_NEW_PCI y define_bool CONFIG_PCI_AUTO y@@ -314,6 +322,7 @@ if [ "$CONFIG_MIPS_DB1100" = "y" ]; then define_bool CONFIG_SOC_AU1X00 y define_bool CONFIG_SOC_AU1100 y+ define_bool CONFIG_NEW_TIME_C y define_bool CONFIG_PCI y define_bool CONFIG_NEW_PCI y define_bool CONFIG_NONCOHERENT_IO y@@ -323,6 +332,7 @@ if [ "$CONFIG_MIPS_XXS1500" = "y" ]; then define_bool CONFIG_SOC_AU1X00 y define_bool CONFIG_SOC_AU1500 y+ define_bool CONFIG_NEW_TIME_C y define_bool CONFIG_PCI y define_bool CONFIG_NEW_PCI y define_bool CONFIG_PCI_AUTO y@@ -332,11 +342,22 @@ if [ "$CONFIG_MIPS_MTX1" = "y" ]; then define_bool CONFIG_SOC_AU1X00 y define_bool CONFIG_SOC_AU1500 y+ define_bool CONFIG_NEW_TIME_C y define_bool CONFIG_PCI y define_bool CONFIG_NEW_PCI y define_bool CONFIG_PCI_AUTO y define_bool CONFIG_NONCOHERENT_IO y fi+if [ "$CONFIG_COGENT_CSB250" = "y" ]; then+ define_bool CONFIG_SOC_AU1X00 y+ define_bool CONFIG_SOC_AU1500 y+ define_bool CONFIG_NEW_TIME_C y+ define_bool CONFIG_PCI y+ define_bool CONFIG_NEW_PCI y+ define_bool CONFIG_PCI_AUTO y+ define_bool CONFIG_NONCOHERENT_IO y+ define_bool CONFIG_PC_KEYB y+fi if [ "$CONFIG_MIPS_COBALT" = "y" ]; then define_bool CONFIG_COBALT_LCD y define_bool CONFIG_I8259 y@@ -1033,8 +1054,13 @@ bool 'Enable run-time debugging' CONFIG_RUNTIME_DEBUG bool 'Remote GDB kernel debugging' CONFIG_KGDB dep_bool ' Console output to GDB' CONFIG_GDB_CONSOLE $CONFIG_KGDB+if [ "$CONFIG_KGDB" = "y" ]; then+ define_bool CONFIG_DEBUG_INFO y+else+ bool 'Debugging symbols' CONFIG_DEBUG_INFO+fi if [ "$CONFIG_SIBYTE_SB1xxx_SOC" = "y" ]; then- bool 'Compile for Corelis Debugger' CONFIG_SB1XXX_CORELIS+ dep_bool 'Compile for Corelis Debugger' CONFIG_SB1XXX_CORELIS $CONFIG_DEBUG_INFO fi bool 'Magic SysRq key' CONFIG_MAGIC_SYSRQ if [ "$CONFIG_SMP" != "y" ]; thendiff -Naur --exclude='*.orig' --exclude=CVS --exclude=.cvsignore --exclude='.#*' --exclude=README.Debian linux-2.4.22.clean/arch/mips/ddb5xxx/ddb5476/setup.c linux-2.4.22/arch/mips/ddb5xxx/ddb5476/setup.c--- linux-2.4.22.clean/arch/mips/ddb5xxx/ddb5476/setup.c 2003-08-25 13:44:39.000000000 +0200+++ linux-2.4.22/arch/mips/ddb5xxx/ddb5476/setup.c 2003-09-27 14:07:03.000000000 +0200@@ -84,7 +84,7 @@ static void __init ddb_time_init(void) { #if defined(USE_CPU_COUNTER_TIMER)- mips_counter_frequency = CPU_COUNTER_FREQUENCY;+ mips_hpt_frequency = CPU_COUNTER_FREQUENCY; #endif /* we have ds1396 RTC chip */diff -Naur --exclude='*.orig' --exclude=CVS --exclude=.cvsignore --exclude='.#*' --exclude=README.Debian linux-2.4.22.clean/arch/mips/ddb5xxx/ddb5477/setup.c linux-2.4.22/arch/mips/ddb5xxx/ddb5477/setup.c--- linux-2.4.22.clean/arch/mips/ddb5xxx/ddb5477/setup.c 2003-08-25 13:44:39.000000000 +0200+++ linux-2.4.22/arch/mips/ddb5xxx/ddb5477/setup.c 2003-09-27 14:07:03.000000000 +0200@@ -138,11 +138,11 @@ bus_frequency = detect_bus_frequency(rtc_base); } - /* mips_counter_frequency is 1/2 of the cpu core freq */+ /* mips_hpt_frequency is 1/2 of the cpu core freq */ i = (read_c0_config() >> 28 ) & 7; if ((current_cpu_data.cputype == CPU_R5432) && (i == 3)) i = 4;- mips_counter_frequency = bus_frequency*(i+4)/4;+ mips_hpt_frequency = bus_frequency*(i+4)/4; } extern int setup_irq(unsigned int irq, struct irqaction *irqaction);diff -Naur --exclude='*.orig' --exclude=CVS --exclude=.cvsignore --exclude='.#*' --exclude=README.Debian linux-2.4.22.clean/arch/mips/dec/setup.c linux-2.4.22/arch/mips/dec/setup.c--- linux-2.4.22.clean/arch/mips/dec/setup.c 2003-08-25 13:44:39.000000000 +0200+++ linux-2.4.22/arch/mips/dec/setup.c 2003-09-28 02:52:17.000000000 +0200@@ -48,6 +48,11 @@ extern asmlinkage void decstation_handle_int(void); +#ifdef CONFIG_BLK_DEV_INITRD+extern unsigned long initrd_start, initrd_end;+extern void *__rd_start, *__rd_end;+#endif+ spinlock_t ioasic_ssr_lock; volatile u32 *ioasic_base;@@ -131,6 +136,12 @@ void __init decstation_setup(void) {+#ifdef CONFIG_BLK_DEV_INITRD+ ROOT_DEV = MKDEV(RAMDISK_MAJOR, 0);+ initrd_start = (unsigned long)&__rd_start;+ initrd_end = (unsigned long)&__rd_end;+#endif+ board_be_init = dec_be_init; board_time_init = dec_time_init; board_timer_setup = dec_timer_setup;diff -Naur --exclude='*.orig' --exclude=CVS --exclude=.cvsignore --exclude='.#*' --exclude=README.Debian linux-2.4.22.clean/arch/mips/dec/time.c linux-2.4.22/arch/mips/dec/time.c--- linux-2.4.22.clean/arch/mips/dec/time.c 2003-08-25 13:44:39.000000000 +0200+++ linux-2.4.22/arch/mips/dec/time.c 2003-09-27 14:07:03.000000000 +0200@@ -144,6 +144,11 @@ } +static int dec_timer_state(void)+{+ return (CMOS_READ(RTC_REG_C) & RTC_PF) != 0;+}+ static void dec_timer_ack(void) { CMOS_READ(RTC_REG_C); /* Ack the RTC interrupt. */@@ -169,19 +174,23 @@ rtc_get_time = dec_rtc_get_time; rtc_set_mmss = dec_rtc_set_mmss; + mips_timer_state = dec_timer_state; mips_timer_ack = dec_timer_ack;+ if (!cpu_has_counter && IOASIC) { /* For pre-R4k systems we use the I/O ASIC's counter. */ mips_hpt_read = dec_ioasic_hpt_read; mips_hpt_init = dec_ioasic_hpt_init; }++ /* Set up the rate of periodic DS1287 interrupts. */+ CMOS_WRITE(RTC_REF_CLCK_32KHZ | (16 - LOG_2_HZ), RTC_REG_A); } void __init dec_timer_setup(struct irqaction *irq) {+ setup_irq(dec_interrupt[DEC_IRQ_RTC], irq);+ /* Enable periodic DS1287 interrupts. */- CMOS_WRITE(RTC_REF_CLCK_32KHZ | (16 - LOG_2_HZ), RTC_REG_A); CMOS_WRITE(CMOS_READ(RTC_REG_B) | RTC_PIE, RTC_REG_B);-- setup_irq(dec_interrupt[DEC_IRQ_RTC], irq); }diff -Naur --exclude='*.orig' --exclude=CVS --exclude=.cvsignore --exclude='.#*' --exclude=README.Debian linux-2.4.22.clean/arch/mips/defconfig linux-2.4.22/arch/mips/defconfig--- linux-2.4.22.clean/arch/mips/defconfig 2003-08-25 13:44:39.000000000 +0200+++ linux-2.4.22/arch/mips/defconfig 2003-09-27 14:07:02.000000000 +0200@@ -674,6 +674,7 @@ # CONFIG_RUNTIME_DEBUG is not set # CONFIG_KGDB is not set # CONFIG_GDB_CONSOLE is not set+# CONFIG_DEBUG_INFO is not set # CONFIG_MAGIC_SYSRQ is not set # CONFIG_MIPS_UNCACHED is not set diff -Naur --exclude='*.orig' --exclude=CVS --exclude=.cvsignore --exclude='.#*' --exclude=README.Debian linux-2.4.22.clean/arch/mips/defconfig-atlas linux-2.4.22/arch/mips/defconfig-atlas--- linux-2.4.22.clean/arch/mips/defconfig-atlas 2003-08-25 13:44:39.000000000 +0200+++ linux-2.4.22/arch/mips/defconfig-atlas 2003-09-27 14:07:02.000000000 +0200@@ -665,6 +665,7 @@ # CONFIG_RUNTIME_DEBUG is not set # CONFIG_KGDB is not set # CONFIG_GDB_CONSOLE is not set+# CONFIG_DEBUG_INFO is not set # CONFIG_MAGIC_SYSRQ is not set # CONFIG_MIPS_UNCACHED is not set diff -Naur --exclude='*.orig' --exclude=CVS --exclude=.cvsignore --exclude='.#*' --exclude=README.Debian linux-2.4.22.clean/arch/mips/defconfig-bosporus linux-2.4.22/arch/mips/defconfig-bosporus--- linux-2.4.22.clean/arch/mips/defconfig-bosporus 2003-08-25 13:44:39.000000000 +0200+++ linux-2.4.22/arch/mips/defconfig-bosporus 2003-09-27 14:07:02.000000000 +0200@@ -71,6 +71,7 @@ # CONFIG_RWSEM_XCHGADD_ALGORITHM is not set CONFIG_SOC_AU1X00=y CONFIG_SOC_AU1500=y+CONFIG_NEW_TIME_C=y CONFIG_PC_KEYB=y CONFIG_PCI=y CONFIG_NEW_PCI=y@@ -680,6 +681,7 @@ # CONFIG_AMD_PM768 is not set # CONFIG_NVRAM is not set CONFIG_RTC=y+# CONFIG_MIPS_RTC is not set # CONFIG_DTLK is not set # CONFIG_R3964 is not set # CONFIG_APPLICOM is not set@@ -915,6 +917,7 @@ # CONFIG_RUNTIME_DEBUG is not set # CONFIG_KGDB is not set # CONFIG_GDB_CONSOLE is not set+# CONFIG_DEBUG_INFO is not set # CONFIG_MAGIC_SYSRQ is not set # CONFIG_MIPS_UNCACHED is not set diff -Naur --exclude='*.orig' --exclude=CVS --exclude=.cvsignore --exclude='.#*' --exclude=README.Debian linux-2.4.22.clean/arch/mips/defconfig-capcella linux-2.4.22/arch/mips/defconfig-capcella--- linux-2.4.22.clean/arch/mips/defconfig-capcella 2003-08-25 13:44:39.000000000 +0200+++ linux-2.4.22/arch/mips/defconfig-capcella 2003-09-27 14:07:02.000000000 +0200@@ -654,6 +654,7 @@ # CONFIG_RUNTIME_DEBUG is not set # CONFIG_KGDB is not set # CONFIG_GDB_CONSOLE is not set+# CONFIG_DEBUG_INFO is not set # CONFIG_MAGIC_SYSRQ is not set # CONFIG_MIPS_UNCACHED is not set diff -Naur --exclude='*.orig' --exclude=CVS --exclude=.cvsignore --exclude='.#*' --exclude=README.Debian linux-2.4.22.clean/arch/mips/defconfig-cobalt linux-2.4.22/arch/mips/defconfig-cobalt--- linux-2.4.22.clean/arch/mips/defconfig-cobalt 2003-08-25 13:44:39.000000000 +0200+++ linux-2.4.22/arch/mips/defconfig-cobalt 2003-09-27 14:07:02.000000000 +0200@@ -648,6 +648,7 @@ # CONFIG_RUNTIME_DEBUG is not set # CONFIG_KGDB is not set # CONFIG_GDB_CONSOLE is not set+# CONFIG_DEBUG_INFO is not set # CONFIG_MAGIC_SYSRQ is not set # CONFIG_MIPS_UNCACHED is not set diff -Naur --exclude='*.orig' --exclude=CVS --exclude=.cvsignore --exclude='.#*' --exclude=README.Debian linux-2.4.22.clean/arch/mips/defconfig-csb250 linux-2.4.22/arch/mips/defconfig-csb250--- linux-2.4.22.clean/arch/mips/defconfig-csb250 1970-01-01 01:00:00.000000000 +0100+++ linux-2.4.22/arch/mips/defconfig-csb250 2003-09-08 02:05:46.000000000 +0200@@ -0,0 +1,854 @@+#+# Automatically generated make config: don't edit+#+CONFIG_MIPS=y+CONFIG_MIPS32=y+# CONFIG_MIPS64 is not set++#+# Code maturity level options+#+CONFIG_EXPERIMENTAL=y++#+# Loadable module support+#+CONFIG_MODULES=y+# CONFIG_MODVERSIONS is not set+CONFIG_KMOD=y++#+# Machine selection+#+# CONFIG_ACER_PICA_61 is not set+# CONFIG_MIPS_BOSPORUS is not set+# CONFIG_MIPS_MIRAGE is not set+# CONFIG_MIPS_DB1000 is not set+# CONFIG_MIPS_DB1100 is not set+# CONFIG_MIPS_DB1500 is not set+# CONFIG_MIPS_PB1000 is not set+# CONFIG_MIPS_PB1100 is not set+# CONFIG_MIPS_PB1500 is not set+# CONFIG_MIPS_XXS1500 is not set+# CONFIG_MIPS_MTX1 is not set+CONFIG_COGENT_CSB250=y+# CONFIG_BAGET_MIPS is not set+# CONFIG_CASIO_E55 is not set+# CONFIG_MIPS_COBALT is not set+# CONFIG_DECSTATION is not set+# CONFIG_MIPS_EV64120 is not set+# CONFIG_MIPS_EV96100 is not set+# CONFIG_MIPS_IVR is not set+# CONFIG_HP_LASERJET is not set+# CONFIG_IBM_WORKPAD is not set+# CONFIG_LASAT is not set+# CONFIG_MIPS_ITE8172 is not set+# CONFIG_MIPS_ATLAS is not set+# CONFIG_MIPS_MAGNUM_4000 is not set+# CONFIG_MIPS_MALTA is not set+# CONFIG_MIPS_SEAD is not set+# CONFIG_MOMENCO_OCELOT is not set+# CONFIG_MOMENCO_OCELOT_G is not set+# CONFIG_MOMENCO_OCELOT_C is not set+# CONFIG_DDB5074 is not set+# CONFIG_DDB5476 is not set+# CONFIG_DDB5477 is not set+# CONFIG_NEC_OSPREY is not set+# CONFIG_NEC_EAGLE is not set+# CONFIG_OLIVETTI_M700 is not set+# CONFIG_NINO is not set+# CONFIG_SGI_IP22 is not set+# CONFIG_SGI_IP27 is not set+# CONFIG_SIBYTE_SB1xxx_SOC is not set+# CONFIG_SNI_RM200_PCI is not set+# CONFIG_TANBAC_TB0226 is not set+# CONFIG_TANBAC_TB0229 is not set+# CONFIG_TOSHIBA_JMR3927 is not set+# CONFIG_TOSHIBA_RBTX4927 is not set+# CONFIG_VICTOR_MPC30X is not set+# CONFIG_ZAO_CAPCELLA is not set+# CONFIG_HIGHMEM is not set+CONFIG_RWSEM_GENERIC_SPINLOCK=y+# CONFIG_RWSEM_XCHGADD_ALGORITHM is not set+CONFIG_SOC_AU1X00=y+CONFIG_SOC_AU1500=y+CONFIG_NEW_TIME_C=y+CONFIG_PCI=y+CONFIG_NEW_PCI=y+CONFIG_PCI_AUTO=y+CONFIG_NONCOHERENT_IO=y+CONFIG_PC_KEYB=y+# CONFIG_MIPS_AU1000 is not set
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -