ATA mkIII first official patches - please test!
Søren Schmidt
sos at DeepCore.dk
Mon Feb 7 09:43:20 PST 2005
Arne Schwabe wrote:
> Søren Schmidt <sos at DeepCore.dk> writes:
>
>
>>Randy Bush wrote:
>>
>>>>>After suspend, my ThinkPad X40 now hangs with following logs (copied
>>>>>by hand):
>>>>
>>>>Hmm, do you have ATA compiled in or as modules. I could easily
>>>>imagine that modules could have problems, but as "built in" nothing
>>>>really changed...
>>>
>>>my patched t41, current with ata in the kernel, locks up with disk
>>>light on solid on resume.
>>
>>Does it work with stock ATA ?
>>I cant work on suspend/resume as it has been broken due to ACPI
>>brokenness since september last year on all my laptops...
>
>
> Same here, worked before the patch. Does not work with the patch.
Hmm, the attached patch is the only real difference, which actually
shouldn't pose a problem (and fixes broken APM)..
Let me know if that changes anything, other than that you are free to
bug the ACPI gang to make ACPI work on the HW I have available for
development...
-Søren
-------------- next part --------------
diff -u -r1.20 ata-all.c
--- ata-all.c 2005/02/03 17:02:31 1.20
+++ ata-all.c 2005/02/07 14:27:57
@@ -630,7 +630,7 @@
void
ata_udelay(int interval)
{
- if (1 || interval < (1000000/hz) || ata_delayed_attach)
+ if (interval < (1000000/hz) || ata_delayed_attach)
DELAY(interval);
else
tsleep(&interval, PRIBIO, "ataslp", interval/(1000000/hz));
-------------- next part --------------
_______________________________________________
freebsd-current at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-stable
mailing list