diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-07-13 16:23:51 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-07-13 16:23:51 -0400 |
commit | 327309e899662b482c58cf25f574513d38b5788c (patch) | |
tree | 069de438aa0e92dd9b6ba28e6b207e2cd07151a5 /drivers/bluetooth | |
parent | 0c168775709faa74c1b87f1e61046e0c51ade7f3 (diff) | |
parent | c32511e2718618f0b53479eb36e07439aa363a74 (diff) |
Merge upstream 2.6.13-rc3 into ieee80211 branch of netdev-2.6.
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r-- | drivers/bluetooth/bluecard_cs.c | 7 | ||||
-rw-r--r-- | drivers/bluetooth/bt3c_cs.c | 7 | ||||
-rw-r--r-- | drivers/bluetooth/btuart_cs.c | 7 | ||||
-rw-r--r-- | drivers/bluetooth/dtl1_cs.c | 7 | ||||
-rw-r--r-- | drivers/bluetooth/hci_vhci.c | 2 |
5 files changed, 5 insertions, 25 deletions
diff --git a/drivers/bluetooth/bluecard_cs.c b/drivers/bluetooth/bluecard_cs.c index 5ef9adb9fe73..bd2ec7e284cc 100644 --- a/drivers/bluetooth/bluecard_cs.c +++ b/drivers/bluetooth/bluecard_cs.c | |||
@@ -40,7 +40,6 @@ | |||
40 | #include <linux/skbuff.h> | 40 | #include <linux/skbuff.h> |
41 | #include <asm/io.h> | 41 | #include <asm/io.h> |
42 | 42 | ||
43 | #include <pcmcia/version.h> | ||
44 | #include <pcmcia/cs_types.h> | 43 | #include <pcmcia/cs_types.h> |
45 | #include <pcmcia/cs.h> | 44 | #include <pcmcia/cs.h> |
46 | #include <pcmcia/cistpl.h> | 45 | #include <pcmcia/cistpl.h> |
@@ -895,11 +894,6 @@ static dev_link_t *bluecard_attach(void) | |||
895 | link->next = dev_list; | 894 | link->next = dev_list; |
896 | dev_list = link; | 895 | dev_list = link; |
897 | client_reg.dev_info = &dev_info; | 896 | client_reg.dev_info = &dev_info; |
898 | client_reg.EventMask = | ||
899 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
900 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
901 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
902 | client_reg.event_handler = &bluecard_event; | ||
903 | client_reg.Version = 0x0210; | 897 | client_reg.Version = 0x0210; |
904 | client_reg.event_callback_args.client_data = link; | 898 | client_reg.event_callback_args.client_data = link; |
905 | 899 | ||
@@ -1103,6 +1097,7 @@ static struct pcmcia_driver bluecard_driver = { | |||
1103 | .name = "bluecard_cs", | 1097 | .name = "bluecard_cs", |
1104 | }, | 1098 | }, |
1105 | .attach = bluecard_attach, | 1099 | .attach = bluecard_attach, |
1100 | .event = bluecard_event, | ||
1106 | .detach = bluecard_detach, | 1101 | .detach = bluecard_detach, |
1107 | .id_table = bluecard_ids, | 1102 | .id_table = bluecard_ids, |
1108 | }; | 1103 | }; |
diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c index 9013cd759afb..adf1750ea58d 100644 --- a/drivers/bluetooth/bt3c_cs.c +++ b/drivers/bluetooth/bt3c_cs.c | |||
@@ -47,7 +47,6 @@ | |||
47 | #include <linux/device.h> | 47 | #include <linux/device.h> |
48 | #include <linux/firmware.h> | 48 | #include <linux/firmware.h> |
49 | 49 | ||
50 | #include <pcmcia/version.h> | ||
51 | #include <pcmcia/cs_types.h> | 50 | #include <pcmcia/cs_types.h> |
52 | #include <pcmcia/cs.h> | 51 | #include <pcmcia/cs.h> |
53 | #include <pcmcia/cistpl.h> | 52 | #include <pcmcia/cistpl.h> |
@@ -696,11 +695,6 @@ static dev_link_t *bt3c_attach(void) | |||
696 | link->next = dev_list; | 695 | link->next = dev_list; |
697 | dev_list = link; | 696 | dev_list = link; |
698 | client_reg.dev_info = &dev_info; | 697 | client_reg.dev_info = &dev_info; |
699 | client_reg.EventMask = | ||
700 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
701 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
702 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
703 | client_reg.event_handler = &bt3c_event; | ||
704 | client_reg.Version = 0x0210; | 698 | client_reg.Version = 0x0210; |
705 | client_reg.event_callback_args.client_data = link; | 699 | client_reg.event_callback_args.client_data = link; |
706 | 700 | ||
@@ -947,6 +941,7 @@ static struct pcmcia_driver bt3c_driver = { | |||
947 | .name = "bt3c_cs", | 941 | .name = "bt3c_cs", |
948 | }, | 942 | }, |
949 | .attach = bt3c_attach, | 943 | .attach = bt3c_attach, |
944 | .event = bt3c_event, | ||
950 | .detach = bt3c_detach, | 945 | .detach = bt3c_detach, |
951 | .id_table = bt3c_ids, | 946 | .id_table = bt3c_ids, |
952 | }; | 947 | }; |
diff --git a/drivers/bluetooth/btuart_cs.c b/drivers/bluetooth/btuart_cs.c index c479484a1f7f..e4c59fdc0e12 100644 --- a/drivers/bluetooth/btuart_cs.c +++ b/drivers/bluetooth/btuart_cs.c | |||
@@ -43,7 +43,6 @@ | |||
43 | #include <asm/system.h> | 43 | #include <asm/system.h> |
44 | #include <asm/io.h> | 44 | #include <asm/io.h> |
45 | 45 | ||
46 | #include <pcmcia/version.h> | ||
47 | #include <pcmcia/cs_types.h> | 46 | #include <pcmcia/cs_types.h> |
48 | #include <pcmcia/cs.h> | 47 | #include <pcmcia/cs.h> |
49 | #include <pcmcia/cistpl.h> | 48 | #include <pcmcia/cistpl.h> |
@@ -615,11 +614,6 @@ static dev_link_t *btuart_attach(void) | |||
615 | link->next = dev_list; | 614 | link->next = dev_list; |
616 | dev_list = link; | 615 | dev_list = link; |
617 | client_reg.dev_info = &dev_info; | 616 | client_reg.dev_info = &dev_info; |
618 | client_reg.EventMask = | ||
619 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
620 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
621 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
622 | client_reg.event_handler = &btuart_event; | ||
623 | client_reg.Version = 0x0210; | 617 | client_reg.Version = 0x0210; |
624 | client_reg.event_callback_args.client_data = link; | 618 | client_reg.event_callback_args.client_data = link; |
625 | 619 | ||
@@ -867,6 +861,7 @@ static struct pcmcia_driver btuart_driver = { | |||
867 | .name = "btuart_cs", | 861 | .name = "btuart_cs", |
868 | }, | 862 | }, |
869 | .attach = btuart_attach, | 863 | .attach = btuart_attach, |
864 | .event = btuart_event, | ||
870 | .detach = btuart_detach, | 865 | .detach = btuart_detach, |
871 | .id_table = btuart_ids, | 866 | .id_table = btuart_ids, |
872 | }; | 867 | }; |
diff --git a/drivers/bluetooth/dtl1_cs.c b/drivers/bluetooth/dtl1_cs.c index bb12f7daeb91..e39868c3da48 100644 --- a/drivers/bluetooth/dtl1_cs.c +++ b/drivers/bluetooth/dtl1_cs.c | |||
@@ -43,7 +43,6 @@ | |||
43 | #include <asm/system.h> | 43 | #include <asm/system.h> |
44 | #include <asm/io.h> | 44 | #include <asm/io.h> |
45 | 45 | ||
46 | #include <pcmcia/version.h> | ||
47 | #include <pcmcia/cs_types.h> | 46 | #include <pcmcia/cs_types.h> |
48 | #include <pcmcia/cs.h> | 47 | #include <pcmcia/cs.h> |
49 | #include <pcmcia/cistpl.h> | 48 | #include <pcmcia/cistpl.h> |
@@ -594,11 +593,6 @@ static dev_link_t *dtl1_attach(void) | |||
594 | link->next = dev_list; | 593 | link->next = dev_list; |
595 | dev_list = link; | 594 | dev_list = link; |
596 | client_reg.dev_info = &dev_info; | 595 | client_reg.dev_info = &dev_info; |
597 | client_reg.EventMask = | ||
598 | CS_EVENT_CARD_INSERTION | CS_EVENT_CARD_REMOVAL | | ||
599 | CS_EVENT_RESET_PHYSICAL | CS_EVENT_CARD_RESET | | ||
600 | CS_EVENT_PM_SUSPEND | CS_EVENT_PM_RESUME; | ||
601 | client_reg.event_handler = &dtl1_event; | ||
602 | client_reg.Version = 0x0210; | 596 | client_reg.Version = 0x0210; |
603 | client_reg.event_callback_args.client_data = link; | 597 | client_reg.event_callback_args.client_data = link; |
604 | 598 | ||
@@ -820,6 +814,7 @@ static struct pcmcia_driver dtl1_driver = { | |||
820 | .name = "dtl1_cs", | 814 | .name = "dtl1_cs", |
821 | }, | 815 | }, |
822 | .attach = dtl1_attach, | 816 | .attach = dtl1_attach, |
817 | .event = dtl1_event, | ||
823 | .detach = dtl1_detach, | 818 | .detach = dtl1_detach, |
824 | .id_table = dtl1_ids, | 819 | .id_table = dtl1_ids, |
825 | }; | 820 | }; |
diff --git a/drivers/bluetooth/hci_vhci.c b/drivers/bluetooth/hci_vhci.c index 3256192dcde8..f9b956fb2b8b 100644 --- a/drivers/bluetooth/hci_vhci.c +++ b/drivers/bluetooth/hci_vhci.c | |||
@@ -120,7 +120,7 @@ static unsigned int hci_vhci_chr_poll(struct file *file, poll_table * wait) | |||
120 | 120 | ||
121 | poll_wait(file, &hci_vhci->read_wait, wait); | 121 | poll_wait(file, &hci_vhci->read_wait, wait); |
122 | 122 | ||
123 | if (skb_queue_len(&hci_vhci->readq)) | 123 | if (!skb_queue_empty(&hci_vhci->readq)) |
124 | return POLLIN | POLLRDNORM; | 124 | return POLLIN | POLLRDNORM; |
125 | 125 | ||
126 | return POLLOUT | POLLWRNORM; | 126 | return POLLOUT | POLLWRNORM; |