Hi, On Fri, 11 May 2007 06:47:56 +0200 Pierre Ossman <drzeus@xxxxxxxxx> wrote: > Yoichi Yuasa wrote: > > Hi, > > > > This patch has fixed the following error about au1xmmc.c . > > > > drivers/mmc/host/au1xmmc.c: In function 'au1xmmc_send_command': > > drivers/mmc/host/au1xmmc.c:217: error: 'MMC_READ_SINGLE_BLOCK' undeclared (first use in this function) > > drivers/mmc/host/au1xmmc.c:217: error: (Each undeclared identifier is reported only once > > drivers/mmc/host/au1xmmc.c:217: error: for each function it appears in.) > > drivers/mmc/host/au1xmmc.c:218: error: 'SD_APP_SEND_SCR' undeclared (first use in this function) > > drivers/mmc/host/au1xmmc.c:221: error: 'MMC_READ_MULTIPLE_BLOCK' undeclared (first use in this function) > > drivers/mmc/host/au1xmmc.c:224: error: 'MMC_WRITE_BLOCK' undeclared (first use in this function) > > drivers/mmc/host/au1xmmc.c:228: error: 'MMC_WRITE_MULTIPLE_BLOCK' undeclared (first use in this function) > > drivers/mmc/host/au1xmmc.c:231: error: 'MMC_STOP_TRANSMISSION' undeclared (first use in this function) > > > > Yoichi > > > > Signed-off-by: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx> > > > > NAK for now. I want an explanation what those opcodes are doing in a host driver. The commands of au1xmmc controller are different from standard commands. au1xmmc_send_command() convert standard commands to local commands for au1xmmc host controller, and send local commands to controller. Yoichi