Skip to contentSkip to conversation

icside: register second channel of version 6 PCB

PATCH Applied Sergei Shtylyov 2 participants 2 messages May 15, 2009 – May 16, 2009 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 icside: register second channel of version 6 PCB

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

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

 drivers/ide/icside.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/ide/icside.c +1 -1
Index: 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);
#1 lore raw
Quoted 5 lines · On Friday 15 May 2009 18:08:29 Sergei Shtylyov wrote:

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

thanks, applied