bcm53xx: PCIe: add link check again

When there is no device connected to the controller we should not start 
the controller. This also changes between PCIe 1.0 and PCIe 2.0 speed 
based on the device. This code is based on code from the new Broadcom 
PCIe controller driver.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43748 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: bgmac: fix some problems

There are some problems in the napi usage that are fixed now.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


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