/[linux-patches]/genpatches-2.6/tags/2.6.13-4/4340_sata-nv-mcp5x.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.13-4/4340_sata-nv-mcp5x.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 168 - (show annotations) (download)
Sun Sep 18 11:19:29 2005 UTC (8 years, 10 months ago) by dsd
File size: 2235 byte(s)
2.6.13-4 release
1 --- linux-2.6.12/drivers/scsi/sata_nv.c 2005-06-17 20:48:29.000000000 +0100
2 +++ linux-dsd/drivers/scsi/sata_nv.c 2005-06-27 18:58:10.000000000 +0100
3 @@ -20,6 +20,12 @@
4 * If you do not delete the provisions above, a recipient may use your
5 * version of this file under either the OSL or the GPL.
6 *
7 + * 0.08
8 + * - Added support for MCP51 and MCP55.
9 + *
10 + * 0.07
11 + * - Added support for RAID class code.
12 + *
13 * 0.06
14 * - Added generic SATA support by using a pci_device_id that filters on
15 * the IDE storage class code.
16 @@ -48,7 +54,7 @@
17 #include <linux/libata.h>
18
19 #define DRV_NAME "sata_nv"
20 -#define DRV_VERSION "0.6"
21 +#define DRV_VERSION "0.8"
22
23 #define NV_PORTS 2
24 #define NV_PIO_MASK 0x1f
25 @@ -116,7 +122,9 @@ enum nv_host_type
26 GENERIC,
27 NFORCE2,
28 NFORCE3,
29 - CK804
30 + CK804,
31 + MCP51,
32 + MCP55
33 };
34
35 static struct pci_device_id nv_pci_tbl[] = {
36 @@ -134,9 +142,18 @@ static struct pci_device_id nv_pci_tbl[]
37 PCI_ANY_ID, PCI_ANY_ID, 0, 0, CK804 },
38 { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_SATA2,
39 PCI_ANY_ID, PCI_ANY_ID, 0, 0, CK804 },
40 + { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA,
41 + PCI_ANY_ID, PCI_ANY_ID, 0, 0, MCP51 },
42 + { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA2,
43 + PCI_ANY_ID, PCI_ANY_ID, 0, 0, MCP51 },
44 + { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_SATA,
45 + PCI_ANY_ID, PCI_ANY_ID, 0, 0, MCP55 },
46 { PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID,
47 PCI_ANY_ID, PCI_ANY_ID,
48 PCI_CLASS_STORAGE_IDE<<8, 0xffff00, GENERIC },
49 + { PCI_VENDOR_ID_NVIDIA, PCI_ANY_ID,
50 + PCI_ANY_ID, PCI_ANY_ID,
51 + PCI_CLASS_STORAGE_RAID<<8, 0xffff00, GENERIC },
52 { 0, } /* terminate list */
53 };
54
55 --- linux-2.6.12/include/linux/pci_ids.h 2005-06-27 18:54:57.000000000 +0100
56 +++ linux-dsd/include/linux/pci_ids.h 2005-06-27 18:59:42.000000000 +0100
57 @@ -1235,6 +1235,7 @@
58 #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA 0x0266
59 #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SATA2 0x0267
60 #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_IDE 0x036E
61 +#define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP55_SATA 0x036F
62 #define PCI_DEVICE_ID_NVIDIA_NVENET_12 0x0268
63 #define PCI_DEVICE_ID_NVIDIA_NVENET_13 0x0269
64 #define PCI_DEVICE_ID_NVIDIA_MCP51_AUDIO 0x026B

  ViewVC Help
Powered by ViewVC 1.1.20