login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
August
»
26
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Stephen Hemminger
Subject:
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
Date: Thursday, August 26, 2010 - 9:29 am
On Thu, 26 Aug 2010 09:16:12 -0700 Joe Perches <joe@perches.com> wrote:
quoted text
> On Thu, 2010-08-26 at 09:05 -0700, Stephen Hemminger wrote: > > + for (i = 0; i < 6; i++) > > + printk(KERN_INFO "%2.2x%c", > > + netdev->dev_addr[i], i == 5 ? '\n' : ':'); > > > > you just want: > > printk(KERN_INFO "%pM", netdev->dev_addr); > > > > or better yet, convert to dev_printk > > or perhaps better still convert to netdev_info > > My message logging order preference: > > if there's a netif_msg_<type> and a struct net_device > netif_<level> (struct private *, netif_msg_<type>, > struct net_device *, fmt, args...) > if there's a struct net_device > netdev_<level> (struct net_device *, fmt, args...) > if there's a struct device > dev_<level> (struct device *, fmt, args...) > otherwise > pr_<level> (fmt, args...) > >
At this point in process, netdevice isn't registered so it doesn't have a ethX name. so dev_info would be best. -- --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] Gigabit Ethernet driver of Topcliff PCH
, Masayuki Ohtake
, (Thu Aug 26, 2:56 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Sam Ravnborg
, (Thu Aug 26, 3:28 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Masayuki Ohtake
, (Thu Aug 26, 5:47 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Joe Perches
, (Thu Aug 26, 7:44 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Stephen Hemminger
, (Thu Aug 26, 8:40 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Stephen Hemminger
, (Thu Aug 26, 8:41 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Stephen Hemminger
, (Thu Aug 26, 8:42 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Stephen Hemminger
, (Thu Aug 26, 8:43 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Stephen Hemminger
, (Thu Aug 26, 8:45 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Stephen Hemminger
, (Thu Aug 26, 8:47 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Stephen Hemminger
, (Thu Aug 26, 8:57 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Stephen Hemminger
, (Thu Aug 26, 9:05 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Joe Perches
, (Thu Aug 26, 9:16 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Stephen Hemminger
, (Thu Aug 26, 9:29 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Joe Perches
, (Thu Aug 26, 10:02 am)
[PATCH] Gigabit Ethernet driver of Topcliff PCH
, Masayuki Ohtake
, (Tue Aug 31, 7:15 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Eric Dumazet
, (Tue Aug 31, 7:51 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Randy Dunlap
, (Tue Aug 31, 8:08 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Joe Perches
, (Tue Aug 31, 9:10 am)
[PATCH] drivers/net/pch_gbe: Use bool not unsigned char
, Joe Perches
, (Tue Aug 31, 10:25 am)
Re: [PATCH] drivers/net/pch_gbe: Cleanup stats use
, Joe Perches
, (Tue Aug 31, 11:38 am)
Re: [PATCH] drivers/net/pch_gbe: Cleanup stats use
, Stephen Hemminger
, (Tue Aug 31, 6:33 pm)
Re: [PATCH] drivers/net/pch_gbe: Cleanup stats use
, Joe Perches
, (Tue Aug 31, 6:38 pm)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Masayuki Ohtake
, (Thu Sep 2, 5:39 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Eric Dumazet
, (Thu Sep 2, 6:40 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Stephen Hemminger
, (Thu Sep 2, 8:10 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, FUJITA Tomonori
, (Thu Sep 2, 7:23 pm)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Masayuki Ohtake
, (Fri Sep 3, 6:32 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Eric Dumazet
, (Fri Sep 3, 6:43 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Masayuki Ohtake
, (Fri Sep 3, 7:11 am)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Masayuki Ohtake
, (Mon Sep 6, 6:13 pm)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, FUJITA Tomonori
, (Mon Sep 6, 8:21 pm)
Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
, Masayuki Ohtake
, (Mon Sep 6, 9:06 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Gene Heskett
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Ray Lee
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Ray Lee
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
Gene Heskett
Re: New thread RDSL, post-2.6.20 kernels and amanda (tar) miss-fires
git
:
Bill Lear
cpio command not found
Gary Yang
fatal: did you run git update-server-info on the server? mv post-update.sample pos...
Junio C Hamano
Re: [Discussion] cherry-picking a merge
Uwe
Re: "bash: git-upload-pack: command not found" ??
Oliver Hoffmann
git init --bare versus git --bare init
openbsd-misc
:
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Ted Unangst
Re: OpenSMTPd actual development and integration
openbsd
observed spamd behavior
Paul M
Corrupted RAIDFrame device
new_guy
Longest Uptime?
linux-netdev
:
Francois-Xavier Le Bail
[PATCH v2] net: typos in comments in include/linux/igmp.h
Jamie Lokier
Re: [2/3] POHMELFS: Documentation.
Stephen Hemminger
Re: vlan JMicron Technologies, Inc. JMC250 PCI Express Gigabit Ethernet
Sage Weil
Re: [2/3] POHMELFS: Documentation.
David Miller
Re: [net-next-2.6 PATCH 5/5] be2net: remove BUG_ON() when be2net runs out of mccq ...
git-commits-head
:
Linux Kernel Mailing List
Remove empty comment in acpi/power.c
Linux Kernel Mailing List
USB: rename usb_buffer_alloc() and usb_buffer_free()
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
intel_idle: native hardware cpuidle driver for latest Intel processors
Linux Kernel Mailing List
powerpc/fsl-booke: Move the entry setup code into a seperate file
Colocation donated by:
Syndicate