linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Girish K S <girish.shivananjappa@linaro.org>
To: linux-scsi@vger.kernel.org
Cc: james.bottomley@hansenpartnership.com, vinholikatti@gmail.com,
	santoshsy@gmail.com, hch@infradead.org, patches@linaro.org,
	svenkatr@ti.com, Girish K S <girish.shivananjappa@linaro.org>
Subject: [RFC V4 0/2] Add support for pci/non-pci probing for UFS
Date: Tue, 22 May 2012 17:03:28 +0530	[thread overview]
Message-ID: <1337686410-19206-1-git-send-email-girish.shivananjappa@linaro.org> (raw)

The existing UFS driver is tightly bound to only pci specific devices.
It cannot work for non-pci devices.

"SCSI: UFS: Create separate UFS core and pci modules" patch splits the
ufs driver into core driver and pci probe driver.

"SCSI: UFS: Add platform support for ufs host controller" patch adds
support for the platform probing for non-pci devices

changes in v4:
	-Rebased to the latest linux-next/master branch.
	-Removed the Copyright string from the module probe function and
deleted redundant code from ufshcd-pltfm.c suspend/resume functions.

changes in v3:
	-Modified the ufshcd.c ufshcd-pci.c ufshcd0pltfm.c to follow the
driver module initialization standard. suggested by venkatraman.

changes in v2:
	-Reduced the number of patches from 4 to 2. merged the core and
pci probing modules as single patch. suggested by Christoph Hellwig.

changes in v1:
	-Changes suggested by Namjae to split the driver as 3 independent
modules and retain the author's name in the files created by me.

Girish K S (2):
  SCSI: UFS: Create separate UFS core and pci modules
  SCSI: UFS: Add platform support for ufs host controller

 drivers/scsi/ufs/Kconfig        |   32 +++-
 drivers/scsi/ufs/Makefile       |    2 +
 drivers/scsi/ufs/ufs.h          |  103 +++++++++++
 drivers/scsi/ufs/ufshcd-pci.c   |  206 ++++++++++++++++++++++
 drivers/scsi/ufs/ufshcd-pltfm.c |  176 +++++++++++++++++++
 drivers/scsi/ufs/ufshcd.c       |  367 ++++++++++-----------------------------
 6 files changed, 608 insertions(+), 278 deletions(-)
 create mode 100644 drivers/scsi/ufs/ufshcd-pci.c
 create mode 100644 drivers/scsi/ufs/ufshcd-pltfm.c

-- 
1.7.4.1


             reply	other threads:[~2012-05-22 11:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-22 11:33 Girish K S [this message]
2012-05-22 11:33 ` [RFC V4 1/2] SCSI: UFS: Create separate UFS core and pci modules Girish K S
2012-05-22 11:33 ` [RFC V4 2/2] SCSI: UFS: Add platform support for ufs host controller Girish K S
2012-05-23  9:06 ` [RFC V4 0/2] Add support for pci/non-pci probing for UFS S, Venkatraman
2012-05-23 12:05   ` Girish K S

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1337686410-19206-1-git-send-email-girish.shivananjappa@linaro.org \
    --to=girish.shivananjappa@linaro.org \
    --cc=hch@infradead.org \
    --cc=james.bottomley@hansenpartnership.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=patches@linaro.org \
    --cc=santoshsy@gmail.com \
    --cc=svenkatr@ti.com \
    --cc=vinholikatti@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).