Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/usb/qmi_wwan.c include/net/dst.h Trivial merge conflicts, both were overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -36,8 +36,8 @@
|
||||
#define AX_RXHDR_L4_TYPE_TCP 16
|
||||
#define AX_RXHDR_L3CSUM_ERR 2
|
||||
#define AX_RXHDR_L4CSUM_ERR 1
|
||||
#define AX_RXHDR_CRC_ERR ((u32)BIT(31))
|
||||
#define AX_RXHDR_DROP_ERR ((u32)BIT(30))
|
||||
#define AX_RXHDR_CRC_ERR ((u32)BIT(29))
|
||||
#define AX_RXHDR_DROP_ERR ((u32)BIT(31))
|
||||
#define AX_ACCESS_MAC 0x01
|
||||
#define AX_ACCESS_PHY 0x02
|
||||
#define AX_ACCESS_EEPROM 0x04
|
||||
@@ -1406,6 +1406,19 @@ static const struct driver_info sitecom_info = {
|
||||
.tx_fixup = ax88179_tx_fixup,
|
||||
};
|
||||
|
||||
static const struct driver_info samsung_info = {
|
||||
.description = "Samsung USB Ethernet Adapter",
|
||||
.bind = ax88179_bind,
|
||||
.unbind = ax88179_unbind,
|
||||
.status = ax88179_status,
|
||||
.link_reset = ax88179_link_reset,
|
||||
.reset = ax88179_reset,
|
||||
.stop = ax88179_stop,
|
||||
.flags = FLAG_ETHER | FLAG_FRAMING_AX,
|
||||
.rx_fixup = ax88179_rx_fixup,
|
||||
.tx_fixup = ax88179_tx_fixup,
|
||||
};
|
||||
|
||||
static const struct usb_device_id products[] = {
|
||||
{
|
||||
/* ASIX AX88179 10/100/1000 */
|
||||
@@ -1418,7 +1431,11 @@ static const struct usb_device_id products[] = {
|
||||
}, {
|
||||
/* Sitecom USB 3.0 to Gigabit Adapter */
|
||||
USB_DEVICE(0x0df6, 0x0072),
|
||||
.driver_info = (unsigned long) &sitecom_info,
|
||||
.driver_info = (unsigned long)&sitecom_info,
|
||||
}, {
|
||||
/* Samsung USB Ethernet Adapter */
|
||||
USB_DEVICE(0x04e8, 0xa100),
|
||||
.driver_info = (unsigned long)&samsung_info,
|
||||
},
|
||||
{ },
|
||||
};
|
||||
|
@@ -730,6 +730,7 @@ static const struct usb_device_id products[] = {
|
||||
{QMI_FIXED_INTF(0x2357, 0x9000, 4)}, /* TP-LINK MA260 */
|
||||
{QMI_FIXED_INTF(0x1bc7, 0x1200, 5)}, /* Telit LE920 */
|
||||
{QMI_FIXED_INTF(0x1bc7, 0x1201, 2)}, /* Telit LE920 */
|
||||
{QMI_FIXED_INTF(0x0b3c, 0xc005, 6)}, /* Olivetti Olicard 200 */
|
||||
{QMI_FIXED_INTF(0x1e2d, 0x0060, 4)}, /* Cinterion PLxx */
|
||||
|
||||
/* 4. Gobi 1000 devices */
|
||||
|
@@ -1688,8 +1688,10 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod)
|
||||
if (dev->can_dma_sg && !(info->flags & FLAG_SEND_ZLP) &&
|
||||
!(info->flags & FLAG_MULTI_PACKET)) {
|
||||
dev->padding_pkt = kzalloc(1, GFP_KERNEL);
|
||||
if (!dev->padding_pkt)
|
||||
if (!dev->padding_pkt) {
|
||||
status = -ENOMEM;
|
||||
goto out4;
|
||||
}
|
||||
}
|
||||
|
||||
status = register_netdev (net);
|
||||
|
Reference in New Issue
Block a user