Skip to content

add new iomem type for parport devcie

[email protected] lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 3 repliesIn review
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Patch1
No changes

- Patch2
fix compilation error issues

- Patch3
No changes

- Patch4
add iounmap and release_mem_region for mapbase_hi

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4parport: use standard kernel printing functionsdrivers/net/hamradio/baycom_epp.c drivers/net/hamradio/baycom_par.c drivers/parport/parport_pc.c +1 more+14 -143 replies
2/4parport: change struct parport member to iobasedrivers/ata/pata_parport/bpck6.c drivers/ata/pata_parport/pata_parport.c drivers/auxdisplay/ks0108.c +17 more+85 -870 replies
3/4parport: add parport_data structarch/powerpc/include/asm/parport.h arch/sparc/include/asm/parport_64.h drivers/parisc/superio.c +5 more+143 -990 replies
4/4parport: add iomem type for parportdrivers/parport/parport_pc.c include/linux/parport.h include/linux/parport_pc.h+428 -2410 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] add new iomem type for parport devcie

From: weiyufeng <[email protected]>

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(-)
Signature · 1 line
2.25.1