diff -urN -X /usr/share/dontdiff linux.vanilla/drivers/ide/serverworks.c linux/drivers/ide/serverworks.c --- linux.vanilla/drivers/ide/serverworks.c Tue May 21 01:55:59 2002 +++ linux/drivers/ide/serverworks.c Wed May 22 03:36:04 2002 @@ -242,9 +242,9 @@ static int svwks_tune_chipset(struct ata_device *drive, byte speed) { - byte udma_modes[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 }; - byte dma_modes[] = { 0x77, 0x21, 0x20 }; - byte pio_modes[] = { 0x5d, 0x47, 0x34, 0x22, 0x20 }; + static byte udma_modes[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 }; + static byte dma_modes[] = { 0x77, 0x21, 0x20 }; + static byte pio_modes[] = { 0x5d, 0x47, 0x34, 0x22, 0x20 }; struct ata_channel *hwif = drive->channel; struct pci_dev *dev = hwif->pci_dev;