[RFC] [PATCH] Freescale 8272ADS PCI bridge support to the stock linux-2.5

Vitaly Bordug vbordug at ru.mvista.com
Sat Mar 26 00:22:52 EST 2005


Hello,
This patch adds support for the 8272ADS PCI bridge to the latest linux-2.5

There is a minor problem in the 2.5 tree, and I'm not completely sure
this solution is the best one.  The point is, that the existing PCI code
actually includes two completely different PCI map defines- one is in
platforms/pq2ads.h, the another - syslib/m8260-pci.h. In the added code
I tried to use the first one only, preventing even second include for
the supported board, and implementing alternative setup_pci  function,
thus adding extra code . Existing support (I assume was for 8266) lacks
irq stuff at all, and though new stuff _may_ work with other 82xx, I
haven't any to test. So, the replace of existing m8260-pci.c/h seems a
cleaner solution to provide and extend functionality without code bloat,
as keeping several define sets for actually the same thing isn't good, IMO.

Signed-off-by: Vitaly Bordug <vbordug at ru.mvista.com>

-- 
Sincerely,
Vitaly


-------------- next part --------------
A non-text attachment was scrubbed...
Name: all.patch
Type: text/x-patch
Size: 16272 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050325/8b283948/attachment.bin 


More information about the Linuxppc-embedded mailing list