On Fri, 2006-04-07 at 23:36 +0200, Francois Romieu wrote:

> > @@ -208,8 +205,8 @@ static int orinoco_pci_init_one(struct p
> >     priv = netdev_priv(dev);
> >     card = priv->card;
> >     card->pci_ioaddr = pci_ioaddr;
> > -   dev->mem_start = pci_iorange;
> > -   dev->mem_end = pci_iorange + pci_iolen - 1;
> > +   dev->mem_start = pci_resource_start(pdev, 0);
> > +   dev->mem_end = dev->mem_start + pci_resource_len(pdev, 0) - 1;
> 
> Is there a reason why dev->mem_{start/end} should not be removed ?

Is there a reason why it should?  Is it going to be obsolete?

-- 
Regards,
Pavel Roskin

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to