Hello, I wrote:
Since both the IDE interface and SMC 91C111 Ethernet chip are on-board devices, move the platform device registration form the common to board specific code.
While at it, do some renaming:
- change 'au1200_ide0_' variable name prefix to the mere 'ide_';
- change 'smc91x_' variable name prefix to 'smc91c111_';
- drop 'AU1XXX_' prefix from the macro names;
- change 'SMC91C111_' to 'SMC91C111_', change 'IRQ' to 'INT' for consistency in the Ethernet chip macro names;
Oops, that should read "change 'SMC91111_' to 'SMC91C111_'", thanks to Miachel Wood for spotting that
- change 'ATA_' to 'IDE_' and 'OFFSET' to 'SHIFT' (since this value is indeed a shift count) in the IDE interface macro names.
Additionally, I've removed semicolon from IDE_DDMA_REQ which didn't break things only because the macro wasn't ever used in aggregate initializer.
Signed-off-by: Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx>
--- Oops, needed one more rename. :-) This patch is atop of my two recent SMC 91C1111 platform device fixes.
It's 91C111, dammit... WBR, Sergei