Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 314749
b: refs/heads/master
c: 303e56f
h: refs/heads/master
i:
  314747: 7df3724
v: v3
  • Loading branch information
Emmanuel Grumbach authored and Johannes Berg committed Jun 18, 2012
1 parent 1a757e3 commit 56ed814
Show file tree
Hide file tree
Showing 79 changed files with 2,190 additions and 3,954 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce77903c915ba05668ecffabd0e20bc2a61c2b3a
refs/heads/master: 303e56f2d2868f1bcdd3b72c3296d02a7af28962
10 changes: 5 additions & 5 deletions trunk/drivers/bluetooth/bluecard_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,12 @@ static void bluecard_write_wakeup(bluecard_info_t *info)
}

do {
unsigned int iobase = info->p_dev->resource[0]->start;
unsigned int offset;
unsigned char command;
unsigned long ready_bit;
register unsigned int iobase = info->p_dev->resource[0]->start;
register unsigned int offset;
register unsigned char command;
register unsigned long ready_bit;
register struct sk_buff *skb;
int len;
register int len;

clear_bit(XMIT_WAKEUP, &(info->tx_state));

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/bluetooth/bpa10x.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ static int bpa10x_probe(struct usb_interface *intf, const struct usb_device_id *
hdev->flush = bpa10x_flush;
hdev->send = bpa10x_send_frame;

set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks);
set_bit(HCI_QUIRK_NO_RESET, &hdev->quirks);

err = hci_register_dev(hdev);
if (err < 0) {
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/bluetooth/bt3c_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ static void bt3c_write_wakeup(bt3c_info_t *info)
return;

do {
unsigned int iobase = info->p_dev->resource[0]->start;
register unsigned int iobase = info->p_dev->resource[0]->start;
register struct sk_buff *skb;
int len;
register int len;

if (!pcmcia_dev_present(info->p_dev))
break;
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/bluetooth/btmrvl_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ static const struct sdio_device_id btmrvl_sdio_ids[] = {
/* Marvell SD8787 Bluetooth device */
{ SDIO_DEVICE(SDIO_VENDOR_ID_MARVELL, 0x911A),
.driver_data = (unsigned long) &btmrvl_sdio_sd8787 },
/* Marvell SD8787 Bluetooth AMP device */
{ SDIO_DEVICE(SDIO_VENDOR_ID_MARVELL, 0x911B),
.driver_data = (unsigned long) &btmrvl_sdio_sd8787 },
/* Marvell SD8797 Bluetooth device */
{ SDIO_DEVICE(SDIO_VENDOR_ID_MARVELL, 0x912A),
.driver_data = (unsigned long) &btmrvl_sdio_sd8797 },
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/bluetooth/btuart_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ static void btuart_write_wakeup(btuart_info_t *info)
}

do {
unsigned int iobase = info->p_dev->resource[0]->start;
register unsigned int iobase = info->p_dev->resource[0]->start;
register struct sk_buff *skb;
int len;
register int len;

clear_bit(XMIT_WAKEUP, &(info->tx_state));

Expand Down
14 changes: 11 additions & 3 deletions trunk/drivers/bluetooth/btusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@
*
*/

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <linux/errno.h>
#include <linux/skbuff.h>

#include <linux/usb.h>

#include <net/bluetooth/bluetooth.h>
Expand Down Expand Up @@ -1018,7 +1026,7 @@ static int btusb_probe(struct usb_interface *intf,
data->isoc = usb_ifnum_to_if(data->udev, 1);

if (!reset)
set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks);
set_bit(HCI_QUIRK_NO_RESET, &hdev->quirks);

if (force_scofix || id->driver_info & BTUSB_WRONG_SCO_MTU) {
if (!disable_scofix)
Expand All @@ -1030,15 +1038,15 @@ static int btusb_probe(struct usb_interface *intf,

if (id->driver_info & BTUSB_DIGIANSWER) {
data->cmdreq_type = USB_TYPE_VENDOR;
set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks);
set_bit(HCI_QUIRK_NO_RESET, &hdev->quirks);
}

if (id->driver_info & BTUSB_CSR) {
struct usb_device *udev = data->udev;

/* Old firmware would otherwise execute USB reset */
if (le16_to_cpu(udev->descriptor.bcdDevice) < 0x117)
set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks);
set_bit(HCI_QUIRK_NO_RESET, &hdev->quirks);
}

if (id->driver_info & BTUSB_SNIFFER) {
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/bluetooth/dtl1_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ static void dtl1_write_wakeup(dtl1_info_t *info)
}

do {
unsigned int iobase = info->p_dev->resource[0]->start;
register unsigned int iobase = info->p_dev->resource[0]->start;
register struct sk_buff *skb;
int len;
register int len;

clear_bit(XMIT_WAKEUP, &(info->tx_state));

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/bluetooth/hci_bcsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ static u16 bscp_get_crc(struct bcsp_struct *bcsp)
static int bcsp_recv(struct hci_uart *hu, void *data, int count)
{
struct bcsp_struct *bcsp = hu->priv;
unsigned char *ptr;
register unsigned char *ptr;

BT_DBG("hu %p count %d rx_state %d rx_count %ld",
hu, count, bcsp->rx_state, bcsp->rx_count);
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/bluetooth/hci_h4.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ static int h4_enqueue(struct hci_uart *hu, struct sk_buff *skb)

static inline int h4_check_data_len(struct h4_struct *h4, int len)
{
int room = skb_tailroom(h4->rx_skb);
register int room = skb_tailroom(h4->rx_skb);

BT_DBG("len %d room %d", len, room);

Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/bluetooth/hci_ldisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ static int hci_uart_register_dev(struct hci_uart *hu)
set_bit(HCI_QUIRK_RAW_DEVICE, &hdev->quirks);

if (!test_bit(HCI_UART_RESET_ON_INIT, &hu->hdev_flags))
set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks);
set_bit(HCI_QUIRK_NO_RESET, &hdev->quirks);

if (test_bit(HCI_UART_CREATE_AMP, &hu->hdev_flags))
hdev->dev_type = HCI_AMP;
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/bluetooth/hci_ll.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ static int ll_enqueue(struct hci_uart *hu, struct sk_buff *skb)

static inline int ll_check_data_len(struct ll_struct *ll, int len)
{
int room = skb_tailroom(ll->rx_skb);
register int room = skb_tailroom(ll->rx_skb);

BT_DBG("len %d room %d", len, room);

Expand All @@ -374,11 +374,11 @@ static inline int ll_check_data_len(struct ll_struct *ll, int len)
static int ll_recv(struct hci_uart *hu, void *data, int count)
{
struct ll_struct *ll = hu->priv;
char *ptr;
register char *ptr;
struct hci_event_hdr *eh;
struct hci_acl_hdr *ah;
struct hci_sco_hdr *sh;
int len, type, dlen;
register int len, type, dlen;

BT_DBG("hu %p count %d rx_state %ld rx_count %ld", hu, count, ll->rx_state, ll->rx_count);

Expand Down
Loading

0 comments on commit 56ed814

Please sign in to comment.