Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102273
b: refs/heads/master
c: 8b285ce
h: refs/heads/master
i:
  102271: 2a3b20f
v: v3
  • Loading branch information
David Howells authored and Jesse Barnes committed Jun 27, 2008
1 parent b347241 commit 0a1b96e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9433f6dd3a4677e9b92c6e1cd7f98b11598b7c2c
refs/heads/master: 8b285ce84bbc719e363a796f466404576b840d36
5 changes: 3 additions & 2 deletions trunk/drivers/pci/probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,8 +713,9 @@ static int pci_setup_device(struct pci_dev * dev)
{
u32 class;

sprintf(pci_name(dev), "%04x:%02x:%02x.%d", pci_domain_nr(dev->bus),
dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));
snprintf(dev->dev.bus_id, BUS_ID_SIZE,
"%04x:%02x:%02x.%d", pci_domain_nr(dev->bus),
dev->bus->number, PCI_SLOT(dev->devfn), PCI_FUNC(dev->devfn));

pci_read_config_dword(dev, PCI_CLASS_REVISION, &class);
dev->revision = class & 0xff;
Expand Down

0 comments on commit 0a1b96e

Please sign in to comment.