lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <d2a348dd0712240005h1a76c579t9d6270e1bc7ef527@mail.gmail.com>
Date:	Mon, 24 Dec 2007 00:05:11 -0800
From:	"raki john" <raki4652@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: relation between mmc_request, mmc_data and mmc_command

Hi All,
what is the relation between mmc_request ,  mmc_data and mmc_command .
(I am new SD driver development, and I  am working on 2.6.22.1)
when mmc core layer calls  Host controllers request function (member
of  struct  mmc_host_ops), it passes mmc_request structure   to
driver's request function.

1)mmc_request has three members
    mmc_command * cmd
    mmc_data *  data
    mmc_command * stop

2) mmc_data has
mmc_command * stop
 mmc_request *  mrq


3) mmc_command has
   mmc_data *data
  mmc_request *mrq


Does  mmc_requeest->stop is equal  to mmc_request->data->stop ?

Does  mmc_request   is equal  to mmc_request->data->mrq ?

Does mmc_request->data   is equal  to   mmc_request->cmd->data ?

Does mmc_request   is equal  to mmc_request->cmd->mrq  ?


I think Stop command which is part of mmc_request is used for sending
stop command after Multi Block write. is this correct. If stop command
fails(CRC fail, timeout), does this mean card  write failed.



 Thanks In Advance  for your help

--
Thanks
raki
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ