git: kernel/isp: Unify firmware handling with the rest of the system.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Jun 29 12:34:36 PDT 2017


commit 6daa0b127163a49f1737a0eb51b946790f5d3c47
Author: Jan Sucan <sucanjan at fit.cvut.cz>
Date:   Sun Jun 25 10:27:24 2017 +0000

    kernel/isp: Unify firmware handling with the rest of the system.
    
    * Convert firmware binary data from C arrays in a header files to
      uuencode .uu files. Byte order of the firmware image is
      little-endian. As far as DragonFly BSD supports only little-endian
      architectures it's ok. But in case of a big-endian architecture the
      byte order must be changed before firmware is processed by the isp
      driver.
    
    * Move the .uu images to a sys/contrib/dev/isp.
    
    * Add a script for conversion of firmware stored in arrays in the C
      header files to .uu files. This is for getting the firmware changes
      from the other BSD systems more easily.
    
    * Remove use of ispfw module that contains firmwares for all of the
      isp.4 driver devices. User can pick a module for a particular device
      instead of having firmwares for all of the devices loaded.
    
    * Document that the kitchen sink ispfw.ko module with all firmware is
      gone.
    
    Submitted-by:  Jan Sucan
    Dragonfly-bug: <https://bugs.dragonflybsd.org/issues/3044>

Summary of changes:
 Makefile_upgrade.inc                            |     1 +
 share/man/man4/isp.4                            |    32 +-
 share/man/man4/ispfw.4                          |    24 +-
 sys/conf/files                                  |   197 +-
 sys/contrib/dev/isp/isp_1040.fw.uu              |   547 +
 sys/contrib/dev/isp/isp_1040_it.fw.uu           |   770 +
 sys/contrib/dev/isp/isp_1080.fw.uu              |   734 +
 sys/contrib/dev/isp/isp_1080_it.fw.uu           |   941 +
 sys/contrib/dev/isp/isp_12160.fw.uu             |   661 +
 sys/contrib/dev/isp/isp_12160_it.fw.uu          |   934 +
 sys/contrib/dev/isp/isp_2100.fw.uu              |  1752 ++
 sys/contrib/dev/isp/isp_2100_variant_1.fw.uu    |  1202 +
 sys/contrib/dev/isp/isp_2200.fw.uu              |  1754 ++
 sys/contrib/dev/isp/isp_2300.fw.uu              |  2408 ++
 sys/contrib/dev/isp/isp_2322.fw.uu              |  3053 +++
 sys/contrib/dev/isp/isp_2400.fw.uu              |  5182 ++++
 sys/contrib/dev/isp/isp_2400_multi.fw.uu        |  5607 ++++
 sys/contrib/dev/isp/isp_2500.fw.uu              |  4551 ++++
 sys/contrib/dev/isp/isp_2500_multi.fw.uu        |  5297 ++++
 sys/dev/disk/Makefile                           |     2 +-
 sys/dev/disk/isp/Makefile                       |     2 +
 sys/dev/disk/isp/fw/Makefile                    |    17 +
 sys/dev/disk/isp/fw/isp_1040/Makefile           |    13 +
 sys/dev/disk/isp/fw/isp_1040_it/Makefile        |    13 +
 sys/dev/disk/isp/fw/isp_1080/Makefile           |    13 +
 sys/dev/disk/isp/fw/isp_1080_it/Makefile        |    13 +
 sys/dev/disk/isp/fw/isp_12160/Makefile          |    13 +
 sys/dev/disk/isp/fw/isp_12160_it/Makefile       |    13 +
 sys/dev/disk/isp/fw/isp_2100/Makefile           |    13 +
 sys/dev/disk/isp/fw/isp_2100_variant_1/Makefile |    13 +
 sys/dev/disk/isp/fw/isp_2200/Makefile           |    13 +
 sys/dev/disk/isp/fw/isp_2300/Makefile           |    13 +
 sys/dev/disk/isp/fw/isp_2322/Makefile           |    13 +
 sys/dev/disk/isp/fw/isp_2400/Makefile           |    13 +
 sys/dev/disk/isp/fw/isp_2400_multi/Makefile     |    13 +
 sys/dev/disk/isp/fw/isp_2500/Makefile           |    13 +
 sys/dev/disk/isp/fw/isp_2500_multi/Makefile     |    13 +
 sys/dev/disk/isp/isp_pci.c                      |     5 +
 sys/dev/disk/ispfw/Makefile                     |    46 -
 sys/dev/disk/ispfw/asm_1040.h                   |  3546 ---
 sys/dev/disk/ispfw/asm_1080.h                   |  4554 ----
 sys/dev/disk/ispfw/asm_12160.h                  |  4339 ----
 sys/dev/disk/ispfw/asm_2100.h                   |  8147 ------
 sys/dev/disk/ispfw/asm_2200.h                   |  4865 ----
 sys/dev/disk/ispfw/asm_2300.h                   |  6708 -----
 sys/dev/disk/ispfw/asm_2322.h                   |  8521 ------
 sys/dev/disk/ispfw/asm_2400.h                   | 30248 ----------------------
 sys/dev/disk/ispfw/asm_2500.h                   | 27602 --------------------
 sys/dev/disk/ispfw/isp_1040/Makefile            |    36 -
 sys/dev/disk/ispfw/isp_1040_it/Makefile         |    36 -
 sys/dev/disk/ispfw/isp_1080/Makefile            |    36 -
 sys/dev/disk/ispfw/isp_1080_it/Makefile         |    36 -
 sys/dev/disk/ispfw/isp_12160/Makefile           |    36 -
 sys/dev/disk/ispfw/isp_12160_it/Makefile        |    36 -
 sys/dev/disk/ispfw/isp_2100/Makefile            |    36 -
 sys/dev/disk/ispfw/isp_2200/Makefile            |    36 -
 sys/dev/disk/ispfw/isp_2300/Makefile            |    36 -
 sys/dev/disk/ispfw/isp_2322/Makefile            |    36 -
 sys/dev/disk/ispfw/isp_2400/Makefile            |    36 -
 sys/dev/disk/ispfw/isp_2400_multi/Makefile      |    35 -
 sys/dev/disk/ispfw/isp_2500/Makefile            |    36 -
 sys/dev/disk/ispfw/isp_2500_multi/Makefile      |    35 -
 sys/dev/disk/ispfw/ispfw.c                      |   344 -
 sys/dev/disk/ispfw/ispfw/Makefile               |    36 -
 tools/tools/firmware/fw_convert_ispfw.sh        |   255 +
 65 files changed, 36109 insertions(+), 99472 deletions(-)
 create mode 100644 sys/contrib/dev/isp/isp_1040.fw.uu
 create mode 100644 sys/contrib/dev/isp/isp_1040_it.fw.uu
 create mode 100644 sys/contrib/dev/isp/isp_1080.fw.uu
 create mode 100644 sys/contrib/dev/isp/isp_1080_it.fw.uu
 create mode 100644 sys/contrib/dev/isp/isp_12160.fw.uu
 create mode 100644 sys/contrib/dev/isp/isp_12160_it.fw.uu
 create mode 100644 sys/contrib/dev/isp/isp_2100.fw.uu
 create mode 100644 sys/contrib/dev/isp/isp_2100_variant_1.fw.uu
 create mode 100644 sys/contrib/dev/isp/isp_2200.fw.uu
 create mode 100644 sys/contrib/dev/isp/isp_2300.fw.uu
 create mode 100644 sys/contrib/dev/isp/isp_2322.fw.uu
 create mode 100644 sys/contrib/dev/isp/isp_2400.fw.uu
 create mode 100644 sys/contrib/dev/isp/isp_2400_multi.fw.uu
 create mode 100644 sys/contrib/dev/isp/isp_2500.fw.uu
 create mode 100644 sys/contrib/dev/isp/isp_2500_multi.fw.uu
 create mode 100644 sys/dev/disk/isp/fw/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_1040/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_1040_it/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_1080/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_1080_it/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_12160/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_12160_it/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_2100/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_2100_variant_1/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_2200/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_2300/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_2322/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_2400/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_2400_multi/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_2500/Makefile
 create mode 100644 sys/dev/disk/isp/fw/isp_2500_multi/Makefile
 delete mode 100644 sys/dev/disk/ispfw/Makefile
 delete mode 100644 sys/dev/disk/ispfw/asm_1040.h
 delete mode 100644 sys/dev/disk/ispfw/asm_1080.h
 delete mode 100644 sys/dev/disk/ispfw/asm_12160.h
 delete mode 100644 sys/dev/disk/ispfw/asm_2100.h
 delete mode 100644 sys/dev/disk/ispfw/asm_2200.h
 delete mode 100644 sys/dev/disk/ispfw/asm_2300.h
 delete mode 100644 sys/dev/disk/ispfw/asm_2322.h
 delete mode 100644 sys/dev/disk/ispfw/asm_2400.h
 delete mode 100644 sys/dev/disk/ispfw/asm_2500.h
 delete mode 100644 sys/dev/disk/ispfw/isp_1040/Makefile
 delete mode 100644 sys/dev/disk/ispfw/isp_1040_it/Makefile
 delete mode 100644 sys/dev/disk/ispfw/isp_1080/Makefile
 delete mode 100644 sys/dev/disk/ispfw/isp_1080_it/Makefile
 delete mode 100644 sys/dev/disk/ispfw/isp_12160/Makefile
 delete mode 100644 sys/dev/disk/ispfw/isp_12160_it/Makefile
 delete mode 100644 sys/dev/disk/ispfw/isp_2100/Makefile
 delete mode 100644 sys/dev/disk/ispfw/isp_2200/Makefile
 delete mode 100644 sys/dev/disk/ispfw/isp_2300/Makefile
 delete mode 100644 sys/dev/disk/ispfw/isp_2322/Makefile
 delete mode 100644 sys/dev/disk/ispfw/isp_2400/Makefile
 delete mode 100644 sys/dev/disk/ispfw/isp_2400_multi/Makefile
 delete mode 100644 sys/dev/disk/ispfw/isp_2500/Makefile
 delete mode 100644 sys/dev/disk/ispfw/isp_2500_multi/Makefile
 delete mode 100644 sys/dev/disk/ispfw/ispfw.c
 delete mode 100644 sys/dev/disk/ispfw/ispfw/Makefile
 create mode 100755 tools/tools/firmware/fw_convert_ispfw.sh

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6daa0b127163a49f1737a0eb51b946790f5d3c47


-- 
DragonFly BSD source repository



More information about the Commits mailing list