> Can you tell the xbox by the subsystem id on the root bridges ?
Yes, these are unique.
>> Do we have a chance for our kernel fixes for the Xbox to be included
>> into the standard kernel? All our changes are tiny and #ifdef
>> CONFIG_XBOX and change nothing on a i386 PC or on any other
>> architecture.
>
> Probably. I suspect the primary questions are political/lawyer ones
> rather than
> technical ones. Things like the IDE drive password are touchy obviously
> but that can be done from an initrd loaded with the kernel I guess.
Yes, we have already moved the IDE unlock code into the bootloader and
it won't be needed in the kernel for most systems, so it won't have to
be included into the main kernel. All other changes shouldn't be
(politically/legally) problematic in any way.
>> Would it be better to have a runtime check at kernel initialization to
>> detect the Xbox and put all Xbox specific code between if (xbox) {}?
>
> IMHO yes.
So all all Xbox specific code would look like this:
#ifdef CONFIG_XBOX_SUPPORT
if (xbox) {
...
}
#endif
Where would we put out Xbox detection code? If it detects the Xbox as
described above, CONFIG_XBOX_SUPPORT will depend on CONFIG_PCI.
Michael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:39 EST