Re: [PATCH] csr1212 compile fix

From: Leon Woestenberg
Date: Tue Mar 02 2004 - 12:43:48 EST


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/