| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | Patch against drivers/ide/pci/it8172.c branch linux_2_4 |
| From: | Jeffrey Baitis <baitisj@evolution.com> |
| Date: | 17 Nov 2003 12:01:19 -0800 |
| Organization: | |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Reply-to: | baitisj@evolution.com |
| Sender: | linux-mips-bounce@linux-mips.org |
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 <baitisj@evolution.com>
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: is cp0 interrupt infrastructure sufficient..?, Ralf Baechle |
|---|---|
| Next by Date: | Sibyte/Broadcom 1250 documentation, Finney, Steve |
| Previous by Thread: | is cp0 interrupt infrastructure sufficient..?, ashish anand |
| Next by Thread: | Sibyte/Broadcom 1250 documentation, Finney, Steve |
| Indexes: | [Date] [Thread] [Top] [All Lists] |