Re: [PATCH 0/4] sparc: drop SBUS ifdefs

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

 



On Fri, Jan 7, 2011 at 17:04, Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
> On Thu, Jan 06, 2011 at 02:31:13PM -0800, David Miller wrote:
>> From: Sam Ravnborg <sam@xxxxxxxxxxxx>
>> Date: Wed, 5 Jan 2011 22:02:17 +0100
>>
>> > Kristoffer Glembo noticed that SBUS is always defined for SPARC.
>> > So I went out and dropped all #ifdef SBUS that were
>> > present in SPARC only code.
>> >
>> > This touches:
>> > - arch/sparc
>> > - drivers/net
>> > - sound/sparc
>> >
>> > But despite this I expect we can add all this to sparc.git.
>> > If you prefer I can submit the patches via the usual channels.
>> >
>> > Build tested on sparc64 & sparc.
>> >
>> > Patches are on top of sparc-next as of yesterday.
>>
>> I've decided I'm going to defer on this set of patches for now.
>>
>> The real thing to do is to create a include/linux/sbus.h that
>> provides the SBUS specific interfaces, and dummy ones when
>> CONFIG_SBUS is not defined.
>>
>> That way all of the sparc drivers can be enabled unconditionally
>> as long as CONFIG_OF is true.
>
> OK.
> I will try to look into providing this an resend.

I'm thinking about having a look to see if it's possible to split the
sBus code out of the base sparc arch code this weekend. I'm thinking
of trying to put it behind a KConfig option, similar to PCI - of
course making it properly backwards compatible so that nothing breaks
horribly.

I'll hold off on sending anything until you've re-sent this.

Thanks,

-- 

Julian Calaby

Email: julian.calaby@xxxxxxxxx
Profile: http://www.google.com/profiles/julian.calaby/
.Plan: http://sites.google.com/site/juliancalaby/
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux