Messages in this thread |  | | | Date | Tue, 30 Aug 2005 20:51:57 +1000 | | From | Dave Airlie <> | | Subject | Re: [PATCH 1/3] Generic acpi vgapost |
| |
On 8/28/05, Michael Marineau <marineam@engr.orst.edu> wrote: > Generic function to post the video bios. > > Based directly on the original patch by Ole Rohne. > > Signed-off-by: Michael Marineau <marineam@engr.orst.edu>
The wakeup.S code is missing a small piece of code.
For a lot of BIOSes you need to set ax to a PCI ID, I have code in my tree at the moment that does this:
in do_vgapost_lowlevel: acpi_video_devnum = (pci_dev->bus->number<<8) | (pci_dev->devfn); and then in the wakeup code movl video_devnum-wakeup_code, %eax
The code is all in the patch at http://www.skynet.ie/~airlied/patches/lk/my_pm_diffs This is just a drop of my current tree from when I was hacking on suspend/resume at OLS.
Dave. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |