mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: 412574090@163.com
To: sudipm.mukherjee@gmail.com, mpe@ellerman.id.au,
	davem@davemloft.net, andreas@gaisler.com,
	James.Bottomley@HansenPartnership.com, deller@gmx.de,
	dlemoal@kernel.org, cassel@kernel.org, ojeda@kernel.org,
	edumazet@google.com, martin.petersen@oracle.co, perex@perex.cz,
	t.sailer@alumni.ethz.ch, andrew+netdev@lunn.ch
Cc: linux-kernel@vger.kernel.org, xiongxin@kylinos.cn,
	weiyufeng <weiyufeng@kylinos.cn>
Subject: [PATCH v2 0/4] add new iomem type for parport devcie
Date: Tue, 12 Nov 2024 10:11:49 +0800	[thread overview]
Message-ID: <20241112021153.18146-1-412574090@163.com> (raw)

From: weiyufeng <weiyufeng@kylinos.cn>

For parallel port devices, the device type may be based on iomem, while
existing parallel port drivers only support the ioport type. This series
provides support for the iomem type of parallel port devices.

In order to have this feature available, a number of changes are needed:
  - Patch 1: Modify the kernel print function to a standard format.

  - Patch 2: change struct parport member base to iobase for ioport
    type. because in Patch 4,mapbase member will be added to struct
    parport.

  - Patch 3: struct parport_data added for simplify data initialization.

  - Patch 4: iomem type for parport added.

Best regards,
weiyufeng

Changes v1 -> v2:
  - Patch1
    No changes

  - Patch2
    fix compilation error issues

  - Patch3
    No changes

  - Patch4
    add iounmap and release_mem_region for mapbase_hi

weiyufeng (4):
  parport: use standard kernel printing functions
  parport: change struct parport member to iobase
  parport: add parport_data struct
  parport: add iomem type for parport

 arch/powerpc/include/asm/parport.h      |   5 +-
 arch/sparc/include/asm/parport_64.h     |  13 +-
 drivers/ata/pata_parport/bpck6.c        |   2 +-
 drivers/ata/pata_parport/pata_parport.c |   2 +-
 drivers/auxdisplay/ks0108.c             |   4 +-
 drivers/net/hamradio/baycom_epp.c       |  12 +-
 drivers/net/hamradio/baycom_par.c       |   6 +-
 drivers/net/plip/plip.c                 |   2 +-
 drivers/parisc/superio.c                |   9 +-
 drivers/parport/daisy.c                 |   2 +-
 drivers/parport/parport_cs.c            |  73 +--
 drivers/parport/parport_gsc.c           |   8 +-
 drivers/parport/parport_ip32.c          |   8 +-
 drivers/parport/parport_mfc3.c          |   2 +-
 drivers/parport/parport_pc.c            | 699 ++++++++++++++----------
 drivers/parport/parport_serial.c        |   7 +-
 drivers/parport/parport_sunbpp.c        |  24 +-
 drivers/parport/procfs.c                |   2 +-
 drivers/parport/share.c                 |   6 +-
 drivers/scsi/imm.c                      |   8 +-
 drivers/scsi/ppa.c                      |  10 +-
 include/linux/parport.h                 |  30 +-
 include/linux/parport_pc.h              | 109 +++-
 sound/drivers/mts64.c                   |   6 +-
 sound/drivers/portman2x4.c              |   6 +-
 25 files changed, 642 insertions(+), 413 deletions(-)

-- 
2.25.1


             reply	other threads:[~2024-11-12  2:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-12  2:11 412574090 [this message]
2024-11-12  2:11 ` [PATCH v2 1/4] parport: use standard kernel printing functions 412574090
2024-11-12  5:03   ` Damien Le Moal
2024-11-18  2:30     ` 412574090
2024-11-18 12:29       ` Niklas Cassel
2024-11-12  2:11 ` [PATCH v2 2/4] parport: change struct parport member to iobase 412574090
2024-11-12  2:11 ` [PATCH v2 3/4] parport: add parport_data struct 412574090
2024-11-12  2:11 ` [PATCH v2 4/4] parport: add iomem type for parport 412574090

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=20241112021153.18146-1-412574090@163.com \
    --to=412574090@163.com \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=andreas@gaisler.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=cassel@kernel.org \
    --cc=davem@davemloft.net \
    --cc=deller@gmx.de \
    --cc=dlemoal@kernel.org \
    --cc=edumazet@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.petersen@oracle.co \
    --cc=mpe@ellerman.id.au \
    --cc=ojeda@kernel.org \
    --cc=perex@perex.cz \
    --cc=sudipm.mukherjee@gmail.com \
    --cc=t.sailer@alumni.ethz.ch \
    --cc=weiyufeng@kylinos.cn \
    --cc=xiongxin@kylinos.cn \
    /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

all inboxes | Powered by JetHome®