Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102276
b: refs/heads/master
c: eebfcfb
h: refs/heads/master
v: v3
  • Loading branch information
Greg Kroah-Hartman authored and Jesse Barnes committed Jul 3, 2008
1 parent 54f8b9f commit eddd791
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 80be038593dba7aa46fb24a14f0ba83e5ade0edb
refs/heads/master: eebfcfb52ce753eaaa8525078bda6b539586066c
6 changes: 3 additions & 3 deletions trunk/drivers/pci/probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,9 +713,9 @@ static int pci_setup_device(struct pci_dev * dev)
{
u32 class;

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));
dev_set_name(&dev->dev, "%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 eddd791

Please sign in to comment.