lkml.org 
[lkml]   [2005]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2005-08-30 12:55    [W:0.049 / U:119.780 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site