Re: [GIT PULL]: firmware patches for building firmware into kernel

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Dillow
Date: Thursday, August 7, 2008 - 9:10 pm

On Fri, 2008-08-08 at 09:01 +0530, Jaswinder Singh wrote:

I'll take a closer look when I'm awake, but there are some nitpicky
style issues remaining:



You don't need the 'goto out', a break will work fine. And you'll not be
pressed up against the right side of the screen if you just do
	if (!fw)
		return;
at the top of the function.
 

I still don't like this exception to the get/put ref-counting. Is this
used anywhere else in your series, or was typhoon the only one?


The question wasn't if it can sleep now, it was if it could sleep before
you started changing it. I now know that it has always called vfree(),
so it has always needed to be able to sleep.


I need to run down code to see if my thoughts are realistic, but say
eth0 was a typhoon:

modprobe typhoon
ip link set eth0 up
rmmod typhoon
<firmware unloaded>
<sleep in typhoon_remove_one() waiting for 'ip link set eth0 down'>
<Tx timeout, needing to reset and reload firmware>
Boom.

Dave

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [GIT PULL]: firmware patches for building firmware int ..., David Dillow, (Thu Aug 7, 9:10 pm)