aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-57xx/src/fw_lso05.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-15 11:11:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-15 11:11:28 +0000
commitddd809f9e56e3a30d459d6189a1582808d204821 (patch)
tree42452684184365d849557d88c0a7155f32287ad3 /package/broadcom-57xx/src/fw_lso05.h
parent20937ce81a7807fb3506728edaaff731cee7e18c (diff)
downloadupstream-ddd809f9e56e3a30d459d6189a1582808d204821.tar.gz
upstream-ddd809f9e56e3a30d459d6189a1582808d204821.tar.bz2
upstream-ddd809f9e56e3a30d459d6189a1582808d204821.zip
(6/6) bcm57xx: package
This is the bcm57xx package. I have tested default vlan functions, but I dont have the equipment to test more advanced setups. The default vlan setup seems to be working fine. I also added the activate_gpio parameter which will make the driver activate the switch via gpio before probing for it. I'm not sure which method is best for autoload. For the wrt350n, I need the activate_gpio parameter. But its probably not a good idea to add that to the autoload file. On a system without a bcm57xx switch, isn't it a bad idea to mess with the gpios looking for the switch? Ideally, wouldn't it be best to load the bcm57xx module from broadcom-diag, after it has determined which router its on? I tried using 'request_module' from there, but had no success. For now, I am relying on preinit to load the bcm57xx module with activate_gpio param, after it has failed to load switch_robo and switch_adm. Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu> SVN-Revision: 11471
Diffstat (limited to 'package/broadcom-57xx/src/fw_lso05.h')
-rw-r--r--package/broadcom-57xx/src/fw_lso05.h289
1 files changed, 289 insertions, 0 deletions
diff --git a/package/broadcom-57xx/src/fw_lso05.h b/package/broadcom-57xx/src/fw_lso05.h
new file mode 100644
index 0000000000..cfe6a9cf2f
--- /dev/null
+++ b/package/broadcom-57xx/src/fw_lso05.h
@@ -0,0 +1,289 @@
+/******************************************************************************/
+/* */
+/* Broadcom BCM5700 Linux Network Driver, Copyright (c) 2000 - 2004 Broadcom */
+/* Corporation. */
+/* All rights reserved. */
+/* */
+/* This program is free software; you can redistribute it and/or modify */
+/* it under the terms of the GNU General Public License as published by */
+/* the Free Software Foundation, located in the file LICENSE. */
+/* */
+/* (c) COPYRIGHT 2001-2004 Broadcom Corporation, ALL RIGHTS RESERVED. */
+/* */
+/* Name: F W _ L S O 0 5. H */
+/* Author : Kevin Tran */
+/* Version: 1.2 */
+/* */
+/* Module Description: This file contains firmware binary code of TCP */
+/* Segmentation firmware (BCM5705). */
+/* */
+/* History: */
+/* 08/10/02 Kevin Tran Incarnation. */
+/* 02/02/04 Kevin Tran Added Support for BCM5788. */
+/******************************************************************************/
+
+#ifndef __FW_LSO05_H__
+#define __FW_LSO05_H__
+
+int t3StkOffLd05FwReleaseMajor = 0x1;
+int t3StkOffLd05FwReleaseMinor = 0x2;
+int t3StkOffLd05FwReleaseFix = 0x0;
+U32 t3StkOffLd05FwStartAddr = 0x00010000;
+U32 t3StkOffLd05FwTextAddr = 0x00010000;
+int t3StkOffLd05FwTextLen = 0xe90;
+U32 t3StkOffLd05FwRodataAddr = 0x00010e90;
+int t3StkOffLd05FwRodataLen = 0x50;
+U32 t3StkOffLd05FwDataAddr = 0x00010f00;
+int t3StkOffLd05FwDataLen = 0x20;
+U32 t3StkOffLd05FwSbssAddr = 0x00010f20;
+int t3StkOffLd05FwSbssLen = 0x28;
+U32 t3StkOffLd05FwBssAddr = 0x00010f50;
+int t3StkOffLd05FwBssLen = 0x88;
+U32 t3StkOffLd05FwText[(0xe90/4) + 1] = {
+0xc004003, 0x0, 0x10f04,
+0x0, 0x10000003, 0x0, 0xd,
+0xd, 0x3c1d0001, 0x37bde000, 0x3a0f021,
+0x3c100001, 0x26100000, 0xc004010, 0x0,
+0xd, 0x27bdffe0, 0x3c04fefe, 0xafbf0018,
+0xc0042e8, 0x34840002, 0xc004364, 0x0,
+0x3c030001, 0x90630f34, 0x24020002, 0x3c040001,
+0x24840e9c, 0x14620003, 0x24050001, 0x3c040001,
+0x24840e90, 0x24060002, 0x3821, 0xafa00010,
+0xc004378, 0xafa00014, 0xc00402c, 0x0,
+0x8fbf0018, 0x3e00008, 0x27bd0020, 0x0,
+0x0, 0x27bdffe0, 0xafbf001c, 0xafb20018,
+0xafb10014, 0xc0042d4, 0xafb00010, 0x3c128000,
+0x24110001, 0x8f706810, 0x32020400, 0x10400007,
+0x0, 0x8f641008, 0x921024, 0x14400003,
+0x0, 0xc004064, 0x0, 0x3c020001,
+0x90420f56, 0x10510003, 0x32020200, 0x1040fff1,
+0x0, 0xc0041b4, 0x0, 0x8004034,
+0x0, 0x8fbf001c, 0x8fb20018, 0x8fb10014,
+0x8fb00010, 0x3e00008, 0x27bd0020, 0x27bdffe0,
+0x3c040001, 0x24840eb0, 0x2821, 0x3021,
+0x3821, 0xafbf0018, 0xafa00010, 0xc004378,
+0xafa00014, 0xd021, 0x24020130, 0xaf625000,
+0x3c010001, 0xa4200f50, 0x3c010001, 0xa0200f57,
+0x8fbf0018, 0x3e00008, 0x27bd0020, 0x0,
+0x0, 0x3c030001, 0x24630f60, 0x90620000,
+0x27bdfff0, 0x14400003, 0x80c021, 0x8004073,
+0x4821, 0x3c022000, 0x3021024, 0x10400003,
+0x24090002, 0x8004073, 0xa0600000, 0x24090001,
+0x181040, 0x30431f80, 0x346f8008, 0x1520004b,
+0x25eb0028, 0x3c040001, 0x832021, 0x8c848010,
+0x3c050001, 0x24a50f7a, 0x41402, 0xa0a20000,
+0x3c010001, 0xa0240f7b, 0x3c020001, 0x431021,
+0x94428014, 0x3c010001, 0xa0220f7c, 0x3c0c0001,
+0x1836021, 0x8d8c8018, 0x304200ff, 0x24420008,
+0x220c3, 0x24020001, 0x3c010001, 0xa0220f60,
+0x124102b, 0x1040000c, 0x3821, 0x24a6000e,
+0x1602821, 0x8ca20000, 0x8ca30004, 0x24a50008,
+0x24e70001, 0xacc20000, 0xacc30004, 0xe4102b,
+0x1440fff8, 0x24c60008, 0x3821, 0x3c080001,
+0x25080f7b, 0x91060000, 0x3c020001, 0x90420f7c,
+0x2503000d, 0xc32821, 0x461023, 0x21fc2,
+0x431021, 0x21043, 0x1840000c, 0x2021,
+0x91020001, 0x461023, 0x21fc2, 0x431021,
+0x21843, 0x94a20000, 0x24e70001, 0x822021,
+0xe3102a, 0x1440fffb, 0x24a50002, 0x41c02,
+0x3082ffff, 0x622021, 0x41402, 0x822021,
+0x3c02ffff, 0x1821024, 0x3083ffff, 0x431025,
+0x3c010001, 0x80040fa, 0xac220f80, 0x3c050001,
+0x24a50f7c, 0x90a20000, 0x3c0c0001, 0x1836021,
+0x8d8c8018, 0x220c2, 0x1080000e, 0x3821,
+0x1603021, 0x24a5000c, 0x8ca20000, 0x8ca30004,
+0x24a50008, 0x24e70001, 0xacc20000, 0xacc30004,
+0xe4102b, 0x1440fff8, 0x24c60008, 0x3c050001,
+0x24a50f7c, 0x90a20000, 0x30430007, 0x24020004,
+0x10620011, 0x28620005, 0x10400005, 0x24020002,
+0x10620008, 0x710c0, 0x80040fa, 0x0,
+0x24020006, 0x1062000e, 0x710c0, 0x80040fa,
+0x0, 0xa21821, 0x9463000c, 0x4b1021,
+0x80040fa, 0xa4430000, 0x710c0, 0xa21821,
+0x8c63000c, 0x4b1021, 0x80040fa, 0xac430000,
+0xa21821, 0x8c63000c, 0x4b2021, 0xa21021,
+0xac830000, 0x94420010, 0xa4820004, 0x95e70006,
+0x3c020001, 0x90420f7c, 0x3c030001, 0x90630f7a,
+0xe2c823, 0x3c020001, 0x90420f7b, 0x24630028,
+0x1e34021, 0x24420028, 0x15200012, 0x1e23021,
+0x94c2000c, 0x3c010001, 0xa4220f78, 0x94c20004,
+0x94c30006, 0x3c010001, 0xa4200f76, 0x3c010001,
+0xa4200f72, 0x21400, 0x431025, 0x3c010001,
+0xac220f6c, 0x95020004, 0x3c010001, 0x8004124,
+0xa4220f70, 0x3c020001, 0x94420f70, 0x3c030001,
+0x94630f72, 0x431021, 0xa5020004, 0x3c020001,
+0x94420f6c, 0xa4c20004, 0x3c020001, 0x8c420f6c,
+0xa4c20006, 0x3c040001, 0x94840f72, 0x3c020001,
+0x94420f70, 0x3c0a0001, 0x954a0f76, 0x441821,
+0x3063ffff, 0x62182a, 0x24020002, 0x1122000b,
+0x832023, 0x3c030001, 0x94630f78, 0x30620009,
+0x10400006, 0x3062fff6, 0xa4c2000c, 0x3c020001,
+0x94420f78, 0x30420009, 0x1425023, 0x24020001,
+0x1122001b, 0x29220002, 0x50400005, 0x24020002,
+0x11200007, 0x31a2ffff, 0x8004197, 0x0,
+0x1122001d, 0x24020016, 0x8004197, 0x31a2ffff,
+0x3c0e0001, 0x95ce0f80, 0x10800005, 0x1806821,
+0x1c42021, 0x41c02, 0x3082ffff, 0x627021,
+0xe1027, 0xa502000a, 0x3c030001, 0x90630f7b,
+0x31a2ffff, 0xe21021, 0x800418d, 0x432023,
+0x3c020001, 0x94420f80, 0x442021, 0x41c02,
+0x3082ffff, 0x622021, 0x807021, 0x41027,
+0x8004185, 0xa502000a, 0x3c050001, 0x24a50f7a,
+0x90a30000, 0x14620002, 0x24e2fff2, 0xa5e20034,
+0x90a20000, 0xe21023, 0xa5020002, 0x3c030001,
+0x94630f80, 0x3c020001, 0x94420f5a, 0x30e5ffff,
+0x641821, 0x451023, 0x622023, 0x41c02,
+0x3082ffff, 0x622021, 0x41027, 0xa502000a,
+0x3c030001, 0x90630f7c, 0x24620001, 0x14a20005,
+0x807021, 0x1631021, 0x90420000, 0x8004185,
+0x26200, 0x24620002, 0x14a20003, 0x306200fe,
+0x4b1021, 0x944c0000, 0x3c020001, 0x94420f82,
+0x3183ffff, 0x3c040001, 0x90840f7b, 0x431021,
+0xe21021, 0x442023, 0x8a2021, 0x41c02,
+0x3082ffff, 0x622021, 0x41402, 0x822021,
+0x806821, 0x41027, 0xa4c20010, 0x31a2ffff,
+0xe1c00, 0x431025, 0x3c040001, 0x24840f72,
+0xade20010, 0x94820000, 0x3c050001, 0x94a50f76,
+0x3c030001, 0x8c630f6c, 0x24420001, 0xb92821,
+0xa4820000, 0x3322ffff, 0x622021, 0x83182b,
+0x3c010001, 0xa4250f76, 0x10600003, 0x24a2ffff,
+0x3c010001, 0xa4220f76, 0x3c024000, 0x3021025,
+0x3c010001, 0xac240f6c, 0xaf621008, 0x3e00008,
+0x27bd0010, 0x3c030001, 0x90630f56, 0x27bdffe8,
+0x24020001, 0xafbf0014, 0x10620026, 0xafb00010,
+0x8f620cf4, 0x2442ffff, 0x3042007f, 0x21100,
+0x8c434000, 0x3c010001, 0xac230f64, 0x8c434008,
+0x24444000, 0x8c5c4004, 0x30620040, 0x14400002,
+0x24020088, 0x24020008, 0x3c010001, 0xa4220f68,
+0x30620004, 0x10400005, 0x24020001, 0x3c010001,
+0xa0220f57, 0x80041d5, 0x31402, 0x3c010001,
+0xa0200f57, 0x31402, 0x3c010001, 0xa4220f54,
+0x9483000c, 0x24020001, 0x3c010001, 0xa4200f50,
+0x3c010001, 0xa0220f56, 0x3c010001, 0xa4230f62,
+0x24020001, 0x1342001e, 0x0, 0x13400005,
+0x24020003, 0x13420067, 0x0, 0x80042cf,
+0x0, 0x3c020001, 0x94420f62, 0x241a0001,
+0x3c010001, 0xa4200f5e, 0x3c010001, 0xa4200f52,
+0x304407ff, 0x21bc2, 0x31823, 0x3063003e,
+0x34630036, 0x21242, 0x3042003c, 0x621821,
+0x3c010001, 0xa4240f58, 0x832021, 0x24630030,
+0x3c010001, 0xa4240f5a, 0x3c010001, 0xa4230f5c,
+0x3c060001, 0x24c60f52, 0x94c50000, 0x94c30002,
+0x3c040001, 0x94840f5a, 0x651021, 0x44102a,
+0x10400013, 0x3c108000, 0xa31021, 0xa4c20000,
+0x3c02a000, 0xaf620cf4, 0x3c010001, 0xa0200f56,
+0x8f641008, 0x901024, 0x14400003, 0x0,
+0xc004064, 0x0, 0x8f620cf4, 0x501024,
+0x104000b7, 0x0, 0x800420f, 0x0,
+0x3c030001, 0x94630f50, 0x851023, 0xa4c40000,
+0x621821, 0x3042ffff, 0x3c010001, 0xa4230f50,
+0xaf620ce8, 0x3c020001, 0x94420f68, 0x34420024,
+0xaf620cec, 0x94c30002, 0x3c020001, 0x94420f50,
+0x14620012, 0x3c028000, 0x3c108000, 0x3c02a000,
+0xaf620cf4, 0x3c010001, 0xa0200f56, 0x8f641008,
+0x901024, 0x14400003, 0x0, 0xc004064,
+0x0, 0x8f620cf4, 0x501024, 0x1440fff7,
+0x0, 0x80042cf, 0x241a0003, 0xaf620cf4,
+0x3c108000, 0x8f641008, 0x901024, 0x14400003,
+0x0, 0xc004064, 0x0, 0x8f620cf4,
+0x501024, 0x1440fff7, 0x0, 0x80042cf,
+0x241a0003, 0x3c070001, 0x24e70f50, 0x94e20000,
+0x3821021, 0xaf620ce0, 0x3c020001, 0x8c420f64,
+0xaf620ce4, 0x3c050001, 0x94a50f54, 0x94e30000,
+0x3c040001, 0x94840f58, 0x3c020001, 0x94420f5e,
+0xa32823, 0x822023, 0x30a6ffff, 0x3083ffff,
+0xc3102b, 0x14400043, 0x0, 0x3c020001,
+0x94420f5c, 0x21400, 0x621025, 0xaf620ce8,
+0x94e20000, 0x3c030001, 0x94630f54, 0x441021,
+0xa4e20000, 0x3042ffff, 0x14430021, 0x3c020008,
+0x3c020001, 0x90420f57, 0x10400006, 0x3c03000c,
+0x3c020001, 0x94420f68, 0x34630624, 0x800427c,
+0xd021, 0x3c020001, 0x94420f68, 0x3c030008,
+0x34630624, 0x431025, 0xaf620cec, 0x3c108000,
+0x3c02a000, 0xaf620cf4, 0x3c010001, 0xa0200f56,
+0x8f641008, 0x901024, 0x14400003, 0x0,
+0xc004064, 0x0, 0x8f620cf4, 0x501024,
+0x10400015, 0x0, 0x8004283, 0x0,
+0x3c030001, 0x94630f68, 0x34420624, 0x3c108000,
+0x621825, 0x3c028000, 0xaf630cec, 0xaf620cf4,
+0x8f641008, 0x901024, 0x14400003, 0x0,
+0xc004064, 0x0, 0x8f620cf4, 0x501024,
+0x1440fff7, 0x0, 0x3c010001, 0x80042cf,
+0xa4200f5e, 0x3c020001, 0x94420f5c, 0x21400,
+0xc21025, 0xaf620ce8, 0x3c020001, 0x90420f57,
+0x10400009, 0x3c03000c, 0x3c020001, 0x94420f68,
+0x34630624, 0xd021, 0x431025, 0xaf620cec,
+0x80042c1, 0x3c108000, 0x3c020001, 0x94420f68,
+0x3c030008, 0x34630604, 0x431025, 0xaf620cec,
+0x3c020001, 0x94420f5e, 0x451021, 0x3c010001,
+0xa4220f5e, 0x3c108000, 0x3c02a000, 0xaf620cf4,
+0x3c010001, 0xa0200f56, 0x8f641008, 0x901024,
+0x14400003, 0x0, 0xc004064, 0x0,
+0x8f620cf4, 0x501024, 0x1440fff7, 0x0,
+0x8fbf0014, 0x8fb00010, 0x3e00008, 0x27bd0018,
+0x0, 0x27bdffe0, 0x3c040001, 0x24840ec0,
+0x2821, 0x3021, 0x3821, 0xafbf0018,
+0xafa00010, 0xc004378, 0xafa00014, 0xd021,
+0x24020130, 0xaf625000, 0x3c010001, 0xa4200f50,
+0x3c010001, 0xa0200f57, 0x8fbf0018, 0x3e00008,
+0x27bd0020, 0x27bdffe8, 0x3c1bc000, 0xafbf0014,
+0xafb00010, 0xaf60680c, 0x8f626804, 0x34420082,
+0xaf626804, 0x8f634000, 0x24020b50, 0x3c010001,
+0xac220f20, 0x24020b78, 0x3c010001, 0xac220f30,
+0x34630002, 0xaf634000, 0xc004315, 0x808021,
+0x3c010001, 0xa0220f34, 0x304200ff, 0x24030002,
+0x14430005, 0x0, 0x3c020001, 0x8c420f20,
+0x8004308, 0xac5000c0, 0x3c020001, 0x8c420f20,
+0xac5000bc, 0x8f624434, 0x8f634438, 0x8f644410,
+0x3c010001, 0xac220f28, 0x3c010001, 0xac230f38,
+0x3c010001, 0xac240f24, 0x8fbf0014, 0x8fb00010,
+0x3e00008, 0x27bd0018, 0x3e00008, 0x24020001,
+0x27bdfff8, 0x18800009, 0x2821, 0x8f63680c,
+0x8f62680c, 0x1043fffe, 0x0, 0x24a50001,
+0xa4102a, 0x1440fff9, 0x0, 0x3e00008,
+0x27bd0008, 0x8f634450, 0x3c020001, 0x8c420f28,
+0x31c02, 0x43102b, 0x14400008, 0x3c038000,
+0x3c040001, 0x8c840f38, 0x8f624450, 0x21c02,
+0x83102b, 0x1040fffc, 0x3c038000, 0xaf634444,
+0x8f624444, 0x431024, 0x1440fffd, 0x0,
+0x8f624448, 0x3e00008, 0x3042ffff, 0x3082ffff,
+0x2442e000, 0x2c422001, 0x14400003, 0x3c024000,
+0x8004347, 0x2402ffff, 0x822025, 0xaf645c38,
+0x8f625c30, 0x30420002, 0x1440fffc, 0x1021,
+0x3e00008, 0x0, 0x8f624450, 0x3c030001,
+0x8c630f24, 0x8004350, 0x3042ffff, 0x8f624450,
+0x3042ffff, 0x43102b, 0x1440fffc, 0x0,
+0x3e00008, 0x0, 0x27bdffe0, 0x802821,
+0x3c040001, 0x24840ed0, 0x3021, 0x3821,
+0xafbf0018, 0xafa00010, 0xc004378, 0xafa00014,
+0x800435f, 0x0, 0x8fbf0018, 0x3e00008,
+0x27bd0020, 0x3c020001, 0x3442d600, 0x3c030001,
+0x3463d600, 0x3c040001, 0x3484ddff, 0x3c010001,
+0xac220f40, 0x24020040, 0x3c010001, 0xac220f44,
+0x3c010001, 0xac200f3c, 0xac600000, 0x24630004,
+0x83102b, 0x5040fffd, 0xac600000, 0x3e00008,
+0x0, 0x804821, 0x8faa0010, 0x3c020001,
+0x8c420f3c, 0x3c040001, 0x8c840f44, 0x8fab0014,
+0x24430001, 0x44102b, 0x3c010001, 0xac230f3c,
+0x14400003, 0x4021, 0x3c010001, 0xac200f3c,
+0x3c020001, 0x8c420f3c, 0x3c030001, 0x8c630f40,
+0x91240000, 0x21140, 0x431021, 0x481021,
+0x25080001, 0xa0440000, 0x29020008, 0x1440fff4,
+0x25290001, 0x3c020001, 0x8c420f3c, 0x3c030001,
+0x8c630f40, 0x8f64680c, 0x21140, 0x431021,
+0xac440008, 0xac45000c, 0xac460010, 0xac470014,
+0xac4a0018, 0x3e00008, 0xac4b001c, 0x0,
+0x0, 0x0 };
+U32 t3StkOffLd05FwRodata[(0x50/4) + 1] = {
+0x4d61696e,
+0x43707542, 0x0, 0x4d61696e, 0x43707541,
+0x0, 0x0, 0x0, 0x73746b6f,
+0x66666c64, 0x0, 0x0, 0x73746b6f,
+0x66666c64, 0x0, 0x0, 0x66617461,
+0x6c457272, 0x0, 0x0, 0x0 };
+U32 t3StkOffLd05FwData[(0x20/4) + 1] = {
+0x0,
+0x73746b6f, 0x66666c64, 0x5f76312e, 0x322e3000,
+0x0, 0x0, 0x0, 0x0 };
+
+#endif /* __FW_LSO05_H__ */