xref: /OK3568_Linux_fs/kernel/Documentation/scsi/wd719x.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun.. SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun
3*4882a593Smuzhiyun===============================================================
4*4882a593SmuzhiyunDriver for Western Digital WD7193, WD7197 and WD7296 SCSI cards
5*4882a593Smuzhiyun===============================================================
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunThe card requires firmware that can be cut out of the Windows NT driver that
8*4882a593Smuzhiyuncan be downloaded from WD at:
9*4882a593Smuzhiyunhttp://support.wdc.com/product/download.asp?groupid=801&sid=27&lang=en
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunThere is no license anywhere in the file or on the page - so the firmware
12*4882a593Smuzhiyunprobably cannot be added to linux-firmware.
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunThis script downloads and extracts the firmware, creating wd719x-risc.bin and
15*4882a593Smuzhiyund719x-wcs.bin files. Put them in /lib/firmware/::
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun	#!/bin/sh
18*4882a593Smuzhiyun	wget http://support.wdc.com/download/archive/pciscsi.exe
19*4882a593Smuzhiyun	lha xi pciscsi.exe pci-scsi.exe
20*4882a593Smuzhiyun	lha xi pci-scsi.exe nt/wd7296a.sys
21*4882a593Smuzhiyun	rm pci-scsi.exe
22*4882a593Smuzhiyun	dd if=wd7296a.sys of=wd719x-risc.bin bs=1 skip=5760 count=14336
23*4882a593Smuzhiyun	dd if=wd7296a.sys of=wd719x-wcs.bin bs=1 skip=20096 count=514
24*4882a593Smuzhiyun	rm wd7296a.sys
25