.bp_assert = BP_UNKNOW_DATA,\r
.bp_uart_en = BP_UNKNOW_DATA, //EINT9\r
.bp_usb_en = BP_UNKNOW_DATA, //W_disable\r
- .trig = IRQF_TRIGGER_FALLING,\r
+ .trig = IRQF_TRIGGER_RISING,\r
\r
.active = bp_active,\r
.init = bp_init,\r
.bp_assert = BP_UNKNOW_DATA,\r
.bp_uart_en = BP_UNKNOW_DATA, //EINT9\r
.bp_usb_en = BP_UNKNOW_DATA, //W_disable\r
- .trig = IRQF_TRIGGER_FALLING,\r
+ .trig = IRQF_TRIGGER_RISING,\r
\r
.active = bp_active,\r
.init = bp_init,\r
#include <linux/usb/serial.h>
#include <linux/kfifo.h>
#include "pl2303.h"
+#include <linux/bp-auto.h>
+
/*
* Version Information
}
#ifdef CONFIG_BP_AUTO
int bp_id = get_current_bp_id();
- if (((le16_to_cpu(dev->descriptor.idVendor) == 0x1782 ) && (le16_to_cpu(dev->descriptor.idProduct) == 0x0002) && (bp_id == 12))
- || ((le16_to_cpu(dev->descriptor.idVendor) == 0x19f5) && (le16_to_cpu(dev->descriptor.idProduct) == 0x9013) && (bp_id == 4))
- || ((le16_to_cpu(dev->descriptor.idVendor) == 0x0E8D) && (le16_to_cpu(dev->descriptor.idProduct) == 0x00A2) && (bp_id == 1))
- || ((le16_to_cpu(dev->descriptor.idVendor) == 0x21f5) && (le16_to_cpu(dev->descriptor.idProduct) == 0x2012) && (bp_id == 10))
- || ((le16_to_cpu(dev->descriptor.idVendor) == 0x1c9e) && (le16_to_cpu(dev->descriptor.idProduct) == 0x9603) && (bp_id == 11))
- || ((le16_to_cpu(dev->descriptor.idVendor) == 0x12D1) && (le16_to_cpu(dev->descriptor.idProduct) == 0x1001) && (bp_id == 2))
+ if (((le16_to_cpu(dev->descriptor.idVendor) == 0x12D1 ) && (le16_to_cpu(dev->descriptor.idProduct) == 0x1001) && (bp_id == BP_ID_MU509))
+ || ((le16_to_cpu(dev->descriptor.idVendor) == 0x19f5) && (le16_to_cpu(dev->descriptor.idProduct) == 0x9013) && (bp_id == BP_ID_MW100))
+ || ((le16_to_cpu(dev->descriptor.idVendor) == 0x0E8D) && (le16_to_cpu(dev->descriptor.idProduct) == 0x00A2) && (bp_id == BP_ID_MT6229))
+ || ((le16_to_cpu(dev->descriptor.idVendor) == 0x1782) && (le16_to_cpu(dev->descriptor.idProduct) == 0x0002) && (bp_id == BP_ID_U7501))
+ || ((le16_to_cpu(dev->descriptor.idVendor) == 0x1782) && (le16_to_cpu(dev->descriptor.idProduct) == 0x4D00) && (bp_id == BP_ID_U7501))
+ || ((le16_to_cpu(dev->descriptor.idVendor) == 0x21f5) && (le16_to_cpu(dev->descriptor.idProduct) == 0x2012) && (bp_id == BP_ID_SEW290))
+ || ((le16_to_cpu(dev->descriptor.idVendor) == 0x1c9e) && (le16_to_cpu(dev->descriptor.idProduct) == 0x9603) && (bp_id == BP_ID_U5501))
){
BP_USB =1;