Re: [PATCH 01/14] libata-link: introduce ata_link

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tejun Heo wrote:
Introduce ata_link.  It abstracts PHY and sits between ata_port and
ata_device.  This new level of abstraction is necessary to support
SATA Port Multiplier, which basically adds a bunch of links (PHYs) to
a ATA host port.  Fields related to command execution, spd_limit and
EH are per-link and thus moved to ata_link.

This patch only defines the host link.  Multiple link handling will be
added later.  Also, a lot of ap->link derefences are added but many of
them will be removed as each part is converted to deal directly with
ata_link instead of ata_port.

This patch introduces no behavior change.

Signed-off-by: Tejun Heo <htejun@xxxxxxxxx>
Cc: James Bottomley <James.Bottomley@xxxxxxxxxxxx>
---
 drivers/ata/ahci.c            |   18 +++---
 drivers/ata/ata_generic.c     |    2 +-
 drivers/ata/libata-acpi.c     |   21 +++---
 drivers/ata/libata-core.c     |  157 ++++++++++++++++++++++-------------------
 drivers/ata/libata-eh.c       |  100 +++++++++++++-------------
 drivers/ata/libata-scsi.c     |   41 ++++++-----
 drivers/ata/libata-sff.c      |    4 +-
 drivers/ata/pata_it821x.c     |    4 +-
 drivers/ata/pata_ixp4xx_cf.c  |    4 +-
 drivers/ata/pata_legacy.c     |    4 +-
 drivers/ata/pata_optidma.c    |    4 +-
 drivers/ata/pata_pcmcia.c     |    4 +-
 drivers/ata/pata_pdc2027x.c   |    2 +-
 drivers/ata/pata_platform.c   |    2 +-
 drivers/ata/pata_qdi.c        |    2 +-
 drivers/ata/pata_rz1000.c     |    2 +-
 drivers/ata/pata_scc.c        |    2 +-
 drivers/ata/pata_sis.c        |    2 +-
 drivers/ata/pata_winbond.c    |    2 +-
 drivers/ata/pdc_adma.c        |    9 ++-
 drivers/ata/sata_inic162x.c   |    7 +-
 drivers/ata/sata_mv.c         |   14 ++--
 drivers/ata/sata_nv.c         |   26 ++++----
 drivers/ata/sata_promise.c    |    6 +-
 drivers/ata/sata_qstor.c      |    4 +-
 drivers/ata/sata_sil.c        |   14 ++--
 drivers/ata/sata_sil24.c      |   14 ++--
 drivers/ata/sata_sx4.c        |    4 +-
 drivers/ata/sata_via.c        |    2 +-
 drivers/ata/sata_vsc.c        |    2 +-
 drivers/scsi/ipr.c            |    6 +-
 drivers/scsi/libsas/sas_ata.c |   10 ++--
 include/linux/libata.h        |   40 +++++++----
 33 files changed, 280 insertions(+), 255 deletions(-)

applied 1-14 to #upstream


-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux