diff options
Diffstat (limited to 'drivers/bluetooth')
-rw-r--r-- | drivers/bluetooth/bluecard_cs.c | 4 | ||||
-rw-r--r-- | drivers/bluetooth/bt3c_cs.c | 6 | ||||
-rw-r--r-- | drivers/bluetooth/btuart_cs.c | 6 | ||||
-rw-r--r-- | drivers/bluetooth/dtl1_cs.c | 4 |
4 files changed, 2 insertions, 18 deletions
diff --git a/drivers/bluetooth/bluecard_cs.c b/drivers/bluetooth/bluecard_cs.c index bb833b251b68..8e23f9ad3e63 100644 --- a/drivers/bluetooth/bluecard_cs.c +++ b/drivers/bluetooth/bluecard_cs.c | |||
@@ -878,7 +878,6 @@ static int bluecard_attach(struct pcmcia_device *p_dev) | |||
878 | link->irq.Instance = info; | 878 | link->irq.Instance = info; |
879 | 879 | ||
880 | link->conf.Attributes = CONF_ENABLE_IRQ; | 880 | link->conf.Attributes = CONF_ENABLE_IRQ; |
881 | link->conf.Vcc = 50; | ||
882 | link->conf.IntType = INT_MEMORY_AND_IO; | 881 | link->conf.IntType = INT_MEMORY_AND_IO; |
883 | 882 | ||
884 | link->handle = p_dev; | 883 | link->handle = p_dev; |
@@ -925,7 +924,6 @@ static void bluecard_config(dev_link_t *link) | |||
925 | tuple_t tuple; | 924 | tuple_t tuple; |
926 | u_short buf[256]; | 925 | u_short buf[256]; |
927 | cisparse_t parse; | 926 | cisparse_t parse; |
928 | config_info_t config; | ||
929 | int i, n, last_ret, last_fn; | 927 | int i, n, last_ret, last_fn; |
930 | 928 | ||
931 | tuple.TupleData = (cisdata_t *)buf; | 929 | tuple.TupleData = (cisdata_t *)buf; |
@@ -945,8 +943,6 @@ static void bluecard_config(dev_link_t *link) | |||
945 | 943 | ||
946 | /* Configure card */ | 944 | /* Configure card */ |
947 | link->state |= DEV_CONFIG; | 945 | link->state |= DEV_CONFIG; |
948 | i = pcmcia_get_configuration_info(handle, &config); | ||
949 | link->conf.Vcc = config.Vcc; | ||
950 | 946 | ||
951 | link->conf.ConfigIndex = 0x20; | 947 | link->conf.ConfigIndex = 0x20; |
952 | link->io.NumPorts1 = 64; | 948 | link->io.NumPorts1 = 64; |
diff --git a/drivers/bluetooth/bt3c_cs.c b/drivers/bluetooth/bt3c_cs.c index 7b0f4f0beada..0b848050b0cc 100644 --- a/drivers/bluetooth/bt3c_cs.c +++ b/drivers/bluetooth/bt3c_cs.c | |||
@@ -670,7 +670,6 @@ static int bt3c_attach(struct pcmcia_device *p_dev) | |||
670 | link->irq.Instance = info; | 670 | link->irq.Instance = info; |
671 | 671 | ||
672 | link->conf.Attributes = CONF_ENABLE_IRQ; | 672 | link->conf.Attributes = CONF_ENABLE_IRQ; |
673 | link->conf.Vcc = 50; | ||
674 | link->conf.IntType = INT_MEMORY_AND_IO; | 673 | link->conf.IntType = INT_MEMORY_AND_IO; |
675 | 674 | ||
676 | link->handle = p_dev; | 675 | link->handle = p_dev; |
@@ -728,7 +727,6 @@ static void bt3c_config(dev_link_t *link) | |||
728 | u_short buf[256]; | 727 | u_short buf[256]; |
729 | cisparse_t parse; | 728 | cisparse_t parse; |
730 | cistpl_cftable_entry_t *cf = &parse.cftable_entry; | 729 | cistpl_cftable_entry_t *cf = &parse.cftable_entry; |
731 | config_info_t config; | ||
732 | int i, j, try, last_ret, last_fn; | 730 | int i, j, try, last_ret, last_fn; |
733 | 731 | ||
734 | tuple.TupleData = (cisdata_t *)buf; | 732 | tuple.TupleData = (cisdata_t *)buf; |
@@ -748,8 +746,6 @@ static void bt3c_config(dev_link_t *link) | |||
748 | 746 | ||
749 | /* Configure card */ | 747 | /* Configure card */ |
750 | link->state |= DEV_CONFIG; | 748 | link->state |= DEV_CONFIG; |
751 | i = pcmcia_get_configuration_info(handle, &config); | ||
752 | link->conf.Vcc = config.Vcc; | ||
753 | 749 | ||
754 | /* First pass: look for a config entry that looks normal. */ | 750 | /* First pass: look for a config entry that looks normal. */ |
755 | tuple.TupleData = (cisdata_t *)buf; | 751 | tuple.TupleData = (cisdata_t *)buf; |
@@ -764,7 +760,7 @@ static void bt3c_config(dev_link_t *link) | |||
764 | if (i != CS_SUCCESS) | 760 | if (i != CS_SUCCESS) |
765 | goto next_entry; | 761 | goto next_entry; |
766 | if (cf->vpp1.present & (1 << CISTPL_POWER_VNOM)) | 762 | if (cf->vpp1.present & (1 << CISTPL_POWER_VNOM)) |
767 | link->conf.Vpp1 = link->conf.Vpp2 = cf->vpp1.param[CISTPL_POWER_VNOM] / 10000; | 763 | link->conf.Vpp = cf->vpp1.param[CISTPL_POWER_VNOM] / 10000; |
768 | if ((cf->io.nwin > 0) && (cf->io.win[0].len == 8) && (cf->io.win[0].base != 0)) { | 764 | if ((cf->io.nwin > 0) && (cf->io.win[0].len == 8) && (cf->io.win[0].base != 0)) { |
769 | link->conf.ConfigIndex = cf->index; | 765 | link->conf.ConfigIndex = cf->index; |
770 | link->io.BasePort1 = cf->io.win[0].base; | 766 | link->io.BasePort1 = cf->io.win[0].base; |
diff --git a/drivers/bluetooth/btuart_cs.c b/drivers/bluetooth/btuart_cs.c index 9a507bdb8bc6..ec19a577b429 100644 --- a/drivers/bluetooth/btuart_cs.c +++ b/drivers/bluetooth/btuart_cs.c | |||
@@ -598,7 +598,6 @@ static int btuart_attach(struct pcmcia_device *p_dev) | |||
598 | link->irq.Instance = info; | 598 | link->irq.Instance = info; |
599 | 599 | ||
600 | link->conf.Attributes = CONF_ENABLE_IRQ; | 600 | link->conf.Attributes = CONF_ENABLE_IRQ; |
601 | link->conf.Vcc = 50; | ||
602 | link->conf.IntType = INT_MEMORY_AND_IO; | 601 | link->conf.IntType = INT_MEMORY_AND_IO; |
603 | 602 | ||
604 | link->handle = p_dev; | 603 | link->handle = p_dev; |
@@ -656,7 +655,6 @@ static void btuart_config(dev_link_t *link) | |||
656 | u_short buf[256]; | 655 | u_short buf[256]; |
657 | cisparse_t parse; | 656 | cisparse_t parse; |
658 | cistpl_cftable_entry_t *cf = &parse.cftable_entry; | 657 | cistpl_cftable_entry_t *cf = &parse.cftable_entry; |
659 | config_info_t config; | ||
660 | int i, j, try, last_ret, last_fn; | 658 | int i, j, try, last_ret, last_fn; |
661 | 659 | ||
662 | tuple.TupleData = (cisdata_t *)buf; | 660 | tuple.TupleData = (cisdata_t *)buf; |
@@ -676,8 +674,6 @@ static void btuart_config(dev_link_t *link) | |||
676 | 674 | ||
677 | /* Configure card */ | 675 | /* Configure card */ |
678 | link->state |= DEV_CONFIG; | 676 | link->state |= DEV_CONFIG; |
679 | i = pcmcia_get_configuration_info(handle, &config); | ||
680 | link->conf.Vcc = config.Vcc; | ||
681 | 677 | ||
682 | /* First pass: look for a config entry that looks normal. */ | 678 | /* First pass: look for a config entry that looks normal. */ |
683 | tuple.TupleData = (cisdata_t *) buf; | 679 | tuple.TupleData = (cisdata_t *) buf; |
@@ -692,7 +688,7 @@ static void btuart_config(dev_link_t *link) | |||
692 | if (i != CS_SUCCESS) | 688 | if (i != CS_SUCCESS) |
693 | goto next_entry; | 689 | goto next_entry; |
694 | if (cf->vpp1.present & (1 << CISTPL_POWER_VNOM)) | 690 | if (cf->vpp1.present & (1 << CISTPL_POWER_VNOM)) |
695 | link->conf.Vpp1 = link->conf.Vpp2 = cf->vpp1.param[CISTPL_POWER_VNOM] / 10000; | 691 | link->conf.Vpp = cf->vpp1.param[CISTPL_POWER_VNOM] / 10000; |
696 | if ((cf->io.nwin > 0) && (cf->io.win[0].len == 8) && (cf->io.win[0].base != 0)) { | 692 | if ((cf->io.nwin > 0) && (cf->io.win[0].len == 8) && (cf->io.win[0].base != 0)) { |
697 | link->conf.ConfigIndex = cf->index; | 693 | link->conf.ConfigIndex = cf->index; |
698 | link->io.BasePort1 = cf->io.win[0].base; | 694 | link->io.BasePort1 = cf->io.win[0].base; |
diff --git a/drivers/bluetooth/dtl1_cs.c b/drivers/bluetooth/dtl1_cs.c index 39dbe7300d0f..86617ee80e59 100644 --- a/drivers/bluetooth/dtl1_cs.c +++ b/drivers/bluetooth/dtl1_cs.c | |||
@@ -577,7 +577,6 @@ static int dtl1_attach(struct pcmcia_device *p_dev) | |||
577 | link->irq.Instance = info; | 577 | link->irq.Instance = info; |
578 | 578 | ||
579 | link->conf.Attributes = CONF_ENABLE_IRQ; | 579 | link->conf.Attributes = CONF_ENABLE_IRQ; |
580 | link->conf.Vcc = 50; | ||
581 | link->conf.IntType = INT_MEMORY_AND_IO; | 580 | link->conf.IntType = INT_MEMORY_AND_IO; |
582 | 581 | ||
583 | link->handle = p_dev; | 582 | link->handle = p_dev; |
@@ -634,7 +633,6 @@ static void dtl1_config(dev_link_t *link) | |||
634 | u_short buf[256]; | 633 | u_short buf[256]; |
635 | cisparse_t parse; | 634 | cisparse_t parse; |
636 | cistpl_cftable_entry_t *cf = &parse.cftable_entry; | 635 | cistpl_cftable_entry_t *cf = &parse.cftable_entry; |
637 | config_info_t config; | ||
638 | int i, last_ret, last_fn; | 636 | int i, last_ret, last_fn; |
639 | 637 | ||
640 | tuple.TupleData = (cisdata_t *)buf; | 638 | tuple.TupleData = (cisdata_t *)buf; |
@@ -654,8 +652,6 @@ static void dtl1_config(dev_link_t *link) | |||
654 | 652 | ||
655 | /* Configure card */ | 653 | /* Configure card */ |
656 | link->state |= DEV_CONFIG; | 654 | link->state |= DEV_CONFIG; |
657 | i = pcmcia_get_configuration_info(handle, &config); | ||
658 | link->conf.Vcc = config.Vcc; | ||
659 | 655 | ||
660 | tuple.TupleData = (cisdata_t *)buf; | 656 | tuple.TupleData = (cisdata_t *)buf; |
661 | tuple.TupleOffset = 0; | 657 | tuple.TupleOffset = 0; |