You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (47 commits) [SCTP]: Fix local_addr deletions during list traversals. net: fix build with CONFIG_NET=n [TCP]: Prevent sending past receiver window with TSO (at last skb) rt2x00: Add new D-Link USB ID rt2x00: never disable multicast because it disables broadcast too libertas: fix the 'compare command with itself' properly drivers/net/Kconfig: fix whitespace for GELIC_WIRELESS entry [NETFILTER]: nf_queue: don't return error when unregistering a non-existant handler [NETFILTER]: nfnetlink_queue: fix EPERM when binding/unbinding and instance 0 exists [NETFILTER]: nfnetlink_log: fix EPERM when binding/unbinding and instance 0 exists [NETFILTER]: nf_conntrack: replace horrible hack with ksize() [NETFILTER]: nf_conntrack: add \n to "expectation table full" message [NETFILTER]: xt_time: fix failure to match on Sundays [NETFILTER]: nfnetlink_log: fix computation of netlink skb size [NETFILTER]: nfnetlink_queue: fix computation of allocated size for netlink skb. [NETFILTER]: nfnetlink: fix ifdef in nfnetlink_compat.h [NET]: include <linux/types.h> into linux/ethtool.h for __u* typedef [NET]: Make /proc/net a symlink on /proc/self/net (v3) RxRPC: fix rxrpc_recvmsg()'s returning of msg_name net/enc28j60: oops fix ...
This commit is contained in:
+4
-28
@@ -2052,43 +2052,19 @@ M: kernel@wantstofly.org
|
||||
L: netdev@vger.kernel.org
|
||||
S: Maintained
|
||||
|
||||
INTEL PRO/100 ETHERNET SUPPORT
|
||||
INTEL ETHERNET DRIVERS (e100/e1000/e1000e/igb/ixgb/ixgbe)
|
||||
P: Auke Kok
|
||||
M: auke-jan.h.kok@intel.com
|
||||
P: Jesse Brandeburg
|
||||
M: jesse.brandeburg@intel.com
|
||||
P: Jeff Kirsher
|
||||
M: jeffrey.t.kirsher@intel.com
|
||||
P: Bruce Allan
|
||||
M: bruce.w.allan@intel.com
|
||||
P: John Ronciak
|
||||
M: john.ronciak@intel.com
|
||||
L: e1000-devel@lists.sourceforge.net
|
||||
W: http://sourceforge.net/projects/e1000/
|
||||
S: Supported
|
||||
|
||||
INTEL PRO/1000 GIGABIT ETHERNET SUPPORT
|
||||
P: Auke Kok
|
||||
M: auke-jan.h.kok@intel.com
|
||||
P: Jesse Brandeburg
|
||||
M: jesse.brandeburg@intel.com
|
||||
P: Jeff Kirsher
|
||||
M: jeffrey.t.kirsher@intel.com
|
||||
P: John Ronciak
|
||||
M: john.ronciak@intel.com
|
||||
L: e1000-devel@lists.sourceforge.net
|
||||
W: http://sourceforge.net/projects/e1000/
|
||||
S: Supported
|
||||
|
||||
INTEL PRO/10GbE SUPPORT
|
||||
P: Ayyappan Veeraiyan
|
||||
M: ayyappan.veeraiyan@intel.com
|
||||
P: Auke Kok
|
||||
M: auke-jan.h.kok@intel.com
|
||||
P: Jesse Brandeburg
|
||||
M: jesse.brandeburg@intel.com
|
||||
P: John Ronciak
|
||||
M: john.ronciak@intel.com
|
||||
L: e1000-devel@lists.sourceforge.net
|
||||
W: http://sourceforge.net/projects/e1000/
|
||||
W: http://e1000.sourceforge.net/
|
||||
S: Supported
|
||||
|
||||
INTEL PRO/WIRELESS 2100 NETWORK CONNECTION SUPPORT
|
||||
|
||||
@@ -331,8 +331,8 @@ module_param(fs_keystream, int, 0);
|
||||
#define FS_DEBUG_QSIZE 0x00001000
|
||||
|
||||
|
||||
#define func_enter() fs_dprintk (FS_DEBUG_FLOW, "fs: enter %s\n", __FUNCTION__)
|
||||
#define func_exit() fs_dprintk (FS_DEBUG_FLOW, "fs: exit %s\n", __FUNCTION__)
|
||||
#define func_enter() fs_dprintk(FS_DEBUG_FLOW, "fs: enter %s\n", __func__)
|
||||
#define func_exit() fs_dprintk(FS_DEBUG_FLOW, "fs: exit %s\n", __func__)
|
||||
|
||||
|
||||
static struct fs_dev *fs_boards = NULL;
|
||||
|
||||
@@ -95,8 +95,8 @@
|
||||
#if 1
|
||||
#define ASSERT(expr) if (!(expr)) { \
|
||||
printk(FORE200E "assertion failed! %s[%d]: %s\n", \
|
||||
__FUNCTION__, __LINE__, #expr); \
|
||||
panic(FORE200E "%s", __FUNCTION__); \
|
||||
__func__, __LINE__, #expr); \
|
||||
panic(FORE200E "%s", __func__); \
|
||||
}
|
||||
#else
|
||||
#define ASSERT(expr) do {} while (0)
|
||||
|
||||
@@ -555,7 +555,7 @@ idt77252_tx_dump(struct idt77252_dev *card)
|
||||
struct vc_map *vc;
|
||||
int i;
|
||||
|
||||
printk("%s\n", __FUNCTION__);
|
||||
printk("%s\n", __func__);
|
||||
for (i = 0; i < card->tct_size; i++) {
|
||||
vc = card->vcs[i];
|
||||
if (!vc)
|
||||
@@ -1035,7 +1035,7 @@ dequeue_rx(struct idt77252_dev *card, struct rsq_entry *rsqe)
|
||||
skb = sb_pool_skb(card, le32_to_cpu(rsqe->word_2));
|
||||
if (skb == NULL) {
|
||||
printk("%s: NULL skb in %s, rsqe: %08x %08x %08x %08x\n",
|
||||
card->name, __FUNCTION__,
|
||||
card->name, __func__,
|
||||
le32_to_cpu(rsqe->word_1), le32_to_cpu(rsqe->word_2),
|
||||
le32_to_cpu(rsqe->word_3), le32_to_cpu(rsqe->word_4));
|
||||
return;
|
||||
@@ -1873,7 +1873,7 @@ add_rx_skb(struct idt77252_dev *card, int queue,
|
||||
return;
|
||||
|
||||
if (sb_pool_add(card, skb, queue)) {
|
||||
printk("%s: SB POOL full\n", __FUNCTION__);
|
||||
printk("%s: SB POOL full\n", __func__);
|
||||
goto outfree;
|
||||
}
|
||||
|
||||
@@ -1883,7 +1883,7 @@ add_rx_skb(struct idt77252_dev *card, int queue,
|
||||
IDT77252_PRV_PADDR(skb) = paddr;
|
||||
|
||||
if (push_rx_skb(card, skb, queue)) {
|
||||
printk("%s: FB QUEUE full\n", __FUNCTION__);
|
||||
printk("%s: FB QUEUE full\n", __func__);
|
||||
goto outunmap;
|
||||
}
|
||||
}
|
||||
@@ -3821,12 +3821,12 @@ static int __init idt77252_init(void)
|
||||
{
|
||||
struct sk_buff *skb;
|
||||
|
||||
printk("%s: at %p\n", __FUNCTION__, idt77252_init);
|
||||
printk("%s: at %p\n", __func__, idt77252_init);
|
||||
|
||||
if (sizeof(skb->cb) < sizeof(struct atm_skb_data) +
|
||||
sizeof(struct idt77252_skb_prv)) {
|
||||
printk(KERN_ERR "%s: skb->cb is too small (%lu < %lu)\n",
|
||||
__FUNCTION__, (unsigned long) sizeof(skb->cb),
|
||||
__func__, (unsigned long) sizeof(skb->cb),
|
||||
(unsigned long) sizeof(struct atm_skb_data) +
|
||||
sizeof(struct idt77252_skb_prv));
|
||||
return -EIO;
|
||||
|
||||
@@ -149,6 +149,9 @@ static struct usb_device_id blacklist_ids[] = {
|
||||
{ USB_DEVICE(0x0400, 0x0807), .driver_info = HCI_BROKEN_ISOC },
|
||||
{ USB_DEVICE(0x0400, 0x080a), .driver_info = HCI_BROKEN_ISOC },
|
||||
|
||||
/* CONWISE Technology based adapters with buggy SCO support */
|
||||
{ USB_DEVICE(0x0e5e, 0x6622), .driver_info = HCI_BROKEN_ISOC },
|
||||
|
||||
/* Belkin F8T012 and F8T013 devices */
|
||||
{ USB_DEVICE(0x050d, 0x0012), .driver_info = HCI_RESET | HCI_WRONG_SCO_MTU },
|
||||
{ USB_DEVICE(0x050d, 0x0013), .driver_info = HCI_RESET | HCI_WRONG_SCO_MTU },
|
||||
|
||||
@@ -981,13 +981,13 @@ isdn_readbchan_tty(int di, int channel, struct tty_struct *tty, int cisco_hack)
|
||||
}
|
||||
|
||||
|
||||
static __inline int
|
||||
static inline int
|
||||
isdn_minor2drv(int minor)
|
||||
{
|
||||
return (dev->drvmap[minor]);
|
||||
}
|
||||
|
||||
static __inline int
|
||||
static inline int
|
||||
isdn_minor2chan(int minor)
|
||||
{
|
||||
return (dev->chanmap[minor]);
|
||||
|
||||
@@ -62,7 +62,7 @@ static unsigned char V110_OffMatrix_38400[] =
|
||||
* and to 67452301 when keylen = 2. This is necessary because ordering on
|
||||
* the isdn line is the other way.
|
||||
*/
|
||||
static __inline unsigned char
|
||||
static inline unsigned char
|
||||
FlipBits(unsigned char c, int keylen)
|
||||
{
|
||||
unsigned char b = c;
|
||||
|
||||
+10
-10
@@ -2366,15 +2366,15 @@ config GELIC_NET
|
||||
module will be called ps3_gelic.
|
||||
|
||||
config GELIC_WIRELESS
|
||||
bool "PS3 Wireless support"
|
||||
depends on GELIC_NET
|
||||
select WIRELESS_EXT
|
||||
help
|
||||
This option adds the support for the wireless feature of PS3.
|
||||
If you have the wireless-less model of PS3 or have no plan to
|
||||
use wireless feature, disabling this option saves memory. As
|
||||
the driver automatically distinguishes the models, you can
|
||||
safely enable this option even if you have a wireless-less model.
|
||||
bool "PS3 Wireless support"
|
||||
depends on GELIC_NET
|
||||
select WIRELESS_EXT
|
||||
help
|
||||
This option adds the support for the wireless feature of PS3.
|
||||
If you have the wireless-less model of PS3 or have no plan to
|
||||
use wireless feature, disabling this option saves memory. As
|
||||
the driver automatically distinguishes the models, you can
|
||||
safely enable this option even if you have a wireless-less model.
|
||||
|
||||
config GIANFAR
|
||||
tristate "Gianfar Ethernet"
|
||||
@@ -2519,7 +2519,7 @@ config CHELSIO_T3
|
||||
|
||||
config EHEA
|
||||
tristate "eHEA Ethernet support"
|
||||
depends on IBMEBUS && INET
|
||||
depends on IBMEBUS && INET && SPARSEMEM
|
||||
select INET_LRO
|
||||
---help---
|
||||
This driver supports the IBM pSeries eHEA ethernet adapter.
|
||||
|
||||
@@ -369,7 +369,7 @@ MODULE_PARM_DESC(mem, "Memory base address(es)");
|
||||
MODULE_DESCRIPTION("Ansel AC3200 EISA ethernet driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
int __init init_module(void)
|
||||
static int __init ac3200_module_init(void)
|
||||
{
|
||||
struct net_device *dev;
|
||||
int this_dev, found = 0;
|
||||
@@ -404,8 +404,7 @@ static void cleanup_card(struct net_device *dev)
|
||||
iounmap(ei_status.mem);
|
||||
}
|
||||
|
||||
void __exit
|
||||
cleanup_module(void)
|
||||
static void __exit ac3200_module_exit(void)
|
||||
{
|
||||
int this_dev;
|
||||
|
||||
@@ -418,4 +417,6 @@ cleanup_module(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
module_init(ac3200_module_init);
|
||||
module_exit(ac3200_module_exit);
|
||||
#endif /* MODULE */
|
||||
|
||||
+4
-3
@@ -569,7 +569,7 @@ static irqreturn_t apne_interrupt(int irq, void *dev_id)
|
||||
#ifdef MODULE
|
||||
static struct net_device *apne_dev;
|
||||
|
||||
int __init init_module(void)
|
||||
static int __init apne_module_init(void)
|
||||
{
|
||||
apne_dev = apne_probe(-1);
|
||||
if (IS_ERR(apne_dev))
|
||||
@@ -577,7 +577,7 @@ int __init init_module(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void __exit cleanup_module(void)
|
||||
static void __exit apne_module_exit(void)
|
||||
{
|
||||
unregister_netdev(apne_dev);
|
||||
|
||||
@@ -591,7 +591,8 @@ void __exit cleanup_module(void)
|
||||
|
||||
free_netdev(apne_dev);
|
||||
}
|
||||
|
||||
module_init(apne_module_init);
|
||||
module_exit(apne_module_exit);
|
||||
#endif
|
||||
|
||||
static int init_pcmcia(void)
|
||||
|
||||
@@ -1252,7 +1252,7 @@ module_param(irq, int, 0);
|
||||
module_param(dma, int, 0);
|
||||
|
||||
|
||||
int __init init_module(void)
|
||||
static int __init ltpc_module_init(void)
|
||||
{
|
||||
if(io == 0)
|
||||
printk(KERN_NOTICE
|
||||
@@ -1263,6 +1263,7 @@ int __init init_module(void)
|
||||
return PTR_ERR(dev_ltpc);
|
||||
return 0;
|
||||
}
|
||||
module_init(ltpc_module_init);
|
||||
#endif
|
||||
|
||||
static void __exit ltpc_cleanup(void)
|
||||
|
||||
@@ -80,17 +80,19 @@ void arcnet_cap_init(void)
|
||||
|
||||
#ifdef MODULE
|
||||
|
||||
int __init init_module(void)
|
||||
static int __init capmode_module_init(void)
|
||||
{
|
||||
printk(VERSION);
|
||||
arcnet_cap_init();
|
||||
return 0;
|
||||
}
|
||||
|
||||
void cleanup_module(void)
|
||||
static void __exit capmode_module_exit(void)
|
||||
{
|
||||
arcnet_unregister_proto(&capmode_proto);
|
||||
}
|
||||
module_init(capmode_module_init);
|
||||
module_exit(capmode_module_exit);
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
#endif /* MODULE */
|
||||
|
||||
@@ -336,8 +336,6 @@ struct lance_addr {
|
||||
|
||||
/***************************** Prototypes *****************************/
|
||||
|
||||
static int addr_accessible( volatile void *regp, int wordflag, int
|
||||
writeflag );
|
||||
static unsigned long lance_probe1( struct net_device *dev, struct lance_addr
|
||||
*init_rec );
|
||||
static int lance_open( struct net_device *dev );
|
||||
@@ -406,7 +404,8 @@ struct net_device * __init atarilance_probe(int unit)
|
||||
|
||||
/* Derived from hwreg_present() in atari/config.c: */
|
||||
|
||||
static int __init addr_accessible( volatile void *regp, int wordflag, int writeflag )
|
||||
static noinline int __init addr_accessible(volatile void *regp, int wordflag,
|
||||
int writeflag)
|
||||
{
|
||||
int ret;
|
||||
long flags;
|
||||
|
||||
+3
-26
@@ -2782,16 +2782,13 @@ static void __devexit e100_remove(struct pci_dev *pdev)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
static int e100_suspend(struct pci_dev *pdev, pm_message_t state)
|
||||
{
|
||||
struct net_device *netdev = pci_get_drvdata(pdev);
|
||||
struct nic *nic = netdev_priv(netdev);
|
||||
|
||||
if (netif_running(netdev))
|
||||
napi_disable(&nic->napi);
|
||||
del_timer_sync(&nic->watchdog);
|
||||
netif_carrier_off(nic->netdev);
|
||||
e100_down(nic);
|
||||
netif_device_detach(netdev);
|
||||
|
||||
pci_save_state(pdev);
|
||||
@@ -2804,14 +2801,13 @@ static int e100_suspend(struct pci_dev *pdev, pm_message_t state)
|
||||
pci_enable_wake(pdev, PCI_D3cold, 0);
|
||||
}
|
||||
|
||||
free_irq(pdev->irq, netdev);
|
||||
|
||||
pci_disable_device(pdev);
|
||||
pci_set_power_state(pdev, PCI_D3hot);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_PM
|
||||
static int e100_resume(struct pci_dev *pdev)
|
||||
{
|
||||
struct net_device *netdev = pci_get_drvdata(pdev);
|
||||
@@ -2832,26 +2828,7 @@ static int e100_resume(struct pci_dev *pdev)
|
||||
|
||||
static void e100_shutdown(struct pci_dev *pdev)
|
||||
{
|
||||
struct net_device *netdev = pci_get_drvdata(pdev);
|
||||
struct nic *nic = netdev_priv(netdev);
|
||||
|
||||
if (netif_running(netdev))
|
||||
napi_disable(&nic->napi);
|
||||
del_timer_sync(&nic->watchdog);
|
||||
netif_carrier_off(nic->netdev);
|
||||
|
||||
if ((nic->flags & wol_magic) | e100_asf(nic)) {
|
||||
pci_enable_wake(pdev, PCI_D3hot, 1);
|
||||
pci_enable_wake(pdev, PCI_D3cold, 1);
|
||||
} else {
|
||||
pci_enable_wake(pdev, PCI_D3hot, 0);
|
||||
pci_enable_wake(pdev, PCI_D3cold, 0);
|
||||
}
|
||||
|
||||
free_irq(pdev->irq, netdev);
|
||||
|
||||
pci_disable_device(pdev);
|
||||
pci_set_power_state(pdev, PCI_D3hot);
|
||||
e100_suspend(pdev, PMSG_SUSPEND);
|
||||
}
|
||||
|
||||
/* ------------------ PCI Error Recovery infrastructure -------------- */
|
||||
|
||||
@@ -900,7 +900,7 @@ static void enc28j60_hw_rx(struct net_device *ndev)
|
||||
if (RSV_GETBIT(rxstat, RSV_LENCHECKERR))
|
||||
ndev->stats.rx_frame_errors++;
|
||||
} else {
|
||||
skb = dev_alloc_skb(len);
|
||||
skb = dev_alloc_skb(len + NET_IP_ALIGN);
|
||||
if (!skb) {
|
||||
if (netif_msg_rx_err(priv))
|
||||
dev_err(&ndev->dev,
|
||||
@@ -908,6 +908,7 @@ static void enc28j60_hw_rx(struct net_device *ndev)
|
||||
ndev->stats.rx_dropped++;
|
||||
} else {
|
||||
skb->dev = ndev;
|
||||
skb_reserve(skb, NET_IP_ALIGN);
|
||||
/* copy the packet from the receive buffer */
|
||||
enc28j60_mem_read(priv, priv->next_pk_ptr + sizeof(rsv),
|
||||
len, skb_put(skb, len));
|
||||
|
||||
@@ -2133,7 +2133,7 @@ static void ixgbe_watchdog(unsigned long data)
|
||||
(link_speed == IXGBE_LINK_SPEED_10GB_FULL ?
|
||||
"10 Gbps" :
|
||||
(link_speed == IXGBE_LINK_SPEED_1GB_FULL ?
|
||||
"1 Gpbs" : "unknown speed")),
|
||||
"1 Gbps" : "unknown speed")),
|
||||
((FLOW_RX && FLOW_TX) ? "RX/TX" :
|
||||
(FLOW_RX ? "RX" :
|
||||
(FLOW_TX ? "TX" : "None"))));
|
||||
|
||||
@@ -2104,6 +2104,7 @@ MODULE_LICENSE("GPL");
|
||||
MODULE_AUTHOR( "Rabeeh Khoury, Assaf Hoffman, Matthew Dharm, Manish Lachwani"
|
||||
" and Dale Farnsworth");
|
||||
MODULE_DESCRIPTION("Ethernet driver for Marvell MV643XX");
|
||||
MODULE_ALIAS("platform:mv643xx_eth");
|
||||
|
||||
/*
|
||||
* The second part is the low level driver of the gigE ethernet ports.
|
||||
|
||||
@@ -1268,7 +1268,7 @@ static irqreturn_t ax_interrupt(int irq, void *dev_id)
|
||||
}
|
||||
}
|
||||
|
||||
if (interrupts && ei_debug)
|
||||
if (interrupts && ei_debug > 3)
|
||||
{
|
||||
handled = 1;
|
||||
if (nr_serviced >= MAX_SERVICE)
|
||||
|
||||
@@ -67,6 +67,7 @@ config REALTEK_PHY
|
||||
|
||||
config FIXED_PHY
|
||||
bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
|
||||
depends on PHYLIB=y
|
||||
---help---
|
||||
Adds the platform "fixed" MDIO Bus to cover the boards that use
|
||||
PHYs that are not connected to the real MDIO bus.
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
|
||||
#define MII_DM9161_SCR 0x10
|
||||
#define MII_DM9161_SCR_INIT 0x0610
|
||||
#define MII_DM9161_SCR_RMII 0x0100
|
||||
|
||||
/* DM9161 Interrupt Register */
|
||||
#define MII_DM9161_INTR 0x15
|
||||
@@ -103,7 +104,7 @@ static int dm9161_config_aneg(struct phy_device *phydev)
|
||||
|
||||
static int dm9161_config_init(struct phy_device *phydev)
|
||||
{
|
||||
int err;
|
||||
int err, temp;
|
||||
|
||||
/* Isolate the PHY */
|
||||
err = phy_write(phydev, MII_BMCR, BMCR_ISOLATE);
|
||||
@@ -111,9 +112,19 @@ static int dm9161_config_init(struct phy_device *phydev)
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
||||
/* Do not bypass the scrambler/descrambler */
|
||||
err = phy_write(phydev, MII_DM9161_SCR, MII_DM9161_SCR_INIT);
|
||||
switch (phydev->interface) {
|
||||
case PHY_INTERFACE_MODE_MII:
|
||||
temp = MII_DM9161_SCR_INIT;
|
||||
break;
|
||||
case PHY_INTERFACE_MODE_RMII:
|
||||
temp = MII_DM9161_SCR_INIT | MII_DM9161_SCR_RMII;
|
||||
break;
|
||||
default:
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
/* Do not bypass the scrambler/descrambler */
|
||||
err = phy_write(phydev, MII_DM9161_SCR, temp);
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user