Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
42c1faa2
Commit
42c1faa2
authored
Dec 28, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://bk.arm.linux.org.uk/linux-2.6-exp
into home.osdl.org:/home/torvalds/v2.5/linux
parents
0b170e19
f23e0372
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
1453 additions
and
176 deletions
+1453
-176
arch/arm/boot/compressed/Makefile
arch/arm/boot/compressed/Makefile
+0
-4
arch/arm/boot/compressed/head-integrator.S
arch/arm/boot/compressed/head-integrator.S
+0
-4
arch/arm/boot/compressed/head.S
arch/arm/boot/compressed/head.S
+6
-6
arch/arm/common/sa1111.c
arch/arm/common/sa1111.c
+4
-0
arch/arm/configs/netwinder_defconfig
arch/arm/configs/netwinder_defconfig
+968
-0
arch/arm/configs/shark_defconfig
arch/arm/configs/shark_defconfig
+109
-44
arch/arm/kernel/armksyms.c
arch/arm/kernel/armksyms.c
+2
-2
arch/arm/kernel/calls.S
arch/arm/kernel/calls.S
+14
-0
arch/arm/lib/div64.S
arch/arm/lib/div64.S
+195
-54
arch/arm/mach-clps711x/time.c
arch/arm/mach-clps711x/time.c
+4
-1
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-integrator/integrator_ap.c
+1
-1
arch/arm/mm/cache-v3.S
arch/arm/mm/cache-v3.S
+2
-2
arch/arm/mm/cache-v4.S
arch/arm/mm/cache-v4.S
+2
-2
arch/arm/mm/cache-v4wb.S
arch/arm/mm/cache-v4wb.S
+2
-2
arch/arm/mm/cache-v4wt.S
arch/arm/mm/cache-v4wt.S
+2
-2
drivers/acorn/char/i2c.c
drivers/acorn/char/i2c.c
+5
-3
include/asm-arm/arch-ebsa285/time.h
include/asm-arm/arch-ebsa285/time.h
+4
-1
include/asm-arm/arch-pxa/time.h
include/asm-arm/arch-pxa/time.h
+22
-3
include/asm-arm/arch-sa1100/time.h
include/asm-arm/arch-sa1100/time.h
+7
-1
include/asm-arm/arch-shark/time.h
include/asm-arm/arch-shark/time.h
+0
-2
include/asm-arm/div64.h
include/asm-arm/div64.h
+34
-10
include/asm-arm/kmap_types.h
include/asm-arm/kmap_types.h
+14
-1
include/asm-arm/unaligned.h
include/asm-arm/unaligned.h
+1
-1
include/asm-arm/unistd.h
include/asm-arm/unistd.h
+14
-0
sound/oss/vidc.c
sound/oss/vidc.c
+41
-30
No files found.
arch/arm/boot/compressed/Makefile
View file @
42c1faa2
...
...
@@ -23,10 +23,6 @@ ifeq ($(CONFIG_ARCH_SHARK),y)
OBJS
+=
head-shark.o ofw-shark.o
endif
ifeq
($(CONFIG_ARCH_INTEGRATOR),y)
OBJS
+=
head-integrator.o
endif
ifeq
($(CONFIG_ARCH_CAMELOT),y)
OBJS
+=
head-epxa10db.o
endif
...
...
arch/arm/boot/compressed/head-integrator.S
deleted
100644 → 0
View file @
0b170e19
#include <asm/mach-types.h>
.
section
".start"
,
"ax"
mov
r7
,
#
MACH_TYPE_INTEGRATOR
arch/arm/boot/compressed/head.S
View file @
42c1faa2
...
...
@@ -503,12 +503,6 @@ proc_types:
@
Everything
from
here
on
will
be
the
new
ID
system
.
.
word
0x41129200
@
ARM920T
.
word
0xff00fff0
b
__armv4_cache_on
b
__armv4_cache_off
b
__armv4_cache_flush
.
word
0x4401a100
@
sa110
/
sa1100
.
word
0xffffffe0
b
__armv4_cache_on
...
...
@@ -523,6 +517,12 @@ proc_types:
@
These
match
on
the
architecture
ID
.
word
0x00020000
@
ARMv4T
.
word
0x000f0000
b
__armv4_cache_on
b
__armv4_cache_off
b
__armv4_cache_flush
.
word
0x00050000
@
ARMv5TE
.
word
0x000f0000
b
__armv4_cache_on
...
...
arch/arm/common/sa1111.c
View file @
42c1faa2
...
...
@@ -34,6 +34,8 @@
#include <asm/hardware/sa1111.h>
extern
void
__init
sa1110_mb_enable
(
void
);
/*
* We keep the following data for the overall SA1111. Note that the
* struct device and struct resource are "fake"; they should be supplied
...
...
@@ -561,6 +563,8 @@ sa1111_init_one_child(struct sa1111 *sachip, struct resource *parent,
dev
->
res
.
name
=
dev
->
dev
.
bus_id
;
dev
->
res
.
flags
=
IORESOURCE_MEM
;
dev
->
mapbase
=
sachip
->
base
+
info
->
offset
;
dev
->
skpcr_mask
=
info
->
skpcr_mask
;
memmove
(
dev
->
irq
,
info
->
irq
,
sizeof
(
dev
->
irq
));
ret
=
request_resource
(
parent
,
&
dev
->
res
);
if
(
ret
)
{
...
...
arch/arm/configs/netwinder_defconfig
0 → 100644
View file @
42c1faa2
#
# Automatically generated make config: don't edit
#
CONFIG_ARM=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_STANDALONE=y
CONFIG_BROKEN_ON_SMP=y
#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_IKCONFIG is not set
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
#
# Loadable module support
#
# CONFIG_MODULES is not set
#
# System Type
#
# CONFIG_ARCH_ADIFCC is not set
# CONFIG_ARCH_ANAKIN is not set
# CONFIG_ARCH_CLPS7500 is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_CO285 is not set
# CONFIG_ARCH_PXA is not set
# CONFIG_ARCH_EBSA110 is not set
# CONFIG_ARCH_CAMELOT is not set
CONFIG_ARCH_FOOTBRIDGE=y
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_IOP3XX is not set
# CONFIG_ARCH_L7200 is not set
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 is not set
# CONFIG_ARCH_SHARK is not set
#
# CLPS711X/EP721X Implementations
#
#
# Epxa10db
#
#
# Footbridge Implementations
#
# CONFIG_ARCH_CATS is not set
# CONFIG_ARCH_PERSONAL_SERVER is not set
# CONFIG_ARCH_EBSA285_ADDIN is not set
# CONFIG_ARCH_EBSA285_HOST is not set
CONFIG_ARCH_NETWINDER=y
#
# IOP3xx Implementation Options
#
# CONFIG_ARCH_IOP310 is not set
# CONFIG_ARCH_IOP321 is not set
#
# IOP3xx Chipset Features
#
#
# Intel PXA250/210 Implementations
#
#
# SA11x0 Implementations
#
CONFIG_FOOTBRIDGE=y
CONFIG_FOOTBRIDGE_HOST=y
#
# Processor Type
#
CONFIG_CPU_32=y
CONFIG_CPU_SA110=y
CONFIG_CPU_32v4=y
CONFIG_CPU_ABRT_EV4=y
CONFIG_CPU_CACHE_V4WB=y
CONFIG_CPU_COPY_V4WB=y
CONFIG_CPU_TLB_V4WB=y
#
# Processor Features
#
#
# General setup
#
CONFIG_PCI=y
CONFIG_ISA=y
CONFIG_ISA_DMA=y
# CONFIG_ZBOOT_ROM is not set
CONFIG_ZBOOT_ROM_TEXT=0
CONFIG_ZBOOT_ROM_BSS=0
CONFIG_PCI_LEGACY_PROC=y
CONFIG_PCI_NAMES=y
# CONFIG_HOTPLUG is not set
#
# At least one math emulation must be selected
#
CONFIG_FPE_NWFPE=y
# CONFIG_FPE_NWFPE_XP is not set
# CONFIG_FPE_FASTFPE is not set
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_AOUT=y
# CONFIG_BINFMT_MISC is not set
#
# Generic Driver Options
#
# CONFIG_PM is not set
# CONFIG_PREEMPT is not set
# CONFIG_ARTHUR is not set
CONFIG_CMDLINE="root=0x301"
CONFIG_LEDS=y
# CONFIG_LEDS_TIMER is not set
CONFIG_LEDS_CPU=y
CONFIG_ALIGNMENT_TRAP=y
#
# Parallel port support
#
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_CML1=y
# CONFIG_PARPORT_SERIAL is not set
# CONFIG_PARPORT_PC_FIFO is not set
CONFIG_PARPORT_PC_SUPERIO=y
# CONFIG_PARPORT_ARC is not set
# CONFIG_PARPORT_OTHER is not set
# CONFIG_PARPORT_1284 is not set
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Plug and Play support
#
# CONFIG_PNP is not set
#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
#
# Networking support
#
CONFIG_NET=y
#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
CONFIG_NETLINK_DEV=y
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_PNP=y
CONFIG_IP_PNP_DHCP=y
CONFIG_IP_PNP_BOOTP=y
CONFIG_IP_PNP_RARP=y
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=y
CONFIG_IP_NF_FTP=y
# CONFIG_IP_NF_IRC is not set
# CONFIG_IP_NF_TFTP is not set
# CONFIG_IP_NF_AMANDA is not set
CONFIG_IP_NF_QUEUE=y
CONFIG_IP_NF_IPTABLES=y
# CONFIG_IP_NF_MATCH_LIMIT is not set
# CONFIG_IP_NF_MATCH_IPRANGE is not set
# CONFIG_IP_NF_MATCH_MAC is not set
# CONFIG_IP_NF_MATCH_PKTTYPE is not set
# CONFIG_IP_NF_MATCH_MARK is not set
# CONFIG_IP_NF_MATCH_MULTIPORT is not set
# CONFIG_IP_NF_MATCH_TOS is not set
# CONFIG_IP_NF_MATCH_RECENT is not set
# CONFIG_IP_NF_MATCH_ECN is not set
# CONFIG_IP_NF_MATCH_DSCP is not set
# CONFIG_IP_NF_MATCH_AH_ESP is not set
# CONFIG_IP_NF_MATCH_LENGTH is not set
# CONFIG_IP_NF_MATCH_TTL is not set
# CONFIG_IP_NF_MATCH_TCPMSS is not set
# CONFIG_IP_NF_MATCH_HELPER is not set
# CONFIG_IP_NF_MATCH_STATE is not set
# CONFIG_IP_NF_MATCH_CONNTRACK is not set
# CONFIG_IP_NF_MATCH_OWNER is not set
# CONFIG_IP_NF_FILTER is not set
# CONFIG_IP_NF_NAT is not set
# CONFIG_IP_NF_MANGLE is not set
# CONFIG_IP_NF_TARGET_LOG is not set
# CONFIG_IP_NF_TARGET_ULOG is not set
# CONFIG_IP_NF_TARGET_TCPMSS is not set
# CONFIG_IP_NF_ARPTABLES is not set
#
# SCTP Configuration (EXPERIMENTAL)
#
CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y
#
# ARCnet devices
#
# CONFIG_ARCNET is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
# CONFIG_SMC91X is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
#
# Tulip family network device support
#
CONFIG_NET_TULIP=y
# CONFIG_DE2104X is not set
CONFIG_TULIP=y
# CONFIG_TULIP_MWI is not set
CONFIG_TULIP_MMIO=y
# CONFIG_DE4X5 is not set
# CONFIG_WINBOND_840 is not set
# CONFIG_DM9102 is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_CS89x0 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
CONFIG_NE2K_PCI=y
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_NET_POCKET is not set
#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set
# CONFIG_HOSTAP is not set
#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set
#
# Wan interfaces
#
# CONFIG_WAN is not set
#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set
#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set
#
# Bluetooth support
#
# CONFIG_BT is not set
#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
#
# Please see Documentation/ide.txt for help/info on IDE drives
#
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
# CONFIG_BLK_DEV_IDECD is not set
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_IDE_TASK_IOCTL is not set
# CONFIG_IDE_TASKFILE_IO is not set
#
# IDE chipset support/bugfixes
#
CONFIG_BLK_DEV_IDEPCI=y
# CONFIG_IDEPCI_SHARE_IRQ is not set
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_GENERIC is not set
# CONFIG_BLK_DEV_OPTI621 is not set
CONFIG_BLK_DEV_SL82C105=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
# CONFIG_IDEDMA_PCI_WIP is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_DMA_NONPCI is not set
# CONFIG_BLK_DEV_HD is not set
#
# SCSI device support
#
# CONFIG_SCSI is not set
#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set
#
# I2O device support
#
# CONFIG_I2O is not set
#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set
#
# Input device support
#
CONFIG_INPUT=y
#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
# CONFIG_INPUT_TSLIBDEV is not set
# CONFIG_INPUT_EVDEV is not set
# CONFIG_INPUT_EVBUG is not set
#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_PS2_SYNAPTICS is not set
CONFIG_MOUSE_SERIAL=y
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_PCSPKR is not set
CONFIG_INPUT_UINPUT=y
#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set
#
# Serial drivers
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
#
# Non-8250 serial port support
#
# CONFIG_SERIAL_DZ is not set
# CONFIG_SERIAL_21285 is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PRINTER=y
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set
#
# I2C support
#
# CONFIG_I2C is not set
#
# I2C Algorithms
#
#
# I2C Hardware Bus support
#
#
# I2C Hardware Sensors Chip support
#
# CONFIG_I2C_SENSOR is not set
#
# L3 serial bus support
#
# CONFIG_L3 is not set
#
# Mice
#
CONFIG_BUSMOUSE=y
# CONFIG_QIC02_TAPE is not set
#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set
#
# Watchdog Cards
#
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_WDT is not set
# CONFIG_WDTPCI is not set
# CONFIG_PCWATCHDOG is not set
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_21285_WATCHDOG is not set
CONFIG_977_WATCHDOG=y
# CONFIG_EUROTECH_WDT is not set
# CONFIG_IB700_WDT is not set
# CONFIG_I810_TCO is not set
# CONFIG_MIXCOMWD is not set
# CONFIG_SCx200_WDT is not set
# CONFIG_60XX_WDT is not set
# CONFIG_W83877F_WDT is not set
# CONFIG_MACHZ_WDT is not set
# CONFIG_SC520_WDT is not set
# CONFIG_AMD7XX_TCO is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_ALIM1535_WDT is not set
# CONFIG_SC1200_WDT is not set
# CONFIG_WAFER_WDT is not set
# CONFIG_CPU5_WDT is not set
CONFIG_DS1620=y
CONFIG_NWBUTTON=y
CONFIG_NWBUTTON_REBOOT=y
CONFIG_NWFLASH=y
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
# CONFIG_DRM is not set
# CONFIG_RAW_DRIVER is not set
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
#
# MMC/SD Card support
#
# CONFIG_MMC is not set
#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
CONFIG_AUTOFS_FS=y
# CONFIG_AUTOFS4_FS is not set
#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
# CONFIG_ZISOFS is not set
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#
# CONFIG_FAT_FS is not set
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
CONFIG_DEVPTS_FS=y
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V4=y
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V4 is not set
# CONFIG_NFSD_TCP is not set
CONFIG_ROOT_NFS=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_SUNRPC=y
CONFIG_SUNRPC_GSS=y
CONFIG_SMB_FS=y
# CONFIG_SMB_NLS_DEFAULT is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_AFS_FS is not set
#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_NEC98_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
CONFIG_SMB_NLS=y
CONFIG_NLS=y
#
# Native Language Support
#
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
CONFIG_NLS_CODEPAGE_852=y
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ISO8859_1=y
CONFIG_NLS_ISO8859_2=y
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y
#
# Graphics support
#
CONFIG_FB=y
CONFIG_FB_CYBER2000=y
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_VIRTUAL is not set
#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
#
# Logo configuration
#
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y
#
# Sound
#
CONFIG_SOUND=y
#
# Advanced Linux Sound Architecture
#
# CONFIG_SND is not set
#
# Open Sound System
#
CONFIG_SOUND_PRIME=y
# CONFIG_SOUND_BT878 is not set
# CONFIG_SOUND_CMPCI is not set
# CONFIG_SOUND_EMU10K1 is not set
# CONFIG_SOUND_FUSION is not set
# CONFIG_SOUND_CS4281 is not set
# CONFIG_SOUND_ES1370 is not set
# CONFIG_SOUND_ES1371 is not set
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_MAESTRO3 is not set
# CONFIG_SOUND_ICH is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_VIA82CXXX is not set
CONFIG_SOUND_OSS=y
CONFIG_SOUND_TRACEINIT=y
CONFIG_SOUND_DMAP=y
# CONFIG_SOUND_AD1816 is not set
# CONFIG_SOUND_AD1889 is not set
# CONFIG_SOUND_SGALAXY is not set
# CONFIG_SOUND_ADLIB is not set
# CONFIG_SOUND_ACI_MIXER is not set
# CONFIG_SOUND_CS4232 is not set
# CONFIG_SOUND_SSCAPE is not set
# CONFIG_SOUND_GUS is not set
# CONFIG_SOUND_VMIDI is not set
# CONFIG_SOUND_TRIX is not set
# CONFIG_SOUND_MSS is not set
# CONFIG_SOUND_MPU401 is not set
# CONFIG_SOUND_NM256 is not set
# CONFIG_SOUND_MAD16 is not set
# CONFIG_SOUND_PAS is not set
# CONFIG_SOUND_PSS is not set
# CONFIG_SOUND_SB is not set
# CONFIG_SOUND_AWE32_SYNTH is not set
# CONFIG_SOUND_MAUI is not set
CONFIG_SOUND_YM3812=y
# CONFIG_SOUND_OPL3SA1 is not set
# CONFIG_SOUND_OPL3SA2 is not set
# CONFIG_SOUND_YMFPCI is not set
# CONFIG_SOUND_UART6850 is not set
# CONFIG_SOUND_AEDSP16 is not set
CONFIG_SOUND_WAVEARTIST=y
# CONFIG_SOUND_ALI5455 is not set
# CONFIG_SOUND_FORTE is not set
# CONFIG_SOUND_RME96XX is not set
# CONFIG_SOUND_AD1980 is not set
#
# Misc devices
#
#
# Multimedia Capabilities Port drivers
#
# CONFIG_MCP is not set
#
# Console Switches
#
# CONFIG_SWITCHES is not set
#
# USB support
#
# CONFIG_USB is not set
# CONFIG_USB_GADGET is not set
#
# Kernel hacking
#
CONFIG_FRAME_POINTER=y
CONFIG_DEBUG_USER=y
# CONFIG_DEBUG_INFO is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SLAB is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_WAITQ is not set
# CONFIG_DEBUG_BUGVERBOSE is not set
# CONFIG_DEBUG_ERRORS is not set
# CONFIG_DEBUG_LL is not set
#
# Security options
#
# CONFIG_SECURITY is not set
#
# Cryptographic options
#
# CONFIG_CRYPTO is not set
#
# Library routines
#
CONFIG_CRC32=y
arch/arm/configs/shark_defconfig
View file @
42c1faa2
...
...
@@ -10,6 +10,10 @@ CONFIG_RWSEM_GENERIC_SPINLOCK=y
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
# CONFIG_CLEAN_COMPILE is not set
# CONFIG_STANDALONE is not set
CONFIG_BROKEN=y
CONFIG_BROKEN_ON_SMP=y
#
# General setup
...
...
@@ -19,6 +23,14 @@ CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_IKCONFIG is not set
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
#
# Loadable module support
...
...
@@ -35,7 +47,6 @@ CONFIG_KMOD=y
#
# CONFIG_ARCH_ADIFCC is not set
# CONFIG_ARCH_ANAKIN is not set
# CONFIG_ARCH_ARCA5K is not set
# CONFIG_ARCH_CLPS7500 is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_CO285 is not set
...
...
@@ -44,20 +55,12 @@ CONFIG_KMOD=y
# CONFIG_ARCH_CAMELOT is not set
# CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_IOP3
10
is not set
# CONFIG_ARCH_IOP3
XX
is not set
# CONFIG_ARCH_L7200 is not set
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 is not set
CONFIG_ARCH_SHARK=y
#
# Archimedes/A5000 Implementations
#
#
# Archimedes/A5000 Implementations (select only ONE)
#
#
# CLPS711X/EP721X Implementations
#
...
...
@@ -71,11 +74,13 @@ CONFIG_ARCH_SHARK=y
#
#
# IOP3
10
Implementation Options
# IOP3
xx
Implementation Options
#
# CONFIG_ARCH_IOP310 is not set
# CONFIG_ARCH_IOP321 is not set
#
# IOP3
10
Chipset Features
# IOP3
xx
Chipset Features
#
#
...
...
@@ -92,6 +97,10 @@ CONFIG_ARCH_SHARK=y
CONFIG_CPU_32=y
CONFIG_CPU_SA110=y
CONFIG_CPU_32v4=y
CONFIG_CPU_ABRT_EV4=y
CONFIG_CPU_CACHE_V4WB=y
CONFIG_CPU_COPY_V4WB=y
CONFIG_CPU_TLB_V4WB=y
#
# Processor Features
...
...
@@ -116,11 +125,13 @@ CONFIG_PCI_LEGACY_PROC=y
#
# CONFIG_FPE_NWFPE is not set
CONFIG_FPE_FASTFPE=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set
#
# Generic Driver Options
#
# CONFIG_PM is not set
# CONFIG_PREEMPT is not set
# CONFIG_ARTHUR is not set
...
...
@@ -164,6 +175,7 @@ CONFIG_PARPORT_PC_CML1=y
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=y
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_SIZE=4096
...
...
@@ -185,7 +197,6 @@ CONFIG_NET=y
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
# CONFIG_NETFILTER is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
...
...
@@ -199,8 +210,11 @@ CONFIG_INET=y
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_IPV6 is not set
# CONFIG_XFRM_USER is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_NETFILTER is not set
#
# SCTP Configuration (EXPERIMENTAL)
...
...
@@ -209,9 +223,9 @@ CONFIG_IPV6_SCTP__=y
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC is not set
# CONFIG_
DECNET
is not set
# CONFIG_
BRIDGE
is not set
# CONFIG_LLC
2
is not set
# CONFIG_
IPX
is not set
# CONFIG_
ATALK
is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
...
...
@@ -239,13 +253,13 @@ CONFIG_NETDEVICES=y
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
# CONFIG_SMC91X is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
...
...
@@ -294,8 +308,14 @@ CONFIG_CS89x0=y
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SIS190 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
...
...
@@ -306,10 +326,12 @@ CONFIG_CS89x0=y
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set
# CONFIG_HOSTAP is not set
#
# Token Ring devices
(depends on LLC=y)
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set
...
...
@@ -319,48 +341,55 @@ CONFIG_CS89x0=y
#
# CONFIG_WAN is not set
#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set
#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set
#
#
Amateur Radio
support
#
Bluetooth
support
#
# CONFIG_
HAMRADIO
is not set
# CONFIG_
BT
is not set
#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y
#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
# CONFIG_IDEDISK_MULTI_MODE is not set
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
CONFIG_BLK_DEV_IDEFLOPPY=y
# CONFIG_BLK_DEV_IDESCSI is not set
# CONFIG_IDE_TASK_IOCTL is not set
# CONFIG_IDE_TASKFILE_IO is not set
#
# IDE chipset support/bugfixes
#
# CONFIG_BLK_DEV_IDEPCI is not set
# CONFIG_IDE_CHIPSETS is not set
# CONFIG_BLK_DEV_IDEDMA is not set
# CONFIG_IDEDMA_AUTO is not set
# CONFIG_DMA_NONPCI is not set
# CONFIG_BLK_DEV_HD is not set
#
# SCSI support
# SCSI
device
support
#
CONFIG_SCSI=m
CONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
...
...
@@ -395,7 +424,6 @@ CONFIG_CHR_DEV_SG=m
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
...
...
@@ -407,15 +435,13 @@ CONFIG_CHR_DEV_SG=m
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_NCR53C8XX is not set
# CONFIG_SCSI_SYM53C8XX is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
...
...
@@ -425,6 +451,7 @@ CONFIG_CHR_DEV_SG=m
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
...
...
@@ -486,6 +513,7 @@ CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_PS2_SYNAPTICS is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
...
...
@@ -497,7 +525,9 @@ CONFIG_MOUSE_PS2=y
#
# Character devices
#
# CONFIG_VT is not set
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set
#
...
...
@@ -505,6 +535,7 @@ CONFIG_MOUSE_PS2=y
#
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
#
...
...
@@ -526,12 +557,17 @@ CONFIG_PRINTER=m
# CONFIG_I2C is not set
#
# I2C Hardware Sensors Mainboard support
# I2C Algorithms
#
#
# I2C Hardware Bus support
#
#
# I2C Hardware Sensors Chip support
#
# CONFIG_I2C_SENSOR is not set
#
# L3 serial bus support
...
...
@@ -566,13 +602,22 @@ CONFIG_RTC=y
# CONFIG_AGP is not set
# CONFIG_DRM is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set
#
# MMC/SD Card support
#
# CONFIG_MMC is not set
#
# File systems
#
...
...
@@ -581,6 +626,7 @@ CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
...
...
@@ -618,6 +664,8 @@ CONFIG_DEVFS_MOUNT=y
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS is not set
# CONFIG_TMPFS is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y
#
...
...
@@ -642,6 +690,7 @@ CONFIG_RAMFS=y
CONFIG_NFS_FS=y
# CONFIG_NFS_V3 is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
# CONFIG_NFSD is not set
CONFIG_LOCKD=y
# CONFIG_EXPORTFS is not set
...
...
@@ -739,10 +788,25 @@ CONFIG_FB_CYBER2000=y
# CONFIG_FB_PM3 is not set
# CONFIG_FB_VIRTUAL is not set
#
# Console display driver support
#
# CONFIG_VGA_CONSOLE is not set
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
#
# Logo configuration
#
# CONFIG_LOGO is not set
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
CONFIG_LOGO_LINUX_CLUT224=y
#
# Sound
...
...
@@ -769,7 +833,6 @@ CONFIG_SOUND_PRIME=m
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_MAESTRO3 is not set
# CONFIG_SOUND_ICH is not set
# CONFIG_SOUND_RME96XX is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
...
...
@@ -779,6 +842,7 @@ CONFIG_SOUND_OSS=m
# CONFIG_SOUND_TRACEINIT is not set
# CONFIG_SOUND_DMAP is not set
# CONFIG_SOUND_AD1816 is not set
# CONFIG_SOUND_AD1889 is not set
# CONFIG_SOUND_SGALAXY is not set
CONFIG_SOUND_ADLIB=m
# CONFIG_SOUND_ACI_MIXER is not set
...
...
@@ -803,6 +867,11 @@ CONFIG_SOUND_SB=m
# CONFIG_SOUND_YMFPCI is not set
# CONFIG_SOUND_UART6850 is not set
# CONFIG_SOUND_AEDSP16 is not set
# CONFIG_SOUND_KAHLUA is not set
# CONFIG_SOUND_ALI5455 is not set
# CONFIG_SOUND_FORTE is not set
# CONFIG_SOUND_RME96XX is not set
# CONFIG_SOUND_AD1980 is not set
#
# Misc devices
...
...
@@ -822,11 +891,7 @@ CONFIG_SOUND_SB=m
# USB support
#
# CONFIG_USB is not set
#
# Bluetooth support
#
# CONFIG_BT is not set
# CONFIG_USB_GADGET is not set
#
# Kernel hacking
...
...
arch/arm/kernel/armksyms.c
View file @
42c1faa2
...
...
@@ -68,8 +68,8 @@ extern void __umoddi3(void);
extern
void
__udivmoddi4
(
void
);
extern
void
__udivsi3
(
void
);
extern
void
__umodsi3
(
void
);
extern
void
__do_div64
(
void
);
extern
void
abort
(
void
);
extern
void
do_div64
(
void
);
extern
void
ret_from_exception
(
void
);
extern
void
fpundefinstr
(
void
);
...
...
@@ -223,7 +223,7 @@ EXPORT_SYMBOL_NOVERS(__umoddi3);
EXPORT_SYMBOL_NOVERS
(
__udivmoddi4
);
EXPORT_SYMBOL_NOVERS
(
__udivsi3
);
EXPORT_SYMBOL_NOVERS
(
__umodsi3
);
EXPORT_SYMBOL_NOVERS
(
do_div64
);
EXPORT_SYMBOL_NOVERS
(
__
do_div64
);
/* bitops */
EXPORT_SYMBOL
(
_set_bit_le
);
...
...
arch/arm/kernel/calls.S
View file @
42c1faa2
...
...
@@ -271,6 +271,20 @@ __syscall_start:
.
long
sys_ni_syscall
/*
sys_set_thread_area
*/
/*
255
*/
.
long
sys_ni_syscall
/*
sys_get_thread_area
*/
.
long
sys_ni_syscall
/*
sys_set_tid_address
*/
.
long
sys_timer_create
.
long
sys_timer_settime
.
long
sys_timer_gettime
/*
260
*/
.
long
sys_timer_getoverrun
.
long
sys_timer_delete
.
long
sys_clock_settime
.
long
sys_clock_gettime
.
long
sys_clock_getres
/*
265
*/
.
long
sys_clock_nanosleep
.
long
sys_statfs64
.
long
sys_fstatfs64
.
long
sys_tgkill
.
long
sys_utimes
/*
270
*/
.
long
sys_fadvise64_64
__syscall_end
:
.
rept
NR_syscalls
-
(
__syscall_end
-
__syscall_start
)
/
4
...
...
arch/arm/lib/div64.S
View file @
42c1faa2
/*
*
linux
/
arch
/
arm
/
lib
/
div64
.
S
*
*
Optimized
computation
of
64
-
bit
dividend
/
32
-
bit
divisor
*
*
Author
:
Nicolas
Pitre
*
Created
:
Oct
5
,
2003
*
Copyright
:
Monta
Vista
Software
,
Inc
.
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
version
2
as
*
published
by
the
Free
Software
Foundation
.
*/
#include <linux/linkage.h>
#ifndef __ARMEB__
ql
.
req
r0
@
quotient
low
qh
.
req
r1
@
quotient
high
onl
.
req
r0
@
original
dividend
low
onh
.
req
r1
@
original
dividend
high
nl
.
req
r4
@
dividend
low
nh
.
req
r5
@
dividend
high
res
.
req
r4
@
result
#ifdef __ARMEB__
#define xh r0
#define xl r1
#define yh r2
#define yl r3
#else
ql
.
req
r1
qh
.
req
r0
onl
.
req
r1
onh
.
req
r0
nl
.
req
r5
nh
.
req
r4
res
.
req
r5
#define xl r0
#define xh r1
#define yl r2
#define yh r3
#endif
dl
.
req
r3
@
divisor
low
dh
.
req
r2
@
divsor
high
ENTRY
(
do_div64
)
stmfd
sp
!,
{
r4
,
r5
,
lr
}
mov
nl
,
onl
movs
nh
,
onh
@
if
high
bits
are
zero
movne
lr
,
#
33
moveq
lr
,
#
1
@
only
divide
low
bits
moveq
nh
,
onl
tst
dh
,
#
0x80000000
bne
2
f
1
:
cmp
nh
,
dh
bls
2
f
add
lr
,
lr
,
#
1
movs
dh
,
dh
,
lsl
#
1
@
left
justify
disor
bpl
1
b
2
:
movs
nh
,
onh
moveq
dl
,
dh
moveq
dh
,
#
0
movne
dl
,
#
0
mov
ql
,
#
0
mov
qh
,
#
0
3
:
subs
ip
,
nl
,
dl
@
trial
subtraction
sbcs
ip
,
nh
,
dh
movcs
nh
,
ip
@
only
update
if
successful
subcs
nl
,
nl
,
dl
@
(
repeat
the
subtraction
)
adcs
ql
,
ql
,
ql
@
C
=
1
if
successful
,
shift
into
adc
qh
,
qh
,
qh
@
quotient
movs
dh
,
dh
,
lsr
#
1
@
shift
base
high
part
right
mov
dl
,
dl
,
rrx
@
shift
base
low
part
right
subs
lr
,
lr
,
#
1
bne
3
b
mov
r2
,
res
ldmfd
sp
!,
{
r4
,
r5
,
pc
}
/*
*
__do_div64
:
perform
a
division
with
64
-
bit
dividend
and
32
-
bit
divisor
.
*
*
Note
:
Calling
convention
is
totally
non
standard
for
optimal
code
.
*
This
is
meant
to
be
used
by
do_div
()
from
include
/
asm
/
div64
.
h
only
.
*
*
Input
parameters
:
*
xh
-
xl
=
dividend
(
clobbered
)
*
r4
=
divisor
(
preserved
)
*
*
Output
values
:
*
yh
-
yl
=
result
*
xh
=
remainder
*
*
Clobbered
regs
:
xl
,
ip
*/
ENTRY
(
__do_div64
)
@
Test
for
easy
paths
first
.
subs
ip
,
r4
,
#
1
bls
9
f
@
divisor
is
0
or
1
tst
ip
,
r4
beq
8
f
@
divisor
is
power
of
2
@
See
if
we
need
to
handle
upper
32
-
bit
result
.
cmp
xh
,
r4
mov
yh
,
#
0
blo
3
f
@
Align
divisor
with
upper
part
of
dividend
.
@
The
aligned
divisor
is
stored
in
yl
preserving
the
original
.
@
The
bit
position
is
stored
in
ip
.
#if __LINUX_ARM_ARCH__ >= 5
clz
yl
,
r4
clz
ip
,
xh
sub
yl
,
yl
,
ip
mov
ip
,
#
1
mov
ip
,
ip
,
lsl
yl
mov
yl
,
r4
,
lsl
yl
#else
mov
yl
,
r4
mov
ip
,
#
1
1
:
cmp
yl
,
#
0x80000000
cmpcc
yl
,
xh
movcc
yl
,
yl
,
lsl
#
1
movcc
ip
,
ip
,
lsl
#
1
bcc
1
b
#endif
@
The
division
loop
for
needed
upper
bit
positions
.
@
Break
out
early
if
dividend
reaches
0
.
2
:
cmp
xh
,
yl
orrcs
yh
,
yh
,
ip
subcss
xh
,
xh
,
yl
movnes
ip
,
ip
,
lsr
#
1
mov
yl
,
yl
,
lsr
#
1
bne
2
b
@
See
if
we
need
to
handle
lower
32
-
bit
result
.
3
:
cmp
xh
,
#
0
mov
yl
,
#
0
cmpeq
xl
,
r4
movlo
xh
,
xl
movlo
pc
,
lr
@
The
division
loop
for
lower
bit
positions
.
@
Here
we
shift
remainer
bits
leftwards
rather
than
moving
the
@
divisor
for
comparisons
,
considering
the
carry
-
out
bit
as
well
.
mov
ip
,
#
0x80000000
4
:
movs
xl
,
xl
,
lsl
#
1
adcs
xh
,
xh
,
xh
beq
6
f
cmpcc
xh
,
r4
5
:
orrcs
yl
,
yl
,
ip
subcs
xh
,
xh
,
r4
movs
ip
,
ip
,
lsr
#
1
bne
4
b
mov
pc
,
lr
@
The
top
part
of
remainder
became
zero
.
If
carry
is
set
@
(
the
33
th
bit
)
this
is
a
false
positive
so
resume
the
loop
.
@
Otherwise
,
if
lower
part
is
also
null
then
we
are
done
.
6
:
bcs
5
b
cmp
xl
,
#
0
moveq
pc
,
lr
@
We
still
have
remainer
bits
in
the
low
part
.
Bring
them
up
.
#if __LINUX_ARM_ARCH__ >= 5
clz
xh
,
xl
@
we
know
xh
is
zero
here
so
...
add
xh
,
xh
,
#
1
mov
xl
,
xl
,
lsl
xh
mov
ip
,
ip
,
lsr
xh
#else
7
:
movs
xl
,
xl
,
lsl
#
1
mov
ip
,
ip
,
lsr
#
1
bcc
7
b
#endif
@
Current
remainder
is
now
1
.
It
is
worthless
to
compare
with
@
divisor
at
this
point
since
divisor
can
not
be
smaller
than
3
here
.
@
If
possible
,
branch
for
another
shift
in
the
division
loop
.
@
If
no
bit
position
left
then
we
are
done
.
movs
ip
,
ip
,
lsr
#
1
mov
xh
,
#
1
bne
4
b
mov
pc
,
lr
8
:
@
Division
by
a
power
of
2
:
determine
what
that
divisor
order
is
@
then
simply
shift
values
around
#if __LINUX_ARM_ARCH__ >= 5
clz
ip
,
r4
rsb
ip
,
ip
,
#
31
#else
mov
yl
,
r4
cmp
r4
,
#(
1
<<
16
)
mov
ip
,
#
0
movhs
yl
,
yl
,
lsr
#
16
movhs
ip
,
#
16
cmp
yl
,
#(
1
<<
8
)
movhs
yl
,
yl
,
lsr
#
8
addhs
ip
,
ip
,
#
8
cmp
yl
,
#(
1
<<
4
)
movhs
yl
,
yl
,
lsr
#
4
addhs
ip
,
ip
,
#
4
cmp
yl
,
#(
1
<<
2
)
addhi
ip
,
ip
,
#
3
addls
ip
,
ip
,
yl
,
lsr
#
1
#endif
mov
yh
,
xh
,
lsr
ip
mov
yl
,
xl
,
lsr
ip
rsb
ip
,
ip
,
#
32
orr
yl
,
yl
,
xh
,
lsl
ip
mov
xh
,
xl
,
lsl
ip
mov
xh
,
xh
,
lsr
ip
mov
pc
,
lr
@
eq
->
division
by
1
:
obvious
enough
...
9
:
moveq
yl
,
xl
moveq
yh
,
xh
moveq
xh
,
#
0
moveq
pc
,
lr
@
Division
by
0
:
str
lr
,
[
sp
,
#-
4
]!
bl
__div0
@
as
wrong
as
it
could
be
...
mov
yl
,
#
0
mov
yh
,
#
0
mov
xh
,
#
0
ldr
pc
,
[
sp
],
#
4
arch/arm/mach-clps711x/time.c
View file @
42c1faa2
...
...
@@ -40,6 +40,7 @@ static unsigned long clps711x_gettimeoffset(void)
void
__init
clps711x_setup_timer
(
void
)
{
struct
timespec
tv
;
unsigned
int
syscon
;
gettimeoffset
=
clps711x_gettimeoffset
;
...
...
@@ -50,5 +51,7 @@ void __init clps711x_setup_timer(void)
clps_writel
(
LATCH
-
1
,
TC2D
);
/* 512kHz / 100Hz - 1 */
xtime
.
tv_sec
=
clps_readl
(
RTCDR
);
tv
.
tv_nsec
=
0
;
tv
.
tv_sec
=
clps_readl
(
RTCDR
);
do_settimeofday
(
&
tv
);
}
arch/arm/mach-integrator/integrator_ap.c
View file @
42c1faa2
...
...
@@ -126,7 +126,7 @@ static void __init ap_init_irq(void)
writel
(
-
1
,
VA_IC_BASE
+
FIQ_ENABLE_CLEAR
);
for
(
i
=
0
;
i
<
NR_IRQS
;
i
++
)
{
if
(((
1
<<
i
)
&
&
INTEGRATOR_SC_VALID_INT
)
!=
0
)
{
if
(((
1
<<
i
)
&
INTEGRATOR_SC_VALID_INT
)
!=
0
)
{
set_irq_chip
(
i
,
&
sc_chip
);
set_irq_handler
(
i
,
do_level_IRQ
);
set_irq_flags
(
i
,
IRQF_VALID
|
IRQF_PROBE
);
...
...
arch/arm/mm/cache-v3.S
View file @
42c1faa2
...
...
@@ -32,14 +32,14 @@ ENTRY(v3_flush_kern_cache_all)
/
*
FALLTHROUGH
*/
/*
*
flush_user_cache_range
(
start
,
end
,
vm_
flags
)
*
flush_user_cache_range
(
start
,
end
,
flags
)
*
*
Invalidate
a
range
of
cache
entries
in
the
specified
*
address
space
.
*
*
-
start
-
start
address
(
may
not
be
aligned
)
*
-
end
-
end
address
(
exclusive
,
may
not
be
aligned
)
*
-
vma
-
vma_area_struct
describing
address
space
*
-
flags
-
vma_area_struct
flags
describing
address
space
*/
ENTRY
(
v3_flush_user_cache_range
)
mov
ip
,
#
0
...
...
arch/arm/mm/cache-v4.S
View file @
42c1faa2
...
...
@@ -34,14 +34,14 @@ ENTRY(v4_flush_kern_cache_all)
mov
pc
,
lr
/*
*
flush_user_cache_range
(
start
,
end
,
vma
)
*
flush_user_cache_range
(
start
,
end
,
flags
)
*
*
Invalidate
a
range
of
cache
entries
in
the
specified
*
address
space
.
*
*
-
start
-
start
address
(
may
not
be
aligned
)
*
-
end
-
end
address
(
exclusive
,
may
not
be
aligned
)
*
-
vma
-
vma_area_struct
describing
address
space
*
-
flags
-
vma_area_struct
flags
describing
address
space
*/
ENTRY
(
v4_flush_user_cache_range
)
mov
ip
,
#
0
...
...
arch/arm/mm/cache-v4wb.S
View file @
42c1faa2
...
...
@@ -72,14 +72,14 @@ __flush_whole_cache:
mov
pc
,
lr
/*
*
flush_user_cache_range
(
start
,
end
,
vm_
flags
)
*
flush_user_cache_range
(
start
,
end
,
flags
)
*
*
Invalidate
a
range
of
cache
entries
in
the
specified
*
address
space
.
*
*
-
start
-
start
address
(
inclusive
,
page
aligned
)
*
-
end
-
end
address
(
exclusive
,
page
aligned
)
*
-
vma
-
vma_area_struct
describing
address
space
*
-
flags
-
vma_area_struct
flags
describing
address
space
*/
ENTRY
(
v4wb_flush_user_cache_range
)
sub
r3
,
r1
,
r0
@
calculate
total
size
...
...
arch/arm/mm/cache-v4wt.S
View file @
42c1faa2
...
...
@@ -64,14 +64,14 @@ __flush_whole_cache:
mov
pc
,
lr
/*
*
flush_user_cache_range
(
start
,
end
,
vm_
flags
)
*
flush_user_cache_range
(
start
,
end
,
flags
)
*
*
Clean
and
invalidate
a
range
of
cache
entries
in
the
specified
*
address
space
.
*
*
-
start
-
start
address
(
inclusive
,
page
aligned
)
*
-
end
-
end
address
(
exclusive
,
page
aligned
)
*
-
vma
-
vma_area_struct
describing
address
space
*
-
flags
-
vma_area_struct
flags
describing
address
space
*/
ENTRY
(
v4wt_flush_user_cache_range
)
sub
r3
,
r1
,
r0
@
calculate
total
size
...
...
drivers/acorn/char/i2c.c
View file @
42c1faa2
...
...
@@ -280,13 +280,15 @@ static int ioc_client_reg(struct i2c_client *client)
client
->
addr
==
0x50
)
{
struct
rtc_tm
rtctm
;
unsigned
int
year
;
struct
timespec
tv
;
rtc_client
=
client
;
get_rtc_time
(
&
rtctm
,
&
year
);
xtime
.
tv_nsec
=
rtctm
.
cs
*
10000000
;
xtime
.
tv_sec
=
mktime
(
year
,
rtctm
.
mon
,
rtctm
.
mday
,
rtctm
.
hours
,
rtctm
.
mins
,
rtctm
.
secs
);
tv
.
tv_nsec
=
rtctm
.
cs
*
10000000
;
tv
.
tv_sec
=
mktime
(
year
,
rtctm
.
mon
,
rtctm
.
mday
,
rtctm
.
hours
,
rtctm
.
mins
,
rtctm
.
secs
);
do_settimeofday
(
&
tv
);
set_rtc
=
k_set_rtc_time
;
}
...
...
include/asm-arm/arch-ebsa285/time.h
View file @
42c1faa2
...
...
@@ -243,6 +243,7 @@ void __init time_init(void)
if
((
CMOS_READ
(
RTC_REG_A
)
&
0x7f
)
==
RTC_REF_CLCK_32KHZ
&&
CMOS_READ
(
RTC_REG_B
)
==
reg_b
)
{
struct
timespec
tv
;
/*
* We have a RTC. Check the battery
...
...
@@ -250,7 +251,9 @@ void __init time_init(void)
if
((
reg_d
&
0x80
)
==
0
)
printk
(
KERN_WARNING
"RTC: *** warning: CMOS battery bad
\n
"
);
xtime
.
tv_sec
=
get_isa_cmos_time
();
tv
.
tv_nsec
=
0
;
tv
.
tv_sec
=
get_isa_cmos_time
();
do_settimeofday
(
&
tv
);
set_rtc
=
set_isa_cmos_time
;
}
else
rtc_base
=
0
;
...
...
include/asm-arm/arch-pxa/time.h
View file @
42c1faa2
...
...
@@ -33,7 +33,7 @@ static int pxa_set_rtc(void)
/* IRQs are disabled before entering here from do_gettimeofday() */
static
unsigned
long
pxa_gettimeoffset
(
void
)
{
unsigned
long
ticks_to_match
,
elapsed
,
usec
;
long
ticks_to_match
,
elapsed
,
usec
;
/* Get ticks before next timer match */
ticks_to_match
=
OSMR0
-
OSCR
;
...
...
@@ -41,6 +41,10 @@ static unsigned long pxa_gettimeoffset (void)
/* We need elapsed ticks since last match */
elapsed
=
LATCH
-
ticks_to_match
;
/* don't get fooled by the workaround in pxa_timer_interrupt() */
if
(
elapsed
<=
0
)
return
0
;
/* Now convert them to usec */
usec
=
(
unsigned
long
)(
elapsed
*
(
tick_nsec
/
1000
))
/
LATCH
;
...
...
@@ -59,6 +63,15 @@ pxa_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
* IRQs are disabled inside the loop to ensure coherence between
* lost_ticks (updated in do_timer()) and the match reg value, so we
* can use do_gettimeofday() from interrupt handlers.
*
* HACK ALERT: it seems that the PXA timer regs aren't updated right
* away in all cases when a write occurs. We therefore compare with
* 8 instead of 0 in the while() condition below to avoid missing a
* match if OSCR has already reached the next OSMR value.
* Experience has shown that up to 6 ticks are needed to work around
* this problem, but let's use 8 to be conservative. Note that this
* affect things only when the timer IRQ has been delayed by nearly
* exactly one tick period which should be a pretty rare event.
*/
do
{
do_leds
();
...
...
@@ -66,16 +79,22 @@ pxa_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
do_timer
(
regs
);
OSSR
=
OSSR_M0
;
/* Clear match on timer 0 */
next_match
=
(
OSMR0
+=
LATCH
);
}
while
(
(
signed
long
)(
next_match
-
OSCR
)
<=
0
);
}
while
(
(
signed
long
)(
next_match
-
OSCR
)
<=
8
);
return
IRQ_HANDLED
;
}
void
__init
time_init
(
void
)
{
struct
timespec
tv
;
gettimeoffset
=
pxa_gettimeoffset
;
set_rtc
=
pxa_set_rtc
;
xtime
.
tv_sec
=
pxa_get_rtc_time
();
tv
.
tv_nsec
=
0
;
tv
.
tv_sec
=
pxa_get_rtc_time
();
do_settimeofday
(
&
tv
);
timer_irq
.
handler
=
pxa_timer_interrupt
;
OSMR0
=
0
;
/* set initial match at 0 */
OSSR
=
0xf
;
/* clear status on all timers */
...
...
include/asm-arm/arch-sa1100/time.h
View file @
42c1faa2
...
...
@@ -92,9 +92,15 @@ sa1100_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
void
__init
time_init
(
void
)
{
struct
timespec
tv
;
gettimeoffset
=
sa1100_gettimeoffset
;
set_rtc
=
sa1100_set_rtc
;
xtime
.
tv_sec
=
sa1100_get_rtc_time
();
tv
.
tv_nsec
=
0
;
tv
.
tv_sec
=
sa1100_get_rtc_time
();
do_settimeofday
(
&
tv
);
timer_irq
.
handler
=
sa1100_timer_interrupt
;
OSMR0
=
0
;
/* set initial match at 0 */
OSSR
=
0xf
;
/* clear status on all timers */
...
...
include/asm-arm/arch-shark/time.h
View file @
42c1faa2
...
...
@@ -34,8 +34,6 @@ void __init time_init(void)
outb
(
HZ_TIME
&
0xff
,
0x40
);
/* LSB of count */
outb
(
HZ_TIME
>>
8
,
0x40
);
xtime
.
tv_sec
=
0
;
timer_irq
.
handler
=
timer_interrupt
;
setup_irq
(
IRQ_TIMER
,
&
timer_irq
);
}
include/asm-arm/div64.h
View file @
42c1faa2
#ifndef __ASM_ARM_DIV64
#define __ASM_ARM_DIV64
/* We're not 64-bit, but... */
/*
* The semantics of do_div() are:
*
* uint32_t do_div(uint64_t *n, uint32_t base)
* {
* uint32_t remainder = *n % base;
* *n = *n / base;
* return remainder;
* }
*
* In other words, a 64-bit dividend with a 32-bit divisor producing
* a 64-bit result and a 32-bit remainder. To accomplish this optimally
* we call a special __do_div64 helper with completely non standard
* calling convention for arguments and results (beware).
*/
#ifdef __ARMEB__
#define __xh "r0"
#define __xl "r1"
#else
#define __xl "r0"
#define __xh "r1"
#endif
#define do_div(n,base) \
({ \
register int __res asm("r2") = base; \
register unsigned long long __n asm("r0") = n; \
asm("bl do_div64" \
: "=r" (__n), "=r" (__res) \
: "0" (__n), "1" (__res) \
: "r3", "ip", "lr", "cc"); \
n = __n; \
__res; \
register unsigned int __base asm("r4") = base; \
register unsigned long long __n asm("r0") = n; \
register unsigned long long __res asm("r2"); \
register unsigned int __rem asm(__xh); \
asm("bl __do_div64" \
: "=r" (__rem), "=r" (__res) \
: "r" (__n), "r" (__base) \
: "ip", "lr", "cc"); \
n = __res; \
__rem; \
})
#endif
include/asm-arm/kmap_types.h
View file @
42c1faa2
...
...
@@ -5,8 +5,21 @@
* This is the "bare minimum". AIO seems to require this.
*/
enum
km_type
{
KM_BOUNCE_READ
,
KM_SKB_SUNRPC_DATA
,
KM_SKB_DATA_SOFTIRQ
,
KM_USER0
,
KM_USER1
,
KM_BIO_SRC_IRQ
,
KM_BIO_DST_IRQ
,
KM_PTE0
,
KM_PTE1
,
KM_PTE2
,
KM_IRQ0
,
KM_USER1
KM_IRQ1
,
KM_SOFTIRQ0
,
KM_SOFTIRQ1
,
KM_TYPE_NR
};
#endif
include/asm-arm/unaligned.h
View file @
42c1faa2
...
...
@@ -159,7 +159,7 @@ static inline void __put_unaligned_8_be(const unsigned long long __v, register _
(void) 0; \
})
#define put_unaligned_be(val,ptr) \
#define
__
put_unaligned_be(val,ptr) \
({ \
switch (sizeof(*(ptr))) { \
case 1: \
...
...
include/asm-arm/unistd.h
View file @
42c1faa2
...
...
@@ -282,6 +282,20 @@
/* 254 for set_thread_area */
/* 255 for get_thread_area */
/* 256 for set_tid_address */
#define __NR_timer_create (__NR_SYSCALL_BASE+257)
#define __NR_timer_settime (__NR_SYSCALL_BASE+258)
#define __NR_timer_gettime (__NR_SYSCALL_BASE+259)
#define __NR_timer_getoverrun (__NR_SYSCALL_BASE+260)
#define __NR_timer_delete (__NR_SYSCALL_BASE+261)
#define __NR_clock_settime (__NR_SYSCALL_BASE+262)
#define __NR_clock_gettime (__NR_SYSCALL_BASE+263)
#define __NR_clock_getres (__NR_SYSCALL_BASE+264)
#define __NR_clock_nanosleep (__NR_SYSCALL_BASE+265)
#define __NR_statfs64 (__NR_SYSCALL_BASE+266)
#define __NR_fstatfs64 (__NR_SYSCALL_BASE+267)
#define __NR_tgkill (__NR_SYSCALL_BASE+268)
#define __NR_utimes (__NR_SYSCALL_BASE+269)
#define __NR_fadvise64_64 (__NR_SYSCALL_BASE+270)
/*
* The following SWIs are ARM private.
...
...
sound/oss/vidc.c
View file @
42c1faa2
...
...
@@ -41,6 +41,7 @@
#endif
#define VIDC_SOUND_CLOCK (250000)
#define VIDC_SOUND_CLOCK_EXT (176400)
/*
* When using SERIAL SOUND mode (external DAC), the number of physical
...
...
@@ -81,17 +82,9 @@ static unsigned char vidc_level_r[SOUND_MIXER_NRDEVICES] = {
static
unsigned
int
vidc_audio_volume_l
;
/* left PCM vol, 0 - 65536 */
static
unsigned
int
vidc_audio_volume_r
;
/* right PCM vol, 0 - 65536 */
static
void
(
*
old_mksound
)(
unsigned
int
hz
,
unsigned
int
ticks
);
extern
void
(
*
kd_mksound
)(
unsigned
int
hz
,
unsigned
int
ticks
);
extern
void
vidc_update_filler
(
int
bits
,
int
channels
);
extern
int
softoss_dev
;
static
void
vidc_mksound
(
unsigned
int
hz
,
unsigned
int
ticks
)
{
// printk("BEEP - %d %d!\n", hz, ticks);
}
static
void
vidc_mixer_set
(
int
mdev
,
unsigned
int
level
)
{
...
...
@@ -193,28 +186,50 @@ static unsigned int vidc_audio_set_format(int dev, unsigned int fmt)
return
vidc_audio_format
;
}
#define my_abs(i) ((i)<0 ? -(i) : (i))
static
int
vidc_audio_set_speed
(
int
dev
,
int
rate
)
{
if
(
rate
)
{
unsigned
int
hwctrl
,
hwrate
;
unsigned
int
hwctrl
,
hwrate
,
hwrate_ext
,
rate_int
,
rate_ext
;
unsigned
int
diff_int
,
diff_ext
;
unsigned
int
newsize
,
new2size
;
/*
* If we have selected 44.1kHz, use the DAC clock.
*/
if
(
0
&&
rate
==
44100
)
{
hwctrl
=
0x00000002
;
hwctrl
=
0x00000003
;
/* Using internal clock
*/
hwrate
=
(((
VIDC_SOUND_CLOCK
*
2
)
/
rate
)
+
1
)
>>
1
;
if
(
hwrate
<
3
)
hwrate
=
3
;
if
(
hwrate
>
255
)
hwrate
=
255
;
/* Using exernal clock */
hwrate_ext
=
(((
VIDC_SOUND_CLOCK_EXT
*
2
)
/
rate
)
+
1
)
>>
1
;
if
(
hwrate_ext
<
3
)
hwrate_ext
=
3
;
if
(
hwrate_ext
>
255
)
hwrate_ext
=
255
;
rate_int
=
VIDC_SOUND_CLOCK
/
hwrate
;
rate_ext
=
VIDC_SOUND_CLOCK_EXT
/
hwrate_ext
;
/* Chose between external and internal clock */
diff_int
=
my_abs
(
rate_ext
-
rate
);
diff_ext
=
my_abs
(
rate_int
-
rate
);
if
(
diff_ext
<
diff_int
)
{
/*printk("VIDC: external %d %d %d\n", rate, rate_ext, hwrate_ext);*/
hwrate
=
hwrate_ext
;
hwctrl
=
0x00000002
;
/* Allow roughly 0.4% tolerance */
if
(
diff_ext
>
(
rate
/
256
))
rate
=
rate_ext
;
}
else
{
hwctrl
=
0x00000003
;
hwrate
=
(((
VIDC_SOUND_CLOCK
*
2
)
/
rate
)
+
1
)
>>
1
;
if
(
hwrate
<
3
)
hwrate
=
3
;
if
(
hwrate
>
255
)
hwrate
=
255
;
rate
=
VIDC_SOUND_CLOCK
/
hwrate
;
/*printk("VIDC: internal %d %d %d\n", rate, rate_int, hwrate);*/
hwctrl
=
0x00000003
;
/* Allow rougly 0.4% tolerance */
if
(
diff_int
>
(
rate
/
256
))
rate
=
rate_int
;
}
vidc_writel
(
0xb0000000
|
(
hwrate
-
2
));
...
...
@@ -226,13 +241,14 @@ static int vidc_audio_set_speed(int dev, int rate)
if
(
newsize
>
4096
)
newsize
=
4096
;
for
(
new2size
=
128
;
new2size
<
newsize
;
new2size
<<=
1
);
if
(
new2size
-
newsize
>
newsize
-
(
new2size
>>
1
))
new2size
>>=
1
;
if
(
new2size
-
newsize
>
newsize
-
(
new2size
>>
1
))
new2size
>>=
1
;
if
(
new2size
>
4096
)
{
printk
(
KERN_ERR
"VIDC: error: dma buffer (%d) %d > 4K
\n
"
,
newsize
,
new2size
);
new2size
=
4096
;
}
/*printk("VIDC: dma size %d\n", new2size);*/
dma_bufsize
=
new2size
;
vidc_audio_rate
=
rate
;
}
...
...
@@ -471,8 +487,6 @@ static void __init attach_vidc(struct address_info *hw_config)
printk
(
KERN_ERR
"%s: IRQ %d is in use
\n
"
,
name
,
hw_config
->
irq
);
goto
irq_failed
;
}
old_mksound
=
kd_mksound
;
kd_mksound
=
vidc_mksound
;
vidc_adev
=
adev
;
vidc_mixer_set
(
SOUND_MIXER_VOLUME
,
(
85
|
85
<<
8
));
...
...
@@ -510,9 +524,6 @@ static void __exit unload_vidc(struct address_info *hw_config)
vidc_adev
=
-
1
;
if
(
old_mksound
)
kd_mksound
=
old_mksound
;
free_irq
(
hw_config
->
irq
,
&
dma_start
);
sound_free_dma
(
hw_config
->
dma
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment