14 Feb, 2011
11 commits
-
Clear Transmit Timer/Retry setting while full-duplex.
Signed-off-by: Guo-Fu Tseng
Signed-off-by: David S. Miller -
Signed-off-by: Guo-Fu Tseng
Signed-off-by: David S. Miller -
Signed-off-by: Guo-Fu Tseng
Signed-off-by: David S. Miller -
After main chip rev 5, the hardware support more power saving
control registers.
Some Non-Linux drivers might turn off the phy power with new
interfaces, this patch makes it possible for Linux to turn it
on again.Signed-off-by: Guo-Fu Tseng
Signed-off-by: David S. Miller -
Get the main and sub chip revision for later workaround use.
Signed-off-by: Guo-Fu Tseng
Signed-off-by: David S. Miller -
add possibility to addif/delif via rtnetlink
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
allow enslaving/releasing using netlink interface
Signed-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
This patch allows userspace to enslave/release slave devices via netlink
interface using IFLA_MASTER. This introduces generic way to add/remove
underling devices.Signed-off-by: Jiri Pirko
Acked-by: Patrick McHardy
Signed-off-by: David S. Miller -
Fix two bugs introduced by the commit
c659c38b2796578638548b77ef626d93609ec8ac ("tlan: Code cleanup:
checkpatch.pl is relatively happy now.") In that change,
TLAN_CSTAT_READY was considered as a bit mask containing a single bit
set while it was actually had two set instead.Many thanks to Dan Carpenter for finding the mistake.
Signed-off-by: Sakari Ailus
Signed-off-by: David S. Miller -
dev->master is now tightly connected to bonding driver. This patch makes
this pointer more general and ready to be used by others.- netdev_set_master() - bond specifics moved to new function
netdev_set_bond_master()
- introduced netif_is_bond_slave() to check if device is a bonding slaveSigned-off-by: Jiri Pirko
Signed-off-by: David S. Miller -
No need to check (master) twice and to drive in and out the header file.
Signed-off-by: Jiri Pirko
Reviewed-by: Nicolas de Pesloüan
Signed-off-by: David S. Miller
12 Feb, 2011
29 commits
-
Remove unneeded depends on PHYLIB. The config selection is already in
an if PHYLIB / endif block.Signed-off-by: H Hartley Sweeten
Cc: "David S. Miller"
Signed-off-by: David S. Miller -
This allows user-space to send a '1500' MTU VLAN packet on a
1500 MTU ethernet frame. The extra 4 bytes of a VLAN header is
not usually charged against the MTU when other parts of the
network stack is transmitting vlans...Signed-off-by: Ben Greear
Reviewed-by: Eric Dumazet
Signed-off-by: David S. Miller -
WOL is not supported for Vrtual Functions.
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Avoid accessing the hardware when UE is detected.
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
> call pci msix disable in be_suspend
> call pci msix enable in be_resume
> stop worker thread in be_suspend
> start worker thread in be_resume
> stop worker thread in be_shutdownSigned-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
be_cmd_pmac_add/del functions need to pass domain number to the firmware.
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Currently we are always using the Emulex OUI for a VF MAC address
while generating MAC for a VF. Use OUI from current MAC instead.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
The PF needs to cleanup all the interface handles that it created for the VFs.
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
This is to avoid the completion processing for be_vf_eth_addr_config
to consume the link status notification before netdev_register.
Otherwise this causes the PF miss its first link status update.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
While configuring QOS for VFs, the VF number should be translated
to domain number correctly.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
For a host in the mesh network, the batman layer should be transparent.
However, we had one exception, data packets within the mesh network
which have the same destination as a originator are being routed to
that node, although there is no host that node's bat0 interface and
therefore gets dropped anyway. This commit removes this exception.Signed-off-by: Linus Lüssing
Signed-off-by: Sven Eckelmann -
types.h is included by main.h, which is included at the beginning of any
other c-file anyway. Therefore this commit removes those duplicate
inclussions.Signed-off-by: Linus Lüssing
Signed-off-by: Sven Eckelmann -
Multiple variable declarations in a single statements over multiple lines can
be split into multiple variable declarations without changing the actual
behavior.Signed-off-by: Marek Lindner
Signed-off-by: Sven Eckelmann -
The atl1 driver uses the legacy PCI power management, so it has to
do some PCI-specific things in its ->suspend() and ->resume()
callbacks, which isn't necessary and should better be done by the PCI
subsystem-level power management code.Convert atl1 to the new PCI power management framework and make it
let the PCI subsystem take care of all the PCI-specific aspects of
device handling during system power transitions.Tested-by: Thomas Fjellstrom
Signed-off-by: Rafael J. Wysocki
Signed-off-by: David S. Miller -
The atl1c driver shouldn't call device_init_wakeup() in its probe
routine with the second argument equal to 1, because for PCI devices
the wakeup capability setting is initialized as appropriate by the
PCI subsystem. Remove the potentially harmful call.Signed-off-by: Rafael J. Wysocki
Signed-off-by: David S. Miller -
The tg3 driver uses device_init_wakeup() in such a way that the
device's power.can_wakeup flag may be set even though the PCI
subsystem cleared it before, in which case the device cannot wake
up the system from sleep states. Modify the driver to only change
the power.can_wakeup flag if the device is not capable of generating
wakeup signals.Signed-off-by: Rafael J. Wysocki
Acked-by: Matt Carlson
Signed-off-by: David S. Miller -
Current driver does not show 100MB support in ethtool.
Adding support for the same.Signed-off-by: Atita Shirwaikar
Tested-by: Stephen Ko
Signed-off-by: Jeff Kirsher -
The function ixgbe_init_mbx_params_pf isn't used unless CONFIG_PCI_IOV
is defined. This is causing namespace warnings. So I wrapped its
definition in CONFIG_PCI_IOV too.Signed-off-by: Don Skidmore
Tested-by: Stephen Ko
Signed-off-by: Jeff Kirsher -
We had a support function that just walked a few pointers to get
from the ixgbe_hw struct to the netdev pointer. This was causing
a namespace warning so I removed it and just reference the pointers
directly.Signed-off-by: Don Skidmore
Tested-by: Stephen Ko
Signed-off-by: Jeff Kirsher -
We didn't need the prototype and it was causing namespace complaints so
I made it static.Signed-off-by: Don Skidmore
Tested-by: Stephen Ko
Signed-off-by: Jeff Kirsher