Hi Lothar
> Dimitris Lampridis writes:
> > OK, that's good news, but I have the same problem with asm/hardware.h
> > asm/mach-types.h and asm/arch/dma.h . This whole thing is very
> > arm-specific... So in my i386 platform, it doesn't compile. Anyway, I
> > guess I don't need things like mach-types, so we should #ifdef their use
> > maybe? And if you agree, what is the best #define statement that we
> > should use to check?
> > 
> They should probably go in an architecture dependent header file so we
> won't have the main source file cluttered with #ifdef's.
> It might even be necessary to split out some functionality from the
> isp1362.c file. E.g. the 'platform_device' stuff will need to be
> replaced with 'pci_device' specific routines for PCI based systems.
> 
OK, I agree with you. I use an ohci-isp1160-pci.c file just like OHCI
uses ohci-pci.c
That way it would be easier for me to locate the stuff that needs to be
changed for a PCI based system, and of course for every other
implementation that exists :-)

Dimitris


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to