2004-06-14 21:48:19

by David Eger

[permalink] [raw]
Subject: pcibios_write_config_dword()? porting drivers to 2.6

I've been working on a port of the Cirrus Logic framebuffer driver to
Linux 2.6, and stumbled upon the line:

pcibios_write_config_dword (0, pdev->devfn, PCI_BASE_ADDRESS_0,
0x00000000);

What did this used to mean? It's been deleted as old cruft in 2.6...

-dte


2004-06-14 21:57:36

by Jeff Garzik

[permalink] [raw]
Subject: Re: pcibios_write_config_dword()? porting drivers to 2.6

On Mon, Jun 14, 2004 at 05:45:54PM -0400, David Eger wrote:
> I've been working on a port of the Cirrus Logic framebuffer driver to
> Linux 2.6, and stumbled upon the line:
>
> pcibios_write_config_dword (0, pdev->devfn, PCI_BASE_ADDRESS_0,
> 0x00000000);
>
> What did this used to mean? It's been deleted as old cruft in 2.6...

pci_write_config_dword

Jeff



2004-06-15 08:36:58

by Esteve Espuña Sargatal

[permalink] [raw]
Subject: Re: pcibios_write_config_dword()? porting drivers to 2.6

On Mon, 2004-06-14 at 23:57, Jeff Garzik wrote:
> On Mon, Jun 14, 2004 at 05:45:54PM -0400, David Eger wrote:
> > I've been working on a port of the Cirrus Logic framebuffer driver to
> > Linux 2.6, and stumbled upon the line:
> >
> > pcibios_write_config_dword (0, pdev->devfn, PCI_BASE_ADDRESS_0,
> > 0x00000000);
> >
> > What did this used to mean? It's been deleted as old cruft in 2.6...
>
> pci_write_config_dword
>

But done through the bios routine.

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