PATCH: remove old style probe from other legacy ide

PATCH: remove old style probe from other legacy ide

Post by Alan Co » Sat, 22 Mar 2003 20:40:11



diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/ide/legacy/pdc4030.c linux-2.5.65-ac2/drivers/ide/legacy/pdc4030.c
--- linux-2.5.65/drivers/ide/legacy/pdc4030.c   2003-03-03 19:20:09.000000000 +0000

                if (!ident.current_tm[i+2].cyl)
                        hwif2->drives[i].noprobe = 1;
        }
-#ifndef HWIF_PROBE_CLASSIC_METHOD
+
        probe_hwif_init(&ide_hwifs[hwif->index]);
        probe_hwif_init(&ide_hwifs[hwif2->index]);
-#endif /* HWIF_PROBE_CLASSIC_METHOD */

-        return 1;
+       return 1;
 }

 /*
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/ide/legacy/qd65xx.c linux-2.5.65-ac2/drivers/ide/legacy/qd65xx.c
--- linux-2.5.65/drivers/ide/legacy/qd65xx.c    2003-03-03 19:20:09.000000000 +0000

        hwif->drives[0].io_32bit =
        hwif->drives[1].io_32bit = 1;
        hwif->tuneproc = tuneproc;
-#ifndef HWIF_PROBE_CLASSIC_METHOD
        probe_hwif_init(hwif);
-#endif /* HWIF_PROBE_CLASSIC_METHOD */
 }

 /*
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/ide/legacy/umc8672.c linux-2.5.65-ac2/drivers/ide/legacy/umc8672.c
--- linux-2.5.65/drivers/ide/legacy/umc8672.c   2003-03-03 19:20:09.000000000 +0000

        ide_hwifs[1].mate = &ide_hwifs[0];
        ide_hwifs[1].channel = 1;

-#ifndef HWIF_PROBE_CLASSIC_METHOD
        probe_hwif_init(&ide_hwifs[0]);
        probe_hwif_init(&ide_hwifs[1]);
-#endif /* HWIF_PROBE_CLASSIC_METHOD */

        return 0;
 }
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. PATCH: remove legacy probe code

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/ide/legacy/ali14xx.c linux-2.5.65-ac2/drivers/ide/legacy/ali14xx.c
--- linux-2.5.65/drivers/ide/legacy/ali14xx.c   2003-03-03 19:20:09.000000000 +0000

                return 1;
        }

-#ifndef HWIF_PROBE_CLASSIC_METHOD
        probe_hwif_init(&ide_hwifs[0]);
        probe_hwif_init(&ide_hwifs[1]);
-#endif /* HWIF_PROBE_CLASSIC_METHOD */

        return 0;
 }
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65/drivers/ide/legacy/dtc2278.c linux-2.5.65-ac2/drivers/ide/legacy/dtc2278.c
--- linux-2.5.65/drivers/ide/legacy/dtc2278.c   2003-03-03 19:20:09.000000000 +0000

        ide_hwifs[1].mate = &ide_hwifs[0];
        ide_hwifs[1].channel = 1;

-#ifndef HWIF_PROBE_CLASSIC_METHOD
        probe_hwif_init(&ide_hwifs[0]);
        probe_hwif_init(&ide_hwifs[1]);
-#endif /* HWIF_PROBE_CLASSIC_METHOD */
-
 }

 void __init dtc2278_release (void)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Anyone get Redhat 6.0 + Cable Modem working?????

3. PATCH: remove old style and unused bad drive list

4. QVT

5. Probe legacy IDE chipsets in ide_init() instead of in ide_setup()

6. linux RH-5.0 fdisk

7. Problem finding cd rom: legacy Mitsumi 2X Non-IDE on old SB16 interface

8. Question about .forward

9. PATCH: Update ide/legacy makefile to match changes

10. PATCH: fix the rest of the names/ide_ioreg_t in ide legacy

11. PATCH: module for legacy PC9800 ide

12. PATCH: clean up ht6560 legacy ide driver

13. Old style text in acct-1.3 patch with diff