1. 29 4月, 2008 4 次提交
    • B
      ide: fix au1xxx-ide breakage · 284aa76b
      Bartlomiej Zolnierkiewicz 提交于
      On Monday 28 April 2008, Sergei Shtylyov wrote:
      > Hello, I wrote:
      > 
      > > Fix these warnings emitted when compiling drivers/ide/mips/au1xxx-ide.c:
      > 
      > > include/asm/mach-au1x00/au1xxx_ide.h:137: warning: 'auide_tune_drive' declared 
      > > `static' but never defined
      > > include/asm/mach-au1x00/au1xxx_ide.h:138: warning: 'auide_tune_chipset' declared
      > >  `static' but never defined
      > 
      > > by wiping out the whole "function prototyping" section from the header file
      > > <asm-mips/mach-au1x00/au1xxx_ide.h> as it mostly declared functions that are
      > > already dead in the IDE driver; move the only useful prototype into the driver.
      > > 
      > > Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
      > 
      > > ---
      > > I'm not sure thru which tree this should go -- probably thru Linux/MIPS one...
      > 
      > > Bart, au1xxx-ide-fix-mwdma-support.patch will probably need to be updated to
      > > remove that added prototype since it won't be needed anymore...
      > 
      >     Which you haven't done either in that patch or in 
      > au1xxx-ide-use-init_dma-method.patch. So, face the consequences:
      > 
      > drivers/ide/mips/au1xxx-ide.c:456: error: conflicting types for 'auide_ddma_init'
      > drivers/ide/mips/au1xxx-ide.c:51: error: previous declaration of
      > 'auide_ddma_init' was here
      > drivers/ide/mips/au1xxx-ide.c:456: error: conflicting types for 'auide_ddma_init'
      > drivers/ide/mips/au1xxx-ide.c:51: error: previous declaration of
      > 'auide_ddma_init' was here
      > drivers/ide/mips/au1xxx-ide.c:51: warning: 'auide_ddma_init' used but never
      > defined
      
      Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      284aa76b
    • A
      q40ide breakage · d28aa3ac
      Al Viro 提交于
      again, fallout from ide merge
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d28aa3ac
    • A
      7d896e0b
    • S
      [MIPS] Pb1200/DBAu1200: move platform code to its proper place · fcbd3b4b
      Sergei Shtylyov 提交于
      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: NSergei Shtylyov <sshtylyov@ru.mvista.com>
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      fcbd3b4b
  2. 27 4月, 2008 36 次提交