Duplicated request_region code in arch/powerpc and arch/ppc
These files all request the same regions, namely dma1, dma2, dma page reg, pic1, pic2 and timer:
arch/powerpc/platforms/chrp/setup.carch/powerpc/platforms/pseries/pci.carch/ppc/platforms/chrp_setup.carch/ppc/platforms/lopec.carch/ppc/platforms/mvme5100.carch/ppc/platforms/pplus.carch/ppc/platforms/sandpoint.c
Should these requests be moved to a central function? If so, what should the function be called (i.e., why are the regions requested) and where should it be defined?
Tim
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors
hi tim,
chrp means "Common Hardware Reference Platform" therefore several boards can be exspected to have same design. I would add this as default_chrp_setup() into chrp_setup.c.
just my 2 cents,
re, walter
Quoted 18 lines · Tim Cooijmans
These files all request the same regions, namely dma1, dma2, dma page reg, pic1, pic2 and timer:
arch/powerpc/platforms/chrp/setup.carch/powerpc/platforms/pseries/pci.carch/ppc/platforms/chrp_setup.carch/ppc/platforms/lopec.carch/ppc/platforms/mvme5100.carch/ppc/platforms/pplus.carch/ppc/platforms/sandpoint.cShould these requests be moved to a central function? If so, what should the function be called (i.e., why are the regions requested) and where should it be defined?
Tim
Quoted 6 lines
------------------------------------------------------------------------
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors