Patch for alim15x3.c for 2.3.40-4

From: Sam Webster (saw29@hermes.cam.ac.uk)
Date: Sat Jan 15 2000 - 11:31:52 EST


This doesn't compile on my machine as there seems to be some extra lines
that should have been removed ???

--- 2.3.40-4alim15x3 Sat Jan 15 15:04:12 2000
+++ alim15x3.c Sat Jan 15 15:43:36 2000
@@ -314,7 +314,6 @@
 static int ali15x3_tune_chipset (ide_drive_t *drive, byte speed)
 {
         ide_hwif_t *hwif = HWIF(drive);
- struct pci_dev *dev = hwif->pci_dev;
         byte unit = (drive->select.b.unit & 0x01);
         byte tmpbyte = 0x00;
         int m5229_udma = hwif->channel? 0x57 : 0x56;
@@ -519,7 +518,6 @@
 
 unsigned int __init ata66_ali15x3 (ide_hwif_t *hwif)
 {
- ide_hwif_t *hwif = HWIF(drive);
         struct pci_dev *dev = hwif->pci_dev;
         byte ata66mask = hwif->channel ? 0x02 : 0x01;
         unsigned int ata66 = 0;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:26 EST