mbox series

[00/42] Manually convert SCSI documentation to ReST format

Message ID cover.1583136624.git.mchehab+huawei@kernel.org (mailing list archive)
Headers show
Series Manually convert SCSI documentation to ReST format | expand

Message

Mauro Carvalho Chehab March 2, 2020, 8:15 a.m. UTC
This patch series manually convert all SCSI documentation files to ReST.

This is part of a bigger series that finaly finishes the migration to ReST.
After that, we can focus on more interesting tasks from the documentation
PoV, like cleaning obsolete stuff and filling the gaps.

If you want to see how this would show at the documentation body,
a sneak peak of this series (together with the other pending
doc patches from me) is available at:

        https://www.infradead.org/~mchehab/kernel_docs/scsi/index.html

This series is available on this devel branch:

        https://git.linuxtv.org/mchehab/experimental.git/log/?h=scsi_docs_20200228

and it is based on next-20200228


Mauro Carvalho Chehab (42):
  Add an empty index file for SCSI documents
  docs: scsi: include SCSI Transport SRP diagram at the doc body
  docs: scsi: convert 53c700.txt to ReST
  docs: scsi: convert aacraid.txt to ReST
  docs: scsi: convert advansys.txt to ReST
  docs: scsi: convert aha152x.txt to ReST
  docs: scsi: convert aic79xx.txt to ReST
  docs: scsi: convert aic7xxx.txt to ReST
  docs: scsi: convert bfa.txt to ReST
  docs: scsi: convert bnx2fc.txt to ReST
  docs: scsi: convert BusLogic.txt to ReST
  docs: scsi: convert cxgb3i.txt to ReST
  docs: scsi: convert dc395x.txt to ReST
  docs: scsi: convert dpti.txt to ReST
  docs: scsi: convert FlashPoint.txt to ReST
  docs: scsi: convert g_NCR5380.txt to ReST
  docs: scsi: convert hpsa.txt to ReST
  docs: scsi: convert hptiop.txt to ReST
  docs: scsi: convert libsas.txt to ReST
  docs: scsi: convert link_power_management_policy.txt to ReST
  docs: scsi: convert lpfc.txt to ReST
  docs: scsi: convert megaraid.txt to ReST
  docs: scsi: convert ncr53c8xx.txt to ReST
  docs: scsi: convert NinjaSCSI.txt to ReST
  docs: scsi: convert ppa.txt to ReST
  docs: scsi: convert qlogicfas.txt to ReST
  docs: scsi: convert scsi-changer.txt to ReST
  docs: scsi: convert scsi_eh.txt to ReST
  docs: scsi: convert scsi_fc_transport.txt to ReST
  docs: scsi: convert scsi-generic.txt to ReST
  docs: scsi: convert scsi_mid_low_api.txt to ReST
  docs: scsi: convert scsi-parameters.txt to ReST
  docs: scsi: convert scsi.txt to ReST
  docs: scsi: convert sd-parameters.txt to ReST
  docs: scsi: convert smartpqi.txt to ReST
  docs: scsi: convert st.txt to ReST
  docs: scsi: convert sym53c500_cs.txt to ReST
  docs: scsi: convert sym53c8xx_2.txt to ReST
  docs: scsi: convert tcm_qla2xxx.txt to ReST
  docs: scsi: convert ufs.txt to ReST
  docs: scsi: convert wd719x.txt to ReST
  docs: scsi: convert arcmsr_spec.txt to ReST

 Documentation/driver-api/libata.rst           |    2 +-
 Documentation/index.rst                       |    1 +
 Documentation/scsi/{53c700.txt => 53c700.rst} |   61 +-
 .../scsi/{BusLogic.txt => BusLogic.rst}       |   89 +-
 .../scsi/{FlashPoint.txt => FlashPoint.rst}   |  225 +-
 .../scsi/{NinjaSCSI.txt => NinjaSCSI.rst}     |  198 +-
 .../scsi/{aacraid.txt => aacraid.rst}         |   59 +-
 .../scsi/{advansys.txt => advansys.rst}       |  129 +-
 .../scsi/{aha152x.txt => aha152x.rst}         |   73 +-
 .../scsi/{aic79xx.txt => aic79xx.rst}         |  586 +++---
 .../scsi/{aic7xxx.txt => aic7xxx.rst}         |  446 ++--
 Documentation/scsi/arcmsr_spec.rst            |  907 ++++++++
 Documentation/scsi/arcmsr_spec.txt            |  574 -----
 Documentation/scsi/{bfa.txt => bfa.rst}       |   28 +-
 Documentation/scsi/{bnx2fc.txt => bnx2fc.rst} |   18 +-
 Documentation/scsi/{cxgb3i.txt => cxgb3i.rst} |   22 +-
 Documentation/scsi/{dc395x.txt => dc395x.rst} |   75 +-
 Documentation/scsi/dpti.rst                   |   92 +
 Documentation/scsi/dpti.txt                   |   83 -
 .../scsi/{g_NCR5380.txt => g_NCR5380.rst}     |   89 +-
 Documentation/scsi/{hpsa.txt => hpsa.rst}     |   79 +-
 Documentation/scsi/{hptiop.txt => hptiop.rst} |   45 +-
 Documentation/scsi/index.rst                  |   51 +
 Documentation/scsi/{libsas.txt => libsas.rst} |  364 ++--
 ...y.txt => link_power_management_policy.rst} |   12 +-
 Documentation/scsi/{lpfc.txt => lpfc.rst}     |   16 +-
 .../scsi/{megaraid.txt => megaraid.rst}       |   47 +-
 .../scsi/{ncr53c8xx.txt => ncr53c8xx.rst}     | 1865 ++++++++++-------
 Documentation/scsi/{ppa.txt => ppa.rst}       |   12 +-
 .../scsi/{qlogicfas.txt => qlogicfas.rst}     |   17 +-
 .../{scsi-changer.txt => scsi-changer.rst}    |   36 +-
 .../{scsi-generic.txt => scsi-generic.rst}    |   75 +-
 ...csi-parameters.txt => scsi-parameters.rst} |   28 +-
 Documentation/scsi/{scsi.txt => scsi.rst}     |   31 +-
 .../scsi/{scsi_eh.txt => scsi_eh.rst}         |  217 +-
 ...fc_transport.txt => scsi_fc_transport.rst} |  236 ++-
 ...i_mid_low_api.txt => scsi_mid_low_api.rst} | 1730 +++++++--------
 .../{Makefile => figures.rst}                 |    9 +-
 .../{sd-parameters.txt => sd-parameters.rst}  |   21 +-
 .../scsi/{smartpqi.txt => smartpqi.rst}       |   52 +-
 Documentation/scsi/{st.txt => st.rst}         |  301 ++-
 .../{sym53c500_cs.txt => sym53c500_cs.rst}    |    8 +-
 .../scsi/{sym53c8xx_2.txt => sym53c8xx_2.rst} | 1109 +++++-----
 .../scsi/{tcm_qla2xxx.txt => tcm_qla2xxx.rst} |   26 +-
 Documentation/scsi/{ufs.txt => ufs.rst}       |   84 +-
 Documentation/scsi/{wd719x.txt => wd719x.rst} |   23 +-
 MAINTAINERS                                   |   28 +-
 drivers/scsi/BusLogic.c                       |    2 +-
 drivers/scsi/Kconfig                          |   42 +-
 drivers/scsi/aha152x.c                        |    4 +-
 drivers/scsi/aic7xxx/Kconfig.aic79xx          |    2 +-
 drivers/scsi/aic7xxx/Kconfig.aic7xxx          |    2 +-
 drivers/scsi/arcmsr/arcmsr_attr.c             |    2 +-
 drivers/scsi/arcmsr/arcmsr_hba.c              |    2 +-
 drivers/scsi/dpt/dpti_ioctl.h                 |    2 +-
 drivers/scsi/dpt_i2o.c                        |    2 +-
 drivers/scsi/dpti.h                           |    2 +-
 drivers/scsi/g_NCR5380.c                      |    2 +-
 drivers/scsi/ncr53c8xx.c                      |    2 +-
 drivers/scsi/pcmcia/Kconfig                   |    2 +-
 drivers/scsi/smartpqi/Kconfig                 |    2 +-
 drivers/scsi/st.c                             |    2 +-
 drivers/scsi/ufs/Kconfig                      |    2 +-
 include/scsi/sg.h                             |    2 +-
 scripts/documentation-file-ref-check          |    2 +-
 65 files changed, 6040 insertions(+), 4317 deletions(-)
 rename Documentation/scsi/{53c700.txt => 53c700.rst} (75%)
 rename Documentation/scsi/{BusLogic.txt => BusLogic.rst} (93%)
 rename Documentation/scsi/{FlashPoint.txt => FlashPoint.rst} (21%)
 rename Documentation/scsi/{NinjaSCSI.txt => NinjaSCSI.rst} (28%)
 rename Documentation/scsi/{aacraid.txt => aacraid.rst} (83%)
 rename Documentation/scsi/{advansys.txt => advansys.rst} (73%)
 rename Documentation/scsi/{aha152x.txt => aha152x.rst} (76%)
 rename Documentation/scsi/{aic79xx.txt => aic79xx.rst} (48%)
 rename Documentation/scsi/{aic7xxx.txt => aic7xxx.rst} (49%)
 create mode 100644 Documentation/scsi/arcmsr_spec.rst
 delete mode 100644 Documentation/scsi/arcmsr_spec.txt
 rename Documentation/scsi/{bfa.txt => bfa.rst} (72%)
 rename Documentation/scsi/{bnx2fc.txt => bnx2fc.rst} (91%)
 rename Documentation/scsi/{cxgb3i.txt => cxgb3i.rst} (86%)
 rename Documentation/scsi/{dc395x.txt => dc395x.rst} (64%)
 create mode 100644 Documentation/scsi/dpti.rst
 delete mode 100644 Documentation/scsi/dpti.txt
 rename Documentation/scsi/{g_NCR5380.txt => g_NCR5380.rst} (41%)
 rename Documentation/scsi/{hpsa.txt => hpsa.rst} (77%)
 rename Documentation/scsi/{hptiop.txt => hptiop.rst} (78%)
 create mode 100644 Documentation/scsi/index.rst
 rename Documentation/scsi/{libsas.txt => libsas.rst} (57%)
 rename Documentation/scsi/{link_power_management_policy.txt => link_power_management_policy.rst} (65%)
 rename Documentation/scsi/{lpfc.txt => lpfc.rst} (93%)
 rename Documentation/scsi/{megaraid.txt => megaraid.rst} (66%)
 rename Documentation/scsi/{ncr53c8xx.txt => ncr53c8xx.rst} (55%)
 rename Documentation/scsi/{ppa.txt => ppa.rst} (32%)
 rename Documentation/scsi/{qlogicfas.txt => qlogicfas.rst} (92%)
 rename Documentation/scsi/{scsi-changer.txt => scsi-changer.rst} (87%)
 rename Documentation/scsi/{scsi-generic.txt => scsi-generic.rst} (70%)
 rename Documentation/scsi/{scsi-parameters.txt => scsi-parameters.rst} (81%)
 rename Documentation/scsi/{scsi.txt => scsi.rst} (82%)
 rename Documentation/scsi/{scsi_eh.txt => scsi_eh.rst} (73%)
 rename Documentation/scsi/{scsi_fc_transport.txt => scsi_fc_transport.rst} (74%)
 rename Documentation/scsi/{scsi_mid_low_api.txt => scsi_mid_low_api.rst} (39%)
 rename Documentation/scsi/scsi_transport_srp/{Makefile => figures.rst} (1%)
 rename Documentation/scsi/{sd-parameters.txt => sd-parameters.rst} (37%)
 rename Documentation/scsi/{smartpqi.txt => smartpqi.rst} (67%)
 rename Documentation/scsi/{st.txt => st.rst} (79%)
 rename Documentation/scsi/{sym53c500_cs.txt => sym53c500_cs.rst} (89%)
 rename Documentation/scsi/{sym53c8xx_2.txt => sym53c8xx_2.rst} (53%)
 rename Documentation/scsi/{tcm_qla2xxx.txt => tcm_qla2xxx.rst} (57%)
 rename Documentation/scsi/{ufs.txt => ufs.rst} (79%)
 rename Documentation/scsi/{wd719x.txt => wd719x.rst} (46%)

Comments

Jonathan Corbet March 10, 2020, 5:43 p.m. UTC | #1
On Mon,  2 Mar 2020 09:15:33 +0100
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> wrote:

> This patch series manually convert all SCSI documentation files to ReST.
> 
> This is part of a bigger series that finaly finishes the migration to ReST.
> After that, we can focus on more interesting tasks from the documentation
> PoV, like cleaning obsolete stuff and filling the gaps.
> 
> If you want to see how this would show at the documentation body,
> a sneak peak of this series (together with the other pending
> doc patches from me) is available at:
> 
>         https://www.infradead.org/~mchehab/kernel_docs/scsi/index.html
> 
> This series is available on this devel branch:
> 
>         https://git.linuxtv.org/mchehab/experimental.git/log/?h=scsi_docs_20200228
> 
> and it is based on next-20200228

Any thoughts from the SCSI maintainers on this series?  Assuming you're
favorable, would you like to carry it or should I?

Thanks,

jon
Martin K. Petersen March 10, 2020, 5:50 p.m. UTC | #2
Jon,

> Any thoughts from the SCSI maintainers on this series?  Assuming
> you're favorable, would you like to carry it or should I?

I'm fine with this series and was going to queue it up. Unless you guys
prefer to take it through docs?
Jonathan Corbet March 10, 2020, 5:58 p.m. UTC | #3
On Tue, 10 Mar 2020 13:50:44 -0400
"Martin K. Petersen" <martin.petersen@oracle.com> wrote:

> > Any thoughts from the SCSI maintainers on this series?  Assuming
> > you're favorable, would you like to carry it or should I?  
> 
> I'm fine with this series and was going to queue it up. Unless you guys
> prefer to take it through docs?

No, don't stop now, it's all yours :)

Someday I'd like to discuss moving that stuff out of the top level, but
that can be another day.

Thanks,

jon
Martin K. Petersen March 10, 2020, 11:40 p.m. UTC | #4
Mauro,

> This patch series manually convert all SCSI documentation files to
> ReST.
>
> This is part of a bigger series that finaly finishes the migration to
> ReST.  After that, we can focus on more interesting tasks from the
> documentation PoV, like cleaning obsolete stuff and filling the gaps.

Applied to 5.7/scsi-queue.

For some reason patch 23 didn't show up in the mbox so I had a bunch of
conflicts due to the ncr53c8xx entry missing from index.rst. I thought
you had somehow lost that patch along the way and decided to proceed
regardless. However, it turns out the patch was missing due to a lore
issue. By the time I figured out what the problem was, I had made it to
the end of the series. And as a result, in my tree the ncr53c8xx patch
comes last.

Anyway. Thanks for cleaning this up!
Mauro Carvalho Chehab March 11, 2020, 11:50 a.m. UTC | #5
Hi Martin,

Em Tue, 10 Mar 2020 19:40:19 -0400
"Martin K. Petersen" <martin.petersen@oracle.com> escreveu:

> 
> Mauro,
> 
> > This patch series manually convert all SCSI documentation files to
> > ReST.
> >
> > This is part of a bigger series that finaly finishes the migration to
> > ReST.  After that, we can focus on more interesting tasks from the
> > documentation PoV, like cleaning obsolete stuff and filling the gaps.
> 
> Applied to 5.7/scsi-queue.
> 
> For some reason patch 23 didn't show up in the mbox so I had a bunch of
> conflicts due to the ncr53c8xx entry missing from index.rst. I thought
> you had somehow lost that patch along the way and decided to proceed
> regardless. However, it turns out the patch was missing due to a lore
> issue. By the time I figured out what the problem was, I had made it to
> the end of the series. And as a result, in my tree the ncr53c8xx patch
> comes last.

No problem. Yeah, sometimes some of those patches are big, and
vger ends by silently dropping the big guys.

Btw, maybe due to the conflict you had, I double-checked that two
files ended by being deleted instead of converted (looking at
today's linux-next).

So, I'm sending a followup patch re-adding them after the conversion.

Feel free to either apply it as a separate patch at the end or to
fold with the previously applied patches. Whatever works best for you.

Regards,
Mauro
Martin K. Petersen March 12, 2020, 3:05 a.m. UTC | #6
Mauro,

> Btw, maybe due to the conflict you had, I double-checked that two
> files ended by being deleted instead of converted (looking at today's
> linux-next).

Yeah, I messed that up, sorry! The files were in my repo but I evidently
forgot to add them after manually applying so they ended up missing in
the commit.

> Feel free to either apply it as a separate patch at the end or to fold
> with the previously applied patches. Whatever works best for you.

Since your series was near the top of my tree I decided to grab a fresh
mbox from lore. I manually added the missing pieces from my mail folder
so the series would apply cleanly.