Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=500be7251a4af1a87aa48285a23a741f74a97a89 Commit: 500be7251a4af1a87aa48285a23a741f74a97a89 Parent: b82956685aab4a9d333714300eb8a86fed6c9ab3 Author: Kristian Høgsberg <[EMAIL PROTECTED]> AuthorDate: Fri Feb 16 17:34:43 2007 -0500 Committer: Stefan Richter <[EMAIL PROTECTED]> CommitDate: Fri Mar 9 22:03:00 2007 +0100
firewire: Log OHCI chipset version in PCI probe. Signed-off-by: Kristian Høgsberg <[EMAIL PROTECTED]> Signed-off-by: Stefan Richter <[EMAIL PROTECTED]> --- 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 c0ab868..d601ec7 100644 --- a/drivers/firewire/fw-ohci.c +++ b/drivers/firewire/fw-ohci.c @@ -1672,7 +1672,7 @@ static int __devinit pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) { struct fw_ohci *ohci; - u32 bus_options, max_receive, link_speed; + u32 bus_options, max_receive, link_speed, version; u64 guid; int error_code; size_t size; @@ -1799,7 +1799,9 @@ pci_probe(struct pci_dev *dev, const struct pci_device_id *ent) if (error_code < 0) return cleanup(ohci, CLEANUP_SELF_ID, error_code); - fw_notify("Added fw-ohci device %s.\n", dev->dev.bus_id); + version = reg_read(ohci, OHCI1394_Version); + fw_notify("Added fw-ohci device %s, OHCI version %x.%x\n", + dev->dev.bus_id, (version >> 16) & 0xff, version & 0xff); return 0; } - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html