Subject: Patch against drivers/ide/pci/it8172.c branch linux_2_4

From: Jeffrey Baitis <[email-masked]>
Date: 17 Nov 2003 12:01:19 -0800

Here's a patch to make this compile...
-Jeff

Index: drivers/ide/pci/it8172.c
===================================================================
RCS file: /home/cvs/linux/drivers/ide/pci/it8172.c,v
retrieving revision 1.4.2.2
diff -u -r1.4.2.2 it8172.c
--- drivers/ide/pci/it8172.c    5 Jul 2003 03:23:36 -0000       1.4.2.2
+++ drivers/ide/pci/it8172.c    17 Nov 2003 19:58:32 -0000
@@ -57,7 +57,7 @@
 {
        ide_hwif_t *hwif        = HWIF(drive);
        struct pci_dev *dev     = hwif->pci_dev;
-       int is_slave            = (hwif->drives[1] == drive);
+       int is_slave            = (&HWIF(drive)->drives[1] == drive);
        unsigned long flags;
        u16 drive_enables;
        u32 drive_timing;
@@ -95,7 +95,7 @@
        }
 
        pci_write_config_word(dev, 0x40, drive_enables);
-       spin_unlock_irqrestore(&ide_lock, flags)
+       spin_unlock_irqrestore(&ide_lock, flags);
 }

-- 
Jeffrey Baitis <[email-masked]>