Stanislaw Gruszka wrote:
+void __init at91_add_device_cf(struct at91_cf_data *data) +{
[...]
+ /* enable EBI controlled pins */ + at91_set_A_periph(AT91_PIN_PD5, 1); /* NWAIT */ + at91_set_A_periph(AT91_PIN_PD8, 0); /* CFCE1 */ + at91_set_A_periph(AT91_PIN_PD9, 0); /* CFCE2 */ + at91_set_A_periph(AT91_PIN_PD14, 0); /* CFNRW */ + + if (data->flags & AT91_CF_TRUE_IDE)
Again, I've probably missed something but this structre doesn't have the 'flags' field. How is this suppoed to compile?
Patch 2/3 add flags to the at91_cf_data structure.
Ah, stupid me. Haven't looked at that patch yet. :-<
Stanislaw Gruszka
MBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html