2005-04-16 22:20:36 +00:00
|
|
|
#
|
|
|
|
# Makefile for the kernel character device drivers.
|
|
|
|
#
|
|
|
|
|
2010-11-04 18:10:29 +00:00
|
|
|
obj-y += mem.o random.o
|
2010-08-25 18:44:07 +00:00
|
|
|
obj-$(CONFIG_TTY_PRINTK) += ttyprintk.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-y += misc.o
|
|
|
|
obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o
|
2011-02-01 04:01:25 +00:00
|
|
|
obj-$(CONFIG_VIRTIO_CONSOLE) += virtio_console.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_RAW_DRIVER) += raw.o
|
2005-04-25 20:28:52 +00:00
|
|
|
obj-$(CONFIG_SGI_SNSC) += snsc.o snsc_event.o
|
2006-09-27 08:50:11 +00:00
|
|
|
obj-$(CONFIG_MSPEC) += mspec.o
|
2005-04-16 22:20:36 +00:00
|
|
|
obj-$(CONFIG_MMTIMER) += mmtimer.o
|
2009-09-23 22:57:15 +00:00
|
|
|
obj-$(CONFIG_UV_MMTIMER) += uv_mmtimer.o
|
2008-07-08 05:45:11 +00:00
|
|
|
obj-$(CONFIG_IBM_BSR) += bsr.o
|
2005-04-25 20:09:41 +00:00
|
|
|
obj-$(CONFIG_SGI_MBCS) += mbcs.o
|
2008-04-25 00:04:56 +00:00
|
|
|
obj-$(CONFIG_BFIN_OTP) += bfin-otp.o
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2006-03-24 17:10:34 +00:00
|
|
|
obj-$(CONFIG_PRINTER) += lp.o
|
|
|
|
|
2007-02-09 17:08:57 +00:00
|
|
|
obj-$(CONFIG_APM_EMULATION) += apm-emulation.o
|
|
|
|
|
2006-03-24 17:10:34 +00:00
|
|
|
obj-$(CONFIG_DTLK) += dtlk.o
|
|
|
|
obj-$(CONFIG_APPLICOM) += applicom.o
|
|
|
|
obj-$(CONFIG_SONYPI) += sonypi.o
|
|
|
|
obj-$(CONFIG_RTC) += rtc.o
|
|
|
|
obj-$(CONFIG_HPET) += hpet.o
|
|
|
|
obj-$(CONFIG_GEN_RTC) += genrtc.o
|
|
|
|
obj-$(CONFIG_EFI_RTC) += efirtc.o
|
|
|
|
obj-$(CONFIG_DS1302) += ds1302.o
|
2008-02-05 17:24:09 +00:00
|
|
|
obj-$(CONFIG_XILINX_HWICAP) += xilinx_hwicap/
|
2005-04-16 22:20:36 +00:00
|
|
|
ifeq ($(CONFIG_GENERIC_NVRAM),y)
|
2006-03-24 17:10:34 +00:00
|
|
|
obj-$(CONFIG_NVRAM) += generic_nvram.o
|
2005-04-16 22:20:36 +00:00
|
|
|
else
|
2006-03-24 17:10:34 +00:00
|
|
|
obj-$(CONFIG_NVRAM) += nvram.o
|
2005-04-16 22:20:36 +00:00
|
|
|
endif
|
2006-03-24 17:10:34 +00:00
|
|
|
obj-$(CONFIG_TOSHIBA) += toshiba.o
|
|
|
|
obj-$(CONFIG_DS1620) += ds1620.o
|
2006-06-26 07:24:59 +00:00
|
|
|
obj-$(CONFIG_HW_RANDOM) += hw_random/
|
2006-03-24 17:10:34 +00:00
|
|
|
obj-$(CONFIG_PPDEV) += ppdev.o
|
|
|
|
obj-$(CONFIG_NWBUTTON) += nwbutton.o
|
|
|
|
obj-$(CONFIG_NWFLASH) += nwflash.o
|
2006-06-27 09:54:27 +00:00
|
|
|
obj-$(CONFIG_SCx200_GPIO) += scx200_gpio.o
|
|
|
|
obj-$(CONFIG_PC8736x_GPIO) += pc8736x_gpio.o
|
|
|
|
obj-$(CONFIG_NSC_GPIO) += nsc_gpio.o
|
2007-05-06 21:51:58 +00:00
|
|
|
obj-$(CONFIG_GPIO_TB0219) += tb0219.o
|
2006-03-24 17:10:34 +00:00
|
|
|
obj-$(CONFIG_TELCLOCK) += tlclk.o
|
|
|
|
|
|
|
|
obj-$(CONFIG_MWAVE) += mwave/
|
2013-11-05 12:00:08 +00:00
|
|
|
obj-y += agp/
|
2006-03-24 17:10:34 +00:00
|
|
|
obj-$(CONFIG_PCMCIA) += pcmcia/
|
|
|
|
|
|
|
|
obj-$(CONFIG_HANGCHECK_TIMER) += hangcheck-timer.o
|
|
|
|
obj-$(CONFIG_TCG_TPM) += tpm/
|
|
|
|
|
2007-07-21 11:37:48 +00:00
|
|
|
obj-$(CONFIG_PS3_FLASH) += ps3flash.o
|
|
|
|
|
2007-07-22 07:37:48 +00:00
|
|
|
obj-$(CONFIG_JS_RTC) += js-rtc.o
|
|
|
|
js-rtc-y = rtc.o
|
arch/tile: add hypervisor-based character driver for SPI flash ROM
The first version of this patch proposed an arch/tile/drivers/ directory,
but the consensus was that this was probably a poor choice for a place to
group Tilera-specific drivers, and that in any case grouping by platform
was discouraged, and grouping by function was preferred.
This version of the patch addresses various issues raised in the
community, primarily the absence of sysfs integration. The sysfs
integration now handles passing information on sector size, page size,
and total partition size to userspace as well. In addition, we now
use a single "struct cdev" to manage all the partition minor devices,
and dynamically discover the correct number of partitions from the
hypervisor rather than using a module_param with a default value.
This driver has no particular "peer" drivers it can be grouped with.
It is sort of like an MTD driver for SPI ROM, but it doesn't group well
with the other MTD devices since it relies on hypervisor virtualization
to handle many of the irritating aspects of flash ROM management: sector
awareness, background read for sub-sector writes, bit examination to
determine whether a sector erase needs to be issued, etc. It is in fact
more like an EEPROM driver, but the hypervisor virtualization does require
a "flush" command if you wish to commit a sector write prior to writing
to a different sector, and this is sufficiently different from generic
I2C/SPI EEPROMs that as a result it doesn't group well with them either.
The simple character device is already in use by a range of Tilera
SPI ROM management tools, as well as by customers. In addition, using
the simple character device actually simplifies the userspace tools,
since they don't need to manage sector erase, background read, etc.
This both simplifies the code (since we can uniformly manage plain files
and the SPI ROM) as well as makes the user code portable to non-Linux
platforms that don't offer the same MTD ioctls.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
2011-06-10 17:07:48 +00:00
|
|
|
|
|
|
|
obj-$(CONFIG_TILE_SROM) += tile-srom.o
|
2014-09-09 06:36:04 +00:00
|
|
|
obj-$(CONFIG_XILLYBUS) += xillybus/
|