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

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue Feb 18 2003 - 13:11:56 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.61/drivers/ide/legacy/macide.c linux-2.5.61-ac2/drivers/ide/legacy/macide.c
--- linux-2.5.61/drivers/ide/legacy/macide.c 2003-02-10 18:37:54.000000000 +0000
+++ linux-2.5.61-ac2/drivers/ide/legacy/macide.c 2003-02-18 18:06:19.000000000 +0000
@@ -1,5 +1,5 @@
 /*
- * linux/drivers/ide/macide.c -- Macintosh IDE Driver
+ * linux/drivers/ide/legacy/macide.c -- Macintosh IDE Driver
  *
  * Copyright (C) 1998 by Michael Schmitz
  *
@@ -98,21 +98,21 @@
 
         switch (macintosh_config->ide_type) {
         case MAC_IDE_QUADRA:
- ide_setup_ports(&hw, (ide_ioreg_t)IDE_BASE, macide_offsets,
+ ide_setup_ports(&hw, IDE_BASE, macide_offsets,
                                 0, 0, macide_ack_intr,
 // quadra_ide_iops,
                                 IRQ_NUBUS_F);
                 index = ide_register_hw(&hw, NULL);
                 break;
         case MAC_IDE_PB:
- ide_setup_ports(&hw, (ide_ioreg_t)IDE_BASE, macide_offsets,
+ ide_setup_ports(&hw, IDE_BASE, macide_offsets,
                                 0, 0, macide_ack_intr,
 // macide_pb_iops,
                                 IRQ_NUBUS_C);
                 index = ide_register_hw(&hw, NULL);
                 break;
         case MAC_IDE_BABOON:
- ide_setup_ports(&hw, (ide_ioreg_t)BABOON_BASE, macide_offsets,
+ ide_setup_ports(&hw, BABOON_BASE, macide_offsets,
                                 0, 0, NULL,
 // macide_baboon_iops,
                                 IRQ_BABOON_1);
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.61/drivers/ide/legacy/pdc4030.c linux-2.5.61-ac2/drivers/ide/legacy/pdc4030.c
--- linux-2.5.61/drivers/ide/legacy/pdc4030.c 2003-02-10 18:38:38.000000000 +0000
+++ linux-2.5.61-ac2/drivers/ide/legacy/pdc4030.c 2003-02-18 18:06:19.000000000 +0000
@@ -1,5 +1,5 @@
 /* -*- linux-c -*-
- * linux/drivers/ide/pdc4030.c Version 0.90 May 27, 1999
+ * linux/drivers/ide/legacy/pdc4030.c Version 0.90 May 27, 1999
  *
  * Copyright (C) 1995-2002 Linus Torvalds & authors (see below)
  */
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.61/drivers/ide/legacy/pdc4030.h linux-2.5.61-ac2/drivers/ide/legacy/pdc4030.h
--- linux-2.5.61/drivers/ide/legacy/pdc4030.h 2003-02-10 18:38:48.000000000 +0000
+++ linux-2.5.61-ac2/drivers/ide/legacy/pdc4030.h 2003-02-17 18:54:52.000000000 +0000
@@ -1,5 +1,5 @@
 /*
- * linux/drivers/ide/pdc4030.h
+ * linux/drivers/ide/legacy/pdc4030.h
  *
  * Copyright (C) 1995-1998 Linus Torvalds & authors
  */
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.61/drivers/ide/legacy/q40ide.c linux-2.5.61-ac2/drivers/ide/legacy/q40ide.c
--- linux-2.5.61/drivers/ide/legacy/q40ide.c 2003-02-10 18:37:59.000000000 +0000
+++ linux-2.5.61-ac2/drivers/ide/legacy/q40ide.c 2003-02-18 18:06:19.000000000 +0000
@@ -1,5 +1,5 @@
 /*
- * linux/drivers/ide/q40ide.c -- Q40 I/O port IDE Driver
+ * linux/drivers/ide/legacy/q40ide.c -- Q40 I/O port IDE Driver
  *
  * (c) Richard Zidlicky
  *
@@ -82,7 +82,7 @@
     for (i = 0; i < Q40IDE_NUM_HWIFS; i++) {
         hw_regs_t hw;
 
- ide_setup_ports(&hw,(ide_ioreg_t) pcide_bases[i], (int *)pcide_offsets,
+ ide_setup_ports(&hw,(unsigned long) pcide_bases[i], (int *)pcide_offsets,
                         pcide_bases[i]+0x206,
                         0, NULL,
 // pcide_iops,
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.61/drivers/ide/legacy/qd65xx.c linux-2.5.61-ac2/drivers/ide/legacy/qd65xx.c
--- linux-2.5.61/drivers/ide/legacy/qd65xx.c 2003-02-10 18:38:01.000000000 +0000
+++ linux-2.5.61-ac2/drivers/ide/legacy/qd65xx.c 2003-02-18 18:06:19.000000000 +0000
@@ -1,5 +1,5 @@
 /*
- * linux/drivers/ide/qd65xx.c Version 0.07 Sep 30, 2001
+ * linux/drivers/ide/legacy/qd65xx.c Version 0.07 Sep 30, 2001
  *
  * Copyright (C) 1996-2001 Linus Torvalds & author (see below)
  */
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.61/drivers/ide/legacy/qd65xx.h linux-2.5.61-ac2/drivers/ide/legacy/qd65xx.h
--- linux-2.5.61/drivers/ide/legacy/qd65xx.h 2003-02-10 18:39:14.000000000 +0000
+++ linux-2.5.61-ac2/drivers/ide/legacy/qd65xx.h 2003-02-17 18:55:15.000000000 +0000
@@ -1,5 +1,5 @@
 /*
- * linux/drivers/ide/qd65xx.h
+ * linux/drivers/ide/legacy/qd65xx.h
  *
  * Copyright (c) 2000 Linus Torvalds & authors
  */
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.61/drivers/ide/legacy/umc8672.c linux-2.5.61-ac2/drivers/ide/legacy/umc8672.c
--- linux-2.5.61/drivers/ide/legacy/umc8672.c 2003-02-10 18:38:01.000000000 +0000
+++ linux-2.5.61-ac2/drivers/ide/legacy/umc8672.c 2003-02-18 18:06:19.000000000 +0000
@@ -1,5 +1,5 @@
 /*
- * linux/drivers/ide/umc8672.c Version 0.05 Jul 31, 1996
+ * linux/drivers/ide/legacy/umc8672.c Version 0.05 Jul 31, 1996
  *
  * Copyright (C) 1995-1996 Linus Torvalds & author (see below)
  */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Feb 23 2003 - 22:00:22 EST