Commit graph

5894 commits

Author SHA1 Message Date
Florian Fainelli
153f4c8b9b add support for 2.6.35
SVN-Revision: 22568
2010-08-09 20:07:02 +00:00
Michael Büsch
8b934b8d89 omap24xx: Update kernel config. This also fixes module loading.
SVN-Revision: 22564
2010-08-09 18:43:43 +00:00
Michael Büsch
27a297eece omap24xx: Fix MMC multiplexer
SVN-Revision: 22563
2010-08-09 18:43:20 +00:00
Jo-Philipp Wich
7d08b0bf47 fix localversion detection for linux 2.6.35
SVN-Revision: 22560
2010-08-09 15:50:18 +00:00
Imre Kaloz
16478f7dd6 workaround serial hang with SMP enabled
SVN-Revision: 22557
2010-08-09 11:27:14 +00:00
Andy Boyett
0f5d0f69ab image: use internal qemu-img for vmdk and vdi images drop host dependencies on qemu-utils and VirtualBox
SVN-Revision: 22553
2010-08-09 04:22:39 +00:00
Felix Fietkau
f8c4bf89b9 rtl8366: re-enable learning by default, disabling it broke switching functionality. add a configuration option for dynamically enabling/disabling this feature. based on patch from #7637
SVN-Revision: 22545
2010-08-08 20:15:10 +00:00
Florian Fainelli
088b641056 rename kmod-switch-ip175c package to kmod-switch-ip17xx
SVN-Revision: 22544
2010-08-08 20:01:16 +00:00
Florian Fainelli
dd3652e168 add missing 2.6.34 symbols
SVN-Revision: 22543
2010-08-08 20:01:10 +00:00
Florian Fainelli
c1dc4a8a66 refresh 2.6.34 patches
SVN-Revision: 22542
2010-08-08 20:01:05 +00:00
Florian Fainelli
083ff78000 crashlog depends on BOOTMEM
SVN-Revision: 22541
2010-08-08 20:00:52 +00:00
Florian Fainelli
35e7fc9c4b refresh 2.6.35 patches
SVN-Revision: 22540
2010-08-08 20:00:46 +00:00
Florian Fainelli
b86edec09b add missing 2.6.35 config symbols
SVN-Revision: 22539
2010-08-08 20:00:40 +00:00
Florian Fainelli
565a1e4ea3 add missing 2.6.35 config symbols
SVN-Revision: 22537
2010-08-08 20:00:28 +00:00
Michael Büsch
f3c312ac0d omap24xx: Add working inittab and watchdog init script
SVN-Revision: 22534
2010-08-08 18:36:38 +00:00
Michael Büsch
d9c0e977a4 omap24xx: Support booting userland from MMC card
SVN-Revision: 22531
2010-08-08 16:38:39 +00:00
Michael Büsch
975ba9a88d Add omap24xx.
Boots the kernel with working video and serial console. Userland is untested.

SVN-Revision: 22530
2010-08-08 14:16:48 +00:00
Lars-Peter Clausen
31f570fe4b qi_lb60: Fix keyboard gpio pins
SVN-Revision: 22524
2010-08-07 20:54:33 +00:00
Hauke Mehrtens
09244c0811 brcm47xx: do not generate image for wgr614_v8 as long as we did not get any positive reports with that device.
SVN-Revision: 22522
2010-08-06 22:50:58 +00:00
Lars-Peter Clausen
a97d6b0c95 Add kernel_nconfig make target
SVN-Revision: 22518
2010-08-06 21:36:35 +00:00
Hauke Mehrtens
7640f89045 brcm47xx: Add new image generation and fix leds/reset button on WNR834B V2
Thank you realopty for the patch.
tools/firmware-utils/src/mkchkimg.c is from http://www.myopenrouter.com/download/10611/mkchkimg/

This closes #7702.

SVN-Revision: 22516
2010-08-06 20:21:32 +00:00
John Crispin
419128775a * remove references to gpio_dev * make vmmc driver register its own memory and dont rely on arch code to do so * makes any Danube board with a CFI commandset 2 NOR flash chip functional again * fixes filenames of downloaded firmwares
thanks, Ithamar R. Adema

SVN-Revision: 22515
2010-08-06 15:49:42 +00:00
Mirko Vogt
acd054f18d Add missing symbol to 2.6.35 config
SVN-Revision: 22513
2010-08-06 14:25:35 +00:00
Mirko Vogt
95265c5983 Add missing symbols to 2.6.35 config
SVN-Revision: 22512
2010-08-06 14:25:30 +00:00
Hamish Guthrie
8122c61c9d gumstix: Update wifi default settings
SVN-Revision: 22509
2010-08-06 11:12:36 +00:00
Jo-Philipp Wich
52fb76ebff explicitely enable bootmem on 2.6.35 - required by crashlog (#7695)
SVN-Revision: 22506
2010-08-06 02:02:21 +00:00
Jo-Philipp Wich
9de10fe381 add missing symbols for 2.6.34, explicitely enable bootmem - required by crashlog (#7695)
SVN-Revision: 22505
2010-08-06 02:01:36 +00:00
Jo-Philipp Wich
662620419a fix order fail in previous commit
SVN-Revision: 22504
2010-08-06 01:36:14 +00:00
Jo-Philipp Wich
947519fae0 add missing symbols for 2.6.35
SVN-Revision: 22503
2010-08-06 01:33:23 +00:00
Lars-Peter Clausen
1980190a5a Drop 2.6.32 patches
SVN-Revision: 22485
2010-08-04 13:33:55 +00:00
Lars-Peter Clausen
f312e1580b Set -march=mips32
SVN-Revision: 22484
2010-08-04 13:32:32 +00:00
Lars-Peter Clausen
75a7e3e55a Adjust codec driver module name for 2.6.35
SVN-Revision: 22483
2010-08-04 13:31:45 +00:00
Lars-Peter Clausen
5b8cbd5d5a Fix mmc card detection
SVN-Revision: 22481
2010-08-04 13:26:22 +00:00
Hamish Guthrie
20417d6663 gumstix: Change defconfig
SVN-Revision: 22478
2010-08-04 11:25:34 +00:00
Hamish Guthrie
1da361418e omap35xx: Add temporary fix for marvell wlan MAC address detection
SVN-Revision: 22477
2010-08-04 10:10:48 +00:00
Felix Fietkau
bd6324190f swconfig: cleanup of kernel drivers and interface - add some comments to a few data structures - add a switch_dev_ops data structure for attributes and callback to replace the stupid template memcpy - get rid of the switch_dev.priv pointer - using container_of() is better
SVN-Revision: 22476
2010-08-04 00:43:40 +00:00
Hauke Mehrtens
86b209211e brcm47xx: ignore some parts of flash on some netgear devices. This space is used to store config values. When overwriting it the device will not start any more.
closes #7630

Thank you realopty for testing.

SVN-Revision: 22475
2010-08-03 20:35:53 +00:00
Jo-Philipp Wich
bf1db57017 ip17xx: r21709 broke VLAN functionality on the IP175C switch, add back mdelay() to wait before reading back the phy state, fixes ethernet on the DIR-300 and possibly others
SVN-Revision: 22468
2010-08-03 03:04:34 +00:00
Daniel Dickinson
a5fdf57a1b base-files: diag.sh: For power button as preinit status led, end with led left on, not off
SVN-Revision: 22466
2010-08-02 19:33:08 +00:00
Daniel Dickinson
d391ca2c8c base-files: brcm63xx.sh: Added comtrend (96348GW-11) to routers with buttons and leds on preinit
SVN-Revision: 22465
2010-08-02 19:32:59 +00:00
Daniel Dickinson
99d0f9ea05 patches-2.6.32/33: Reset button on Comtrend routers is GPIO 33 not GPIO 32
SVN-Revision: 22464
2010-08-02 19:32:40 +00:00
Lars-Peter Clausen
e1bfcceb93 Add 2.6.35 patches
SVN-Revision: 22463
2010-08-02 18:24:06 +00:00
Alexandros C. Couloumbis
6978c1cb83 package/compcache: use mainline modules for kernels >=2.6.33 (thank you nbd)
SVN-Revision: 22458
2010-08-01 16:57:24 +00:00
Florian Fainelli
2df3583611 add 2.6.34 support
SVN-Revision: 22452
2010-08-01 12:41:16 +00:00
Florian Fainelli
3144d90706 refresh 2.6.34 patches
SVN-Revision: 22451
2010-08-01 12:41:09 +00:00
Florian Fainelli
781c091ea5 fix jffs2 64k and 128k images overwrite each other
When trying to build images with jffs2 filesystem for ramips platform
there is only one jffs2 image produced instead of two (64k and 128k).

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 22435
2010-07-31 11:42:17 +00:00
Hauke Mehrtens
3aca383c72 brcm47xx: some checkpatch fixes
SVN-Revision: 22425
2010-07-31 10:06:05 +00:00
Hauke Mehrtens
96911f6b58 brcm47xx: some fixes
* fix return codes of nvram_getenv. Now it behaves like cfe_getenv.
* also check cfe for kernel_args param.
* some style fixes

SVN-Revision: 22424
2010-07-31 10:05:29 +00:00
Alexandros C. Couloumbis
927d42ed62 generic/patches-2.6.32: finalize jffs2/lzma support on 2.6.32.x
SVN-Revision: 22423
2010-07-31 06:49:38 +00:00
Jo-Philipp Wich
eea5f1c565 fix a typo in config-2.6.34 and config-2.6.35, thanks frogonwheels
SVN-Revision: 22421
2010-07-30 23:23:42 +00:00
Hauke Mehrtens
da7493d8f9 mostly revert commit r22396
CFE does not boot images generated with these checksums because of
wrong checksum.

After flashing then with tftp to my Asus wl500-GPv1 the following messages
are show:
Null Rescue Flag.
Boot program checksum is invalid
Hello!! Enter Rescue Mode: (Check error)

SVN-Revision: 22418
2010-07-30 21:19:49 +00:00
Alexandros C. Couloumbis
42738aa9ad add missing bits & bytes from r22412
SVN-Revision: 22416
2010-07-30 09:59:13 +00:00
Alexandros C. Couloumbis
b8d60bb9d4 target/linux: refresh kernel patches
SVN-Revision: 22413
2010-07-29 17:20:25 +00:00
Alexandros C. Couloumbis
daf10573ba enable mtu & mac config options
SVN-Revision: 22412
2010-07-29 17:16:44 +00:00
Alexandros C. Couloumbis
cb8ce973f7 atheros/patches-2.6.35: sync patches against 2.6.35-rc6
SVN-Revision: 22411
2010-07-29 14:13:51 +00:00
Alexandros C. Couloumbis
1e05fd6eef generic/patches-2.6.34: Make devtmpfs available on (embedded) configurations without SHMEM/TMPFS, using ramfs instead. (gone mainline in kernel 2.6.35-r3)
SVN-Revision: 22407
2010-07-28 08:34:03 +00:00
Jo-Philipp Wich
e47a8a001c revert r22372 and r22405, dependency on host libtool causes problems
SVN-Revision: 22406
2010-07-28 02:18:16 +00:00
Felix Fietkau
65899cfa49 ar71xx: remove the fifo cfg overrides for the ap91 ethernet code - these values have been wrong on every single device i've tested, falling back to the atheros values seems to be the right thing to do
SVN-Revision: 22401
2010-07-27 21:04:43 +00:00
Markus Wigge
7a052dc799 fix CRC32 calculation for sysupgrade
* reduce image size for CRC calculation by fs_mark size

sysupgrade sometimes failed for me and I noticed that it was due
to incorrect CRC values in trx-header after performing it.
It seems that the fs_mark was completely included in the calculation
and that it was nevertheless modified by sysupgrade while appending
the jffs data.
This only occurs for the first boot after sysupgrade as the flashmap
driver recalculates the CRC to an even smaller area when it boots.

SVN-Revision: 22396
2010-07-27 15:37:37 +00:00
Jo-Philipp Wich
00cc52f14b reorder profiles
SVN-Revision: 22390
2010-07-26 18:58:35 +00:00
Hauke Mehrtens
763e011e70 brcm47xx: now hopfully realy commit the right things from r22385
SVN-Revision: 22388
2010-07-25 16:10:51 +00:00
Hauke Mehrtens
d67c25f592 brcm47xx: add missing part from r22385
SVN-Revision: 22387
2010-07-25 16:07:40 +00:00
Jo-Philipp Wich
7831006360 fix a typo in 040-bcm963xx_flashmap.patch
SVN-Revision: 22386
2010-07-25 00:10:37 +00:00
Hauke Mehrtens
163b24d092 brcm47xx: fill the whole sprom with data
SVN-Revision: 22385
2010-07-24 23:25:06 +00:00
Alexandros C. Couloumbis
766d2494b2 generic/config-2.6.32: switch from gzip to lzma jffs2 compression
SVN-Revision: 22374
2010-07-24 08:14:22 +00:00
Alexandros C. Couloumbis
54ad2c05af ixp4xx: add kernel 2.6.34 preliminary support
SVN-Revision: 22373
2010-07-24 00:18:58 +00:00
Jo-Philipp Wich
8c1d9afc40 use host opkg for installing packages in buildroot and ImageBuilder
SVN-Revision: 22372
2010-07-23 19:49:19 +00:00
Felix Fietkau
4ee3ae96c2 ar71xx: fix sysupgrade on the ubnt nanostation m
SVN-Revision: 22370
2010-07-23 18:16:47 +00:00
Jo-Philipp Wich
878267db01 renaming of the IP175C switch driver brioke switch detection on the Dir-300 and others, fix it
SVN-Revision: 22363
2010-07-23 10:39:10 +00:00
Felix Fietkau
900aaa919b ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528, without the ethernet fifo cfg values)
SVN-Revision: 22353
2010-07-22 12:37:44 +00:00
Claudio Mignanti
d4d6fefdf2 general cleanup
SVN-Revision: 22352
2010-07-22 11:32:42 +00:00
Claudio Mignanti
4a82997327 Add support for u-boot
SVN-Revision: 22351
2010-07-22 11:32:38 +00:00
Felix Fietkau
91edb99017 disable crash logging for uml, it cannot possibly work there anyway
SVN-Revision: 22326
2010-07-21 15:02:53 +00:00
Felix Fietkau
dff51d3f2c kernel: add some missing debugging related config symbols
SVN-Revision: 22324
2010-07-21 14:34:17 +00:00
Imre Kaloz
a1cdb24a3b add support for the Gateworks Laguna family (Cavium Networks Econa CNS3xxx)
SVN-Revision: 22323
2010-07-21 11:20:53 +00:00
Hauke Mehrtens
ebeaea35fd brcm47xx: fix for boardflags by xMff and checkpatch.pl fixes
SVN-Revision: 22318
2010-07-20 19:41:17 +00:00
Felix Fietkau
9f6c22b497 kernel: add the new 'crashlog' feature, which tries to store kernel oops/panic logs in a fixed location in RAM to recover them after the reboot and make them available to user space using debugfs
SVN-Revision: 22305
2010-07-20 01:54:21 +00:00
Felix Fietkau
bced5d7d74 ar71xx: set default values for the fifo cfg registers on AR724x
SVN-Revision: 22303
2010-07-20 01:54:11 +00:00
Hauke Mehrtens
c811398d00 brcm47xx: write boardflags correct into sprom
SVN-Revision: 22298
2010-07-19 21:45:29 +00:00
Claudio Mignanti
3f25930247 pwm: export the generic pwm api as module
SVN-Revision: 22297
2010-07-19 21:14:24 +00:00
Hauke Mehrtens
49edb3c342 brcm47xx: prepare brcm47xx patches for sending to mainline.
SVN-Revision: 22296
2010-07-19 20:25:20 +00:00
Hauke Mehrtens
0799e77a8b brcm47xx: remove kernel 2.6.33
SVN-Revision: 22295
2010-07-19 20:07:24 +00:00
Imre Kaloz
d82495ee60 rename the mx2 target to imx21
SVN-Revision: 22294
2010-07-19 12:32:18 +00:00
Hamish Guthrie
5cecf83e38 Remove profile no longer required
SVN-Revision: 22293
2010-07-19 12:29:41 +00:00
Hamish Guthrie
11d3d82d82 replace dropbear with openssh
SVN-Revision: 22292
2010-07-19 12:13:47 +00:00
Imre Kaloz
ca8f45b142 update kernel versions
SVN-Revision: 22289
2010-07-19 11:34:03 +00:00
Imre Kaloz
6e5921c1f3 fixup some boardnames
SVN-Revision: 22288
2010-07-19 11:30:27 +00:00
Imre Kaloz
eb86bf8fe8 remove unneeded patches
SVN-Revision: 22287
2010-07-19 11:28:20 +00:00
Alexandros C. Couloumbis
34d506c321 ixp4xx: backport r21893 wrt300nv2 mac fix to 2.6.32
SVN-Revision: 22284
2010-07-18 19:24:00 +00:00
Florian Fainelli
370e1f64de add support for generic eb214a, thanks cezary (#7027)
SVN-Revision: 22275
2010-07-18 10:29:58 +00:00
Florian Fainelli
8b2e8f6674 remove 2.6.30 support
SVN-Revision: 22274
2010-07-18 10:29:51 +00:00
Florian Fainelli
f6935a4bdb fix alice gate2 internet:green led (#6743)
SVN-Revision: 22273
2010-07-18 10:29:44 +00:00
Hauke Mehrtens
2d87b1c1ee brcm47xx: activate swap again and run make oldconfig
SVN-Revision: 22266
2010-07-17 20:01:46 +00:00
Florian Fainelli
cb373b8d1b use bootloader baudrate settings, thanks bifferos (#7619)
SVN-Revision: 22259
2010-07-17 17:20:35 +00:00
Florian Fainelli
3184a71056 fix bifferboard flash map, thanks bifferos (#7622)
SVN-Revision: 22258
2010-07-17 17:20:29 +00:00
Florian Fainelli
5571c233e9 refresh 2.6.32 patches
SVN-Revision: 22257
2010-07-17 17:20:23 +00:00
Florian Fainelli
3ad5c63eec refresh 2.6.32 patches
SVN-Revision: 22256
2010-07-17 17:20:16 +00:00
Alexandros C. Couloumbis
2e0ff6cb7c ixp4xx: update 2.6.35 config options
SVN-Revision: 22254
2010-07-17 15:45:13 +00:00
Hauke Mehrtens
c5ef57706d kernel: refresh patches
SVN-Revision: 22252
2010-07-17 14:10:39 +00:00
Alexandros C. Couloumbis
628252073e ixp4xx: use default lzma kernel compression
SVN-Revision: 22249
2010-07-17 13:26:21 +00:00
Alexandros C. Couloumbis
472585ce4a ixp4xx: sync 2.6.33 patches against 2.6.33.6
SVN-Revision: 22248
2010-07-17 13:22:32 +00:00
Alexandros C. Couloumbis
9a4ca45096 ixp4xx: fix lzma/jffs2 config options
SVN-Revision: 22247
2010-07-17 13:18:42 +00:00
Hauke Mehrtens
bcec3ad0e9 kernel: fix kernel panic when traffic goes over the network.
SVN-Revision: 22246
2010-07-17 13:01:16 +00:00
Hauke Mehrtens
2e05035bb1 kernel: the interface fsync changed a little
SVN-Revision: 22244
2010-07-17 11:56:03 +00:00
Alexandros C. Couloumbis
30b022c3bd ixp4xx: update 2.6.35 patches to 2.6.35-rc5
SVN-Revision: 22239
2010-07-16 16:26:59 +00:00
Alexandros C. Couloumbis
883e39cf8f generic: update 2.6.35 patches to 2.6.35-rc5
SVN-Revision: 22238
2010-07-16 16:25:37 +00:00
Hamish Guthrie
d163ae3f61 Add a profile including Jamvm for Gumstix
SVN-Revision: 22230
2010-07-16 09:20:06 +00:00
Gabor Juhos
1ca67cba7f ramips: enable ethernet driver for rt288x
SVN-Revision: 22214
2010-07-15 19:45:49 +00:00
Gabor Juhos
2e45ce264d ramips: register ethernet device on the RT-N15
SVN-Revision: 22213
2010-07-15 19:45:46 +00:00
Gabor Juhos
c2ebadc504 ramips: add generic ethernet device for the RT288x
SVN-Revision: 22212
2010-07-15 19:45:43 +00:00
Gabor Juhos
0d8c036e56 ramips: add mdio_cfg configuration for the ethernet driver
SVN-Revision: 22211
2010-07-15 19:45:40 +00:00
Gabor Juhos
9445ce43a6 generic: rtl8366: add debugfs file to show PVIDs
SVN-Revision: 22206
2010-07-15 13:05:56 +00:00
Gabor Juhos
9a92e1a32c generic: rtl8366: make rtl8366_set_vlan static
SVN-Revision: 22205
2010-07-15 13:05:53 +00:00
Gabor Juhos
48934bbd88 generic: rtl8366: add common rtl8366_sw_{get,set}_vlan_ports functions
SVN-Revision: 22204
2010-07-15 13:05:50 +00:00
Gabor Juhos
d4e0b75dda generic: rtl8366: add common rtl8366_sw_get_vlan_info
SVN-Revision: 22203
2010-07-15 13:05:47 +00:00
Gabor Juhos
a59fa57985 generic: rtl8366: use smi->num_ports and smi->ops->get_vlan_4k
SVN-Revision: 22202
2010-07-15 13:05:43 +00:00
Gabor Juhos
ce7eca2dff generic: rtl8366: add is_vlan_valid function to smi_ops
SVN-Revision: 22201
2010-07-15 13:05:39 +00:00
Gabor Juhos
dffd45dc61 generic: rtl8366: add common rtl8366_sw_get_port_mib function
SVN-Revision: 22200
2010-07-15 13:05:36 +00:00
Gabor Juhos
0049e74882 generic: rtl8366: generealize rtl8366{s,rb}_sw_get_port_mib functions
SVN-Revision: 22199
2010-07-15 13:05:32 +00:00
Gabor Juhos
e110321fce generic: rtl8366: make rtl8366_{g,s}et_pvid static
SVN-Revision: 22198
2010-07-15 13:05:29 +00:00
Gabor Juhos
e561b18521 generic: rtl8366: add common rtl8366_sw_{get,set}_port_pvid functions
SVN-Revision: 22197
2010-07-15 13:05:25 +00:00
Gabor Juhos
534480d3fb generic: rtl8366: add setup to rtl8366_smi_ops struct
SVN-Revision: 22196
2010-07-15 13:05:21 +00:00
Gabor Juhos
b093cec6cc generic: rtl8366: introduce rtl8366_smi_alloc
SVN-Revision: 22195
2010-07-15 13:05:16 +00:00
Gabor Juhos
c7bc8fb46c generic: rtl8366: get rid of private rtl8366{s,rb} structs
SVN-Revision: 22194
2010-07-15 13:05:10 +00:00
Gabor Juhos
008c81b859 generic: rtl8366: move switch device to the rtl8366_smi struct
SVN-Revision: 22193
2010-07-15 13:05:06 +00:00
Gabor Juhos
5508b23aaf generic: rtl8366: get rid of private vlan_{mc,4k} structs
The usage of bitfields causes problems in Little-Endian mode. Remove
them and manipulate the bits directly in the appropriate functions. This
change also reduces the size of the binary a bit.

SVN-Revision: 22192
2010-07-15 13:05:02 +00:00
Gabor Juhos
540b3e6419 generic: rtl8366: use SWITCH_TYPE_NOVAL for reset_mib attributes
SVN-Revision: 22191
2010-07-15 13:04:57 +00:00
Gabor Juhos
4bb11f9a39 generic: move ath5k_platform.h from ar71xx to generic files
SVN-Revision: 22189
2010-07-15 07:36:58 +00:00
Gabor Juhos
95e09cccd8 ar71xx: in-flash macs and eeprom for mach-eap7660d
This adds in-flash mac-addresses and calibration data for the Senao
EAP7660D board.

Signed-off-by: Daniel Golle <daniel.golle@gmail.com>

SVN-Revision: 22187
2010-07-15 07:36:52 +00:00
Daniel Dickinson
17ba48cd90 target (base-files): Fixed failsafe mode by adding back insmod diag
SVN-Revision: 22186
2010-07-15 02:46:03 +00:00
Jo-Philipp Wich
abdf25b045 add required exports for wl.ko
SVN-Revision: 22174
2010-07-13 17:03:56 +00:00
Gabor Juhos
d14e9e706e ramips: Fix bridging in ramips ethernet driver
Bridging between the ramips ethernet driver and rt2800pci was somewhat
broken. Frames received by the ethernet driver which were passed to the
wifi driver for transmission were sometimes corrupted or sent out with
huge delays.

The reason for this is the missing assignment of skb->tail in the ramips
ethernet driver's rx path resulting in skb->tail pointing to skb->data.
Since skb->tail is used by mac80211 it writes into skb->data which messes
up the frames content.

Fix this by using skb_put to correctly set skb->len and skb->tail.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 22172
2010-07-13 16:52:07 +00:00
Gabor Juhos
27375c5139 ramips: protect GPIO register access with a spinlock
SVN-Revision: 22171
2010-07-13 16:52:04 +00:00
Gabor Juhos
9ee8b1f8c6 ramips: sync kernel config
SVN-Revision: 22170
2010-07-13 16:52:02 +00:00
Jo-Philipp Wich
9978dd7637 export SSB fallback SPROM - required for wl.ko
SVN-Revision: 22168
2010-07-13 16:20:29 +00:00
Claudio Mignanti
2d86ea7bf3 massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
SVN-Revision: 22145
2010-07-12 14:06:13 +00:00
Claudio Mignanti
86f3d57a00 pwm: use coherent naming to avoid conflicts
SVN-Revision: 22142
2010-07-12 13:19:57 +00:00
Hauke Mehrtens
91ce82ef77 kernel: Add missing kernel config options
SVN-Revision: 22136
2010-07-11 18:52:30 +00:00
Hauke Mehrtens
d6e8db7e6a kernel: add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
SVN-Revision: 22135
2010-07-11 18:50:55 +00:00
Claudio Mignanti
07ccad1f99 enable usb support by default.
SVN-Revision: 22129
2010-07-11 12:27:09 +00:00
Claudio Mignanti
ba56a699a9 add defautl config for eth0
SVN-Revision: 22128
2010-07-11 12:27:05 +00:00
Claudio Mignanti
581dfd912c fix typo in Makefile tgz -> targz
SVN-Revision: 22125
2010-07-11 09:53:00 +00:00
Hauke Mehrtens
3310fdf6fa brcm47xx: use kernel 2.6.34.1 as default kernel
SVN-Revision: 22119
2010-07-10 22:40:45 +00:00
Hauke Mehrtens
e2ce2feedb kernel: update to kernel 2.6.34.1
SVN-Revision: 22118
2010-07-10 22:39:52 +00:00
Felix Fietkau
9c8d55541a brcm47xx: fix a small copy&paste error in the b44 fix for 2.6.34 and 2.6.35
SVN-Revision: 22116
2010-07-10 12:17:41 +00:00
Felix Fietkau
fbff44c98a Get rid of the b44 'BUG! Timeout waiting for bit 80000000 of register 428 to clear.' spam.
more and more users are getting confused by this, and consider it a regression in brcm47xx,
because brcm-2.4 was not showing this message. It's not particularly interesting for debugging,
most of the time it only happens because of an unconnected port.

SVN-Revision: 22110
2010-07-10 00:48:37 +00:00
Claudio Mignanti
482557bc88 fix a bug inside usb driver, thanks to Jesper Nilsson
SVN-Revision: 22105
2010-07-09 10:58:44 +00:00
Claudio Mignanti
63a7fad924 add some missing symbols
SVN-Revision: 22104
2010-07-09 10:58:40 +00:00
Hamish Guthrie
0a82d07f4b gumstix: add luci
SVN-Revision: 22093
2010-07-08 12:46:36 +00:00
Hamish Guthrie
35539f9709 Add kmod-usb-hid
SVN-Revision: 22086
2010-07-07 12:30:29 +00:00
Hauke Mehrtens
3aa9ba520f kernel: add missing config option found by buildbot
SVN-Revision: 22080
2010-07-06 20:50:47 +00:00
Felix Fietkau
36b295eefd repair the damage that was done to the packet socket type filter patch when it was forward ported to 2.6.33 this should fix the mac80211 problems in 2.6.33 and later versions
SVN-Revision: 22079
2010-07-06 18:53:55 +00:00
Felix Fietkau
a27ea45e76 ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563
SVN-Revision: 22075
2010-07-06 12:40:07 +00:00
Felix Fietkau
3e425b2cbc add mini_fo fix to 2.6.30 as well
SVN-Revision: 22058
2010-07-04 15:35:34 +00:00
Felix Fietkau
3512ba10c0 mini_fo: add error pointer checks after dentry lookups to fix various crash bugs (fixes #7277, #7207, #7259)
SVN-Revision: 22057
2010-07-04 15:28:41 +00:00
Felix Fietkau
15b209d09f ag71xx: reset the hardware during open(), this improves recovery from tx timeouts on ar724x considerably
SVN-Revision: 22055
2010-07-04 02:15:08 +00:00
Felix Fietkau
89da22d1ea ag71xx: fix a memory corruption bug that happens if you flood the interface with packets while it's being brought down fixes boot time crashes under load reported by matteo
SVN-Revision: 22054
2010-07-04 01:31:33 +00:00
Gabor Juhos
86b4b5e1e9 generic: rtl8366: enable VLAN ingress filtering
SVN-Revision: 22044
2010-07-02 09:55:57 +00:00
Florian Fainelli
b917b09b91 refresh 2.6.34 patches
SVN-Revision: 22042
2010-07-01 22:28:22 +00:00
Florian Fainelli
7484ad4108 add 2.6.34 support
SVN-Revision: 22041
2010-07-01 22:28:16 +00:00
Florian Fainelli
a92623b92a fix line wrapped patch
SVN-Revision: 22040
2010-07-01 22:28:05 +00:00
Florian Fainelli
48b8c5e945 fix PCI, thanks br1, put back 2.6.32.14 support by default
SVN-Revision: 22033
2010-07-01 19:07:27 +00:00
Markus Wigge
25602743d1 brcm47xx: added dual image support to flashmap driver
some CFE versions (i.e. WRT54G3Gv2-VF) expect two separate firmware
images which each consume half of the available flash space.
these changes check for the TRX header version and set the partition
size correctly.
Tested on G3Gv2-VF and Asus WL-500GP

SVN-Revision: 22019
2010-07-01 16:26:24 +00:00
Gabor Juhos
5a28fb88a4 ar71xx: fix leds-rb750 build failure on 2.6.34
SVN-Revision: 22016
2010-07-01 14:49:06 +00:00
Markus Wigge
114ce0bd4c renamed wrt54g3gv2-vf images
'factory' and 'sysupgrade' did not make much sense. A discussion
with jow convinced me that .trx results in a helpdesk disaster.
So I decided to use '.bin' for normal bin-headers and '.noheader.bin'
for the trx-v2 image.
I fixed the wiki accordingly.

SVN-Revision: 22013
2010-07-01 10:48:13 +00:00
Florian Fainelli
09ed7e00a4 revert upstream commit that broke PCI until we have a better fix
SVN-Revision: 22010
2010-07-01 08:30:16 +00:00
Jo-Philipp Wich
1650f33f97 add a wifi profile for proprietary wl
SVN-Revision: 22009
2010-07-01 01:39:04 +00:00
Jo-Philipp Wich
d6d8014cfd fix dir-825-b1 default network config after r21905
SVN-Revision: 22005
2010-07-01 00:03:43 +00:00
Alexandros C. Couloumbis
cd2069a57c fix commit r21994 (thanks juhosg)
SVN-Revision: 21995
2010-06-30 19:46:45 +00:00
Alexandros C. Couloumbis
0409c64e34 fix commit r21993
SVN-Revision: 21994
2010-06-30 19:35:12 +00:00
Claudio Mignanti
d30bf22a55 Don't force pci support on .34 and .35
SVN-Revision: 21993
2010-06-30 17:23:19 +00:00
Claudio Mignanti
ffa2e4eaec Add board definition previously forgotten
SVN-Revision: 21991
2010-06-30 15:06:17 +00:00
Gabor Juhos
50d88ac7d4 generic: rtl8366: minor cleanup
SVN-Revision: 21985
2010-06-28 17:24:05 +00:00
Gabor Juhos
e19838e04c generic: rtl8366: add common read_debugfs_mibs function
SVN-Revision: 21984
2010-06-28 17:24:02 +00:00
Gabor Juhos
393f0bda89 generic: rtl8366: standardize read_debugfs_mibs functions
SVN-Revision: 21983
2010-06-28 17:23:59 +00:00
Gabor Juhos
5986c1f2d0 generic: rtl8366: use common rtl8366_mib_counter structure
SVN-Revision: 21982
2010-06-28 17:23:56 +00:00
Gabor Juhos
672018a30d generic: rtl8366: move common debugfs code to rtl8366_smi.c
SVN-Revision: 21981
2010-06-28 17:23:52 +00:00
Gabor Juhos
19ed040c62 generic: rtl8366: move buf to struct rtl8366_smi
SVN-Revision: 21980
2010-06-28 17:23:48 +00:00
Gabor Juhos
830b04bd72 generic: rtl8366: move common VLAN handling functions to rtl8366_smi.c
SVN-Revision: 21979
2010-06-28 17:23:45 +00:00
Gabor Juhos
81e9e7916f generic: rtl8366: add cpu_port, num_ports and num_vlan_mc to struct rtl8366_smi
SVN-Revision: 21978
2010-06-28 17:23:41 +00:00
Gabor Juhos
08942e9a98 generic: rtl8366: add VLAN handling functions to rtl8366_smi_ops
SVN-Revision: 21977
2010-06-28 17:23:37 +00:00
Gabor Juhos
e8e8554192 generic: rtl8366: use RTL8366{S,RB} prefixes for all defines
SVN-Revision: 21976
2010-06-28 17:23:33 +00:00
Gabor Juhos
c4dc96934d generic: rtl8366rb: fix MIB counter reset
SVN-Revision: 21969
2010-06-27 14:37:34 +00:00
Florian Fainelli
f394178e15 reinstate 2.6.30 support until 2.6.32 is fixed
SVN-Revision: 21959
2010-06-26 22:18:23 +00:00
Felix Fietkau
da1bb88a2b rename target/linux/generic-2.6 to generic
SVN-Revision: 21952
2010-06-26 20:42:58 +00:00
Felix Fietkau
95c5443b84 remove generic linux 2.4 support
SVN-Revision: 21948
2010-06-26 20:42:18 +00:00
Felix Fietkau
cfbefb4b87 remove the brcm-2.4 target, it will no longer be supported in future releases. please use brcm47xx with broadcom-wl instead
SVN-Revision: 21946
2010-06-26 20:41:59 +00:00
Felix Fietkau
812f026323 add back the base-files/image code from brcm-2.4 to brcm47xx
SVN-Revision: 21945
2010-06-26 20:41:49 +00:00
Felix Fietkau
519b6a2f4c remove brcm47xx symlinks to brcm-2.4 (unfortunately svn does not allow a proper type changing commit)
SVN-Revision: 21944
2010-06-26 20:41:40 +00:00
Gabor Juhos
8989c682c4 generic: rtl8366: rename vlan debugfs file to vlan_mc, and clean up it's format
SVN-Revision: 21923
2010-06-26 19:16:48 +00:00
Gabor Juhos
f60301e82b generic: rtl8366: update vlan handling code for rtl8366s
SVN-Revision: 21922
2010-06-26 19:16:45 +00:00
Gabor Juhos
d4d8c4d7ea generic: rtl8366: update vlan handling code of rtl8366rb
SVN-Revision: 21921
2010-06-26 19:16:41 +00:00
Gabor Juhos
62f2e8e981 generic: rtl8366: add hw_init to initialize registers after reset
SVN-Revision: 21920
2010-06-26 19:16:38 +00:00
Gabor Juhos
91a3323401 generic: rtl8366: introduce rtl8366_smi_rmwr function
SVN-Revision: 21919
2010-06-26 19:16:34 +00:00
Gabor Juhos
23e44e1367 generic: rtl8366s: get some MIB counters from another offset
SVN-Revision: 21918
2010-06-26 19:16:30 +00:00
Gabor Juhos
e89c10585e generic: rtl8366: cleanup MIB counter printing
SVN-Revision: 21917
2010-06-26 19:16:27 +00:00
Gabor Juhos
0d6fb64ac3 generic: rtl8366: use struct rtl8366_smi instead of struct rtl8366{s,rb}
SVN-Revision: 21916
2010-06-26 19:16:24 +00:00
Gabor Juhos
14688b75b7 generic: rtl8366: add common vlan_4k structure
SVN-Revision: 21915
2010-06-26 19:16:20 +00:00
Gabor Juhos
3d9c3067d3 generic: rtl8366: add common vlan_mc structure
SVN-Revision: 21914
2010-06-26 19:16:16 +00:00
Gabor Juhos
a6b57e3d3c generic: rtl8366: rename vlanmc and vlan4k related structures an functions
SVN-Revision: 21913
2010-06-26 19:16:12 +00:00