Hi,
this purges wait_ms() from ehci.
Regards
Oliver
You can import this changeset into BK by piping this whole message to:
'| bk receive [path to repository]' or apply the patch as usual.
===================================================================
[EMAIL PROTECTED], 2004-05-18 00:24:20+02:00, [EMAIL PROTECTED]
- safe waiting helper
ehci-hcd.c | 2 +-
ehci-hub.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff -Nru a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
--- a/drivers/usb/host/ehci-hcd.c Tue May 18 00:25:02 2004
+++ b/drivers/usb/host/ehci-hcd.c Tue May 18 00:25:02 2004
@@ -297,7 +297,7 @@
/* and wait a while for it to happen */
do {
- wait_ms (10);
+ usb_uninterruptible_sleep_ms (10);
msec -= 10;
pci_read_config_dword (to_pci_dev(ehci->hcd.self.controller),
where, &cap);
} while ((cap & (1 << 16)) && msec);
diff -Nru a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c
--- a/drivers/usb/host/ehci-hub.c Tue May 18 00:25:02 2004
+++ b/drivers/usb/host/ehci-hub.c Tue May 18 00:25:02 2004
@@ -118,7 +118,7 @@
writel (temp, &ehci->regs->port_status [i]);
}
i = HCS_N_PORTS (ehci->hcs_params);
- wait_ms (20);
+ usb_uninterruptible_sleep_ms (20);
while (i--) {
temp = readl (&ehci->regs->port_status [i]);
if ((temp & PORT_SUSPEND) == 0)
===================================================================
This BitKeeper patch contains the following changesets:
1.1727
## Wrapped with gzip_uu ##
M'XL( +X[J4 ]656VO;,!B&KZU?(>C-1K&MHT\C(UL[UK'!0K9>C1%D6XE-
M?<*24P;^\9-CDK5=FR9A&\PV&"3YY7OU/:]\!J^5;".K+O*U;,$9O*J5CJQ2
M)+'4F5/)[J8KG;I=F:EY79LI-ZM+Z8[KW:^ME,HM\JI3A .S9B9TDD$SI2(+
M.W0WHG\T,K+F[]Y??WHS!V [EMAIL PROTECTED]>9J%;RB]1P,@&Z;M>B2-54Z*RH*T>WHE*E
MU,))ZK+?+>T)0L3<'/L4<:_''F)^G^ 48\&P3!%A@<? 6-ST=Q/[EMAIL PROTECTED]
M1H.RD [EMAIL PROTECTED]'#/D0,1=Q%P<0H8BPB*!S1"*$X)/*\)Q &X&W\,\ZN0 )M*$2
M2PEO1:[S:@4S632F4Q\AY9@@,/NUD< ^\@( "01>PV9HT>,[EMAIL PROTECTED]
M25V9);F==;&3[!P0RD/&>TX#'_5+R5GL48\D?IRF/GUZQ^Y+&^H>:(_=(81A
MTC,/<WI*H4GZ6*$\Y'WH>0)A(6(98H:$.+[0K?;=0E$0DG"#]YZ/!N#_HA.0
MBG6>VO&T&:P4A;&BOZU:N?I^B!-,"*6$]\CS/+X)A,\?Q@&3Y^. H8W_:1PV
M._\9VNWMYC%TS_8UX82P7%)C&8,/X\NR+".[Z*J\TK)MNT;G<2$7JI"R690*
MOL#HY:M]* [EMAIL PROTECTED]"X>D['H6[Z=NBP&@0A./9&/X7*(S'Q6$L#(9/80$3/+ P
@[EMAIL PROTECTED](V/X*DTPF-ZHK)W)) ^(Q"GX"D]!#=H4'
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel