summaryrefslogtreecommitdiffstats
path: root/drivers/net/starfire_firmware.pl
diff options
context:
space:
mode:
authorJaswinder Singh Rajput2009-01-05 01:12:11 +0100
committerDavid S. Miller2009-01-05 01:12:11 +0100
commitcfc3a44c3c32abe48898398d9a92e8524c976803 (patch)
treef269b28e27d4e26e122d3607b35cbd10a7aebebe /drivers/net/starfire_firmware.pl
parentfirmware: convert tg3 driver to request_firmware() (diff)
downloadkernel-qcow2-linux-cfc3a44c3c32abe48898398d9a92e8524c976803.tar.gz
kernel-qcow2-linux-cfc3a44c3c32abe48898398d9a92e8524c976803.tar.xz
kernel-qcow2-linux-cfc3a44c3c32abe48898398d9a92e8524c976803.zip
starfire: use request_firmware()
Firmware blob is big endian Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/starfire_firmware.pl')
-rw-r--r--drivers/net/starfire_firmware.pl31
1 files changed, 0 insertions, 31 deletions
diff --git a/drivers/net/starfire_firmware.pl b/drivers/net/starfire_firmware.pl
deleted file mode 100644
index 0c82b80e1074..000000000000
--- a/drivers/net/starfire_firmware.pl
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/perl
-
-# This script can be used to generate a new starfire_firmware.h
-# from GFP_RX.DAT and GFP_TX.DAT, files included with the DDK
-# and also with the Novell drivers.
-
-open FW, "GFP_RX.DAT" || die;
-open FWH, ">starfire_firmware.h" || die;
-
-printf(FWH "static u32 firmware_rx[] = {\n");
-$counter = 0;
-while ($foo = <FW>) {
- chomp;
- printf(FWH " 0x%s, 0x0000%s,\n", substr($foo, 4, 8), substr($foo, 0, 4));
- $counter++;
-}
-
-close FW;
-open FW, "GFP_TX.DAT" || die;
-
-printf(FWH "};\t/* %d Rx instructions */\n#define FIRMWARE_RX_SIZE %d\n\nstatic u32 firmware_tx[] = {\n", $counter, $counter);
-$counter = 0;
-while ($foo = <FW>) {
- chomp;
- printf(FWH " 0x%s, 0x0000%s,\n", substr($foo, 4, 8), substr($foo, 0, 4));
- $counter++;
-}
-
-close FW;
-printf(FWH "};\t/* %d Tx instructions */\n#define FIRMWARE_TX_SIZE %d\n", $counter, $counter);
-close(FWH);