2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# Makefile for the Linux kernel device drivers.
|
|
|
|
#
|
|
|
|
# 15 Sep 2000, Christoph Hellwig <hch@infradead.org>
|
|
|
|
# Rewritten to use lists instead of if-statements.
|
|
|
|
#
|
|
|
|
|
2005-12-04 04:50:51 +00:00
|
|
|
obj-$(CONFIG_PCI) += pci/
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_PARISC) += parisc/
|
2005-11-07 09:00:15 +00:00
|
|
|
obj-$(CONFIG_RAPIDIO) += rapidio/
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-y += video/
|
2005-08-24 16:07:20 +00:00
|
|
|
obj-$(CONFIG_ACPI) += acpi/
|
2005-04-16 22:20:36 +00:00
|
|
|
# PnP must come after ACPI since it will eventually need to check if acpi
|
|
|
|
# was used and do nothing if so
|
|
|
|
obj-$(CONFIG_PNP) += pnp/
|
2006-01-07 14:54:15 +00:00
|
|
|
obj-$(CONFIG_ARM_AMBA) += amba/
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
# char/ comes before serial/ etc so that the VT console is the boot-time
|
|
|
|
# default.
|
|
|
|
obj-y += char/
|
|
|
|
|
2005-09-12 02:15:07 +00:00
|
|
|
obj-$(CONFIG_CONNECTOR) += connector/
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
# i810fb and intelfb depend on char/agp/
|
|
|
|
obj-$(CONFIG_FB_I810) += video/i810/
|
|
|
|
obj-$(CONFIG_FB_INTEL) += video/intelfb/
|
|
|
|
|
|
|
|
# we also need input/serio early so serio bus is initialized by the time
|
|
|
|
# serial drivers start registering their serio ports
|
|
|
|
obj-$(CONFIG_SERIO) += input/serio/
|
|
|
|
obj-y += serial/
|
|
|
|
obj-$(CONFIG_PARPORT) += parport/
|
2005-08-18 09:06:59 +00:00
|
|
|
obj-y += base/ block/ misc/ mfd/ net/ media/
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_NUBUS) += nubus/
|
|
|
|
obj-$(CONFIG_ATM) += atm/
|
|
|
|
obj-$(CONFIG_PPC_PMAC) += macintosh/
|
|
|
|
obj-$(CONFIG_IDE) += ide/
|
|
|
|
obj-$(CONFIG_FC4) += fc4/
|
|
|
|
obj-$(CONFIG_SCSI) += scsi/
|
|
|
|
obj-$(CONFIG_FUSION) += message/
|
|
|
|
obj-$(CONFIG_IEEE1394) += ieee1394/
|
|
|
|
obj-y += cdrom/
|
|
|
|
obj-$(CONFIG_MTD) += mtd/
|
[PATCH] spi: simple SPI framework
This is the core of a small SPI framework, implementing the model of a
queue of messages which complete asynchronously (with thin synchronous
wrappers on top).
- It's still less than 2KB of ".text" (ARM). If there's got to be a
mid-layer for something so simple, that's the right size budget. :)
- The guts use board-specific SPI device tables to build the driver
model tree. (Hardware probing is rarely an option.)
- This version of Kconfig includes no drivers. At this writing there
are two known master controller drivers (PXA/SSP, OMAP MicroWire)
and three protocol drivers (CS8415a, ADS7846, DataFlash) with LKML
mentions of other drivers in development.
- No userspace API. There are several implementations to compare.
Implement them like any other driver, and bind them with sysfs.
The changes from last version posted to LKML (on 11-Nov-2005) are minor,
and include:
- One bugfix (removes a FIXME), with the visible effect of making device
names be "spiB.C" where B is the bus number and C is the chipselect.
- The "caller provides DMA mappings" mechanism now has kerneldoc, for
DMA drivers that want to be fancy.
- Hey, the framework init can be subsys_init. Even though board init
logic fires earlier, at arch_init ... since the framework init is
for driver support, and the board init support uses static init.
- Various additional spec/doc clarifications based on discussions
with other folk. It adds a brief "thank you" at the end, for folk
who've helped nudge this framework into existence.
As I've said before, I think that "protocol tweaking" is the main support
that this driver framework will need to evolve.
From: Mark Underwood <basicmark@yahoo.com>
Update the SPI framework to remove a potential priority inversion case by
reverting to kmalloc if the pre-allocated DMA-safe buffer isn't available.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-01-08 21:34:19 +00:00
|
|
|
obj-$(CONFIG_SPI) += spi/
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_PCCARD) += pcmcia/
|
|
|
|
obj-$(CONFIG_DIO) += dio/
|
|
|
|
obj-$(CONFIG_SBUS) += sbus/
|
|
|
|
obj-$(CONFIG_ZORRO) += zorro/
|
|
|
|
obj-$(CONFIG_MAC) += macintosh/
|
|
|
|
obj-$(CONFIG_ATA_OVER_ETH) += block/aoe/
|
|
|
|
obj-$(CONFIG_PARIDE) += block/paride/
|
|
|
|
obj-$(CONFIG_TC) += tc/
|
|
|
|
obj-$(CONFIG_USB) += usb/
|
2005-12-04 04:50:51 +00:00
|
|
|
obj-$(CONFIG_PCI) += usb/
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_USB_GADGET) += usb/gadget/
|
|
|
|
obj-$(CONFIG_GAMEPORT) += input/gameport/
|
|
|
|
obj-$(CONFIG_INPUT) += input/
|
|
|
|
obj-$(CONFIG_I2O) += message/
|
|
|
|
obj-$(CONFIG_I2C) += i2c/
|
|
|
|
obj-$(CONFIG_W1) += w1/
|
2005-07-02 16:15:49 +00:00
|
|
|
obj-$(CONFIG_HWMON) += hwmon/
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_PHONE) += telephony/
|
|
|
|
obj-$(CONFIG_MD) += md/
|
|
|
|
obj-$(CONFIG_BT) += bluetooth/
|
|
|
|
obj-$(CONFIG_ISDN) += isdn/
|
2006-01-19 01:44:13 +00:00
|
|
|
obj-$(CONFIG_EDAC) += edac/
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_MCA) += mca/
|
|
|
|
obj-$(CONFIG_EISA) += eisa/
|
|
|
|
obj-$(CONFIG_CPU_FREQ) += cpufreq/
|
|
|
|
obj-$(CONFIG_MMC) += mmc/
|
|
|
|
obj-$(CONFIG_INFINIBAND) += infiniband/
|
2005-06-22 00:16:01 +00:00
|
|
|
obj-$(CONFIG_SGI_IOC4) += sn/
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-y += firmware/
|
|
|
|
obj-$(CONFIG_CRYPTO) += crypto/
|
2005-11-07 08:58:19 +00:00
|
|
|
obj-$(CONFIG_SUPERH) += sh/
|