mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 20:51:47 +00:00
a5d533ee07
We are getting a number of warnings about the use of the deprecated bus_to_virt function in drivers using the ARM ISA DMA API: drivers/parport/parport_pc.c: In function 'parport_pc_fifo_write_block_dma': drivers/parport/parport_pc.c:622:3: warning: 'bus_to_virt' is deprecated (declared at arch/arm/include/asm/memory.h:253) [-Wdeprecated-declarations] This is only because that function gets used by the inline set_dma_addr() helper. We know that any driver for the ISA DMA API is correctly using the DMA addresses, so we can change this to use the __bus_to_virt() function instead, which does not warn. After this, there are no remaining drivers that are used on any defconfigs on ARM using virt_to_bus or bus_to_virt, with the exception of the OSS sound driver. That driver is only used on RiscPC, NetWinder and Shark, so we can set ARCH_NO_VIRT_TO_BUS on all other platforms and hide the deprecated functions, which is far more effective than marking them as deprecated, in order to avoid any new users of that code. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Russell King <linux@arm.linux.org.uk>
81 lines
1.8 KiB
Plaintext
81 lines
1.8 KiB
Plaintext
CONFIG_EXPERIMENTAL=y
|
|
# CONFIG_LOCALVERSION_AUTO is not set
|
|
CONFIG_SYSVIPC=y
|
|
CONFIG_LOG_BUF_SHIFT=14
|
|
CONFIG_SYSFS_DEPRECATED_V2=y
|
|
CONFIG_SLAB=y
|
|
CONFIG_MODULES=y
|
|
CONFIG_MODULE_UNLOAD=y
|
|
CONFIG_MODULE_FORCE_UNLOAD=y
|
|
# CONFIG_BLK_DEV_BSG is not set
|
|
CONFIG_ARCH_SHARK=y
|
|
CONFIG_LEDS=y
|
|
CONFIG_LEDS_TIMER=y
|
|
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
CONFIG_FPE_NWFPE=y
|
|
CONFIG_NET=y
|
|
CONFIG_PACKET=y
|
|
CONFIG_UNIX=y
|
|
CONFIG_INET=y
|
|
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
|
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
|
# CONFIG_INET_XFRM_MODE_BEET is not set
|
|
# CONFIG_INET_LRO is not set
|
|
# CONFIG_INET_DIAG is not set
|
|
# CONFIG_IPV6 is not set
|
|
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
# CONFIG_STANDALONE is not set
|
|
# CONFIG_FIRMWARE_IN_KERNEL is not set
|
|
CONFIG_PARPORT=m
|
|
CONFIG_PARPORT_PC=m
|
|
CONFIG_BLK_DEV_LOOP=y
|
|
CONFIG_BLK_DEV_RAM=y
|
|
CONFIG_IDE=y
|
|
CONFIG_BLK_DEV_IDECD=m
|
|
CONFIG_SCSI=m
|
|
CONFIG_BLK_DEV_SD=m
|
|
CONFIG_CHR_DEV_ST=m
|
|
CONFIG_BLK_DEV_SR=m
|
|
CONFIG_CHR_DEV_SG=m
|
|
CONFIG_NETDEVICES=y
|
|
CONFIG_NET_ETHERNET=y
|
|
CONFIG_NET_PCI=y
|
|
CONFIG_CS89x0=y
|
|
# CONFIG_SERIO_SERPORT is not set
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_PRINTER=m
|
|
# CONFIG_HWMON is not set
|
|
CONFIG_FB=y
|
|
CONFIG_FB_CYBER2000=y
|
|
# CONFIG_VGA_CONSOLE is not set
|
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
CONFIG_LOGO=y
|
|
# CONFIG_LOGO_LINUX_MONO is not set
|
|
# CONFIG_LOGO_LINUX_VGA16 is not set
|
|
CONFIG_SOUND=m
|
|
CONFIG_SOUND_PRIME=m
|
|
CONFIG_SOUND_OSS=m
|
|
CONFIG_SOUND_SB=m
|
|
CONFIG_RTC_CLASS=y
|
|
CONFIG_RTC_DRV_CMOS=y
|
|
CONFIG_EXT2_FS=y
|
|
CONFIG_EXT3_FS=y
|
|
CONFIG_ISO9660_FS=m
|
|
CONFIG_JOLIET=y
|
|
CONFIG_MSDOS_FS=m
|
|
CONFIG_VFAT_FS=m
|
|
CONFIG_NFS_FS=y
|
|
CONFIG_NFS_V3=y
|
|
CONFIG_NFSD=m
|
|
CONFIG_PARTITION_ADVANCED=y
|
|
CONFIG_NLS_CODEPAGE_437=m
|
|
CONFIG_NLS_CODEPAGE_850=m
|
|
CONFIG_NLS_ISO8859_1=m
|
|
# CONFIG_ENABLE_MUST_CHECK is not set
|
|
CONFIG_DEBUG_KERNEL=y
|
|
# CONFIG_SCHED_DEBUG is not set
|
|
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
|
CONFIG_DEBUG_USER=y
|