Skip to content

Commit c1fb79e

Browse files
committed
Merge tag 'usb-3.17-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
Pull USB fixes / quirks from Greg KH: "Here are some USB and PHY fixes and quirks for 3.17-rc6. Nothing major, just a few things that have been reported" * tag 'usb-3.17-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: USB: storage: Add quirks for Entrega/Xircom USB to SCSI converters USB: storage: Add quirk for Ariston Technologies iConnect USB to SCSI adapter USB: storage: Add quirk for Adaptec USBConnect 2000 USB-to-SCSI Adapter USB: EHCI: unlink QHs even after the controller has stopped phy: spear1340-miphy: fix driver dependencies phy: spear1310-miphy: fix driver dependencies phy: miphy365x: Fix off-by-one error
2 parents 0d95143 + c80b449 commit c1fb79e

File tree

4 files changed

+35
-2
lines changed

4 files changed

+35
-2
lines changed

drivers/phy/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,14 @@ config PHY_QCOM_IPQ806X_SATA
214214
config PHY_ST_SPEAR1310_MIPHY
215215
tristate "ST SPEAR1310-MIPHY driver"
216216
select GENERIC_PHY
217+
depends on MACH_SPEAR1310 || COMPILE_TEST
217218
help
218219
Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
219220

220221
config PHY_ST_SPEAR1340_MIPHY
221222
tristate "ST SPEAR1340-MIPHY driver"
222223
select GENERIC_PHY
224+
depends on MACH_SPEAR1340 || COMPILE_TEST
223225
help
224226
Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
225227

drivers/phy/phy-miphy365x.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ enum miphy_sata_gen {
163163
};
164164

165165
static u8 rx_tx_spd[] = {
166+
0, /* GEN0 doesn't exist. */
166167
TX_SPDSEL_GEN1_VAL | RX_SPDSEL_GEN1_VAL,
167168
TX_SPDSEL_GEN2_VAL | RX_SPDSEL_GEN2_VAL,
168169
TX_SPDSEL_GEN3_VAL | RX_SPDSEL_GEN3_VAL

drivers/usb/host/ehci-hcd.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -965,8 +965,6 @@ ehci_endpoint_disable (struct usb_hcd *hcd, struct usb_host_endpoint *ep)
965965
}
966966

967967
qh->exception = 1;
968-
if (ehci->rh_state < EHCI_RH_RUNNING)
969-
qh->qh_state = QH_STATE_IDLE;
970968
switch (qh->qh_state) {
971969
case QH_STATE_LINKED:
972970
WARN_ON(!list_empty(&qh->qtd_list));

drivers/usb/storage/unusual_devs.h

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ UNUSUAL_DEV( 0x03f0, 0x4002, 0x0001, 0x0001,
101101
"PhotoSmart R707",
102102
USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_FIX_CAPACITY),
103103

104+
UNUSUAL_DEV( 0x03f3, 0x0001, 0x0000, 0x9999,
105+
"Adaptec",
106+
"USBConnect 2000",
107+
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
108+
US_FL_SCM_MULT_TARG ),
109+
104110
/* Reported by Sebastian Kapfer <[email protected]>
105111
* and Olaf Hering <[email protected]> (different bcd's, same vendor/product)
106112
* for USB floppies that need the SINGLE_LUN enforcement.
@@ -1125,6 +1131,18 @@ UNUSUAL_DEV( 0x0851, 0x1543, 0x0200, 0x0200,
11251131
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
11261132
US_FL_NOT_LOCKABLE),
11271133

1134+
UNUSUAL_DEV( 0x085a, 0x0026, 0x0100, 0x0133,
1135+
"Xircom",
1136+
"PortGear USB-SCSI (Mac USB Dock)",
1137+
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1138+
US_FL_SCM_MULT_TARG ),
1139+
1140+
UNUSUAL_DEV( 0x085a, 0x0028, 0x0100, 0x0133,
1141+
"Xircom",
1142+
"PortGear USB to SCSI Converter",
1143+
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1144+
US_FL_SCM_MULT_TARG ),
1145+
11281146
/* Submitted by Jan De Luyck <[email protected]> */
11291147
UNUSUAL_DEV( 0x08bd, 0x1100, 0x0000, 0x0000,
11301148
"CITIZEN",
@@ -1964,6 +1982,14 @@ UNUSUAL_DEV( 0x152d, 0x2329, 0x0100, 0x0100,
19641982
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
19651983
US_FL_IGNORE_RESIDUE | US_FL_SANE_SENSE ),
19661984

1985+
/* Entrega Technologies U1-SC25 (later Xircom PortGear PGSCSI)
1986+
* and Mac USB Dock USB-SCSI */
1987+
UNUSUAL_DEV( 0x1645, 0x0007, 0x0100, 0x0133,
1988+
"Entrega Technologies",
1989+
"USB to SCSI Converter",
1990+
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
1991+
US_FL_SCM_MULT_TARG ),
1992+
19671993
/* Reported by Robert Schedel <[email protected]>
19681994
* Note: this is a 'super top' device like the above 14cd/6600 device */
19691995
UNUSUAL_DEV( 0x1652, 0x6600, 0x0201, 0x0201,
@@ -1986,6 +2012,12 @@ UNUSUAL_DEV( 0x177f, 0x0400, 0x0000, 0x0000,
19862012
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
19872013
US_FL_BULK_IGNORE_TAG | US_FL_MAX_SECTORS_64 ),
19882014

2015+
UNUSUAL_DEV( 0x1822, 0x0001, 0x0000, 0x9999,
2016+
"Ariston Technologies",
2017+
"iConnect USB to SCSI adapter",
2018+
USB_SC_DEVICE, USB_PR_DEVICE, usb_stor_euscsi_init,
2019+
US_FL_SCM_MULT_TARG ),
2020+
19892021
/* Reported by Hans de Goede <[email protected]>
19902022
* These Appotech controllers are found in Picture Frames, they provide a
19912023
* (buggy) emulation of a cdrom drive which contains the windows software

0 commit comments

Comments
 (0)