On Sat, 27 Sep 2003, Geert Uytterhoeven wrote: > On Sat, 27 Sep 2003, Stefan Pietzonke wrote: > M-Tech Germany Viper Mk V/E-Matrix 530 [SCSI Host Adapter and IDE Interface] > M-Tech Germany Viper Mk V/E-Matrix 530 [Accelerator and RAM Expansion] > > `lszorro' should tell you the same... > > I'll cook a patch...
Does this patch help? It's for 2.4.x, but it may work for 2.2.20, too. --- linux-m68k-2.4.23-pre5/Documentation/Configure.help.orig Mon Sep 22 09:17:17 2003 +++ linux-m68k-2.4.23-pre5/Documentation/Configure.help Sat Sep 27 12:06:28 2003 @@ -1483,6 +1483,13 @@ devices (hard disks, CD-ROM drives, etc.) that are connected to the builtin IDE interface. +M-Tech E-Matrix 530 support +CONFIG_BLK_DEV_EMATRIX530_IDE + This is the IDE driver for the IDE interface on the M-Tech E-Matrix + 530 expansion card. Say Y if you have such a card and want to use IDE + devices (hard disks, CD-ROM drives, etc.) that are connected to its + IDE interface. + Falcon IDE interface support CONFIG_BLK_DEV_FALCON_IDE This is the IDE driver for the builtin IDE interface on the Atari --- linux-m68k-2.4.23-pre5/drivers/ide/Config.in.orig Sun Aug 31 10:23:48 2003 +++ linux-m68k-2.4.23-pre5/drivers/ide/Config.in Sat Sep 27 12:06:32 2003 @@ -109,6 +109,7 @@ if [ "$CONFIG_AMIGA" = "y" ]; then dep_bool ' Amiga Gayle IDE interface support' CONFIG_BLK_DEV_GAYLE $CONFIG_AMIGA dep_mbool ' Amiga IDE Doubler support (EXPERIMENTAL)' CONFIG_BLK_DEV_IDEDOUBLER $CONFIG_BLK_DEV_GAYLE $CONFIG_EXPERIMENTAL + dep_mbool ' M-Tech E-Matrix 530 IDE support (EXPERIMENTAL)' CONFIG_BLK_DEV_EMATRIX530_IDE $CONFIG_ZORRO $CONFIG_BLK_DEV_GAYLE $CONFIG_EXPERIMENTAL fi if [ "$CONFIG_ZORRO" = "y" -a "$CONFIG_EXPERIMENTAL" = "y" ]; then dep_mbool ' Buddha/Catweasel/X-Surf IDE interface support (EXPERIMENTAL)' CONFIG_BLK_DEV_BUDDHA $CONFIG_ZORRO $CONFIG_EXPERIMENTAL --- linux-m68k-2.4.23-pre5/drivers/ide/legacy/gayle.c.orig Fri May 9 11:02:33 2003 +++ linux-m68k-2.4.23-pre5/drivers/ide/legacy/gayle.c Sat Sep 27 12:28:07 2003 @@ -29,7 +29,7 @@ */ #define GAYLE_BASE_4000 0xdd2020 /* A4000/A4000T */ -#define GAYLE_BASE_1200 0xda0000 /* A1200/A600 */ +#define GAYLE_BASE_1200 0xda0000 /* A1200/A600 and E-Matrix 530 */ /* * Offsets from one of the above bases @@ -118,9 +118,20 @@ if (!MACH_IS_AMIGA) return; - if (!(a4000 = AMIGAHW_PRESENT(A4000_IDE)) && !AMIGAHW_PRESENT(A1200_IDE)) - return; + if ((a4000 = AMIGAHW_PRESENT(A4000_IDE)) || AMIGAHW_PRESENT(A1200_IDE)) + goto found; + +#ifdef CONFIG_BLK_DEV_EMATRIX530_IDE + if (zorro_find_device(ZORRO_PROD_MTEC_VIPER_MK_V_E_MATRIX_530_SCSI_IDE, + NULL)) { + printk("M-Tech E-Matrix 530 IDE found\n"); + goto found; + } else + printk("No M-Tech E-Matrix 530 IDE found\n"); +#endif + return; +found: for (i = 0; i < GAYLE_NUM_PROBE_HWIFS; i++) { ide_ioreg_t base, ctrlport, irqport; ide_ack_intr_t *ack_intr; Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [EMAIL PROTECTED] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds