linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] icside: register second channel of version 6 PCB
@ 2009-05-15 16:08 Sergei Shtylyov
  2009-05-16 16:55 ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 2+ messages in thread
From: Sergei Shtylyov @ 2009-05-15 16:08 UTC (permalink / raw)
  To: bzolnier; +Cc: linux-ide

The second IDE channel of version 6 PCB is not being registered anymore since
the commit 48c3c1072651922ed153bcf0a33ea82cf20df390 (ide: add struct ide_host
(take 3)).

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

---
The patch is aginst the recent Linus' tree...

 drivers/ide/icside.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/drivers/ide/icside.c
===================================================================
--- linux-2.6.orig/drivers/ide/icside.c
+++ linux-2.6/drivers/ide/icside.c
@@ -466,7 +466,7 @@ icside_register_v6(struct icside_state *
 	struct ide_host *host;
 	unsigned int sel = 0;
 	int ret;
-	hw_regs_t hw[2], *hws[] = { &hw[0], NULL, NULL, NULL };
+	hw_regs_t hw[2], *hws[] = { &hw[0], &hw[1], NULL, NULL };
 	struct ide_port_info d = icside_v6_port_info;
 
 	ioc_base = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0);


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-16 19:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-15 16:08 [PATCH] icside: register second channel of version 6 PCB Sergei Shtylyov
2009-05-16 16:55 ` Bartlomiej Zolnierkiewicz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).