From: Uwe Koziolek Date: Fri, 25 May 2007 07:48:52 +0000 (+0200) Subject: libata: sata_sis fixes X-Git-Tag: v2.6.22-rc3~3^2~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddfc87a098a0172ad13ce50edf55d5fe266f1352;p=linux-2.6 libata: sata_sis fixes The sata_sis driver supports SATA and PATA ports. The broken support of both types in one controller is fixed. Signed-off-by: Uwe Koziolek Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/sata_sis.c b/drivers/ata/sata_sis.c index 51d9251b08..221099d1d0 100644 --- a/drivers/ata/sata_sis.c +++ b/drivers/ata/sata_sis.c @@ -255,7 +255,7 @@ static int sis_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) { static int printed_version; struct ata_port_info pi = sis_port_info; - const struct ata_port_info *ppi[] = { &pi, NULL }; + const struct ata_port_info *ppi[] = { &pi, &pi }; struct ata_host *host; u32 genctl, val; u8 pmr;