Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6
Conflicts: drivers/net/wireless/rtlwifi/efuse.c drivers/net/wireless/rtlwifi/rtl8192c/fw_common.c net/bluetooth/mgmt.c
This commit is contained in:
commit
b37e3b6d64
69 changed files with 716 additions and 292 deletions
|
|
@ -443,6 +443,7 @@ void atm_dev_signal_change(struct atm_dev *dev, char signal);
|
|||
|
||||
void vcc_insert_socket(struct sock *sk);
|
||||
|
||||
void atm_dev_release_vccs(struct atm_dev *dev);
|
||||
|
||||
/*
|
||||
* This is approximately the algorithm used by alloc_skb.
|
||||
|
|
|
|||
|
|
@ -88,8 +88,6 @@ struct cn_queue_dev {
|
|||
atomic_t refcnt;
|
||||
unsigned char name[CN_CBQ_NAMELEN];
|
||||
|
||||
struct workqueue_struct *cn_queue;
|
||||
|
||||
struct list_head queue_list;
|
||||
spinlock_t queue_lock;
|
||||
|
||||
|
|
@ -101,20 +99,13 @@ struct cn_callback_id {
|
|||
struct cb_id id;
|
||||
};
|
||||
|
||||
struct cn_callback_data {
|
||||
struct sk_buff *skb;
|
||||
void (*callback) (struct cn_msg *, struct netlink_skb_parms *);
|
||||
|
||||
void *free;
|
||||
};
|
||||
|
||||
struct cn_callback_entry {
|
||||
struct list_head callback_entry;
|
||||
struct work_struct work;
|
||||
atomic_t refcnt;
|
||||
struct cn_queue_dev *pdev;
|
||||
|
||||
struct cn_callback_id id;
|
||||
struct cn_callback_data data;
|
||||
void (*callback) (struct cn_msg *, struct netlink_skb_parms *);
|
||||
|
||||
u32 seq, group;
|
||||
};
|
||||
|
|
@ -138,13 +129,12 @@ int cn_queue_add_callback(struct cn_queue_dev *dev, const char *name,
|
|||
struct cb_id *id,
|
||||
void (*callback)(struct cn_msg *, struct netlink_skb_parms *));
|
||||
void cn_queue_del_callback(struct cn_queue_dev *dev, struct cb_id *id);
|
||||
void cn_queue_release_callback(struct cn_callback_entry *);
|
||||
|
||||
struct cn_queue_dev *cn_queue_alloc_dev(const char *name, struct sock *);
|
||||
void cn_queue_free_dev(struct cn_queue_dev *dev);
|
||||
|
||||
int cn_cb_equal(struct cb_id *, struct cb_id *);
|
||||
|
||||
void cn_queue_wrapper(struct work_struct *work);
|
||||
|
||||
#endif /* __KERNEL__ */
|
||||
#endif /* __CONNECTOR_H */
|
||||
|
|
|
|||
|
|
@ -2598,8 +2598,8 @@ static inline int dev_ethtool_get_settings(struct net_device *dev,
|
|||
|
||||
static inline u32 dev_ethtool_get_rx_csum(struct net_device *dev)
|
||||
{
|
||||
if (dev->hw_features & NETIF_F_RXCSUM)
|
||||
return !!(dev->features & NETIF_F_RXCSUM);
|
||||
if (dev->features & NETIF_F_RXCSUM)
|
||||
return 1;
|
||||
if (!dev->ethtool_ops || !dev->ethtool_ops->get_rx_csum)
|
||||
return 0;
|
||||
return dev->ethtool_ops->get_rx_csum(dev);
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ struct sk_buff;
|
|||
* GRO uses frags we allocate at least 16 regardless of page size.
|
||||
*/
|
||||
#if (65536/PAGE_SIZE + 2) < 16
|
||||
#define MAX_SKB_FRAGS 16
|
||||
#define MAX_SKB_FRAGS 16UL
|
||||
#else
|
||||
#define MAX_SKB_FRAGS (65536/PAGE_SIZE + 2)
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -97,11 +97,14 @@ struct driver_info {
|
|||
|
||||
#define FLAG_LINK_INTR 0x0800 /* updates link (carrier) status */
|
||||
|
||||
#define FLAG_POINTTOPOINT 0x1000 /* possibly use "usb%d" names */
|
||||
|
||||
/*
|
||||
* Indicates to usbnet, that USB driver accumulates multiple IP packets.
|
||||
* Affects statistic (counters) and short packet handling.
|
||||
*/
|
||||
#define FLAG_MULTI_PACKET 0x1000
|
||||
#define FLAG_RX_ASSEMBLE 0x2000 /* rx packets may span >1 frames */
|
||||
|
||||
/* init device ... can sleep, or cause probe() failure */
|
||||
int (*bind)(struct usbnet *, struct usb_interface *);
|
||||
|
|
@ -172,7 +175,9 @@ struct cdc_state {
|
|||
};
|
||||
|
||||
extern int usbnet_generic_cdc_bind(struct usbnet *, struct usb_interface *);
|
||||
extern int usbnet_cdc_bind(struct usbnet *, struct usb_interface *);
|
||||
extern void usbnet_cdc_unbind(struct usbnet *, struct usb_interface *);
|
||||
extern void usbnet_cdc_status(struct usbnet *, struct urb *);
|
||||
|
||||
/* CDC and RNDIS support the same host-chosen packet filters for IN transfers */
|
||||
#define DEFAULT_FILTER (USB_CDC_PACKET_TYPE_BROADCAST \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue