Re: Please pull 'adm8211' branch of wireless-2.6

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Garzik
Date: Sunday, September 16, 2007 - 12:50 am

Michael Wu wrote:

OK, I was confused by the name.  Based on the constant's name, I was 
assuming that you could unconditionally enable it, promisc or not. 
Nevermind.  I thought that was a hardware rather than software bit.



When you are tracing through with kgdb, the code is actually readable. 
You see

	dev->flags |= IEEE80211_HW_RX_INCLUDES_FCS;

rather than the far more obtuse

	dev->flags |= 8;

Ditto for any time you have to read pre-processed source code.  I do so 
at least once a month, since post-cpp code shows you precisely what the 
compiler is munching, after all the macro magic goes away.

	Jeff


-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Please pull 'adm8211' branch of wireless-2.6, John W. Linville, (Sat Sep 15, 6:22 am)
Re: Please pull 'adm8211' branch of wireless-2.6, John W. Linville, (Sat Sep 15, 10:00 am)
Re: Please pull 'adm8211' branch of wireless-2.6, David Miller, (Sat Sep 15, 11:25 am)
Re: Please pull 'adm8211' branch of wireless-2.6, Jeff Garzik, (Sat Sep 15, 2:32 pm)
Re: Please pull 'adm8211' branch of wireless-2.6, Michael Wu, (Sat Sep 15, 5:16 pm)
Re: Please pull 'adm8211' branch of wireless-2.6, Michael Wu, (Sat Sep 15, 5:37 pm)
Re: Please pull 'adm8211' branch of wireless-2.6, Jeff Garzik, (Sat Sep 15, 5:56 pm)
Re: Please pull 'adm8211' branch of wireless-2.6, John W. Linville, (Sat Sep 15, 7:36 pm)
Re: Please pull 'adm8211' branch of wireless-2.6, Jeff Garzik, (Sat Sep 15, 8:26 pm)
Re: Please pull 'adm8211' branch of wireless-2.6, Michael Wu, (Sat Sep 15, 9:47 pm)
Re: Please pull 'adm8211' branch of wireless-2.6, David Miller, (Sat Sep 15, 9:50 pm)
Re: Please pull 'adm8211' branch of wireless-2.6, Michael Wu, (Sat Sep 15, 10:00 pm)
Re: Please pull 'adm8211' branch of wireless-2.6, Jeff Garzik, (Sun Sep 16, 12:50 am)