Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
ec72070b
cloud-kernel
项目概览
openanolis
/
cloud-kernel
大约 1 年 前同步成功
通知
158
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ec72070b
编写于
2月 28, 2006
作者:
L
Linus Torvalds
浏览文件
操作
浏览文件
下载
差异文件
Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6
上级
436002e3
34d1a8aa
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
47 addition
and
12 deletion
+47
-12
drivers/usb/gadget/lh7a40x_udc.c
drivers/usb/gadget/lh7a40x_udc.c
+4
-2
drivers/usb/gadget/rndis.c
drivers/usb/gadget/rndis.c
+7
-4
drivers/usb/host/pci-quirks.c
drivers/usb/host/pci-quirks.c
+6
-5
drivers/usb/input/hid-core.c
drivers/usb/input/hid-core.c
+2
-0
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/ftdi_sio.c
+6
-0
drivers/usb/serial/ftdi_sio.h
drivers/usb/serial/ftdi_sio.h
+9
-1
drivers/usb/serial/visor.c
drivers/usb/serial/visor.c
+3
-0
drivers/usb/serial/visor.h
drivers/usb/serial/visor.h
+3
-0
drivers/usb/storage/unusual_devs.h
drivers/usb/storage/unusual_devs.h
+7
-0
未找到文件。
drivers/usb/gadget/lh7a40x_udc.c
浏览文件 @
ec72070b
...
@@ -1062,11 +1062,11 @@ static int lh7a40x_ep_enable(struct usb_ep *_ep,
...
@@ -1062,11 +1062,11 @@ static int lh7a40x_ep_enable(struct usb_ep *_ep,
ep
->
pio_irqs
=
0
;
ep
->
pio_irqs
=
0
;
ep
->
ep
.
maxpacket
=
le16_to_cpu
(
desc
->
wMaxPacketSize
);
ep
->
ep
.
maxpacket
=
le16_to_cpu
(
desc
->
wMaxPacketSize
);
spin_unlock_irqrestore
(
&
ep
->
dev
->
lock
,
flags
);
/* Reset halt state (does flush) */
/* Reset halt state (does flush) */
lh7a40x_set_halt
(
_ep
,
0
);
lh7a40x_set_halt
(
_ep
,
0
);
spin_unlock_irqrestore
(
&
ep
->
dev
->
lock
,
flags
);
DEBUG
(
"%s: enabled %s
\n
"
,
__FUNCTION__
,
_ep
->
name
);
DEBUG
(
"%s: enabled %s
\n
"
,
__FUNCTION__
,
_ep
->
name
);
return
0
;
return
0
;
}
}
...
@@ -1775,6 +1775,7 @@ static void lh7a40x_ep0_setup(struct lh7a40x_udc *dev, u32 csr)
...
@@ -1775,6 +1775,7 @@ static void lh7a40x_ep0_setup(struct lh7a40x_udc *dev, u32 csr)
break
;
break
;
qep
=
&
dev
->
ep
[
ep_num
];
qep
=
&
dev
->
ep
[
ep_num
];
spin_unlock
(
&
dev
->
lock
);
if
(
ctrl
.
bRequest
==
USB_REQ_SET_FEATURE
)
{
if
(
ctrl
.
bRequest
==
USB_REQ_SET_FEATURE
)
{
DEBUG_SETUP
(
"SET_FEATURE (%d)
\n
"
,
DEBUG_SETUP
(
"SET_FEATURE (%d)
\n
"
,
ep_num
);
ep_num
);
...
@@ -1784,6 +1785,7 @@ static void lh7a40x_ep0_setup(struct lh7a40x_udc *dev, u32 csr)
...
@@ -1784,6 +1785,7 @@ static void lh7a40x_ep0_setup(struct lh7a40x_udc *dev, u32 csr)
ep_num
);
ep_num
);
lh7a40x_set_halt
(
&
qep
->
ep
,
0
);
lh7a40x_set_halt
(
&
qep
->
ep
,
0
);
}
}
spin_lock
(
&
dev
->
lock
);
usb_set_index
(
0
);
usb_set_index
(
0
);
/* Reply with a ZLP on next IN token */
/* Reply with a ZLP on next IN token */
...
...
drivers/usb/gadget/rndis.c
浏览文件 @
ec72070b
...
@@ -853,11 +853,14 @@ static int rndis_query_response (int configNr, rndis_query_msg_type *buf)
...
@@ -853,11 +853,14 @@ static int rndis_query_response (int configNr, rndis_query_msg_type *buf)
// DEBUG("%s: OID = %08X\n", __FUNCTION__, cpu_to_le32(buf->OID));
// DEBUG("%s: OID = %08X\n", __FUNCTION__, cpu_to_le32(buf->OID));
if
(
!
rndis_per_dev_params
[
configNr
].
dev
)
return
-
ENOTSUPP
;
if
(
!
rndis_per_dev_params
[
configNr
].
dev
)
return
-
ENOTSUPP
;
/*
/*
* we need more memory:
* we need more memory:
* oid_supported_list is the largest answer
* gen_ndis_query_resp expects enough space for
* rndis_query_cmplt_type followed by data.
* oid_supported_list is the largest data reply
*/
*/
r
=
rndis_add_response
(
configNr
,
sizeof
(
oid_supported_list
));
r
=
rndis_add_response
(
configNr
,
sizeof
(
oid_supported_list
)
+
sizeof
(
rndis_query_cmplt_type
));
if
(
!
r
)
if
(
!
r
)
return
-
ENOMEM
;
return
-
ENOMEM
;
resp
=
(
rndis_query_cmplt_type
*
)
r
->
buf
;
resp
=
(
rndis_query_cmplt_type
*
)
r
->
buf
;
...
...
drivers/usb/host/pci-quirks.c
浏览文件 @
ec72070b
...
@@ -260,12 +260,13 @@ static void __devinit quirk_usb_disable_ehci(struct pci_dev *pdev)
...
@@ -260,12 +260,13 @@ static void __devinit quirk_usb_disable_ehci(struct pci_dev *pdev)
offset + EHCI_USBLEGCTLSTS,
offset + EHCI_USBLEGCTLSTS,
val | EHCI_USBLEGCTLSTS_SOOE);
val | EHCI_USBLEGCTLSTS_SOOE);
#endif
#endif
}
/* always say Linux will own the hardware
/* some systems get upset if this semaphore is
* by setting EHCI_USBLEGSUP_OS.
* set for any other reason than forcing a BIOS
*/
* handoff..
pci_write_config_byte
(
pdev
,
offset
+
3
,
1
);
*/
pci_write_config_byte
(
pdev
,
offset
+
3
,
1
);
}
/* if boot firmware now owns EHCI, spin till
/* if boot firmware now owns EHCI, spin till
* it hands it over.
* it hands it over.
...
...
drivers/usb/input/hid-core.c
浏览文件 @
ec72070b
...
@@ -1407,6 +1407,7 @@ void hid_init_reports(struct hid_device *hid)
...
@@ -1407,6 +1407,7 @@ void hid_init_reports(struct hid_device *hid)
#define USB_VENDOR_ID_WISEGROUP 0x0925
#define USB_VENDOR_ID_WISEGROUP 0x0925
#define USB_DEVICE_ID_1_PHIDGETSERVO_20 0x8101
#define USB_DEVICE_ID_1_PHIDGETSERVO_20 0x8101
#define USB_DEVICE_ID_4_PHIDGETSERVO_20 0x8104
#define USB_DEVICE_ID_4_PHIDGETSERVO_20 0x8104
#define USB_DEVICE_ID_DUAL_USB_JOYPAD 0x8866
#define USB_VENDOR_ID_CODEMERCS 0x07c0
#define USB_VENDOR_ID_CODEMERCS 0x07c0
#define USB_DEVICE_ID_CODEMERCS_IOW40 0x1500
#define USB_DEVICE_ID_CODEMERCS_IOW40 0x1500
...
@@ -1577,6 +1578,7 @@ static const struct hid_blacklist {
...
@@ -1577,6 +1578,7 @@ static const struct hid_blacklist {
{
USB_VENDOR_ID_CHICONY
,
USB_DEVICE_ID_CHICONY_USBHUB_KB
,
HID_QUIRK_NOGET
},
{
USB_VENDOR_ID_CHICONY
,
USB_DEVICE_ID_CHICONY_USBHUB_KB
,
HID_QUIRK_NOGET
},
{
USB_VENDOR_ID_HP
,
USB_DEVICE_ID_HP_USBHUB_KB
,
HID_QUIRK_NOGET
},
{
USB_VENDOR_ID_HP
,
USB_DEVICE_ID_HP_USBHUB_KB
,
HID_QUIRK_NOGET
},
{
USB_VENDOR_ID_TANGTOP
,
USB_DEVICE_ID_TANGTOP_USBPS2
,
HID_QUIRK_NOGET
},
{
USB_VENDOR_ID_TANGTOP
,
USB_DEVICE_ID_TANGTOP_USBPS2
,
HID_QUIRK_NOGET
},
{
USB_VENDOR_ID_WISEGROUP
,
USB_DEVICE_ID_DUAL_USB_JOYPAD
,
HID_QUIRK_NOGET
|
HID_QUIRK_MULTI_INPUT
},
{
USB_VENDOR_ID_APPLE
,
USB_DEVICE_ID_APPLE_POWERMOUSE
,
HID_QUIRK_2WHEEL_POWERMOUSE
},
{
USB_VENDOR_ID_APPLE
,
USB_DEVICE_ID_APPLE_POWERMOUSE
,
HID_QUIRK_2WHEEL_POWERMOUSE
},
{
USB_VENDOR_ID_A4TECH
,
USB_DEVICE_ID_A4TECH_WCP32PU
,
HID_QUIRK_2WHEEL_MOUSE_HACK_7
},
{
USB_VENDOR_ID_A4TECH
,
USB_DEVICE_ID_A4TECH_WCP32PU
,
HID_QUIRK_2WHEEL_MOUSE_HACK_7
},
...
...
drivers/usb/serial/ftdi_sio.c
浏览文件 @
ec72070b
...
@@ -469,8 +469,14 @@ static struct usb_device_id id_table_combined [] = {
...
@@ -469,8 +469,14 @@ static struct usb_device_id id_table_combined [] = {
{
USB_DEVICE
(
FTDI_VID
,
XSENS_CONVERTER_7_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
XSENS_CONVERTER_7_PID
)
},
{
USB_DEVICE
(
MOBILITY_VID
,
MOBILITY_USB_SERIAL_PID
)
},
{
USB_DEVICE
(
MOBILITY_VID
,
MOBILITY_USB_SERIAL_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_ACTIVE_ROBOTS_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_ACTIVE_ROBOTS_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_MHAM_KW_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_MHAM_YS_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_MHAM_Y6_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_MHAM_Y6_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_MHAM_Y8_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_MHAM_Y8_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_MHAM_IC_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_MHAM_DB9_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_MHAM_RS232_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_MHAM_Y9_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_TERATRONIK_VCP_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_TERATRONIK_VCP_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_TERATRONIK_D2XX_PID
)
},
{
USB_DEVICE
(
FTDI_VID
,
FTDI_TERATRONIK_D2XX_PID
)
},
{
USB_DEVICE
(
EVOLUTION_VID
,
EVOLUTION_ER1_PID
)
},
{
USB_DEVICE
(
EVOLUTION_VID
,
EVOLUTION_ER1_PID
)
},
...
...
drivers/usb/serial/ftdi_sio.h
浏览文件 @
ec72070b
...
@@ -333,10 +333,18 @@
...
@@ -333,10 +333,18 @@
/*
/*
* microHAM product IDs (http://www.microham.com).
* microHAM product IDs (http://www.microham.com).
* Submitted by Justin Burket (KL1RL) <zorton@jtan.com>.
* Submitted by Justin Burket (KL1RL) <zorton@jtan.com>
* and Mike Studer (K6EEP) <k6eep@hamsoftware.org>.
* Ian Abbott <abbotti@mev.co.uk> added a few more from the driver INF file.
*/
*/
#define FTDI_MHAM_KW_PID 0xEEE8
/* USB-KW interface */
#define FTDI_MHAM_YS_PID 0xEEE9
/* USB-YS interface */
#define FTDI_MHAM_Y6_PID 0xEEEA
/* USB-Y6 interface */
#define FTDI_MHAM_Y6_PID 0xEEEA
/* USB-Y6 interface */
#define FTDI_MHAM_Y8_PID 0xEEEB
/* USB-Y8 interface */
#define FTDI_MHAM_Y8_PID 0xEEEB
/* USB-Y8 interface */
#define FTDI_MHAM_IC_PID 0xEEEC
/* USB-IC interface */
#define FTDI_MHAM_DB9_PID 0xEEED
/* USB-DB9 interface */
#define FTDI_MHAM_RS232_PID 0xEEEE
/* USB-RS232 interface */
#define FTDI_MHAM_Y9_PID 0xEEEF
/* USB-Y9 interface */
/*
/*
* Active Robots product ids.
* Active Robots product ids.
...
...
drivers/usb/serial/visor.c
浏览文件 @
ec72070b
...
@@ -69,6 +69,8 @@ static struct usb_device_id id_table [] = {
...
@@ -69,6 +69,8 @@ static struct usb_device_id id_table [] = {
.
driver_info
=
(
kernel_ulong_t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
HANDSPRING_VENDOR_ID
,
HANDSPRING_TREO600_ID
),
{
USB_DEVICE
(
HANDSPRING_VENDOR_ID
,
HANDSPRING_TREO600_ID
),
.
driver_info
=
(
kernel_ulong_t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
GSPDA_VENDOR_ID
,
GSPDA_XPLORE_M68_ID
),
.
driver_info
=
(
kernel_ulong_t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M500_ID
),
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M500_ID
),
.
driver_info
=
(
kernel_ulong_t
)
&
palm_os_4_probe
},
.
driver_info
=
(
kernel_ulong_t
)
&
palm_os_4_probe
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M505_ID
),
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M505_ID
),
...
@@ -139,6 +141,7 @@ static struct usb_device_id id_table_combined [] = {
...
@@ -139,6 +141,7 @@ static struct usb_device_id id_table_combined [] = {
{
USB_DEVICE
(
HANDSPRING_VENDOR_ID
,
HANDSPRING_VISOR_ID
)
},
{
USB_DEVICE
(
HANDSPRING_VENDOR_ID
,
HANDSPRING_VISOR_ID
)
},
{
USB_DEVICE
(
HANDSPRING_VENDOR_ID
,
HANDSPRING_TREO_ID
)
},
{
USB_DEVICE
(
HANDSPRING_VENDOR_ID
,
HANDSPRING_TREO_ID
)
},
{
USB_DEVICE
(
HANDSPRING_VENDOR_ID
,
HANDSPRING_TREO600_ID
)
},
{
USB_DEVICE
(
HANDSPRING_VENDOR_ID
,
HANDSPRING_TREO600_ID
)
},
{
USB_DEVICE
(
GSPDA_VENDOR_ID
,
GSPDA_XPLORE_M68_ID
)
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M500_ID
)
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M500_ID
)
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M505_ID
)
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M505_ID
)
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M515_ID
)
},
{
USB_DEVICE
(
PALM_VENDOR_ID
,
PALM_M515_ID
)
},
...
...
drivers/usb/serial/visor.h
浏览文件 @
ec72070b
...
@@ -36,6 +36,9 @@
...
@@ -36,6 +36,9 @@
#define PALM_ZIRE_ID 0x0070
#define PALM_ZIRE_ID 0x0070
#define PALM_M100_ID 0x0080
#define PALM_M100_ID 0x0080
#define GSPDA_VENDOR_ID 0x115e
#define GSPDA_XPLORE_M68_ID 0xf100
#define SONY_VENDOR_ID 0x054C
#define SONY_VENDOR_ID 0x054C
#define SONY_CLIE_3_5_ID 0x0038
#define SONY_CLIE_3_5_ID 0x0038
#define SONY_CLIE_4_0_ID 0x0066
#define SONY_CLIE_4_0_ID 0x0066
...
...
drivers/usb/storage/unusual_devs.h
浏览文件 @
ec72070b
...
@@ -753,6 +753,13 @@ UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
...
@@ -753,6 +753,13 @@ UNUSUAL_DEV( 0x0693, 0x0005, 0x0100, 0x0100,
"Flashgate"
,
"Flashgate"
,
US_SC_SCSI
,
US_PR_BULK
,
NULL
,
0
),
US_SC_SCSI
,
US_PR_BULK
,
NULL
,
0
),
/* Reported by David Hamilton <niftimusmaximus@lycos.com> */
UNUSUAL_DEV
(
0x069b
,
0x3004
,
0x0001
,
0x0001
,
"Thomson Multimedia Inc."
,
"RCA RD1080 MP3 Player"
,
US_SC_DEVICE
,
US_PR_DEVICE
,
NULL
,
US_FL_FIX_CAPACITY
),
UNUSUAL_DEV
(
0x0781
,
0x0001
,
0x0200
,
0x0200
,
UNUSUAL_DEV
(
0x0781
,
0x0001
,
0x0200
,
0x0200
,
"Sandisk"
,
"Sandisk"
,
"ImageMate SDDR-05a"
,
"ImageMate SDDR-05a"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录