Hi!

> (This is for -mm, to be merged along with the aty128fb and radeonfb
> related patches).
> 
> This patch adds suspend/resume support to the Apple UniNorth AGP bridge
> to make sure AGP is properly disabled when the machine goes to sleep.
> Without this, the r300 based laptops will fail to wakeup from sleep when
> using the new experimental r300 DRI driver. It should also improve
> reliablility in general with other chips.

> --- linux-work.orig/drivers/char/agp/uninorth-agp.c   2005-03-01 
> 13:53:32.000000000 +1100
> +++ linux-work/drivers/char/agp/uninorth-agp.c        2005-03-01 
> 14:36:54.000000000 +1100
> @@ -155,6 +161,56 @@
>       uninorth_tlbflush(NULL);
>  }
>  
> +#ifdef CONFIG_PM
> +static int agp_uninorth_suspend(struct pci_dev *pdev, u32 state)

pm_message_t state, please.

-- 
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to