* Enric Balletbà i Serra <eballetbo@xxxxxxxxx> [101027 01:23]: > Hello all, > > I would ask some technical questions, maybe someone can help me. I > would add support for a new expansion board for IGEP v2 board, > > The expansion board comes with a EEPROM, the EEPROM is used to > identify the expansion board, my idea is create a new file for > expansion board ( board-igep0020-expansion.c ) and > > * on board-igep0020.c > - Add extern void __init igep2_expansion_init(void); > - Call igep2_expansion_init on igep2_init() > > * on board-igep0020-expansion.c > - Create igep2_expansion_init, inside this funciton > - Add e2prom device and read board id > - If board ID exists then init all expansion devices > > I'm in the right way ? Comments ? Sounds good to me. Runtime detection is the best way to go. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html