Re: [PATCH] icside: use struct ide_port_info also for PCB version 5

From: Russell King
Date: Sat Jan 24 2009 - 09:51:19 EST


On Sat, Jan 24, 2009 at 03:14:22PM +0100, Bartlomiej Zolnierkiewicz wrote:
> From: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
> Subject: [PATCH] icside: use struct ide_port_info also for PCB version 5
>
> This fixes hwif->channel and drive->dn assignments.

I really don't care about this driver anymore - people should
be using the PATA version instead.

Nevertheless, this patch looks broken.

> @@ -534,7 +538,7 @@ icside_register_v6(struct icside_state *
^^^^^^^^^^^^^^^^^^ v6 function

> d.dma_ops = NULL;
> }
>
> - ret = ide_host_register(host, NULL, hws);
> + ret = ide_host_register(host, &icside_v5_port_info, hws);
^^^^^^^^^^^^^^^^^^^^^ v5 info

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/