Subject: Re: [PATCH] ssb: use pci_dev->revision

From: Michael Büsch <[email-masked]>
Date: Thu, 23 Jun 2011 17:32:04 +0200

On Thu, 23 Jun 2011 19:11:59 +0400
Sergei Shtylyov <[email-masked]> wrote:

> Hello.
> 
> Michael Büsch wrote:
> 
> >> The bus scan code reads PCI revision ID from the PCI configuration register
> >> while it's already stored by PCI subsystem in the 'revision' field of 'struct
> >> pci_dev'...
> 
> >> Signed-off-by: Sergei Shtylyov <[email-masked]>
> 
> >> ---
> >> The patch is against the recent Linus' tree.
> 
> >> There's another place where the revision ID register is read but as 16-bit
> >> entity (probably by mistake though), so I didn't convert it...
> 
> > Where is that?
> 
>     drivers/ssb/pci.c, line 741.

Yes that probably is by mistake. Can you convert it as well, please?