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

412574090@163.com posted 4 patches 1 year, 2 months ago
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(-)
[PATCH v2 0/4] add new iomem type for parport devcie
Posted by 412574090@163.com 1 year, 2 months ago
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