projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e06837
)
libata: sata_sis fixes
author
Uwe Koziolek
<uwe.koziolek@gmx.net>
Fri, 25 May 2007 07:48:52 +0000
(09:48 +0200)
committer
Jeff Garzik
<jeff@garzik.org>
Fri, 25 May 2007 08:18:42 +0000
(
04:18
-0400)
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>
drivers/ata/sata_sis.c
patch
|
blob
|
history
diff --git
a/drivers/ata/sata_sis.c
b/drivers/ata/sata_sis.c
index 51d9251b0898a5f3351b32925e09231ee4cb8864..221099d1d08fd493a268d496261d3147142d3fc9 100644
(file)
--- 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;