Thread (8 messages) 8 messages, 4 authors, 2012-10-19

Re: [PATCH v1] net/core: support runtime PM on net_device

flat view

From: Bjørn Mork <bjorn@mork.no>
Date: 2012-10-18 08:29:35

Ming Lei [off-list ref] writes:
In ioctl path on net_device, the physical deivce is often
touched, but the physical device may have been put into runtime
suspend state already, so cause some utilitis(ifconfig, ethtool,
...) to return failure in this situation.
I have to as the stupid questions again, sorry...

Just wondering, isn't that really a driver problem?  The driver will
know whether or not hardware access is required, and should wake up the
device if necessary.  Unless I misunderstand something here, this seems
like papering over driver bugs?


Bjørn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help