Re: Boot problem, 2.4.19-rc3-ac1

From: Ian Soboroff (ian.soboroff@nist.gov)
Date: Wed Jul 24 2002 - 09:57:14 EST


Zwane Mwaikambo <zwane@linuxpower.ca> writes:

> On 24 Jul 2002, Ian Soboroff wrote:
>
> > static int trident_suspend(struct pci_dev *dev, u32 unused)
> > {
> > - struct trident_card *card = (struct trident_card *) dev;
> > + struct trident_card *card = pci_get_drvdata(dev);
> >
> > if(card->pci_id == PCI_DEVICE_ID_ALI_5451) {
> > ali_save_regs(card);
> > @@ -3466,7 +3466,7 @@
> >
> > static int trident_resume(struct pci_dev *dev)
> > {
> > - struct trident_card *card = (struct trident_card *) dev;
> > + struct trident_card *card = pci_get_drvdata(dev);
> >
> > if(card->pci_id == PCI_DEVICE_ID_ALI_5451) {
> > ali_restore_regs(card);
>
> Thats definitely correct, has this patch been sent to lkml before?

I didn't see it in a quick search at the uwsg.ia.edu archive. The
last ALi patch I see on 2.4 seems to come from Matt Wu at ALi on
4/4/2001.

Anyone have a clue on the IDE part of my question? ;-)

ian
-
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/



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:16 EST