Skip to content

Commit b019447

Browse files
Sergei Shtylyovbzolnier
authored andcommitted
icside: register second channel of version 6 PCB
The second IDE channel of version 6 PCB is not being registered anymore since the commit 48c3c10 (ide: add struct ide_host (take 3)). Signed-off-by: Sergei Shtylyov <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
1 parent 36999a5 commit b019447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/ide/icside.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ icside_register_v6(struct icside_state *state, struct expansion_card *ec)
466466
struct ide_host *host;
467467
unsigned int sel = 0;
468468
int ret;
469-
hw_regs_t hw[2], *hws[] = { &hw[0], NULL, NULL, NULL };
469+
hw_regs_t hw[2], *hws[] = { &hw[0], &hw[1], NULL, NULL };
470470
struct ide_port_info d = icside_v6_port_info;
471471

472472
ioc_base = ecardm_iomap(ec, ECARD_RES_IOCFAST, 0, 0);

0 commit comments

Comments
 (0)