patch-2.4.8 linux/drivers/ide/sis5513.c

Next file: linux/drivers/ieee1394/hosts.c
Previous file: linux/drivers/char/sysrq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.7/linux/drivers/ide/sis5513.c linux/drivers/ide/sis5513.c
@@ -48,7 +48,15 @@
 	{ "SiS540",	PCI_DEVICE_ID_SI_540,	SIS5513_FLAG_ATA_66, },
 	{ "SiS620",	PCI_DEVICE_ID_SI_620,	SIS5513_FLAG_ATA_66|SIS5513_FLAG_LATENCY, },
 	{ "SiS630",	PCI_DEVICE_ID_SI_630,	SIS5513_FLAG_ATA_66|SIS5513_FLAG_LATENCY, },
+	{ "SiS635",	PCI_DEVICE_ID_SI_635,	SIS5513_FLAG_ATA_66|SIS5513_FLAG_LATENCY, },
+	{ "SiS640",	PCI_DEVICE_ID_SI_640,	SIS5513_FLAG_ATA_66|SIS5513_FLAG_LATENCY, },
+	{ "SiS645",	PCI_DEVICE_ID_SI_645,	SIS5513_FLAG_ATA_66|SIS5513_FLAG_LATENCY, },
+	{ "SiS650",	PCI_DEVICE_ID_SI_650,	SIS5513_FLAG_ATA_66|SIS5513_FLAG_LATENCY, },
 	{ "SiS730",	PCI_DEVICE_ID_SI_730,	SIS5513_FLAG_ATA_66|SIS5513_FLAG_LATENCY, },
+	{ "SiS735",	PCI_DEVICE_ID_SI_735,	SIS5513_FLAG_ATA_66|SIS5513_FLAG_LATENCY, },
+	{ "SiS740",	PCI_DEVICE_ID_SI_740,	SIS5513_FLAG_ATA_66|SIS5513_FLAG_LATENCY, },
+	{ "SiS745",	PCI_DEVICE_ID_SI_745,	SIS5513_FLAG_ATA_66|SIS5513_FLAG_LATENCY, },
+	{ "SiS750",	PCI_DEVICE_ID_SI_750,	SIS5513_FLAG_ATA_66|SIS5513_FLAG_LATENCY, },
 	{ "SiS5591",	PCI_DEVICE_ID_SI_5591,	SIS5513_FLAG_ATA_33, },
 	{ "SiS5597",	PCI_DEVICE_ID_SI_5597,	SIS5513_FLAG_ATA_33, },
 	{ "SiS5600",	PCI_DEVICE_ID_SI_5600,	SIS5513_FLAG_ATA_33, },
@@ -338,7 +346,15 @@
 			case PCI_DEVICE_ID_SI_540:
 			case PCI_DEVICE_ID_SI_620:
 			case PCI_DEVICE_ID_SI_630:
+			case PCI_DEVICE_ID_SI_635:
+			case PCI_DEVICE_ID_SI_640:
+			case PCI_DEVICE_ID_SI_645:
+			case PCI_DEVICE_ID_SI_650:
 			case PCI_DEVICE_ID_SI_730:
+			case PCI_DEVICE_ID_SI_735:
+			case PCI_DEVICE_ID_SI_740:
+			case PCI_DEVICE_ID_SI_745:
+			case PCI_DEVICE_ID_SI_750:
 				unmask   = 0xF0;
 				four_two = 0x01;
 				break;
@@ -423,7 +439,15 @@
 
 	if (host_dev) {
 		switch(host_dev->device) {
+			case PCI_DEVICE_ID_SI_635:
+			case PCI_DEVICE_ID_SI_640:
+			case PCI_DEVICE_ID_SI_645:
+			case PCI_DEVICE_ID_SI_650:
 			case PCI_DEVICE_ID_SI_730:
+			case PCI_DEVICE_ID_SI_735:
+			case PCI_DEVICE_ID_SI_740:
+			case PCI_DEVICE_ID_SI_745:
+			case PCI_DEVICE_ID_SI_750:
 				ultra_100 = 1;
 			case PCI_DEVICE_ID_SI_530:
 			case PCI_DEVICE_ID_SI_540:
@@ -598,7 +622,15 @@
 			case PCI_DEVICE_ID_SI_540:
 			case PCI_DEVICE_ID_SI_620:
 			case PCI_DEVICE_ID_SI_630:
+			case PCI_DEVICE_ID_SI_635:
+			case PCI_DEVICE_ID_SI_640:
+			case PCI_DEVICE_ID_SI_645:
+			case PCI_DEVICE_ID_SI_650:
 			case PCI_DEVICE_ID_SI_730:
+			case PCI_DEVICE_ID_SI_735:
+			case PCI_DEVICE_ID_SI_740:
+			case PCI_DEVICE_ID_SI_745:
+			case PCI_DEVICE_ID_SI_750:
 				ata66 = (reg48h & mask) ? 0 : 1;
 			default:
 				break;
@@ -625,7 +657,15 @@
 			case PCI_DEVICE_ID_SI_540:
 			case PCI_DEVICE_ID_SI_620:
 			case PCI_DEVICE_ID_SI_630:
+			case PCI_DEVICE_ID_SI_635:
+			case PCI_DEVICE_ID_SI_640:
+			case PCI_DEVICE_ID_SI_645:
+			case PCI_DEVICE_ID_SI_650:
 			case PCI_DEVICE_ID_SI_730:
+			case PCI_DEVICE_ID_SI_735:
+			case PCI_DEVICE_ID_SI_740:
+			case PCI_DEVICE_ID_SI_745:
+			case PCI_DEVICE_ID_SI_750:
 			case PCI_DEVICE_ID_SI_5600:
 			case PCI_DEVICE_ID_SI_5597:
 			case PCI_DEVICE_ID_SI_5591:

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)