2004-03-02 17:41:19

by Leon Woestenberg

[permalink] [raw]
Subject: Re: [PATCH] csr1212 compile fix

Hello Geert,

Geert Uytterhoeven wrote:
> Hi Ben,
>
> in_interrupt() needs #include <linux/sched.h> on some platforms (e.g. m68k).
>
> BTW, shouldn't most of the IEEE1394 stuff depend on CONFIG_PCI? E.g.
> drivers/ieee1394/dma.c uses struct pci_dev and needs pci_alloc_consistent() and
> friends.
>
> (All found while trying to enable as many drivers as possible)
>
Although most OHCI implementations are PCI based, there are embedded
link controllers that are not (OHCI nor) PCI-based.

Here is a driver by Steve Kinneberg that shows how he removed the
dependencies on CONFIG_PCI and written around the DMA functions.

http://mailman.uclinux.org/pipermail/uclinux-dev/2004-January/023691.html

Based on this driver (thanks again Steve if you read this) we are adding
support for a Philips link layer device.

Regards,

Leon.