diff -u --recursive --new-file v2.2.8/linux/Makefile linux/Makefile --- v2.2.8/linux/Makefile Tue May 11 13:10:27 1999 +++ linux/Makefile Wed May 12 08:50:12 1999 @@ -1,6 +1,6 @@ VERSION = 2 PATCHLEVEL = 2 -SUBLEVEL = 8 +SUBLEVEL = 9 EXTRAVERSION = ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/) diff -u --recursive --new-file v2.2.8/linux/arch/m68k/kernel/ints.c linux/arch/m68k/kernel/ints.c --- v2.2.8/linux/arch/m68k/kernel/ints.c Tue May 11 13:10:27 1999 +++ linux/arch/m68k/kernel/ints.c Wed May 12 08:50:08 1999 @@ -25,6 +25,7 @@ * which must be served /Roman Zippel */ +#include #include #include #include diff -u --recursive --new-file v2.2.8/linux/arch/m68k/mm/kmap.c linux/arch/m68k/mm/kmap.c --- v2.2.8/linux/arch/m68k/mm/kmap.c Tue May 11 13:10:27 1999 +++ linux/arch/m68k/mm/kmap.c Wed May 12 08:50:08 1999 @@ -7,6 +7,7 @@ * used by other architectures /Roman Zippel */ +#include #include #include #include diff -u --recursive --new-file v2.2.8/linux/arch/m68k/mvme147/config.c linux/arch/m68k/mvme147/config.c --- v2.2.8/linux/arch/m68k/mvme147/config.c Tue May 11 13:10:27 1999 +++ linux/arch/m68k/mvme147/config.c Wed May 12 08:50:08 1999 @@ -13,7 +13,6 @@ * for more details. */ -#include #include #include #include diff -u --recursive --new-file v2.2.8/linux/arch/m68k/q40/config.c linux/arch/m68k/q40/config.c --- v2.2.8/linux/arch/m68k/q40/config.c Tue May 11 13:10:27 1999 +++ linux/arch/m68k/q40/config.c Wed May 12 08:50:08 1999 @@ -13,6 +13,7 @@ */ #include +#include #include #include #include diff -u --recursive --new-file v2.2.8/linux/arch/m68k/sun3x/time.c linux/arch/m68k/sun3x/time.c --- v2.2.8/linux/arch/m68k/sun3x/time.c Tue May 11 13:10:27 1999 +++ linux/arch/m68k/sun3x/time.c Wed May 12 08:50:08 1999 @@ -4,7 +4,6 @@ * Sun3x-specific time handling */ -#include #include #include #include diff -u --recursive --new-file v2.2.8/linux/arch/ppc/kernel/pmac_pic.c linux/arch/ppc/kernel/pmac_pic.c --- v2.2.8/linux/arch/ppc/kernel/pmac_pic.c Tue May 11 13:10:28 1999 +++ linux/arch/ppc/kernel/pmac_pic.c Wed May 12 08:50:08 1999 @@ -1,4 +1,4 @@ - +#include #include #include #include diff -u --recursive --new-file v2.2.8/linux/drivers/block/ide-dma.c linux/drivers/block/ide-dma.c --- v2.2.8/linux/drivers/block/ide-dma.c Tue Jan 19 11:32:51 1999 +++ linux/drivers/block/ide-dma.c Tue May 11 14:58:46 1999 @@ -425,7 +425,7 @@ } else { dma_base = dev->base_address[4] & PCI_BASE_ADDRESS_IO_MASK; if (!dma_base || dma_base == PCI_BASE_ADDRESS_IO_MASK) { - printk("%s: dma_base is invalid (0x%04lx, BIOS problem), please report to \n", name, dma_base); + printk("%s: dma_base is invalid (0x%04lx)\n", name, dma_base); dma_base = 0; } } diff -u --recursive --new-file v2.2.8/linux/drivers/block/ide.c linux/drivers/block/ide.c --- v2.2.8/linux/drivers/block/ide.c Tue May 11 13:10:28 1999 +++ linux/drivers/block/ide.c Wed May 12 13:19:32 1999 @@ -1696,6 +1696,7 @@ ide_hwgroup_t *hwgroup; int irq_count = 0, unit, i; unsigned long flags; + unsigned int p, minor; if (index >= MAX_HWIFS) return; @@ -1714,6 +1715,24 @@ goto abort; } hwif->present = 0; + + /* + * All clear? Then blow away the buffer cache + */ + sti(); + for (unit = 0; unit < MAX_DRIVES; ++unit) { + drive = &hwif->drives[unit]; + minor = drive->select.b.unit << PARTN_BITS; + for (p = 0; p < (1<part[p].nr_sects > 0) { + kdev_t devp = MKDEV(hwif->major, minor+p); + struct super_block * sb = get_super(devp); + if (sb) invalidate_inodes(sb); + invalidate_buffers (devp); + } + } + } + cli(); hwgroup = hwif->hwgroup; /* diff -u --recursive --new-file v2.2.8/linux/drivers/scsi/aha152x.c linux/drivers/scsi/aha152x.c --- v2.2.8/linux/drivers/scsi/aha152x.c Fri Apr 16 14:47:30 1999 +++ linux/drivers/scsi/aha152x.c Wed May 12 13:19:32 1999 @@ -414,8 +414,13 @@ #define P_PARITY 2 /* possible irq range */ +#ifdef PCMCIA +#define IRQ_MIN 0 +#define IRQ_MAX 16 +#else #define IRQ_MIN 9 #define IRQ_MAX 12 +#endif #define IRQS IRQ_MAX-IRQ_MIN+1 enum { @@ -746,7 +751,7 @@ if(!aha152x_porttest(setup->io_port)) return 0; - if(setup->irqirq>IRQ_MAX) + if((setup->irqirq>IRQ_MAX)) return 0; if((setup->scsiid < 0) || (setup->scsiid > 7)) diff -u --recursive --new-file v2.2.8/linux/drivers/video/Config.in linux/drivers/video/Config.in --- v2.2.8/linux/drivers/video/Config.in Tue Mar 23 14:35:48 1999 +++ linux/drivers/video/Config.in Tue May 11 16:30:36 1999 @@ -21,6 +21,9 @@ if [ "$CONFIG_ARCH_ACORN" = "y" ]; then bool 'Acorn VIDC support' CONFIG_FB_ACORN fi + if [ "$CONFIG_ARCH_NETWINDER" = "y" ]; then + tristate 'Cyber2000 support' CONFIG_FB_CYBER2000 + fi if [ "$CONFIG_APOLLO" = "y" ]; then define_bool CONFIG_FB_APOLLO y fi @@ -177,8 +180,8 @@ "$CONFIG_FB_VIRGE" = "y" -o "$CONFIG_FB_CYBER" = "y" -o \ "$CONFIG_FB_VALKYRIE" = "y" -o "$CONFIG_FB_PLATINUM" = "y" -o \ "$CONFIG_FB_IGA" = "y" -o "$CONFIG_FB_MATROX" = "y" -o \ - "$CONFIG_FB_CT65550" = "y" -o "$CONFIG_FB_PM2" = "y" -o \ - "$CONFIG_FB_SGIVW" = "y" ]; then + "$CONFIG_FB_CT65550" = "y" -o "$CONFIG_FB_PM2" = "y" -o \ + "$CONFIG_FB_SGIVW" = "y" -o "$CONFIG_FB_CYBER2000" = "y" ]; then define_bool CONFIG_FBCON_CFB8 y else if [ "$CONFIG_FB_ACORN" = "m" -o "$CONFIG_FB_ATARI" = "m" -o \ @@ -191,8 +194,8 @@ "$CONFIG_FB_VIRGE" = "m" -o "$CONFIG_FB_CYBER" = "m" -o \ "$CONFIG_FB_VALKYRIE" = "m" -o "$CONFIG_FB_PLATINUM" = "m" -o \ "$CONFIG_FB_IGA" = "m" -o "$CONFIG_FB_MATROX" = "m" -o \ - "$CONFIG_FB_CT65550" = "m" -o "$CONFIG_FB_PM2" = "m" -o \ - "$CONFIG_FB_SGIVW" = "m" ]; then + "$CONFIG_FB_CT65550" = "m" -o "$CONFIG_FB_PM2" = "m" -o \ + "$CONFIG_FB_SGIVW" = "m" -o "$CONFIG_FB_CYBER2000" = "m" ]; then define_bool CONFIG_FBCON_CFB8 m fi fi @@ -204,7 +207,8 @@ "$CONFIG_FB_VIRGE" = "y" -o "$CONFIG_FB_CYBER" = "y" -o \ "$CONFIG_FB_VALKYRIE" = "y" -o "$CONFIG_FB_PLATINUM" = "y" -o \ "$CONFIG_FB_CT65550" = "y" -o "$CONFIG_FB_MATROX" = "y" -o \ - "$CONFIG_FB_PM2" = "y" -o "$CONFIG_FB_SGIVW" = "y" ]; then + "$CONFIG_FB_PM2" = "y" -o "$CONFIG_FB_SGIVW" = "y" -o \ + "$CONFIG_FB_CYBER2000" = "y" ]; then define_bool CONFIG_FBCON_CFB16 y else if [ "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_ATY" = "m" -o \ @@ -214,19 +218,22 @@ "$CONFIG_FB_CONTROL" = "m" -o "$CONFIG_FB_CLGEN" = "m" -o \ "$CONFIG_FB_VIRGE" = "m" -o "$CONFIG_FB_CYBER" = "m" -o \ "$CONFIG_FB_VALKYRIE" = "m" -o "$CONFIG_FB_PLATINUM" = "m" -o \ - "$CONFIG_FB_CT65550" = "m" -o "$CONFIG_FB_MATROX" = "m" -o \ - "$CONFIG_FB_PM2" = "m" -o "$CONFIG_FB_SGIVW" = "m" ]; then + "$CONFIG_FB_CT65550" = "m" -o "$CONFIG_FB_MATROX" = "m" -o \ + "$CONFIG_FB_PM2" = "y" -o "$CONFIG_FB_SGIVW" = "m" -o \ + "$CONFIG_FB_CYBER2000" = "m" ]; then define_bool CONFIG_FBCON_CFB16 m fi fi if [ "$CONFIG_FB_ATY" = "y" -o "$CONFIG_FB_VIRTUAL" = "y" -o \ "$CONFIG_FB_CLGEN" = "y" -o "$CONFIG_FB_VESA" = "y" -o \ - "$CONFIG_FB_MATROX" = "y" -o "$CONFIG_FB_PM2" = "y" ]; then + "$CONFIG_FB_MATROX" = "y" -o "$CONFIG_FB_PM2" = "y" -o \ + "$CONFIG_FB_CYBER2000" = "y" ]; then define_bool CONFIG_FBCON_CFB24 y else if [ "$CONFIG_FB_ATY" = "m" -o "$CONFIG_FB_VIRTUAL" = "m" -o \ "$CONFIG_FB_CLGEN" = "m" -o "$CONFIG_FB_VESA" = "m" -o \ - "$CONFIG_FB_MATROX" = "m" -o "$CONFIG_FB_PM2" = "m" ]; then + "$CONFIG_FB_MATROX" = "m" -o "$CONFIG_FB_PM2" = "m" -o \ + "$CONFIG_FB_CYBER2000" = "m" ]; then define_bool CONFIG_FBCON_CFB24 m fi fi @@ -323,7 +330,7 @@ if [ "$CONFIG_AMIGA" = "y" ]; then define_bool CONFIG_FONT_PEARL_8x8 y fi - if [ "$CONFIG_ARM" = "y" ]; then + if [ "$CONFIG_ARM" = "y" -a "$CONFIG_ARCH_ACORN" = "y" ]; then define_bool CONFIG_FONT_ACORN_8x8 y fi fi diff -u --recursive --new-file v2.2.8/linux/drivers/video/Makefile linux/drivers/video/Makefile --- v2.2.8/linux/drivers/video/Makefile Tue Mar 23 14:35:48 1999 +++ linux/drivers/video/Makefile Tue May 11 16:30:36 1999 @@ -132,6 +132,14 @@ endif endif +ifeq ($(CONFIG_FB_CYBER2000),y) +L_OBJS += cyber2000fb.o +else + ifeq ($(CONFIG_FB_CYBER2000),m) + M_OBJS += cyber2000fb.o + endif +endif + ifeq ($(CONFIG_FB_SGIVW),y) L_OBJS += sgivwfb.o else diff -u --recursive --new-file v2.2.8/linux/drivers/video/acornfb.c linux/drivers/video/acornfb.c --- v2.2.8/linux/drivers/video/acornfb.c Mon Oct 5 13:13:41 1998 +++ linux/drivers/video/acornfb.c Tue May 11 16:30:36 1999 @@ -1,15 +1,22 @@ /* * linux/drivers/video/acorn.c * - * Copyright (C) 1998 Russell King + * Copyright (C) 1998,1999 Russell King * * Frame buffer code for Acorn platforms + * + * NOTE: Most of the modes with X!=640 will disappear shortly. + * NOTE: Startup setting of HS & VS polarity not supported. + * (do we need to support it if we're coming up in 640x480?) */ + +#include #include #include #include #include #include +#include #include #include #include @@ -21,245 +28,898 @@ #include #include +#include