samba36: fix segmentation fault when trying to add non-existent users

Based on a patch from НКВД. Closes #12962.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35610 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: add missing config options

r35336 exposed PTP, which has additional drivers on ixp4xx, causing it to
not build with PTP enabled.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35611 3c298f89-4303-0410-b956-a3cf2f4a3e73
base-files: add mtd_get_mac_{ascii,binary} helpers

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35612 3c298f89-4303-0410-b956-a3cf2f4a3e73
ramips: use the mtd_get_mac_* helpers

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35613 3c298f89-4303-0410-b956-a3cf2f4a3e73
base-files: add macaddr_{add,2bin,setbit_la} helpers

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35614 3c298f89-4303-0410-b956-a3cf2f4a3e73
ramips: use the new macaddr_* helpers instead of maccalc

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35615 3c298f89-4303-0410-b956-a3cf2f4a3e73
update x86 generic to kernel v3.7

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35616 3c298f89-4303-0410-b956-a3cf2f4a3e73
brcm47xx: try to automatically detect if the wan port is at port 4 and not at port 0.

This should fix #13000.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35617 3c298f89-4303-0410-b956-a3cf2f4a3e73
brcm47xx: fix unaligned access to mac address

The mac address should be aligned to u16 to prevent an unaligned access
in drivers/ssb/pci.c where it is casted to __be16.

This closes #9824.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35618 3c298f89-4303-0410-b956-a3cf2f4a3e73
hostapd: add back the patch that waits for interface bringup in ht40, it got lost with the update

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35619 3c298f89-4303-0410-b956-a3cf2f4a3e73
brcm47xx: bgmac: fix unaligned accesses to network headers.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35621 3c298f89-4303-0410-b956-a3cf2f4a3e73
brcm47xx: handle return values of cfe_env_get() correctly.

This closes #12746.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35622 3c298f89-4303-0410-b956-a3cf2f4a3e73
brcm47xx:  fix network config on simpleshare 

The included patch will generate a correct network configuration on the simpletech simpleshare.

Thank you for the patch Will Holmes (RealOpty)

This closes #12361.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35623 3c298f89-4303-0410-b956-a3cf2f4a3e73
brcm47xx: improve cpuport detection for filesafe

Do not try to load bcm57xx.ko any more this is not needed for kernel 2.6 and 3.X
Ask the switch driver where the CPU port is.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35624 3c298f89-4303-0410-b956-a3cf2f4a3e73
brcm47xx: BGMAC - Adjust AutoLoad number to be prior to switch modules

Adjust the "AutoLoad" number for the BGMAC module to be prior
to the switch modules.  This probably isn't real important as
the modules are loaded in the correct order by preinit anyway.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35625 3c298f89-4303-0410-b956-a3cf2f4a3e73
mpc85xx: add input drivers to default packages, and load those during preinit

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35626 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/kernel: add package for the Freescale On-Chip EHCI Controller

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35627 3c298f89-4303-0410-b956-a3cf2f4a3e73
ramips: fix kmod-usb2 package name

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35628 3c298f89-4303-0410-b956-a3cf2f4a3e73
ar71xx: fix kmod-usb2 package name

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35629 3c298f89-4303-0410-b956-a3cf2f4a3e73
hostapd: fix the scan wait patch for multiple interfaces

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35630 3c298f89-4303-0410-b956-a3cf2f4a3e73