]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[MIPS] Pb1200/DBAu1200: move platform code to its proper place
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Mon, 28 Apr 2008 15:54:38 +0000 (19:54 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 28 Apr 2008 16:14:33 +0000 (17:14 +0100)
commitfcbd3b4b92efe29b59df16b910138cf43683be88
tree2aadd1e40849ea39e08fe41ee8772f38f27e6872
parentdf2700519c84ee8ee1e5ea165725c651f6d4d1a4
[MIPS] Pb1200/DBAu1200: move platform code to its proper place

Since both the IDE interface and SMC 91C111 Ethernet chip are on-board
devices, not SOC devices, move the platform device registration form the
common to the board specific code.

While at it, remove semicolon (which didn't break compilation only by
chance) from the AU1XXX_ATA_DDMA_REQ macro and do some renaming:

- change 'au1200_ide0_' variable name prefix to the mere 'ide_';

- change 'smc91x_' variable name prefix to 'smc91c111_' since that's the
  name of the chip used on the boards;

- drop 'AU1XXX_' prefix from the names of macros describing IDE and Ethernet
  on-board devices;

- change 'SMC91111_' to 'SMC91C111_', change 'IRQ' to 'INT' in the names of
  the macros describing the Ethernet chip for consistency with the IDE
  macros;

- change 'ATA_' to 'IDE_' and 'OFFSET' to 'SHIFT' (since this value is
  indeed a shift count) in the names of the macros describing the IDE
  interface.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/au1000/common/platform.c
arch/mips/au1000/pb1200/Makefile
arch/mips/au1000/pb1200/platform.c [new file with mode: 0644]
drivers/ide/mips/au1xxx-ide.c
include/asm-mips/mach-db1x00/db1200.h
include/asm-mips/mach-pb1x00/pb1200.h