diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/firewire/fw-ohci.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c index c0ab868b9fe4..d601ec7ff4d5 100644 --- a/drivers/firewire/fw-ohci.c +++ b/drivers/firewire/fw-ohci.c | |||
@@ -1672,7 +1672,7 @@ static int __devinit | |||
1672 | pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) | 1672 | pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) |
1673 | { | 1673 | { |
1674 | struct fw_ohci *ohci; | 1674 | struct fw_ohci *ohci; |
1675 | u32 bus_options, max_receive, link_speed; | 1675 | u32 bus_options, max_receive, link_speed, version; |
1676 | u64 guid; | 1676 | u64 guid; |
1677 | int error_code; | 1677 | int error_code; |
1678 | size_t size; | 1678 | size_t size; |
@@ -1799,7 +1799,9 @@ pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) | |||
1799 | if (error_code < 0) | 1799 | if (error_code < 0) |
1800 | return cleanup(ohci, CLEANUP_SELF_ID, error_code); | 1800 | return cleanup(ohci, CLEANUP_SELF_ID, error_code); |
1801 | 1801 | ||
1802 | fw_notify("Added fw-ohci device %s.\n", dev->dev.bus_id); | 1802 | version = reg_read(ohci, OHCI1394_Version); |
1803 | fw_notify("Added fw-ohci device %s, OHCI version %x.%x\n", | ||
1804 | dev->dev.bus_id, (version >> 16) & 0xff, version & 0xff); | ||
1803 | 1805 | ||
1804 | return 0; | 1806 | return 0; |
1805 | } | 1807 | } |