2006-02-03 16:04:57

by Thierry Vignaud

[permalink] [raw]
Subject: Re: + sis5513-support-sis-965l.patch added to -mm tree

[email protected] writes:

> From: Rudolph Pereira <[email protected]>
>
> Cc: Bartlomiej Zolnierkiewicz <[email protected]>
> Cc: Dave Jones <[email protected]>
> Signed-off-by: Andrew Morton <[email protected]>
> ---
>
> drivers/ide/pci/sis5513.c | 6 ++++++
> 1 files changed, 6 insertions(+)
>
> diff -puN drivers/ide/pci/sis5513.c~sis5513-support-sis-965l drivers/ide/pci/sis5513.c
> --- 25/drivers/ide/pci/sis5513.c~sis5513-support-sis-965l Thu Feb 2 17:29:51 2006
> +++ 25-akpm/drivers/ide/pci/sis5513.c Thu Feb 2 17:29:51 2006
> @@ -780,7 +780,12 @@ static unsigned int __devinit init_chips
> pci_write_config_dword(dev, 0x54, idemisc | 0x40000000);
> printk(KERN_INFO "SIS5513: Switching to 5513 register mapping\n");
> }
> + } else if (trueid == 0x180) { /* sis965L */
> + chipset_family = ATA_133;
> + printk(KERN_INFO "SIS5513: SiS 965 IDE "
> + "UDMA133 controller\n");
> }
> +
> }
>
> if (!chipset_family) { /* Belongs to pci-quirks */
> @@ -955,6 +960,7 @@ static int __devinit sis5513_init_one(st
> static struct pci_device_id sis5513_pci_tbl[] = {
> { PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_5513, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
> { PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_5518, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
> + { PCI_VENDOR_ID_SI, 0x180, PCI_ANY_ID,
> PCI_ANY_ID, 0, 0, 0},

this is one is already claimed by drivers/scsi/sata_sis.c