^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ===============================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Driver for Western Digital WD7193, WD7197 and WD7296 SCSI cards
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) ===============================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) The card requires firmware that can be cut out of the Windows NT driver that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) can be downloaded from WD at:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) http://support.wdc.com/product/download.asp?groupid=801&sid=27&lang=en
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) There is no license anywhere in the file or on the page - so the firmware
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) probably cannot be added to linux-firmware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) This script downloads and extracts the firmware, creating wd719x-risc.bin and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) d719x-wcs.bin files. Put them in /lib/firmware/::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #!/bin/sh
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) wget http://support.wdc.com/download/archive/pciscsi.exe
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) lha xi pciscsi.exe pci-scsi.exe
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) lha xi pci-scsi.exe nt/wd7296a.sys
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) rm pci-scsi.exe
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) dd if=wd7296a.sys of=wd719x-risc.bin bs=1 skip=5760 count=14336
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) dd if=wd7296a.sys of=wd719x-wcs.bin bs=1 skip=20096 count=514
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) rm wd7296a.sys