Skip to content

Commit

Permalink
libata: sata_sis fixes
Browse files Browse the repository at this point in the history
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 <uwe.koziolek@gmx.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
  • Loading branch information
Uwe Koziolek authored and Jeff Garzik committed May 25, 2007
1 parent 7e06837 commit ddfc87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/sata_sis.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ddfc87a

Please sign in to comment.