[PATCH] ide: add support for Netcell Revolution to pci-ide generic driver

Adds support for Netcell Revolution to pci-ide generic driver by including
it in the list of devices matched. Includes the Revolution in the list of
simplex devices forced into DMA mode.

Signed-off-by: Matt Gillette <matt.gillette@netcell.com>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>

authored by Matt Gillette and committed by Bartlomiej Zolnierkiewicz 2f09a7f4 b07e5ecc

+11
+7
drivers/ide/pci/generic.c
··· 173 .channels = 2, 174 .autodma = NOAUTODMA, 175 .bootable = ON_BOARD, 176 } 177 }; 178 ··· 237 { PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 11}, 238 { PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 12}, 239 { PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 13}, 240 /* Must come last. If you add entries adjust this table appropriately and the init_one code */ 241 { PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_STORAGE_IDE << 8, 0xFFFFFF00UL, 0}, 242 { 0, },
··· 173 .channels = 2, 174 .autodma = NOAUTODMA, 175 .bootable = ON_BOARD, 176 + },{ /* 14 */ 177 + .name = "Revolution", 178 + .init_hwif = init_hwif_generic, 179 + .channels = 2, 180 + .autodma = AUTODMA, 181 + .bootable = OFF_BOARD, 182 } 183 }; 184 ··· 231 { PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 11}, 232 { PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 12}, 233 { PCI_VENDOR_ID_TOSHIBA,PCI_DEVICE_ID_TOSHIBA_PICCOLO_2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 13}, 234 + { PCI_VENDOR_ID_NETCELL,PCI_DEVICE_ID_REVOLUTION, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 14}, 235 /* Must come last. If you add entries adjust this table appropriately and the init_one code */ 236 { PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_CLASS_STORAGE_IDE << 8, 0xFFFFFF00UL, 0}, 237 { 0, },
+1
drivers/ide/setup-pci.c
··· 229 case PCI_DEVICE_ID_AMD_VIPER_7409: 230 case PCI_DEVICE_ID_CMD_643: 231 case PCI_DEVICE_ID_SERVERWORKS_CSB5IDE: 232 simplex_stat = hwif->INB(dma_base + 2); 233 hwif->OUTB((simplex_stat&0x60),(dma_base + 2)); 234 simplex_stat = hwif->INB(dma_base + 2);
··· 229 case PCI_DEVICE_ID_AMD_VIPER_7409: 230 case PCI_DEVICE_ID_CMD_643: 231 case PCI_DEVICE_ID_SERVERWORKS_CSB5IDE: 232 + case PCI_DEVICE_ID_REVOLUTION: 233 simplex_stat = hwif->INB(dma_base + 2); 234 hwif->OUTB((simplex_stat&0x60),(dma_base + 2)); 235 simplex_stat = hwif->INB(dma_base + 2);
+3
include/linux/pci_ids.h
··· 2184 #define PCI_VENDOR_ID_SIBYTE 0x166d 2185 #define PCI_DEVICE_ID_BCM1250_HT 0x0002 2186 2187 #define PCI_VENDOR_ID_LINKSYS 0x1737 2188 #define PCI_DEVICE_ID_LINKSYS_EG1032 0x1032 2189 #define PCI_DEVICE_ID_LINKSYS_EG1064 0x1064
··· 2184 #define PCI_VENDOR_ID_SIBYTE 0x166d 2185 #define PCI_DEVICE_ID_BCM1250_HT 0x0002 2186 2187 + #define PCI_VENDOR_ID_NETCELL 0x169c 2188 + #define PCI_DEVICE_ID_REVOLUTION 0x0044 2189 + 2190 #define PCI_VENDOR_ID_LINKSYS 0x1737 2191 #define PCI_DEVICE_ID_LINKSYS_EG1032 0x1032 2192 #define PCI_DEVICE_ID_LINKSYS_EG1064 0x1064