Re: [PATCH] netdev: fix compile issues for !CONFIG_PCI in 3c59x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 03/26/2012 05:38 PM, Paul Gortmaker wrote:

I hate to add in more #ifdef CONFIG_PCI but there are already
quite a few in this driver, and it seems like it hasn't been
built with CONFIG_PCI set to off in quite some time.

Actually, please scrap this patch.  The uglyness of more ifdefs
made me look at it again.  It should be do-able in a cleaner way
with stubs, and it appears this may even be similar to an old fail
from the past:

   Also, see this patch:;a=commit;h=0da0ead90122578ef6e4afba9ba4bcd3455fd8e8

The driver patch this was done for is still in the -mm tree after all these years.:-)

I'll dig into it some more and follow up.

I thought I addressed all issues with compilation of this driver with CONFIG_PCI=n. Apparently not, and some seem to have accumulated over time...


WBR, Sergei

[Linux MIPS Home]     [LKML Archive]     [Linux ARM]     [Linux]     [Git]     [Photo]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

Add to Google Powered by Linux