diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2012-02-19 12:48:36 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2012-02-22 22:36:00 +0100 |
commit | 8408dc1c14c113face77f6f967af98f76999989f (patch) | |
tree | 988695127b32317c85787e545ad00eda4c4bb1c2 /drivers/firewire/core-cdev.c | |
parent | 59759ff6f151dab70cc227c337fc54da221cf8d7 (diff) | |
download | linux-8408dc1c14c113face77f6f967af98f76999989f.tar.gz linux-8408dc1c14c113face77f6f967af98f76999989f.tar.bz2 linux-8408dc1c14c113face77f6f967af98f76999989f.zip |
firewire: net: use dev_printk API
Change the log line prefix from "firewire_net: " to "net firewire0: "
etc. for the case that several RFC 2734 interfaces are being used in the
same machine.
Note, the netdev_printk API is not very useful to firewire-net.
netdev_notice(net, "abc\n") would result in irritating messages like
"firewire_ohci 0000:0a:00.0: firewire0: abc". Nor would a dev_printk on
the fw_unit.device to which firewire-net is being bound be useful,
because there are generally multiple ones of those per interface (from
all RFC 2734 peers on the bus, the local node being only one of them).
In the initialization message of each interface, log the PCI device
name of the card which is parent of the netdevice instead of the GUID
of the peer which was semi-randomly used to establish the netdevice.
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/core-cdev.c')
0 files changed, 0 insertions, 0 deletions