Date: 30 Jan 2001 06:29:14 -0800 From: david@metalogik.com To: freebsd-mobile@freebsd.org Subject: apm in fxp driver (4.2-RELEASE) Message-ID: <20010130142914.20627.cpmta@c001.snv.cp.net>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
i have been working on adding apm support from the latest fxp driver into the 4.2-RELEASE fxp driver. i have had to side step a lot of PCI changes, but have managed to get a compiling and running version of the fxp driver with support for apm (in theory anyhow).
when i shut the lid (the system goes to sleep/suspend) and then open it again, the system locks in a loop of printing:
fxp0: SCB timeout
fxp0: DMA timeout
oddly enough, this is what the system used to do before i put my apm code in place. so i was wondering if someone who would be familiar with the pci code and perhaps the fxp driver could take a peek at my code and see if i did anything glaringly incorrect.
these files are the only changed files. they must be compiled with a 4.2.0-RELEASE source tree. i will just send the modified files since there are only a few, a patch can be made if someone requests it.
NOTE: do not try to use this code for any purpose other than testing. it does not work!
cheers,
david j harding - david@metalogik.com
metalogik industries
[-- Attachment #2 --]
i|11 *\ȰÇ#JH@0lР 1nԈcȑ%?QCƍoȘQcK7fцG
J(:s脑 4Kɤqs§QVʵׯ`ÊB*@y'4gbL
9r`H;iȀ8"L7m¸966 ƥ3'r9e)Cc j&͘0tҼqSsF\'eBbm8 2cRzm[rś0sV41d-c3ZR'}+r7FZTo!S-f|ݑhPR 1Z@|-՟xr1! o FF5RIuBpt0H'|i7f ( ?_HUR1spJnu aiEa\oT ~a~#<jGOFi'{iФ|tgᇠ
2]Zhu`)fdn%-
Boa'xgRTf Ǝ=BFY7Qd1F}p2oFebdQnQDS0FPqER @!V$AD wHD>!EyN6NP!EB@,q`DpDELQ6I ¾RH29OWNDD}_SO8sIP3O%o%a3:sAohEH1?!D8SʽQ1kA/CTW!OLF5 aE6L00HLo /n3xZ{OI;CW[S|MEC$q<_.5Yu:ƊGQE3A41EH+4ėKuWgDfaoM:@)fB 8x֛U)8f&<
P R ]AsiS [$mqYu$4?[ՄH3Ii(8ђ#<G/
*]E/ /;BȾm
,{gEpaDrLrhP%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