| Date | Mon, 04 Feb 2008 09:14:26 +0100 | From | Stefan Richter <> | Subject | Re: [PATCH 1/9] firewire: log GUID of new devices |
| |
I wrote: > - else > - fw_notify("created new fw device %s " > - "(%d config rom retries, S%d00)\n", > - device->device.bus_id, device->config_rom_retries, > - 1 << device->max_speed); > + } else { > + if (device->config_rom_retries) > + fw_notify("created device %s: GUID %08x%08x, S%d00, " > + "%d config ROM retries\n", > + device->device.bus_id, > + device->config_rom[3], device->config_rom[4], > + 1 << device->max_speed, > + device->config_rom_retries);
Still to do: If the ROM reading failed, log how it failed and what was read up until the failure. -- Stefan Richter -=====-==--- --=- --=-- http://arcgraph.de/sr/
|