mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/s2io.c
This commit is contained in:
commit
e1ec1b8ccd
55 changed files with 286 additions and 687 deletions
|
|
@ -1105,12 +1105,14 @@ static inline int netif_is_multiqueue(const struct net_device *dev)
|
|||
}
|
||||
|
||||
/* Use this variant when it is known for sure that it
|
||||
* is executing from interrupt context.
|
||||
* is executing from hardware interrupt context or with hardware interrupts
|
||||
* disabled.
|
||||
*/
|
||||
extern void dev_kfree_skb_irq(struct sk_buff *skb);
|
||||
|
||||
/* Use this variant in places where it could be invoked
|
||||
* either from interrupt or non-interrupt context.
|
||||
* from either hardware interrupt or other context, with hardware interrupts
|
||||
* either disabled or enabled.
|
||||
*/
|
||||
extern void dev_kfree_skb_any(struct sk_buff *skb);
|
||||
|
||||
|
|
|
|||
|
|
@ -65,7 +65,6 @@ struct llc_sap {
|
|||
|
||||
extern struct list_head llc_sap_list;
|
||||
extern rwlock_t llc_sap_list_lock;
|
||||
extern unsigned char llc_station_mac_sa[ETH_ALEN];
|
||||
|
||||
extern int llc_rcv(struct sk_buff *skb, struct net_device *dev,
|
||||
struct packet_type *pt, struct net_device *orig_dev);
|
||||
|
|
|
|||
|
|
@ -381,7 +381,7 @@ static inline void llc_pdu_init_as_xid_cmd(struct sk_buff *skb,
|
|||
xid_info->fmt_id = LLC_XID_FMT_ID; /* 0x81 */
|
||||
xid_info->type = svcs_supported;
|
||||
xid_info->rw = rx_window << 1; /* size of receive window */
|
||||
skb_put(skb, 3);
|
||||
skb_put(skb, sizeof(struct llc_xid_info));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -406,7 +406,7 @@ static inline void llc_pdu_init_as_xid_rsp(struct sk_buff *skb,
|
|||
xid_info->fmt_id = LLC_XID_FMT_ID;
|
||||
xid_info->type = svcs_supported;
|
||||
xid_info->rw = rx_window << 1;
|
||||
skb_put(skb, 3);
|
||||
skb_put(skb, sizeof(struct llc_xid_info));
|
||||
}
|
||||
|
||||
/* LLC Type 2 FRMR response information field format */
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
#ifndef LLC_SAP_H
|
||||
#define LLC_SAP_H
|
||||
|
||||
#include <asm/types.h>
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 by Procom Technology,Inc.
|
||||
* 2001-2003 by Arnaldo Carvalho de Melo <acme@conectiva.com.br>
|
||||
|
|
@ -19,8 +22,8 @@ struct sock;
|
|||
extern void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb);
|
||||
extern void llc_save_primitive(struct sock *sk, struct sk_buff* skb,
|
||||
unsigned char prim);
|
||||
extern struct sk_buff *llc_alloc_frame(struct sock *sk,
|
||||
struct net_device *dev);
|
||||
extern struct sk_buff *llc_alloc_frame(struct sock *sk, struct net_device *dev,
|
||||
u8 type, u32 data_size);
|
||||
|
||||
extern void llc_build_and_send_test_pkt(struct llc_sap *sap,
|
||||
struct sk_buff *skb,
|
||||
|
|
|
|||
Loading…
Reference in a new issue