Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 into for-linus
This commit is contained in:
commit
d932cb7e63
5
.gitignore
vendored
5
.gitignore
vendored
@ -30,6 +30,11 @@ include/config
|
|||||||
include/linux/autoconf.h
|
include/linux/autoconf.h
|
||||||
include/linux/compile.h
|
include/linux/compile.h
|
||||||
include/linux/version.h
|
include/linux/version.h
|
||||||
|
include/linux/utsrelease.h
|
||||||
|
|
||||||
# stgit generated dirs
|
# stgit generated dirs
|
||||||
patches-*
|
patches-*
|
||||||
|
|
||||||
|
# quilt's files
|
||||||
|
patches
|
||||||
|
series
|
||||||
|
10
CREDITS
10
CREDITS
@ -528,11 +528,11 @@ S: Oxford
|
|||||||
S: United Kingdom
|
S: United Kingdom
|
||||||
|
|
||||||
N: Luiz Fernando N. Capitulino
|
N: Luiz Fernando N. Capitulino
|
||||||
E: lcapitulino@terra.com.br
|
E: lcapitulino@mandriva.com.br
|
||||||
E: lcapitulino@prefeitura.sp.gov.br
|
E: lcapitulino@gmail.com
|
||||||
W: http://www.telecentros.sp.gov.br
|
W: http://www.cpu.eti.br
|
||||||
D: Little fixes and a lot of janitorial work
|
D: misc kernel hacking
|
||||||
S: E-GOV Telecentros SP
|
S: Mandriva
|
||||||
S: Brazil
|
S: Brazil
|
||||||
|
|
||||||
N: Remy Card
|
N: Remy Card
|
||||||
|
@ -698,12 +698,12 @@ these interfaces. Remember that, as defined, consistent mappings are
|
|||||||
always going to be SAC addressable.
|
always going to be SAC addressable.
|
||||||
|
|
||||||
The first thing your driver needs to do is query the PCI platform
|
The first thing your driver needs to do is query the PCI platform
|
||||||
layer with your devices DAC addressing capabilities:
|
layer if it is capable of handling your devices DAC addressing
|
||||||
|
capabilities:
|
||||||
|
|
||||||
int pci_dac_set_dma_mask(struct pci_dev *pdev, u64 mask);
|
int pci_dac_dma_supported(struct pci_dev *hwdev, u64 mask);
|
||||||
|
|
||||||
This routine behaves identically to pci_set_dma_mask. You may not
|
You may not use the following interfaces if this routine fails.
|
||||||
use the following interfaces if this routine fails.
|
|
||||||
|
|
||||||
Next, DMA addresses using this API are kept track of using the
|
Next, DMA addresses using this API are kept track of using the
|
||||||
dma64_addr_t type. It is guaranteed to be big enough to hold any
|
dma64_addr_t type. It is guaranteed to be big enough to hold any
|
||||||
|
@ -58,6 +58,9 @@
|
|||||||
!Iinclude/linux/ktime.h
|
!Iinclude/linux/ktime.h
|
||||||
!Iinclude/linux/hrtimer.h
|
!Iinclude/linux/hrtimer.h
|
||||||
!Ekernel/hrtimer.c
|
!Ekernel/hrtimer.c
|
||||||
|
</sect1>
|
||||||
|
<sect1><title>Workqueues and Kevents</title>
|
||||||
|
!Ekernel/workqueue.c
|
||||||
</sect1>
|
</sect1>
|
||||||
<sect1><title>Internal Functions</title>
|
<sect1><title>Internal Functions</title>
|
||||||
!Ikernel/exit.c
|
!Ikernel/exit.c
|
||||||
@ -300,7 +303,7 @@ X!Ekernel/module.c
|
|||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1><title>Resources Management</title>
|
<sect1><title>Resources Management</title>
|
||||||
!Ekernel/resource.c
|
!Ikernel/resource.c
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1><title>MTRR Handling</title>
|
<sect1><title>MTRR Handling</title>
|
||||||
@ -312,9 +315,7 @@ X!Ekernel/module.c
|
|||||||
!Edrivers/pci/pci-driver.c
|
!Edrivers/pci/pci-driver.c
|
||||||
!Edrivers/pci/remove.c
|
!Edrivers/pci/remove.c
|
||||||
!Edrivers/pci/pci-acpi.c
|
!Edrivers/pci/pci-acpi.c
|
||||||
<!-- kerneldoc does not understand __devinit
|
!Edrivers/pci/search.c
|
||||||
X!Edrivers/pci/search.c
|
|
||||||
-->
|
|
||||||
!Edrivers/pci/msi.c
|
!Edrivers/pci/msi.c
|
||||||
!Edrivers/pci/bus.c
|
!Edrivers/pci/bus.c
|
||||||
<!-- FIXME: Removed for now since no structured comments in source
|
<!-- FIXME: Removed for now since no structured comments in source
|
||||||
|
@ -687,8 +687,9 @@ diff shows how closely related RCU and reader-writer locking can be.
|
|||||||
+ spin_lock(&listmutex);
|
+ spin_lock(&listmutex);
|
||||||
list_for_each_entry(p, head, lp) {
|
list_for_each_entry(p, head, lp) {
|
||||||
if (p->key == key) {
|
if (p->key == key) {
|
||||||
list_del(&p->list);
|
- list_del(&p->list);
|
||||||
- write_unlock(&listmutex);
|
- write_unlock(&listmutex);
|
||||||
|
+ list_del_rcu(&p->list);
|
||||||
+ spin_unlock(&listmutex);
|
+ spin_unlock(&listmutex);
|
||||||
+ synchronize_rcu();
|
+ synchronize_rcu();
|
||||||
kfree(p);
|
kfree(p);
|
||||||
@ -736,7 +737,7 @@ Or, for those who prefer a side-by-side listing:
|
|||||||
5 write_lock(&listmutex); 5 spin_lock(&listmutex);
|
5 write_lock(&listmutex); 5 spin_lock(&listmutex);
|
||||||
6 list_for_each_entry(p, head, lp) { 6 list_for_each_entry(p, head, lp) {
|
6 list_for_each_entry(p, head, lp) { 6 list_for_each_entry(p, head, lp) {
|
||||||
7 if (p->key == key) { 7 if (p->key == key) {
|
7 if (p->key == key) { 7 if (p->key == key) {
|
||||||
8 list_del(&p->list); 8 list_del(&p->list);
|
8 list_del(&p->list); 8 list_del_rcu(&p->list);
|
||||||
9 write_unlock(&listmutex); 9 spin_unlock(&listmutex);
|
9 write_unlock(&listmutex); 9 spin_unlock(&listmutex);
|
||||||
10 synchronize_rcu();
|
10 synchronize_rcu();
|
||||||
10 kfree(p); 11 kfree(p);
|
10 kfree(p); 11 kfree(p);
|
||||||
|
@ -1,57 +1,63 @@
|
|||||||
Linux Kernel patch sumbittal checklist
|
Linux Kernel patch sumbittal checklist
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Here are some basic things that developers should do if they
|
Here are some basic things that developers should do if they want to see their
|
||||||
want to see their kernel patch submittals accepted quicker.
|
kernel patch submissions accepted more quickly.
|
||||||
|
|
||||||
These are all above and beyond the documentation that is provided
|
These are all above and beyond the documentation that is provided in
|
||||||
in Documentation/SubmittingPatches and elsewhere about submitting
|
Documentation/SubmittingPatches and elsewhere regarding submitting Linux
|
||||||
Linux kernel patches.
|
kernel patches.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- Builds cleanly with applicable or modified CONFIG options =y, =m, and =n.
|
1: Builds cleanly with applicable or modified CONFIG options =y, =m, and
|
||||||
No gcc warnings/errors, no linker warnings/errors.
|
=n. No gcc warnings/errors, no linker warnings/errors.
|
||||||
|
|
||||||
- Passes allnoconfig, allmodconfig
|
2: Passes allnoconfig, allmodconfig
|
||||||
|
|
||||||
- Builds on multiple CPU arch-es by using local cross-compile tools
|
3: Builds on multiple CPU architectures by using local cross-compile tools
|
||||||
or something like PLM at OSDL.
|
or something like PLM at OSDL.
|
||||||
|
|
||||||
- ppc64 is a good architecture for cross-compilation checking because it
|
4: ppc64 is a good architecture for cross-compilation checking because it
|
||||||
tends to use `unsigned long' for 64-bit quantities.
|
tends to use `unsigned long' for 64-bit quantities.
|
||||||
|
|
||||||
- Matches kernel coding style(!)
|
5: Matches kernel coding style(!)
|
||||||
|
|
||||||
- Any new or modified CONFIG options don't muck up the config menu.
|
6: Any new or modified CONFIG options don't muck up the config menu.
|
||||||
|
|
||||||
- All new Kconfig options have help text.
|
7: All new Kconfig options have help text.
|
||||||
|
|
||||||
- Has been carefully reviewed with respect to relevant Kconfig
|
8: Has been carefully reviewed with respect to relevant Kconfig
|
||||||
combinations. This is very hard to get right with testing --
|
combinations. This is very hard to get right with testing -- brainpower
|
||||||
brainpower pays off here.
|
pays off here.
|
||||||
|
|
||||||
- Check cleanly with sparse.
|
9: Check cleanly with sparse.
|
||||||
|
|
||||||
- Use 'make checkstack' and 'make namespacecheck' and fix any
|
10: Use 'make checkstack' and 'make namespacecheck' and fix any problems
|
||||||
problems that they find. Note: checkstack does not point out
|
that they find. Note: checkstack does not point out problems explicitly,
|
||||||
problems explicitly, but any one function that uses more than
|
but any one function that uses more than 512 bytes on the stack is a
|
||||||
512 bytes on the stack is a candidate for change.
|
candidate for change.
|
||||||
|
|
||||||
- Include kernel-doc to document global kernel APIs. (Not required
|
11: Include kernel-doc to document global kernel APIs. (Not required for
|
||||||
for static functions, but OK there also.) Use 'make htmldocs'
|
static functions, but OK there also.) Use 'make htmldocs' or 'make
|
||||||
or 'make mandocs' to check the kernel-doc and fix any issues.
|
mandocs' to check the kernel-doc and fix any issues.
|
||||||
|
|
||||||
- Has been tested with CONFIG_PREEMPT, CONFIG_DEBUG_PREEMPT,
|
12: Has been tested with CONFIG_PREEMPT, CONFIG_DEBUG_PREEMPT,
|
||||||
CONFIG_DEBUG_SLAB, CONFIG_DEBUG_PAGEALLOC, CONFIG_DEBUG_MUTEXES,
|
CONFIG_DEBUG_SLAB, CONFIG_DEBUG_PAGEALLOC, CONFIG_DEBUG_MUTEXES,
|
||||||
CONFIG_DEBUG_SPINLOCK, CONFIG_DEBUG_SPINLOCK_SLEEP all simultaneously
|
CONFIG_DEBUG_SPINLOCK, CONFIG_DEBUG_SPINLOCK_SLEEP all simultaneously
|
||||||
enabled.
|
enabled.
|
||||||
|
|
||||||
- Has been build- and runtime tested with and without CONFIG_SMP and
|
13: Has been build- and runtime tested with and without CONFIG_SMP and
|
||||||
CONFIG_PREEMPT.
|
CONFIG_PREEMPT.
|
||||||
|
|
||||||
- If the patch affects IO/Disk, etc: has been tested with and without
|
14: If the patch affects IO/Disk, etc: has been tested with and without
|
||||||
CONFIG_LBD.
|
CONFIG_LBD.
|
||||||
|
|
||||||
|
15: All codepaths have been exercised with all lockdep features enabled.
|
||||||
|
|
||||||
2006-APR-27
|
16: All new /proc entries are documented under Documentation/
|
||||||
|
|
||||||
|
17: All new kernel boot parameters are documented in
|
||||||
|
Documentation/kernel-parameters.txt.
|
||||||
|
|
||||||
|
18: All new module parameters are documented with MODULE_PARM_DESC()
|
||||||
|
@ -10,7 +10,9 @@ kernel, the process can sometimes be daunting if you're not familiar
|
|||||||
with "the system." This text is a collection of suggestions which
|
with "the system." This text is a collection of suggestions which
|
||||||
can greatly increase the chances of your change being accepted.
|
can greatly increase the chances of your change being accepted.
|
||||||
|
|
||||||
If you are submitting a driver, also read Documentation/SubmittingDrivers.
|
Read Documentation/SubmitChecklist for a list of items to check
|
||||||
|
before submitting code. If you are submitting a driver, also read
|
||||||
|
Documentation/SubmittingDrivers.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -74,9 +76,6 @@ There are a number of scripts which can aid in this:
|
|||||||
Quilt:
|
Quilt:
|
||||||
http://savannah.nongnu.org/projects/quilt
|
http://savannah.nongnu.org/projects/quilt
|
||||||
|
|
||||||
Randy Dunlap's patch scripts:
|
|
||||||
http://www.xenotime.net/linux/scripts/patching-scripts-002.tar.gz
|
|
||||||
|
|
||||||
Andrew Morton's patch scripts:
|
Andrew Morton's patch scripts:
|
||||||
http://www.zip.com.au/~akpm/linux/patches/
|
http://www.zip.com.au/~akpm/linux/patches/
|
||||||
Instead of these scripts, quilt is the recommended patch management
|
Instead of these scripts, quilt is the recommended patch management
|
||||||
@ -484,7 +483,7 @@ Greg Kroah-Hartman "How to piss off a kernel subsystem maintainer".
|
|||||||
<http://www.kroah.com/log/2005/10/19/>
|
<http://www.kroah.com/log/2005/10/19/>
|
||||||
<http://www.kroah.com/log/2006/01/11/>
|
<http://www.kroah.com/log/2006/01/11/>
|
||||||
|
|
||||||
NO!!!! No more huge patch bombs to linux-kernel@vger.kernel.org people!.
|
NO!!!! No more huge patch bombs to linux-kernel@vger.kernel.org people!
|
||||||
<http://marc.theaimsgroup.com/?l=linux-kernel&m=112112749912944&w=2>
|
<http://marc.theaimsgroup.com/?l=linux-kernel&m=112112749912944&w=2>
|
||||||
|
|
||||||
Kernel Documentation/CodingStyle
|
Kernel Documentation/CodingStyle
|
||||||
@ -493,4 +492,3 @@ Kernel Documentation/CodingStyle
|
|||||||
Linus Torvald's mail on the canonical patch format:
|
Linus Torvald's mail on the canonical patch format:
|
||||||
<http://lkml.org/lkml/2005/4/7/183>
|
<http://lkml.org/lkml/2005/4/7/183>
|
||||||
--
|
--
|
||||||
Last updated on 17 Nov 2005.
|
|
||||||
|
112
Documentation/accounting/delay-accounting.txt
Normal file
112
Documentation/accounting/delay-accounting.txt
Normal file
@ -0,0 +1,112 @@
|
|||||||
|
Delay accounting
|
||||||
|
----------------
|
||||||
|
|
||||||
|
Tasks encounter delays in execution when they wait
|
||||||
|
for some kernel resource to become available e.g. a
|
||||||
|
runnable task may wait for a free CPU to run on.
|
||||||
|
|
||||||
|
The per-task delay accounting functionality measures
|
||||||
|
the delays experienced by a task while
|
||||||
|
|
||||||
|
a) waiting for a CPU (while being runnable)
|
||||||
|
b) completion of synchronous block I/O initiated by the task
|
||||||
|
c) swapping in pages
|
||||||
|
|
||||||
|
and makes these statistics available to userspace through
|
||||||
|
the taskstats interface.
|
||||||
|
|
||||||
|
Such delays provide feedback for setting a task's cpu priority,
|
||||||
|
io priority and rss limit values appropriately. Long delays for
|
||||||
|
important tasks could be a trigger for raising its corresponding priority.
|
||||||
|
|
||||||
|
The functionality, through its use of the taskstats interface, also provides
|
||||||
|
delay statistics aggregated for all tasks (or threads) belonging to a
|
||||||
|
thread group (corresponding to a traditional Unix process). This is a commonly
|
||||||
|
needed aggregation that is more efficiently done by the kernel.
|
||||||
|
|
||||||
|
Userspace utilities, particularly resource management applications, can also
|
||||||
|
aggregate delay statistics into arbitrary groups. To enable this, delay
|
||||||
|
statistics of a task are available both during its lifetime as well as on its
|
||||||
|
exit, ensuring continuous and complete monitoring can be done.
|
||||||
|
|
||||||
|
|
||||||
|
Interface
|
||||||
|
---------
|
||||||
|
|
||||||
|
Delay accounting uses the taskstats interface which is described
|
||||||
|
in detail in a separate document in this directory. Taskstats returns a
|
||||||
|
generic data structure to userspace corresponding to per-pid and per-tgid
|
||||||
|
statistics. The delay accounting functionality populates specific fields of
|
||||||
|
this structure. See
|
||||||
|
include/linux/taskstats.h
|
||||||
|
for a description of the fields pertaining to delay accounting.
|
||||||
|
It will generally be in the form of counters returning the cumulative
|
||||||
|
delay seen for cpu, sync block I/O, swapin etc.
|
||||||
|
|
||||||
|
Taking the difference of two successive readings of a given
|
||||||
|
counter (say cpu_delay_total) for a task will give the delay
|
||||||
|
experienced by the task waiting for the corresponding resource
|
||||||
|
in that interval.
|
||||||
|
|
||||||
|
When a task exits, records containing the per-task statistics
|
||||||
|
are sent to userspace without requiring a command. If it is the last exiting
|
||||||
|
task of a thread group, the per-tgid statistics are also sent. More details
|
||||||
|
are given in the taskstats interface description.
|
||||||
|
|
||||||
|
The getdelays.c userspace utility in this directory allows simple commands to
|
||||||
|
be run and the corresponding delay statistics to be displayed. It also serves
|
||||||
|
as an example of using the taskstats interface.
|
||||||
|
|
||||||
|
Usage
|
||||||
|
-----
|
||||||
|
|
||||||
|
Compile the kernel with
|
||||||
|
CONFIG_TASK_DELAY_ACCT=y
|
||||||
|
CONFIG_TASKSTATS=y
|
||||||
|
|
||||||
|
Delay accounting is enabled by default at boot up.
|
||||||
|
To disable, add
|
||||||
|
nodelayacct
|
||||||
|
to the kernel boot options. The rest of the instructions
|
||||||
|
below assume this has not been done.
|
||||||
|
|
||||||
|
After the system has booted up, use a utility
|
||||||
|
similar to getdelays.c to access the delays
|
||||||
|
seen by a given task or a task group (tgid).
|
||||||
|
The utility also allows a given command to be
|
||||||
|
executed and the corresponding delays to be
|
||||||
|
seen.
|
||||||
|
|
||||||
|
General format of the getdelays command
|
||||||
|
|
||||||
|
getdelays [-t tgid] [-p pid] [-c cmd...]
|
||||||
|
|
||||||
|
|
||||||
|
Get delays, since system boot, for pid 10
|
||||||
|
# ./getdelays -p 10
|
||||||
|
(output similar to next case)
|
||||||
|
|
||||||
|
Get sum of delays, since system boot, for all pids with tgid 5
|
||||||
|
# ./getdelays -t 5
|
||||||
|
|
||||||
|
|
||||||
|
CPU count real total virtual total delay total
|
||||||
|
7876 92005750 100000000 24001500
|
||||||
|
IO count delay total
|
||||||
|
0 0
|
||||||
|
MEM count delay total
|
||||||
|
0 0
|
||||||
|
|
||||||
|
Get delays seen in executing a given simple command
|
||||||
|
# ./getdelays -c ls /
|
||||||
|
|
||||||
|
bin data1 data3 data5 dev home media opt root srv sys usr
|
||||||
|
boot data2 data4 data6 etc lib mnt proc sbin subdomain tmp var
|
||||||
|
|
||||||
|
|
||||||
|
CPU count real total virtual total delay total
|
||||||
|
6 4000250 4000000 0
|
||||||
|
IO count delay total
|
||||||
|
0 0
|
||||||
|
MEM count delay total
|
||||||
|
0 0
|
396
Documentation/accounting/getdelays.c
Normal file
396
Documentation/accounting/getdelays.c
Normal file
@ -0,0 +1,396 @@
|
|||||||
|
/* getdelays.c
|
||||||
|
*
|
||||||
|
* Utility to get per-pid and per-tgid delay accounting statistics
|
||||||
|
* Also illustrates usage of the taskstats interface
|
||||||
|
*
|
||||||
|
* Copyright (C) Shailabh Nagar, IBM Corp. 2005
|
||||||
|
* Copyright (C) Balbir Singh, IBM Corp. 2006
|
||||||
|
* Copyright (c) Jay Lan, SGI. 2006
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <poll.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <signal.h>
|
||||||
|
|
||||||
|
#include <linux/genetlink.h>
|
||||||
|
#include <linux/taskstats.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Generic macros for dealing with netlink sockets. Might be duplicated
|
||||||
|
* elsewhere. It is recommended that commercial grade applications use
|
||||||
|
* libnl or libnetlink and use the interfaces provided by the library
|
||||||
|
*/
|
||||||
|
#define GENLMSG_DATA(glh) ((void *)(NLMSG_DATA(glh) + GENL_HDRLEN))
|
||||||
|
#define GENLMSG_PAYLOAD(glh) (NLMSG_PAYLOAD(glh, 0) - GENL_HDRLEN)
|
||||||
|
#define NLA_DATA(na) ((void *)((char*)(na) + NLA_HDRLEN))
|
||||||
|
#define NLA_PAYLOAD(len) (len - NLA_HDRLEN)
|
||||||
|
|
||||||
|
#define err(code, fmt, arg...) do { printf(fmt, ##arg); exit(code); } while (0)
|
||||||
|
int done = 0;
|
||||||
|
int rcvbufsz=0;
|
||||||
|
|
||||||
|
char name[100];
|
||||||
|
int dbg=0, print_delays=0;
|
||||||
|
__u64 stime, utime;
|
||||||
|
#define PRINTF(fmt, arg...) { \
|
||||||
|
if (dbg) { \
|
||||||
|
printf(fmt, ##arg); \
|
||||||
|
} \
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Maximum size of response requested or message sent */
|
||||||
|
#define MAX_MSG_SIZE 256
|
||||||
|
/* Maximum number of cpus expected to be specified in a cpumask */
|
||||||
|
#define MAX_CPUS 32
|
||||||
|
/* Maximum length of pathname to log file */
|
||||||
|
#define MAX_FILENAME 256
|
||||||
|
|
||||||
|
struct msgtemplate {
|
||||||
|
struct nlmsghdr n;
|
||||||
|
struct genlmsghdr g;
|
||||||
|
char buf[MAX_MSG_SIZE];
|
||||||
|
};
|
||||||
|
|
||||||
|
char cpumask[100+6*MAX_CPUS];
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Create a raw netlink socket and bind
|
||||||
|
*/
|
||||||
|
static int create_nl_socket(int protocol)
|
||||||
|
{
|
||||||
|
int fd;
|
||||||
|
struct sockaddr_nl local;
|
||||||
|
|
||||||
|
fd = socket(AF_NETLINK, SOCK_RAW, protocol);
|
||||||
|
if (fd < 0)
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
if (rcvbufsz)
|
||||||
|
if (setsockopt(fd, SOL_SOCKET, SO_RCVBUF,
|
||||||
|
&rcvbufsz, sizeof(rcvbufsz)) < 0) {
|
||||||
|
printf("Unable to set socket rcv buf size to %d\n",
|
||||||
|
rcvbufsz);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
memset(&local, 0, sizeof(local));
|
||||||
|
local.nl_family = AF_NETLINK;
|
||||||
|
|
||||||
|
if (bind(fd, (struct sockaddr *) &local, sizeof(local)) < 0)
|
||||||
|
goto error;
|
||||||
|
|
||||||
|
return fd;
|
||||||
|
error:
|
||||||
|
close(fd);
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int send_cmd(int sd, __u16 nlmsg_type, __u32 nlmsg_pid,
|
||||||
|
__u8 genl_cmd, __u16 nla_type,
|
||||||
|
void *nla_data, int nla_len)
|
||||||
|
{
|
||||||
|
struct nlattr *na;
|
||||||
|
struct sockaddr_nl nladdr;
|
||||||
|
int r, buflen;
|
||||||
|
char *buf;
|
||||||
|
|
||||||
|
struct msgtemplate msg;
|
||||||
|
|
||||||
|
msg.n.nlmsg_len = NLMSG_LENGTH(GENL_HDRLEN);
|
||||||
|
msg.n.nlmsg_type = nlmsg_type;
|
||||||
|
msg.n.nlmsg_flags = NLM_F_REQUEST;
|
||||||
|
msg.n.nlmsg_seq = 0;
|
||||||
|
msg.n.nlmsg_pid = nlmsg_pid;
|
||||||
|
msg.g.cmd = genl_cmd;
|
||||||
|
msg.g.version = 0x1;
|
||||||
|
na = (struct nlattr *) GENLMSG_DATA(&msg);
|
||||||
|
na->nla_type = nla_type;
|
||||||
|
na->nla_len = nla_len + 1 + NLA_HDRLEN;
|
||||||
|
memcpy(NLA_DATA(na), nla_data, nla_len);
|
||||||
|
msg.n.nlmsg_len += NLMSG_ALIGN(na->nla_len);
|
||||||
|
|
||||||
|
buf = (char *) &msg;
|
||||||
|
buflen = msg.n.nlmsg_len ;
|
||||||
|
memset(&nladdr, 0, sizeof(nladdr));
|
||||||
|
nladdr.nl_family = AF_NETLINK;
|
||||||
|
while ((r = sendto(sd, buf, buflen, 0, (struct sockaddr *) &nladdr,
|
||||||
|
sizeof(nladdr))) < buflen) {
|
||||||
|
if (r > 0) {
|
||||||
|
buf += r;
|
||||||
|
buflen -= r;
|
||||||
|
} else if (errno != EAGAIN)
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Probe the controller in genetlink to find the family id
|
||||||
|
* for the TASKSTATS family
|
||||||
|
*/
|
||||||
|
int get_family_id(int sd)
|
||||||
|
{
|
||||||
|
struct {
|
||||||
|
struct nlmsghdr n;
|
||||||
|
struct genlmsghdr g;
|
||||||
|
char buf[256];
|
||||||
|
} ans;
|
||||||
|
|
||||||
|
int id, rc;
|
||||||
|
struct nlattr *na;
|
||||||
|
int rep_len;
|
||||||
|
|
||||||
|
strcpy(name, TASKSTATS_GENL_NAME);
|
||||||
|
rc = send_cmd(sd, GENL_ID_CTRL, getpid(), CTRL_CMD_GETFAMILY,
|
||||||
|
CTRL_ATTR_FAMILY_NAME, (void *)name,
|
||||||
|
strlen(TASKSTATS_GENL_NAME)+1);
|
||||||
|
|
||||||
|
rep_len = recv(sd, &ans, sizeof(ans), 0);
|
||||||
|
if (ans.n.nlmsg_type == NLMSG_ERROR ||
|
||||||
|
(rep_len < 0) || !NLMSG_OK((&ans.n), rep_len))
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
na = (struct nlattr *) GENLMSG_DATA(&ans);
|
||||||
|
na = (struct nlattr *) ((char *) na + NLA_ALIGN(na->nla_len));
|
||||||
|
if (na->nla_type == CTRL_ATTR_FAMILY_ID) {
|
||||||
|
id = *(__u16 *) NLA_DATA(na);
|
||||||
|
}
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
void print_delayacct(struct taskstats *t)
|
||||||
|
{
|
||||||
|
printf("\n\nCPU %15s%15s%15s%15s\n"
|
||||||
|
" %15llu%15llu%15llu%15llu\n"
|
||||||
|
"IO %15s%15s\n"
|
||||||
|
" %15llu%15llu\n"
|
||||||
|
"MEM %15s%15s\n"
|
||||||
|
" %15llu%15llu\n\n",
|
||||||
|
"count", "real total", "virtual total", "delay total",
|
||||||
|
t->cpu_count, t->cpu_run_real_total, t->cpu_run_virtual_total,
|
||||||
|
t->cpu_delay_total,
|
||||||
|
"count", "delay total",
|
||||||
|
t->blkio_count, t->blkio_delay_total,
|
||||||
|
"count", "delay total", t->swapin_count, t->swapin_delay_total);
|
||||||
|
}
|
||||||
|
|
||||||
|
int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
int c, rc, rep_len, aggr_len, len2, cmd_type;
|
||||||
|
__u16 id;
|
||||||
|
__u32 mypid;
|
||||||
|
|
||||||
|
struct nlattr *na;
|
||||||
|
int nl_sd = -1;
|
||||||
|
int len = 0;
|
||||||
|
pid_t tid = 0;
|
||||||
|
pid_t rtid = 0;
|
||||||
|
|
||||||
|
int fd = 0;
|
||||||
|
int count = 0;
|
||||||
|
int write_file = 0;
|
||||||
|
int maskset = 0;
|
||||||
|
char logfile[128];
|
||||||
|
int loop = 0;
|
||||||
|
|
||||||
|
struct msgtemplate msg;
|
||||||
|
|
||||||
|
while (1) {
|
||||||
|
c = getopt(argc, argv, "dw:r:m:t:p:v:l");
|
||||||
|
if (c < 0)
|
||||||
|
break;
|
||||||
|
|
||||||
|
switch (c) {
|
||||||
|
case 'd':
|
||||||
|
printf("print delayacct stats ON\n");
|
||||||
|
print_delays = 1;
|
||||||
|
break;
|
||||||
|
case 'w':
|
||||||
|
strncpy(logfile, optarg, MAX_FILENAME);
|
||||||
|
printf("write to file %s\n", logfile);
|
||||||
|
write_file = 1;
|
||||||
|
break;
|
||||||
|
case 'r':
|
||||||
|
rcvbufsz = atoi(optarg);
|
||||||
|
printf("receive buf size %d\n", rcvbufsz);
|
||||||
|
if (rcvbufsz < 0)
|
||||||
|
err(1, "Invalid rcv buf size\n");
|
||||||
|
break;
|
||||||
|
case 'm':
|
||||||
|
strncpy(cpumask, optarg, sizeof(cpumask));
|
||||||
|
maskset = 1;
|
||||||
|
printf("cpumask %s maskset %d\n", cpumask, maskset);
|
||||||
|
break;
|
||||||
|
case 't':
|
||||||
|
tid = atoi(optarg);
|
||||||
|
if (!tid)
|
||||||
|
err(1, "Invalid tgid\n");
|
||||||
|
cmd_type = TASKSTATS_CMD_ATTR_TGID;
|
||||||
|
print_delays = 1;
|
||||||
|
break;
|
||||||
|
case 'p':
|
||||||
|
tid = atoi(optarg);
|
||||||
|
if (!tid)
|
||||||
|
err(1, "Invalid pid\n");
|
||||||
|
cmd_type = TASKSTATS_CMD_ATTR_PID;
|
||||||
|
print_delays = 1;
|
||||||
|
break;
|
||||||
|
case 'v':
|
||||||
|
printf("debug on\n");
|
||||||
|
dbg = 1;
|
||||||
|
break;
|
||||||
|
case 'l':
|
||||||
|
printf("listen forever\n");
|
||||||
|
loop = 1;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
printf("Unknown option %d\n", c);
|
||||||
|
exit(-1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (write_file) {
|
||||||
|
fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC,
|
||||||
|
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
|
||||||
|
if (fd == -1) {
|
||||||
|
perror("Cannot open output file\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((nl_sd = create_nl_socket(NETLINK_GENERIC)) < 0)
|
||||||
|
err(1, "error creating Netlink socket\n");
|
||||||
|
|
||||||
|
|
||||||
|
mypid = getpid();
|
||||||
|
id = get_family_id(nl_sd);
|
||||||
|
if (!id) {
|
||||||
|
printf("Error getting family id, errno %d", errno);
|
||||||
|
goto err;
|
||||||
|
}
|
||||||
|
PRINTF("family id %d\n", id);
|
||||||
|
|
||||||
|
if (maskset) {
|
||||||
|
rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET,
|
||||||
|
TASKSTATS_CMD_ATTR_REGISTER_CPUMASK,
|
||||||
|
&cpumask, sizeof(cpumask));
|
||||||
|
PRINTF("Sent register cpumask, retval %d\n", rc);
|
||||||
|
if (rc < 0) {
|
||||||
|
printf("error sending register cpumask\n");
|
||||||
|
goto err;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (tid) {
|
||||||
|
rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET,
|
||||||
|
cmd_type, &tid, sizeof(__u32));
|
||||||
|
PRINTF("Sent pid/tgid, retval %d\n", rc);
|
||||||
|
if (rc < 0) {
|
||||||
|
printf("error sending tid/tgid cmd\n");
|
||||||
|
goto done;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
do {
|
||||||
|
int i;
|
||||||
|
|
||||||
|
rep_len = recv(nl_sd, &msg, sizeof(msg), 0);
|
||||||
|
PRINTF("received %d bytes\n", rep_len);
|
||||||
|
|
||||||
|
if (rep_len < 0) {
|
||||||
|
printf("nonfatal reply error: errno %d\n", errno);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (msg.n.nlmsg_type == NLMSG_ERROR ||
|
||||||
|
!NLMSG_OK((&msg.n), rep_len)) {
|
||||||
|
printf("fatal reply error, errno %d\n", errno);
|
||||||
|
goto done;
|
||||||
|
}
|
||||||
|
|
||||||
|
PRINTF("nlmsghdr size=%d, nlmsg_len=%d, rep_len=%d\n",
|
||||||
|
sizeof(struct nlmsghdr), msg.n.nlmsg_len, rep_len);
|
||||||
|
|
||||||
|
|
||||||
|
rep_len = GENLMSG_PAYLOAD(&msg.n);
|
||||||
|
|
||||||
|
na = (struct nlattr *) GENLMSG_DATA(&msg);
|
||||||
|
len = 0;
|
||||||
|
i = 0;
|
||||||
|
while (len < rep_len) {
|
||||||
|
len += NLA_ALIGN(na->nla_len);
|
||||||
|
switch (na->nla_type) {
|
||||||
|
case TASKSTATS_TYPE_AGGR_TGID:
|
||||||
|
/* Fall through */
|
||||||
|
case TASKSTATS_TYPE_AGGR_PID:
|
||||||
|
aggr_len = NLA_PAYLOAD(na->nla_len);
|
||||||
|
len2 = 0;
|
||||||
|
/* For nested attributes, na follows */
|
||||||
|
na = (struct nlattr *) NLA_DATA(na);
|
||||||
|
done = 0;
|
||||||
|
while (len2 < aggr_len) {
|
||||||
|
switch (na->nla_type) {
|
||||||
|
case TASKSTATS_TYPE_PID:
|
||||||
|
rtid = *(int *) NLA_DATA(na);
|
||||||
|
if (print_delays)
|
||||||
|
printf("PID\t%d\n", rtid);
|
||||||
|
break;
|
||||||
|
case TASKSTATS_TYPE_TGID:
|
||||||
|
rtid = *(int *) NLA_DATA(na);
|
||||||
|
if (print_delays)
|
||||||
|
printf("TGID\t%d\n", rtid);
|
||||||
|
break;
|
||||||
|
case TASKSTATS_TYPE_STATS:
|
||||||
|
count++;
|
||||||
|
if (print_delays)
|
||||||
|
print_delayacct((struct taskstats *) NLA_DATA(na));
|
||||||
|
if (fd) {
|
||||||
|
if (write(fd, NLA_DATA(na), na->nla_len) < 0) {
|
||||||
|
err(1,"write error\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!loop)
|
||||||
|
goto done;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
printf("Unknown nested nla_type %d\n", na->nla_type);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
len2 += NLA_ALIGN(na->nla_len);
|
||||||
|
na = (struct nlattr *) ((char *) na + len2);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
printf("Unknown nla_type %d\n", na->nla_type);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
na = (struct nlattr *) (GENLMSG_DATA(&msg) + len);
|
||||||
|
}
|
||||||
|
} while (loop);
|
||||||
|
done:
|
||||||
|
if (maskset) {
|
||||||
|
rc = send_cmd(nl_sd, id, mypid, TASKSTATS_CMD_GET,
|
||||||
|
TASKSTATS_CMD_ATTR_DEREGISTER_CPUMASK,
|
||||||
|
&cpumask, sizeof(cpumask));
|
||||||
|
printf("Sent deregister mask, retval %d\n", rc);
|
||||||
|
if (rc < 0)
|
||||||
|
err(rc, "error sending deregister cpumask\n");
|
||||||
|
}
|
||||||
|
err:
|
||||||
|
close(nl_sd);
|
||||||
|
if (fd)
|
||||||
|
close(fd);
|
||||||
|
return 0;
|
||||||
|
}
|
181
Documentation/accounting/taskstats.txt
Normal file
181
Documentation/accounting/taskstats.txt
Normal file
@ -0,0 +1,181 @@
|
|||||||
|
Per-task statistics interface
|
||||||
|
-----------------------------
|
||||||
|
|
||||||
|
|
||||||
|
Taskstats is a netlink-based interface for sending per-task and
|
||||||
|
per-process statistics from the kernel to userspace.
|
||||||
|
|
||||||
|
Taskstats was designed for the following benefits:
|
||||||
|
|
||||||
|
- efficiently provide statistics during lifetime of a task and on its exit
|
||||||
|
- unified interface for multiple accounting subsystems
|
||||||
|
- extensibility for use by future accounting patches
|
||||||
|
|
||||||
|
Terminology
|
||||||
|
-----------
|
||||||
|
|
||||||
|
"pid", "tid" and "task" are used interchangeably and refer to the standard
|
||||||
|
Linux task defined by struct task_struct. per-pid stats are the same as
|
||||||
|
per-task stats.
|
||||||
|
|
||||||
|
"tgid", "process" and "thread group" are used interchangeably and refer to the
|
||||||
|
tasks that share an mm_struct i.e. the traditional Unix process. Despite the
|
||||||
|
use of tgid, there is no special treatment for the task that is thread group
|
||||||
|
leader - a process is deemed alive as long as it has any task belonging to it.
|
||||||
|
|
||||||
|
Usage
|
||||||
|
-----
|
||||||
|
|
||||||
|
To get statistics during a task's lifetime, userspace opens a unicast netlink
|
||||||
|
socket (NETLINK_GENERIC family) and sends commands specifying a pid or a tgid.
|
||||||
|
The response contains statistics for a task (if pid is specified) or the sum of
|
||||||
|
statistics for all tasks of the process (if tgid is specified).
|
||||||
|
|
||||||
|
To obtain statistics for tasks which are exiting, the userspace listener
|
||||||
|
sends a register command and specifies a cpumask. Whenever a task exits on
|
||||||
|
one of the cpus in the cpumask, its per-pid statistics are sent to the
|
||||||
|
registered listener. Using cpumasks allows the data received by one listener
|
||||||
|
to be limited and assists in flow control over the netlink interface and is
|
||||||
|
explained in more detail below.
|
||||||
|
|
||||||
|
If the exiting task is the last thread exiting its thread group,
|
||||||
|
an additional record containing the per-tgid stats is also sent to userspace.
|
||||||
|
The latter contains the sum of per-pid stats for all threads in the thread
|
||||||
|
group, both past and present.
|
||||||
|
|
||||||
|
getdelays.c is a simple utility demonstrating usage of the taskstats interface
|
||||||
|
for reporting delay accounting statistics. Users can register cpumasks,
|
||||||
|
send commands and process responses, listen for per-tid/tgid exit data,
|
||||||
|
write the data received to a file and do basic flow control by increasing
|
||||||
|
receive buffer sizes.
|
||||||
|
|
||||||
|
Interface
|
||||||
|
---------
|
||||||
|
|
||||||
|
The user-kernel interface is encapsulated in include/linux/taskstats.h
|
||||||
|
|
||||||
|
To avoid this documentation becoming obsolete as the interface evolves, only
|
||||||
|
an outline of the current version is given. taskstats.h always overrides the
|
||||||
|
description here.
|
||||||
|
|
||||||
|
struct taskstats is the common accounting structure for both per-pid and
|
||||||
|
per-tgid data. It is versioned and can be extended by each accounting subsystem
|
||||||
|
that is added to the kernel. The fields and their semantics are defined in the
|
||||||
|
taskstats.h file.
|
||||||
|
|
||||||
|
The data exchanged between user and kernel space is a netlink message belonging
|
||||||
|
to the NETLINK_GENERIC family and using the netlink attributes interface.
|
||||||
|
The messages are in the format
|
||||||
|
|
||||||
|
+----------+- - -+-------------+-------------------+
|
||||||
|
| nlmsghdr | Pad | genlmsghdr | taskstats payload |
|
||||||
|
+----------+- - -+-------------+-------------------+
|
||||||
|
|
||||||
|
|
||||||
|
The taskstats payload is one of the following three kinds:
|
||||||
|
|
||||||
|
1. Commands: Sent from user to kernel. Commands to get data on
|
||||||
|
a pid/tgid consist of one attribute, of type TASKSTATS_CMD_ATTR_PID/TGID,
|
||||||
|
containing a u32 pid or tgid in the attribute payload. The pid/tgid denotes
|
||||||
|
the task/process for which userspace wants statistics.
|
||||||
|
|
||||||
|
Commands to register/deregister interest in exit data from a set of cpus
|
||||||
|
consist of one attribute, of type
|
||||||
|
TASKSTATS_CMD_ATTR_REGISTER/DEREGISTER_CPUMASK and contain a cpumask in the
|
||||||
|
attribute payload. The cpumask is specified as an ascii string of
|
||||||
|
comma-separated cpu ranges e.g. to listen to exit data from cpus 1,2,3,5,7,8
|
||||||
|
the cpumask would be "1-3,5,7-8". If userspace forgets to deregister interest
|
||||||
|
in cpus before closing the listening socket, the kernel cleans up its interest
|
||||||
|
set over time. However, for the sake of efficiency, an explicit deregistration
|
||||||
|
is advisable.
|
||||||
|
|
||||||
|
2. Response for a command: sent from the kernel in response to a userspace
|
||||||
|
command. The payload is a series of three attributes of type:
|
||||||
|
|
||||||
|
a) TASKSTATS_TYPE_AGGR_PID/TGID : attribute containing no payload but indicates
|
||||||
|
a pid/tgid will be followed by some stats.
|
||||||
|
|
||||||
|
b) TASKSTATS_TYPE_PID/TGID: attribute whose payload is the pid/tgid whose stats
|
||||||
|
is being returned.
|
||||||
|
|
||||||
|
c) TASKSTATS_TYPE_STATS: attribute with a struct taskstsats as payload. The
|
||||||
|
same structure is used for both per-pid and per-tgid stats.
|
||||||
|
|
||||||
|
3. New message sent by kernel whenever a task exits. The payload consists of a
|
||||||
|
series of attributes of the following type:
|
||||||
|
|
||||||
|
a) TASKSTATS_TYPE_AGGR_PID: indicates next two attributes will be pid+stats
|
||||||
|
b) TASKSTATS_TYPE_PID: contains exiting task's pid
|
||||||
|
c) TASKSTATS_TYPE_STATS: contains the exiting task's per-pid stats
|
||||||
|
d) TASKSTATS_TYPE_AGGR_TGID: indicates next two attributes will be tgid+stats
|
||||||
|
e) TASKSTATS_TYPE_TGID: contains tgid of process to which task belongs
|
||||||
|
f) TASKSTATS_TYPE_STATS: contains the per-tgid stats for exiting task's process
|
||||||
|
|
||||||
|
|
||||||
|
per-tgid stats
|
||||||
|
--------------
|
||||||
|
|
||||||
|
Taskstats provides per-process stats, in addition to per-task stats, since
|
||||||
|
resource management is often done at a process granularity and aggregating task
|
||||||
|
stats in userspace alone is inefficient and potentially inaccurate (due to lack
|
||||||
|
of atomicity).
|
||||||
|
|
||||||
|
However, maintaining per-process, in addition to per-task stats, within the
|
||||||
|
kernel has space and time overheads. To address this, the taskstats code
|
||||||
|
accumalates each exiting task's statistics into a process-wide data structure.
|
||||||
|
When the last task of a process exits, the process level data accumalated also
|
||||||
|
gets sent to userspace (along with the per-task data).
|
||||||
|
|
||||||
|
When a user queries to get per-tgid data, the sum of all other live threads in
|
||||||
|
the group is added up and added to the accumalated total for previously exited
|
||||||
|
threads of the same thread group.
|
||||||
|
|
||||||
|
Extending taskstats
|
||||||
|
-------------------
|
||||||
|
|
||||||
|
There are two ways to extend the taskstats interface to export more
|
||||||
|
per-task/process stats as patches to collect them get added to the kernel
|
||||||
|
in future:
|
||||||
|
|
||||||
|
1. Adding more fields to the end of the existing struct taskstats. Backward
|
||||||
|
compatibility is ensured by the version number within the
|
||||||
|
structure. Userspace will use only the fields of the struct that correspond
|
||||||
|
to the version its using.
|
||||||
|
|
||||||
|
2. Defining separate statistic structs and using the netlink attributes
|
||||||
|
interface to return them. Since userspace processes each netlink attribute
|
||||||
|
independently, it can always ignore attributes whose type it does not
|
||||||
|
understand (because it is using an older version of the interface).
|
||||||
|
|
||||||
|
|
||||||
|
Choosing between 1. and 2. is a matter of trading off flexibility and
|
||||||
|
overhead. If only a few fields need to be added, then 1. is the preferable
|
||||||
|
path since the kernel and userspace don't need to incur the overhead of
|
||||||
|
processing new netlink attributes. But if the new fields expand the existing
|
||||||
|
struct too much, requiring disparate userspace accounting utilities to
|
||||||
|
unnecessarily receive large structures whose fields are of no interest, then
|
||||||
|
extending the attributes structure would be worthwhile.
|
||||||
|
|
||||||
|
Flow control for taskstats
|
||||||
|
--------------------------
|
||||||
|
|
||||||
|
When the rate of task exits becomes large, a listener may not be able to keep
|
||||||
|
up with the kernel's rate of sending per-tid/tgid exit data leading to data
|
||||||
|
loss. This possibility gets compounded when the taskstats structure gets
|
||||||
|
extended and the number of cpus grows large.
|
||||||
|
|
||||||
|
To avoid losing statistics, userspace should do one or more of the following:
|
||||||
|
|
||||||
|
- increase the receive buffer sizes for the netlink sockets opened by
|
||||||
|
listeners to receive exit data.
|
||||||
|
|
||||||
|
- create more listeners and reduce the number of cpus being listened to by
|
||||||
|
each listener. In the extreme case, there could be one listener for each cpu.
|
||||||
|
Users may also consider setting the cpu affinity of the listener to the subset
|
||||||
|
of cpus to which it listens, especially if they are listening to just one cpu.
|
||||||
|
|
||||||
|
Despite these measures, if the userspace receives ENOBUFS error messages
|
||||||
|
indicated overflow of receive buffers, it should take measures to handle the
|
||||||
|
loss of data.
|
||||||
|
|
||||||
|
----
|
@ -157,6 +157,9 @@ scaling_min_freq and
|
|||||||
scaling_max_freq show the current "policy limits" (in
|
scaling_max_freq show the current "policy limits" (in
|
||||||
kHz). By echoing new values into these
|
kHz). By echoing new values into these
|
||||||
files, you can change these limits.
|
files, you can change these limits.
|
||||||
|
NOTE: when setting a policy you need to
|
||||||
|
first set scaling_max_freq, then
|
||||||
|
scaling_min_freq.
|
||||||
|
|
||||||
|
|
||||||
If you have selected the "userspace" governor which allows you to
|
If you have selected the "userspace" governor which allows you to
|
||||||
|
@ -251,16 +251,24 @@ A: This is what you would need in your kernel code to receive notifications.
|
|||||||
return NOTIFY_OK;
|
return NOTIFY_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct notifier_block foobar_cpu_notifer =
|
static struct notifier_block __cpuinitdata foobar_cpu_notifer =
|
||||||
{
|
{
|
||||||
.notifier_call = foobar_cpu_callback,
|
.notifier_call = foobar_cpu_callback,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
You need to call register_cpu_notifier() from your init function.
|
||||||
|
Init functions could be of two types:
|
||||||
|
1. early init (init function called when only the boot processor is online).
|
||||||
|
2. late init (init function called _after_ all the CPUs are online).
|
||||||
|
|
||||||
In your init function,
|
For the first case, you should add the following to your init function
|
||||||
|
|
||||||
register_cpu_notifier(&foobar_cpu_notifier);
|
register_cpu_notifier(&foobar_cpu_notifier);
|
||||||
|
|
||||||
|
For the second case, you should add the following to your init function
|
||||||
|
|
||||||
|
register_hotcpu_notifier(&foobar_cpu_notifier);
|
||||||
|
|
||||||
You can fail PREPARE notifiers if something doesn't work to prepare resources.
|
You can fail PREPARE notifiers if something doesn't work to prepare resources.
|
||||||
This will stop the activity and send a following CANCELED event back.
|
This will stop the activity and send a following CANCELED event back.
|
||||||
|
|
||||||
|
@ -2565,10 +2565,10 @@ Your cooperation is appreciated.
|
|||||||
243 = /dev/usb/dabusb3 Fourth dabusb device
|
243 = /dev/usb/dabusb3 Fourth dabusb device
|
||||||
|
|
||||||
180 block USB block devices
|
180 block USB block devices
|
||||||
0 = /dev/uba First USB block device
|
0 = /dev/uba First USB block device
|
||||||
8 = /dev/ubb Second USB block device
|
8 = /dev/ubb Second USB block device
|
||||||
16 = /dev/ubc Thrid USB block device
|
16 = /dev/ubc Third USB block device
|
||||||
...
|
...
|
||||||
|
|
||||||
181 char Conrad Electronic parallel port radio clocks
|
181 char Conrad Electronic parallel port radio clocks
|
||||||
0 = /dev/pcfclock0 First Conrad radio clock
|
0 = /dev/pcfclock0 First Conrad radio clock
|
||||||
|
@ -35,15 +35,14 @@ the vendor should tie the parity status bits to 0 if they do not intend
|
|||||||
to generate parity. Some vendors do not do this, and thus the parity bit
|
to generate parity. Some vendors do not do this, and thus the parity bit
|
||||||
can "float" giving false positives.
|
can "float" giving false positives.
|
||||||
|
|
||||||
The PCI Parity EDAC device has the ability to "skip" known flaky
|
[There are patches in the kernel queue which will allow for storage of
|
||||||
cards during the parity scan. These are set by the parity "blacklist"
|
quirks of PCI devices reporting false parity positives. The 2.6.18
|
||||||
interface in the sysfs for PCI Parity. (See the PCI section in the sysfs
|
kernel should have those patches included. When that becomes available,
|
||||||
section below.) There is also a parity "whitelist" which is used as
|
then EDAC will be patched to utilize that information to "skip" such
|
||||||
an explicit list of devices to scan, while the blacklist is a list
|
devices.]
|
||||||
of devices to skip.
|
|
||||||
|
|
||||||
EDAC will have future error detectors that will be added or integrated
|
EDAC will have future error detectors that will be integrated with
|
||||||
into EDAC in the following list:
|
EDAC or added to it, in the following list:
|
||||||
|
|
||||||
MCE Machine Check Exception
|
MCE Machine Check Exception
|
||||||
MCA Machine Check Architecture
|
MCA Machine Check Architecture
|
||||||
@ -93,22 +92,24 @@ EDAC lives in the /sys/devices/system/edac directory. Within this directory
|
|||||||
there currently reside 2 'edac' components:
|
there currently reside 2 'edac' components:
|
||||||
|
|
||||||
mc memory controller(s) system
|
mc memory controller(s) system
|
||||||
pci PCI status system
|
pci PCI control and status system
|
||||||
|
|
||||||
|
|
||||||
============================================================================
|
============================================================================
|
||||||
Memory Controller (mc) Model
|
Memory Controller (mc) Model
|
||||||
|
|
||||||
First a background on the memory controller's model abstracted in EDAC.
|
First a background on the memory controller's model abstracted in EDAC.
|
||||||
Each mc device controls a set of DIMM memory modules. These modules are
|
Each 'mc' device controls a set of DIMM memory modules. These modules are
|
||||||
laid out in a Chip-Select Row (csrowX) and Channel table (chX). There can
|
laid out in a Chip-Select Row (csrowX) and Channel table (chX). There can
|
||||||
be multiple csrows and two channels.
|
be multiple csrows and multiple channels.
|
||||||
|
|
||||||
Memory controllers allow for several csrows, with 8 csrows being a typical value.
|
Memory controllers allow for several csrows, with 8 csrows being a typical value.
|
||||||
Yet, the actual number of csrows depends on the electrical "loading"
|
Yet, the actual number of csrows depends on the electrical "loading"
|
||||||
of a given motherboard, memory controller and DIMM characteristics.
|
of a given motherboard, memory controller and DIMM characteristics.
|
||||||
|
|
||||||
Dual channels allows for 128 bit data transfers to the CPU from memory.
|
Dual channels allows for 128 bit data transfers to the CPU from memory.
|
||||||
|
Some newer chipsets allow for more than 2 channels, like Fully Buffered DIMMs
|
||||||
|
(FB-DIMMs). The following example will assume 2 channels:
|
||||||
|
|
||||||
|
|
||||||
Channel 0 Channel 1
|
Channel 0 Channel 1
|
||||||
@ -234,23 +235,15 @@ Polling period control file:
|
|||||||
The time period, in milliseconds, for polling for error information.
|
The time period, in milliseconds, for polling for error information.
|
||||||
Too small a value wastes resources. Too large a value might delay
|
Too small a value wastes resources. Too large a value might delay
|
||||||
necessary handling of errors and might loose valuable information for
|
necessary handling of errors and might loose valuable information for
|
||||||
locating the error. 1000 milliseconds (once each second) is about
|
locating the error. 1000 milliseconds (once each second) is the current
|
||||||
right for most uses.
|
default. Systems which require all the bandwidth they can get, may
|
||||||
|
increase this.
|
||||||
|
|
||||||
LOAD TIME: module/kernel parameter: poll_msec=[0|1]
|
LOAD TIME: module/kernel parameter: poll_msec=[0|1]
|
||||||
|
|
||||||
RUN TIME: echo "1000" >/sys/devices/system/edac/mc/poll_msec
|
RUN TIME: echo "1000" >/sys/devices/system/edac/mc/poll_msec
|
||||||
|
|
||||||
|
|
||||||
Module Version read-only attribute file:
|
|
||||||
|
|
||||||
'mc_version'
|
|
||||||
|
|
||||||
The EDAC CORE module's version and compile date are shown here to
|
|
||||||
indicate what EDAC is running.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
============================================================================
|
============================================================================
|
||||||
'mcX' DIRECTORIES
|
'mcX' DIRECTORIES
|
||||||
|
|
||||||
@ -284,35 +277,6 @@ Seconds since last counter reset control file:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
DIMM capability attribute file:
|
|
||||||
|
|
||||||
'edac_capability'
|
|
||||||
|
|
||||||
The EDAC (Error Detection and Correction) capabilities/modes of
|
|
||||||
the memory controller hardware.
|
|
||||||
|
|
||||||
|
|
||||||
DIMM Current Capability attribute file:
|
|
||||||
|
|
||||||
'edac_current_capability'
|
|
||||||
|
|
||||||
The EDAC capabilities available with the hardware
|
|
||||||
configuration. This may not be the same as "EDAC capability"
|
|
||||||
if the correct memory is not used. If a memory controller is
|
|
||||||
capable of EDAC, but DIMMs without check bits are in use, then
|
|
||||||
Parity, SECDED, S4ECD4ED capabilities will not be available
|
|
||||||
even though the memory controller might be capable of those
|
|
||||||
modes with the proper memory loaded.
|
|
||||||
|
|
||||||
|
|
||||||
Memory Type supported on this controller attribute file:
|
|
||||||
|
|
||||||
'supported_mem_type'
|
|
||||||
|
|
||||||
This attribute file displays the memory type, usually
|
|
||||||
buffered and unbuffered DIMMs.
|
|
||||||
|
|
||||||
|
|
||||||
Memory Controller name attribute file:
|
Memory Controller name attribute file:
|
||||||
|
|
||||||
'mc_name'
|
'mc_name'
|
||||||
@ -321,16 +285,6 @@ Memory Controller name attribute file:
|
|||||||
that is being utilized.
|
that is being utilized.
|
||||||
|
|
||||||
|
|
||||||
Memory Controller Module name attribute file:
|
|
||||||
|
|
||||||
'module_name'
|
|
||||||
|
|
||||||
This attribute file displays the memory controller module name,
|
|
||||||
version and date built. The name of the memory controller
|
|
||||||
hardware - some drivers work with multiple controllers and
|
|
||||||
this field shows which hardware is present.
|
|
||||||
|
|
||||||
|
|
||||||
Total memory managed by this memory controller attribute file:
|
Total memory managed by this memory controller attribute file:
|
||||||
|
|
||||||
'size_mb'
|
'size_mb'
|
||||||
@ -432,6 +386,9 @@ Memory Type attribute file:
|
|||||||
|
|
||||||
This attribute file will display what type of memory is currently
|
This attribute file will display what type of memory is currently
|
||||||
on this csrow. Normally, either buffered or unbuffered memory.
|
on this csrow. Normally, either buffered or unbuffered memory.
|
||||||
|
Examples:
|
||||||
|
Registered-DDR
|
||||||
|
Unbuffered-DDR
|
||||||
|
|
||||||
|
|
||||||
EDAC Mode of operation attribute file:
|
EDAC Mode of operation attribute file:
|
||||||
@ -446,8 +403,13 @@ Device type attribute file:
|
|||||||
|
|
||||||
'dev_type'
|
'dev_type'
|
||||||
|
|
||||||
This attribute file will display what type of DIMM device is
|
This attribute file will display what type of DRAM device is
|
||||||
being utilized. Example: x4
|
being utilized on this DIMM.
|
||||||
|
Examples:
|
||||||
|
x1
|
||||||
|
x2
|
||||||
|
x4
|
||||||
|
x8
|
||||||
|
|
||||||
|
|
||||||
Channel 0 CE Count attribute file:
|
Channel 0 CE Count attribute file:
|
||||||
@ -522,10 +484,10 @@ SYSTEM LOGGING
|
|||||||
If logging for UEs and CEs are enabled then system logs will have
|
If logging for UEs and CEs are enabled then system logs will have
|
||||||
error notices indicating errors that have been detected:
|
error notices indicating errors that have been detected:
|
||||||
|
|
||||||
MC0: CE page 0x283, offset 0xce0, grain 8, syndrome 0x6ec3, row 0,
|
EDAC MC0: CE page 0x283, offset 0xce0, grain 8, syndrome 0x6ec3, row 0,
|
||||||
channel 1 "DIMM_B1": amd76x_edac
|
channel 1 "DIMM_B1": amd76x_edac
|
||||||
|
|
||||||
MC0: CE page 0x1e5, offset 0xfb0, grain 8, syndrome 0xb741, row 0,
|
EDAC MC0: CE page 0x1e5, offset 0xfb0, grain 8, syndrome 0xb741, row 0,
|
||||||
channel 1 "DIMM_B1": amd76x_edac
|
channel 1 "DIMM_B1": amd76x_edac
|
||||||
|
|
||||||
|
|
||||||
@ -610,64 +572,4 @@ Parity Count:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
PCI Device Whitelist:
|
|
||||||
|
|
||||||
'pci_parity_whitelist'
|
|
||||||
|
|
||||||
This control file allows for an explicit list of PCI devices to be
|
|
||||||
scanned for parity errors. Only devices found on this list will
|
|
||||||
be examined. The list is a line of hexadecimal VENDOR and DEVICE
|
|
||||||
ID tuples:
|
|
||||||
|
|
||||||
1022:7450,1434:16a6
|
|
||||||
|
|
||||||
One or more can be inserted, separated by a comma.
|
|
||||||
|
|
||||||
To write the above list doing the following as one command line:
|
|
||||||
|
|
||||||
echo "1022:7450,1434:16a6"
|
|
||||||
> /sys/devices/system/edac/pci/pci_parity_whitelist
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
To display what the whitelist is, simply 'cat' the same file.
|
|
||||||
|
|
||||||
|
|
||||||
PCI Device Blacklist:
|
|
||||||
|
|
||||||
'pci_parity_blacklist'
|
|
||||||
|
|
||||||
This control file allows for a list of PCI devices to be
|
|
||||||
skipped for scanning.
|
|
||||||
The list is a line of hexadecimal VENDOR and DEVICE ID tuples:
|
|
||||||
|
|
||||||
1022:7450,1434:16a6
|
|
||||||
|
|
||||||
One or more can be inserted, separated by a comma.
|
|
||||||
|
|
||||||
To write the above list doing the following as one command line:
|
|
||||||
|
|
||||||
echo "1022:7450,1434:16a6"
|
|
||||||
> /sys/devices/system/edac/pci/pci_parity_blacklist
|
|
||||||
|
|
||||||
|
|
||||||
To display what the whitelist currently contains,
|
|
||||||
simply 'cat' the same file.
|
|
||||||
|
|
||||||
=======================================================================
|
=======================================================================
|
||||||
|
|
||||||
PCI Vendor and Devices IDs can be obtained with the lspci command. Using
|
|
||||||
the -n option lspci will display the vendor and device IDs. The system
|
|
||||||
administrator will have to determine which devices should be scanned or
|
|
||||||
skipped.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
The two lists (white and black) are prioritized. blacklist is the lower
|
|
||||||
priority and will NOT be utilized when a whitelist has been set.
|
|
||||||
Turn OFF a whitelist by an empty echo command:
|
|
||||||
|
|
||||||
echo > /sys/devices/system/edac/pci/pci_parity_whitelist
|
|
||||||
|
|
||||||
and any previous blacklist will be utilized.
|
|
||||||
|
|
||||||
|
@ -55,14 +55,6 @@ Who: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|||||||
|
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
What: remove EXPORT_SYMBOL(insert_resource)
|
|
||||||
When: April 2006
|
|
||||||
Files: kernel/resource.c
|
|
||||||
Why: No modular usage in the kernel.
|
|
||||||
Who: Adrian Bunk <bunk@stusta.de>
|
|
||||||
|
|
||||||
---------------------------
|
|
||||||
|
|
||||||
What: PCMCIA control ioctl (needed for pcmcia-cs [cardmgr, cardctl])
|
What: PCMCIA control ioctl (needed for pcmcia-cs [cardmgr, cardctl])
|
||||||
When: November 2005
|
When: November 2005
|
||||||
Files: drivers/pcmcia/: pcmcia_ioctl.c
|
Files: drivers/pcmcia/: pcmcia_ioctl.c
|
||||||
@ -166,17 +158,6 @@ Who: Arjan van de Ven <arjan@linux.intel.com>
|
|||||||
|
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
What: remove EXPORT_SYMBOL(tasklist_lock)
|
|
||||||
When: August 2006
|
|
||||||
Files: kernel/fork.c
|
|
||||||
Why: tasklist_lock protects the kernel internal task list. Modules have
|
|
||||||
no business looking at it, and all instances in drivers have been due
|
|
||||||
to use of too-lowlevel APIs. Having this symbol exported prevents
|
|
||||||
moving to more scalable locking schemes for the task list.
|
|
||||||
Who: Christoph Hellwig <hch@lst.de>
|
|
||||||
|
|
||||||
---------------------------
|
|
||||||
|
|
||||||
What: mount/umount uevents
|
What: mount/umount uevents
|
||||||
When: February 2007
|
When: February 2007
|
||||||
Why: These events are not correct, and do not properly let userspace know
|
Why: These events are not correct, and do not properly let userspace know
|
||||||
@ -266,3 +247,30 @@ Why: The interrupt related SA_* flags are replaced by IRQF_* to move them
|
|||||||
Who: Thomas Gleixner <tglx@linutronix.de>
|
Who: Thomas Gleixner <tglx@linutronix.de>
|
||||||
|
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
|
What: i2c-ite and i2c-algo-ite drivers
|
||||||
|
When: September 2006
|
||||||
|
Why: These drivers never compiled since they were added to the kernel
|
||||||
|
tree 5 years ago. This feature removal can be reevaluated if
|
||||||
|
someone shows interest in the drivers, fixes them and takes over
|
||||||
|
maintenance.
|
||||||
|
http://marc.theaimsgroup.com/?l=linux-mips&m=115040510817448
|
||||||
|
Who: Jean Delvare <khali@linux-fr.org>
|
||||||
|
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
What: Bridge netfilter deferred IPv4/IPv6 output hook calling
|
||||||
|
When: January 2007
|
||||||
|
Why: The deferred output hooks are a layering violation causing unusual
|
||||||
|
and broken behaviour on bridge devices. Examples of things they
|
||||||
|
break include QoS classifation using the MARK or CLASSIFY targets,
|
||||||
|
the IPsec policy match and connection tracking with VLANs on a
|
||||||
|
bridge. Their only use is to enable bridge output port filtering
|
||||||
|
within iptables with the physdev match, which can also be done by
|
||||||
|
combining iptables and ebtables using netfilter marks. Until it
|
||||||
|
will get removed the hook deferral is disabled by default and is
|
||||||
|
only enabled when needed.
|
||||||
|
|
||||||
|
Who: Patrick McHardy <kaber@trash.net>
|
||||||
|
|
||||||
|
---------------------------
|
||||||
|
@ -142,8 +142,8 @@ see also dquot_operations section.
|
|||||||
|
|
||||||
--------------------------- file_system_type ---------------------------
|
--------------------------- file_system_type ---------------------------
|
||||||
prototypes:
|
prototypes:
|
||||||
struct int (*get_sb) (struct file_system_type *, int,
|
int (*get_sb) (struct file_system_type *, int,
|
||||||
const char *, void *, struct vfsmount *);
|
const char *, void *, struct vfsmount *);
|
||||||
void (*kill_sb) (struct super_block *);
|
void (*kill_sb) (struct super_block *);
|
||||||
locking rules:
|
locking rules:
|
||||||
may block BKL
|
may block BKL
|
||||||
|
@ -113,8 +113,8 @@ members are defined:
|
|||||||
struct file_system_type {
|
struct file_system_type {
|
||||||
const char *name;
|
const char *name;
|
||||||
int fs_flags;
|
int fs_flags;
|
||||||
struct int (*get_sb) (struct file_system_type *, int,
|
int (*get_sb) (struct file_system_type *, int,
|
||||||
const char *, void *, struct vfsmount *);
|
const char *, void *, struct vfsmount *);
|
||||||
void (*kill_sb) (struct super_block *);
|
void (*kill_sb) (struct super_block *);
|
||||||
struct module *owner;
|
struct module *owner;
|
||||||
struct file_system_type * next;
|
struct file_system_type * next;
|
||||||
|
@ -2,13 +2,36 @@ Kernel driver abituguru
|
|||||||
=======================
|
=======================
|
||||||
|
|
||||||
Supported chips:
|
Supported chips:
|
||||||
* Abit uGuru (Hardware Monitor part only)
|
* Abit uGuru revision 1-3 (Hardware Monitor part only)
|
||||||
Prefix: 'abituguru'
|
Prefix: 'abituguru'
|
||||||
Addresses scanned: ISA 0x0E0
|
Addresses scanned: ISA 0x0E0
|
||||||
Datasheet: Not available, this driver is based on reverse engineering.
|
Datasheet: Not available, this driver is based on reverse engineering.
|
||||||
A "Datasheet" has been written based on the reverse engineering it
|
A "Datasheet" has been written based on the reverse engineering it
|
||||||
should be available in the same dir as this file under the name
|
should be available in the same dir as this file under the name
|
||||||
abituguru-datasheet.
|
abituguru-datasheet.
|
||||||
|
Note:
|
||||||
|
The uGuru is a microcontroller with onboard firmware which programs
|
||||||
|
it to behave as a hwmon IC. There are many different revisions of the
|
||||||
|
firmware and thus effectivly many different revisions of the uGuru.
|
||||||
|
Below is an incomplete list with which revisions are used for which
|
||||||
|
Motherboards:
|
||||||
|
uGuru 1.00 ~ 1.24 (AI7, KV8-MAX3, AN7) (1)
|
||||||
|
uGuru 2.0.0.0 ~ 2.0.4.2 (KV8-PRO)
|
||||||
|
uGuru 2.1.0.0 ~ 2.1.2.8 (AS8, AV8, AA8, AG8, AA8XE, AX8)
|
||||||
|
uGuru 2.2.0.0 ~ 2.2.0.6 (AA8 Fatal1ty)
|
||||||
|
uGuru 2.3.0.0 ~ 2.3.0.9 (AN8)
|
||||||
|
uGuru 3.0.0.0 ~ 3.0.1.2 (AW8, AL8, NI8)
|
||||||
|
uGuru 4.xxxxx? (AT8 32X) (2)
|
||||||
|
1) For revisions 2 and 3 uGuru's the driver can autodetect the
|
||||||
|
sensortype (Volt or Temp) for bank1 sensors, for revision 1 uGuru's
|
||||||
|
this doesnot always work. For these uGuru's the autodection can
|
||||||
|
be overriden with the bank1_types module param. For all 3 known
|
||||||
|
revison 1 motherboards the correct use of this param is:
|
||||||
|
bank1_types=1,1,0,0,0,0,0,2,0,0,0,0,2,0,0,1
|
||||||
|
You may also need to specify the fan_sensors option for these boards
|
||||||
|
fan_sensors=5
|
||||||
|
2) The current version of the abituguru driver is known to NOT work
|
||||||
|
on these Motherboards
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
Hans de Goede <j.w.r.degoede@hhs.nl>,
|
Hans de Goede <j.w.r.degoede@hhs.nl>,
|
||||||
@ -22,6 +45,11 @@ Module Parameters
|
|||||||
* force: bool Force detection. Note this parameter only causes the
|
* force: bool Force detection. Note this parameter only causes the
|
||||||
detection to be skipped, if the uGuru can't be read
|
detection to be skipped, if the uGuru can't be read
|
||||||
the module initialization (insmod) will still fail.
|
the module initialization (insmod) will still fail.
|
||||||
|
* bank1_types: int[] Bank1 sensortype autodetection override:
|
||||||
|
-1 autodetect (default)
|
||||||
|
0 volt sensor
|
||||||
|
1 temp sensor
|
||||||
|
2 not connected
|
||||||
* fan_sensors: int Tell the driver how many fan speed sensors there are
|
* fan_sensors: int Tell the driver how many fan speed sensors there are
|
||||||
on your motherboard. Default: 0 (autodetect).
|
on your motherboard. Default: 0 (autodetect).
|
||||||
* pwms: int Tell the driver how many fan speed controls (fan
|
* pwms: int Tell the driver how many fan speed controls (fan
|
||||||
@ -29,7 +57,7 @@ Module Parameters
|
|||||||
* verbose: int How verbose should the driver be? (0-3):
|
* verbose: int How verbose should the driver be? (0-3):
|
||||||
0 normal output
|
0 normal output
|
||||||
1 + verbose error reporting
|
1 + verbose error reporting
|
||||||
2 + sensors type probing info\n"
|
2 + sensors type probing info (default)
|
||||||
3 + retryable error reporting
|
3 + retryable error reporting
|
||||||
Default: 2 (the driver is still in the testing phase)
|
Default: 2 (the driver is still in the testing phase)
|
||||||
|
|
||||||
|
@ -42,8 +42,8 @@ I suspect that this driver could be made to work for the following SiS
|
|||||||
chipsets as well: 635, and 635T. If anyone owns a board with those chips
|
chipsets as well: 635, and 635T. If anyone owns a board with those chips
|
||||||
AND is willing to risk crashing & burning an otherwise well-behaved kernel
|
AND is willing to risk crashing & burning an otherwise well-behaved kernel
|
||||||
in the name of progress... please contact me at <mhoffman@lightlink.com> or
|
in the name of progress... please contact me at <mhoffman@lightlink.com> or
|
||||||
via the project's mailing list: <lm-sensors@lm-sensors.org>. Please
|
via the project's mailing list: <i2c@lm-sensors.org>. Please send bug
|
||||||
send bug reports and/or success stories as well.
|
reports and/or success stories as well.
|
||||||
|
|
||||||
|
|
||||||
TO DOs
|
TO DOs
|
||||||
|
@ -51,8 +51,6 @@ Debugging Information
|
|||||||
|
|
||||||
References
|
References
|
||||||
|
|
||||||
IETF IP over InfiniBand (ipoib) Working Group
|
|
||||||
http://ietf.org/html.charters/ipoib-charter.html
|
|
||||||
Transmission of IP over InfiniBand (IPoIB) (RFC 4391)
|
Transmission of IP over InfiniBand (IPoIB) (RFC 4391)
|
||||||
http://ietf.org/rfc/rfc4391.txt
|
http://ietf.org/rfc/rfc4391.txt
|
||||||
IP over InfiniBand (IPoIB) Architecture (RFC 4392)
|
IP over InfiniBand (IPoIB) Architecture (RFC 4392)
|
||||||
|
@ -72,6 +72,22 @@ initrd adds the following new options:
|
|||||||
initrd is mounted as root, and the normal boot procedure is followed,
|
initrd is mounted as root, and the normal boot procedure is followed,
|
||||||
with the RAM disk still mounted as root.
|
with the RAM disk still mounted as root.
|
||||||
|
|
||||||
|
Compressed cpio images
|
||||||
|
----------------------
|
||||||
|
|
||||||
|
Recent kernels have support for populating a ramdisk from a compressed cpio
|
||||||
|
archive, on such systems, the creation of a ramdisk image doesn't need to
|
||||||
|
involve special block devices or loopbacks, you merely create a directory on
|
||||||
|
disk with the desired initrd content, cd to that directory, and run (as an
|
||||||
|
example):
|
||||||
|
|
||||||
|
find . | cpio --quiet -c -o | gzip -9 -n > /boot/imagefile.img
|
||||||
|
|
||||||
|
Examining the contents of an existing image file is just as simple:
|
||||||
|
|
||||||
|
mkdir /tmp/imagefile
|
||||||
|
cd /tmp/imagefile
|
||||||
|
gzip -cd /boot/imagefile.img | cpio -imd --quiet
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
@ -407,6 +407,20 @@ more details, with real examples.
|
|||||||
The second argument is optional, and if supplied will be used
|
The second argument is optional, and if supplied will be used
|
||||||
if first argument is not supported.
|
if first argument is not supported.
|
||||||
|
|
||||||
|
ld-option
|
||||||
|
ld-option is used to check if $(CC) when used to link object files
|
||||||
|
supports the given option. An optional second option may be
|
||||||
|
specified if first option are not supported.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
#arch/i386/kernel/Makefile
|
||||||
|
vsyscall-flags += $(call ld-option, -Wl$(comma)--hash-style=sysv)
|
||||||
|
|
||||||
|
In the above example vsyscall-flags will be assigned the option
|
||||||
|
-Wl$(comma)--hash-style=sysv if it is supported by $(CC).
|
||||||
|
The second argument is optional, and if supplied will be used
|
||||||
|
if first argument is not supported.
|
||||||
|
|
||||||
cc-option
|
cc-option
|
||||||
cc-option is used to check if $(CC) support a given option, and not
|
cc-option is used to check if $(CC) support a given option, and not
|
||||||
supported to use an optional second option.
|
supported to use an optional second option.
|
||||||
|
@ -1029,6 +1029,8 @@ running once the system is up.
|
|||||||
|
|
||||||
nocache [ARM]
|
nocache [ARM]
|
||||||
|
|
||||||
|
nodelayacct [KNL] Disable per-task delay accounting
|
||||||
|
|
||||||
nodisconnect [HW,SCSI,M68K] Disables SCSI disconnects.
|
nodisconnect [HW,SCSI,M68K] Disables SCSI disconnects.
|
||||||
|
|
||||||
noexec [IA-64]
|
noexec [IA-64]
|
||||||
|
@ -1015,10 +1015,9 @@ CPU from reordering them.
|
|||||||
There are some more advanced barrier functions:
|
There are some more advanced barrier functions:
|
||||||
|
|
||||||
(*) set_mb(var, value)
|
(*) set_mb(var, value)
|
||||||
(*) set_wmb(var, value)
|
|
||||||
|
|
||||||
These assign the value to the variable and then insert at least a write
|
This assigns the value to the variable and then inserts at least a write
|
||||||
barrier after it, depending on the function. They aren't guaranteed to
|
barrier after it, depending on the function. It isn't guaranteed to
|
||||||
insert anything more than a compiler barrier in a UP compilation.
|
insert anything more than a compiler barrier in a UP compilation.
|
||||||
|
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ the following functions or values:
|
|||||||
1. (optional) set up RTC routines
|
1. (optional) set up RTC routines
|
||||||
2. (optional) calibrate and set the mips_counter_frequency
|
2. (optional) calibrate and set the mips_counter_frequency
|
||||||
|
|
||||||
b) board_timer_setup - a function pointer. Invoked at the end of time_init()
|
b) plat_timer_setup - a function pointer. Invoked at the end of time_init()
|
||||||
1. (optional) over-ride any decisions made in time_init()
|
1. (optional) over-ride any decisions made in time_init()
|
||||||
2. set up the irqaction for timer interrupt.
|
2. set up the irqaction for timer interrupt.
|
||||||
3. enable the timer interrupt
|
3. enable the timer interrupt
|
||||||
@ -116,10 +116,8 @@ Step 2: the machine setup() function
|
|||||||
|
|
||||||
If you supply board_time_init(), set the function poointer.
|
If you supply board_time_init(), set the function poointer.
|
||||||
|
|
||||||
Set the function pointer board_timer_setup() (mandatory)
|
|
||||||
|
|
||||||
|
Step 3: implement rtc routines, board_time_init() and plat_timer_setup()
|
||||||
Step 3: implement rtc routines, board_time_init() and board_timer_setup()
|
|
||||||
if needed.
|
if needed.
|
||||||
|
|
||||||
board_time_init() -
|
board_time_init() -
|
||||||
@ -128,7 +126,7 @@ Step 3: implement rtc routines, board_time_init() and board_timer_setup()
|
|||||||
(only needed if you intended to use fixed_rate_gettimeoffset
|
(only needed if you intended to use fixed_rate_gettimeoffset
|
||||||
or use cpu counter as timer interrupt source)
|
or use cpu counter as timer interrupt source)
|
||||||
|
|
||||||
board_timer_setup() -
|
plat_timer_setup() -
|
||||||
a) (optional) over-write any choices made above by time_init().
|
a) (optional) over-write any choices made above by time_init().
|
||||||
b) machine specific code should setup the timer irqaction.
|
b) machine specific code should setup the timer irqaction.
|
||||||
c) enable the timer interrupt
|
c) enable the timer interrupt
|
||||||
|
@ -4,15 +4,16 @@ Mounting the root filesystem via NFS (nfsroot)
|
|||||||
Written 1996 by Gero Kuhlmann <gero@gkminix.han.de>
|
Written 1996 by Gero Kuhlmann <gero@gkminix.han.de>
|
||||||
Updated 1997 by Martin Mares <mj@atrey.karlin.mff.cuni.cz>
|
Updated 1997 by Martin Mares <mj@atrey.karlin.mff.cuni.cz>
|
||||||
Updated 2006 by Nico Schottelius <nico-kernel-nfsroot@schottelius.org>
|
Updated 2006 by Nico Schottelius <nico-kernel-nfsroot@schottelius.org>
|
||||||
|
Updated 2006 by Horms <horms@verge.net.au>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If you want to use a diskless system, as an X-terminal or printer
|
In order to use a diskless system, such as an X-terminal or printer server
|
||||||
server for example, you have to put your root filesystem onto a
|
for example, it is necessary for the root filesystem to be present on a
|
||||||
non-disk device. This can either be a ramdisk (see initrd.txt in
|
non-disk device. This may be an initramfs (see Documentation/filesystems/
|
||||||
this directory for further information) or a filesystem mounted
|
ramfs-rootfs-initramfs.txt), a ramdisk (see Documenation/initrd.txt) or a
|
||||||
via NFS. The following text describes on how to use NFS for the
|
filesystem mounted via NFS. The following text describes on how to use NFS
|
||||||
root filesystem. For the rest of this text 'client' means the
|
for the root filesystem. For the rest of this text 'client' means the
|
||||||
diskless system, and 'server' means the NFS server.
|
diskless system, and 'server' means the NFS server.
|
||||||
|
|
||||||
|
|
||||||
@ -21,11 +22,13 @@ diskless system, and 'server' means the NFS server.
|
|||||||
1.) Enabling nfsroot capabilities
|
1.) Enabling nfsroot capabilities
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
In order to use nfsroot you have to select support for NFS during
|
In order to use nfsroot, NFS client support needs to be selected as
|
||||||
kernel configuration. Note that NFS cannot be loaded as a module
|
built-in during configuration. Once this has been selected, the nfsroot
|
||||||
in this case. The configuration script will then ask you whether
|
option will become available, which should also be selected.
|
||||||
you want to use nfsroot, and if yes what kind of auto configuration
|
|
||||||
system you want to use. Selecting both BOOTP and RARP is safe.
|
In the networking options, kernel level autoconfiguration can be selected,
|
||||||
|
along with the types of autoconfiguration to support. Selecting all of
|
||||||
|
DHCP, BOOTP and RARP is safe.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -33,11 +36,10 @@ system you want to use. Selecting both BOOTP and RARP is safe.
|
|||||||
2.) Kernel command line
|
2.) Kernel command line
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
When the kernel has been loaded by a boot loader (either by loadlin,
|
When the kernel has been loaded by a boot loader (see below) it needs to be
|
||||||
LILO or a network boot program) it has to be told what root fs device
|
told what root fs device to use. And in the case of nfsroot, where to find
|
||||||
to use, and where to find the server and the name of the directory
|
both the server and the name of the directory on the server to mount as root.
|
||||||
on the server to mount as root. This can be established by a couple
|
This can be established using the following kernel command line parameters:
|
||||||
of kernel command line parameters:
|
|
||||||
|
|
||||||
|
|
||||||
root=/dev/nfs
|
root=/dev/nfs
|
||||||
@ -49,23 +51,21 @@ root=/dev/nfs
|
|||||||
|
|
||||||
nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
|
nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
|
||||||
|
|
||||||
If the `nfsroot' parameter is NOT given on the command line, the default
|
If the `nfsroot' parameter is NOT given on the command line,
|
||||||
"/tftpboot/%s" will be used.
|
the default "/tftpboot/%s" will be used.
|
||||||
|
|
||||||
<server-ip> Specifies the IP address of the NFS server. If this field
|
<server-ip> Specifies the IP address of the NFS server.
|
||||||
is not given, the default address as determined by the
|
The default address is determined by the `ip' parameter
|
||||||
`ip' variable (see below) is used. One use of this
|
(see below). This parameter allows the use of different
|
||||||
parameter is for example to allow using different servers
|
servers for IP autoconfiguration and NFS.
|
||||||
for RARP and NFS. Usually you can leave this blank.
|
|
||||||
|
|
||||||
<root-dir> Name of the directory on the server to mount as root. If
|
<root-dir> Name of the directory on the server to mount as root.
|
||||||
there is a "%s" token in the string, the token will be
|
If there is a "%s" token in the string, it will be
|
||||||
replaced by the ASCII-representation of the client's IP
|
replaced by the ASCII-representation of the client's
|
||||||
address.
|
IP address.
|
||||||
|
|
||||||
<nfs-options> Standard NFS options. All options are separated by commas.
|
<nfs-options> Standard NFS options. All options are separated by commas.
|
||||||
If the options field is not given, the following defaults
|
The following defaults are used:
|
||||||
will be used:
|
|
||||||
port = as given by server portmap daemon
|
port = as given by server portmap daemon
|
||||||
rsize = 1024
|
rsize = 1024
|
||||||
wsize = 1024
|
wsize = 1024
|
||||||
@ -81,129 +81,174 @@ nfsroot=[<server-ip>:]<root-dir>[,<nfs-options>]
|
|||||||
ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>
|
ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>
|
||||||
|
|
||||||
This parameter tells the kernel how to configure IP addresses of devices
|
This parameter tells the kernel how to configure IP addresses of devices
|
||||||
and also how to set up the IP routing table. It was originally called `nfsaddrs',
|
and also how to set up the IP routing table. It was originally called
|
||||||
but now the boot-time IP configuration works independently of NFS, so it
|
`nfsaddrs', but now the boot-time IP configuration works independently of
|
||||||
was renamed to `ip' and the old name remained as an alias for compatibility
|
NFS, so it was renamed to `ip' and the old name remained as an alias for
|
||||||
reasons.
|
compatibility reasons.
|
||||||
|
|
||||||
If this parameter is missing from the kernel command line, all fields are
|
If this parameter is missing from the kernel command line, all fields are
|
||||||
assumed to be empty, and the defaults mentioned below apply. In general
|
assumed to be empty, and the defaults mentioned below apply. In general
|
||||||
this means that the kernel tries to configure everything using both
|
this means that the kernel tries to configure everything using
|
||||||
RARP and BOOTP (depending on what has been enabled during kernel confi-
|
autoconfiguration.
|
||||||
guration, and if both what protocol answer got in first).
|
|
||||||
|
|
||||||
<client-ip> IP address of the client. If empty, the address will either
|
|
||||||
be determined by RARP or BOOTP. What protocol is used de-
|
|
||||||
pends on what has been enabled during kernel configuration
|
|
||||||
and on the <autoconf> parameter. If this parameter is not
|
|
||||||
empty, neither RARP nor BOOTP will be used.
|
|
||||||
|
|
||||||
<server-ip> IP address of the NFS server. If RARP is used to determine
|
|
||||||
the client address and this parameter is NOT empty only
|
|
||||||
replies from the specified server are accepted. To use
|
|
||||||
different RARP and NFS server, specify your RARP server
|
|
||||||
here (or leave it blank), and specify your NFS server in
|
|
||||||
the `nfsroot' parameter (see above). If this entry is blank
|
|
||||||
the address of the server is used which answered the RARP
|
|
||||||
or BOOTP request.
|
|
||||||
|
|
||||||
<gw-ip> IP address of a gateway if the server is on a different
|
|
||||||
subnet. If this entry is empty no gateway is used and the
|
|
||||||
server is assumed to be on the local network, unless a
|
|
||||||
value has been received by BOOTP.
|
|
||||||
|
|
||||||
<netmask> Netmask for local network interface. If this is empty,
|
|
||||||
the netmask is derived from the client IP address assuming
|
|
||||||
classful addressing, unless overridden in BOOTP reply.
|
|
||||||
|
|
||||||
<hostname> Name of the client. If empty, the client IP address is
|
|
||||||
used in ASCII notation, or the value received by BOOTP.
|
|
||||||
|
|
||||||
<device> Name of network device to use. If this is empty, all
|
|
||||||
devices are used for RARP and BOOTP requests, and the
|
|
||||||
first one we receive a reply on is configured. If you have
|
|
||||||
only one device, you can safely leave this blank.
|
|
||||||
|
|
||||||
<autoconf> Method to use for autoconfiguration. If this is either
|
|
||||||
'rarp' or 'bootp', the specified protocol is used.
|
|
||||||
If the value is 'both' or empty, both protocols are used
|
|
||||||
so far as they have been enabled during kernel configura-
|
|
||||||
tion. 'off' means no autoconfiguration.
|
|
||||||
|
|
||||||
The <autoconf> parameter can appear alone as the value to the `ip'
|
The <autoconf> parameter can appear alone as the value to the `ip'
|
||||||
parameter (without all the ':' characters before) in which case auto-
|
parameter (without all the ':' characters before) in which case auto-
|
||||||
configuration is used.
|
configuration is used.
|
||||||
|
|
||||||
|
<client-ip> IP address of the client.
|
||||||
|
|
||||||
|
Default: Determined using autoconfiguration.
|
||||||
|
|
||||||
|
<server-ip> IP address of the NFS server. If RARP is used to determine
|
||||||
|
the client address and this parameter is NOT empty only
|
||||||
|
replies from the specified server are accepted.
|
||||||
|
|
||||||
|
Only required for for NFS root. That is autoconfiguration
|
||||||
|
will not be triggered if it is missing and NFS root is not
|
||||||
|
in operation.
|
||||||
|
|
||||||
|
Default: Determined using autoconfiguration.
|
||||||
|
The address of the autoconfiguration server is used.
|
||||||
|
|
||||||
|
<gw-ip> IP address of a gateway if the server is on a different subnet.
|
||||||
|
|
||||||
|
Default: Determined using autoconfiguration.
|
||||||
|
|
||||||
|
<netmask> Netmask for local network interface. If unspecified
|
||||||
|
the netmask is derived from the client IP address assuming
|
||||||
|
classful addressing.
|
||||||
|
|
||||||
|
Default: Determined using autoconfiguration.
|
||||||
|
|
||||||
|
<hostname> Name of the client. May be supplied by autoconfiguration,
|
||||||
|
but its absence will not trigger autoconfiguration.
|
||||||
|
|
||||||
|
Default: Client IP address is used in ASCII notation.
|
||||||
|
|
||||||
|
<device> Name of network device to use.
|
||||||
|
|
||||||
|
Default: If the host only has one device, it is used.
|
||||||
|
Otherwise the device is determined using
|
||||||
|
autoconfiguration. This is done by sending
|
||||||
|
autoconfiguration requests out of all devices,
|
||||||
|
and using the device that received the first reply.
|
||||||
|
|
||||||
|
<autoconf> Method to use for autoconfiguration. In the case of options
|
||||||
|
which specify multiple autoconfiguration protocols,
|
||||||
|
requests are sent using all protocols, and the first one
|
||||||
|
to reply is used.
|
||||||
|
|
||||||
|
Only autoconfiguration protocols that have been compiled
|
||||||
|
into the kernel will be used, regardless of the value of
|
||||||
|
this option.
|
||||||
|
|
||||||
|
off or none: don't use autoconfiguration (default)
|
||||||
|
on or any: use any protocol available in the kernel
|
||||||
|
dhcp: use DHCP
|
||||||
|
bootp: use BOOTP
|
||||||
|
rarp: use RARP
|
||||||
|
both: use both BOOTP and RARP but not DHCP
|
||||||
|
(old option kept for backwards compatibility)
|
||||||
|
|
||||||
|
Default: any
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
3.) Kernel loader
|
|
||||||
-------------
|
|
||||||
|
|
||||||
To get the kernel into memory different approaches can be used. They
|
3.) Boot Loader
|
||||||
depend on what facilities are available:
|
----------
|
||||||
|
|
||||||
|
To get the kernel into memory different approaches can be used.
|
||||||
|
They depend on various facilities being available:
|
||||||
|
|
||||||
|
|
||||||
3.1) Writing the kernel onto a floppy using dd:
|
3.1) Booting from a floppy using syslinux
|
||||||
As always you can just write the kernel onto a floppy using dd,
|
|
||||||
but then it's not possible to use kernel command lines at all.
|
|
||||||
To substitute the 'root=' parameter, create a dummy device on any
|
|
||||||
linux system with major number 0 and minor number 255 using mknod:
|
|
||||||
|
|
||||||
mknod /dev/boot255 c 0 255
|
When building kernels, an easy way to create a boot floppy that uses
|
||||||
|
syslinux is to use the zdisk or bzdisk make targets which use
|
||||||
|
and bzimage images respectively. Both targets accept the
|
||||||
|
FDARGS parameter which can be used to set the kernel command line.
|
||||||
|
|
||||||
Then copy the kernel zImage file onto a floppy using dd:
|
e.g.
|
||||||
|
make bzdisk FDARGS="root=/dev/nfs"
|
||||||
|
|
||||||
dd if=/usr/src/linux/arch/i386/boot/zImage of=/dev/fd0
|
Note that the user running this command will need to have
|
||||||
|
access to the floppy drive device, /dev/fd0
|
||||||
|
|
||||||
And finally use rdev to set the root device:
|
For more information on syslinux, including how to create bootdisks
|
||||||
|
for prebuilt kernels, see http://syslinux.zytor.com/
|
||||||
|
|
||||||
rdev /dev/fd0 /dev/boot255
|
N.B: Previously it was possible to write a kernel directly to
|
||||||
|
a floppy using dd, configure the boot device using rdev, and
|
||||||
|
boot using the resulting floppy. Linux no longer supports this
|
||||||
|
method of booting.
|
||||||
|
|
||||||
You can then remove the dummy device /dev/boot255 again. There
|
3.2) Booting from a cdrom using isolinux
|
||||||
is no real device available for it.
|
|
||||||
The other two kernel command line parameters cannot be substi-
|
When building kernels, an easy way to create a bootable cdrom that
|
||||||
tuted with rdev. Therefore, using this method the kernel will
|
uses isolinux is to use the isoimage target which uses a bzimage
|
||||||
by default use RARP and/or BOOTP, and if it gets an answer via
|
image. Like zdisk and bzdisk, this target accepts the FDARGS
|
||||||
RARP will mount the directory /tftpboot/<client-ip>/ as its
|
parameter which can be used to set the kernel command line.
|
||||||
root. If it got a BOOTP answer the directory name in that answer
|
|
||||||
is used.
|
e.g.
|
||||||
|
make isoimage FDARGS="root=/dev/nfs"
|
||||||
|
|
||||||
|
The resulting iso image will be arch/<ARCH>/boot/image.iso
|
||||||
|
This can be written to a cdrom using a variety of tools including
|
||||||
|
cdrecord.
|
||||||
|
|
||||||
|
e.g.
|
||||||
|
cdrecord dev=ATAPI:1,0,0 arch/i386/boot/image.iso
|
||||||
|
|
||||||
|
For more information on isolinux, including how to create bootdisks
|
||||||
|
for prebuilt kernels, see http://syslinux.zytor.com/
|
||||||
|
|
||||||
3.2) Using LILO
|
3.2) Using LILO
|
||||||
When using LILO you can specify all necessary command line
|
When using LILO all the necessary command line parameters may be
|
||||||
parameters with the 'append=' command in the LILO configuration
|
specified using the 'append=' directive in the LILO configuration
|
||||||
file. However, to use the 'root=' command you also need to
|
file.
|
||||||
set up a dummy device as described in 3.1 above. For how to use
|
|
||||||
LILO and its 'append=' command please refer to the LILO
|
However, to use the 'root=' directive you also need to create
|
||||||
documentation.
|
a dummy root device, which may be removed after LILO is run.
|
||||||
|
|
||||||
|
mknod /dev/boot255 c 0 255
|
||||||
|
|
||||||
|
For information on configuring LILO, please refer to its documentation.
|
||||||
|
|
||||||
3.3) Using GRUB
|
3.3) Using GRUB
|
||||||
When you use GRUB, you simply append the parameters after the kernel
|
When using GRUB, kernel parameter are simply appended after the kernel
|
||||||
specification: "kernel <kernel> <parameters>" (without the quotes).
|
specification: kernel <kernel> <parameters>
|
||||||
|
|
||||||
3.4) Using loadlin
|
3.4) Using loadlin
|
||||||
When you want to boot Linux from a DOS command prompt without
|
loadlin may be used to boot Linux from a DOS command prompt without
|
||||||
having a local hard disk to mount as root, you can use loadlin.
|
requiring a local hard disk to mount as root. This has not been
|
||||||
I was told that it works, but haven't used it myself yet. In
|
thoroughly tested by the authors of this document, but in general
|
||||||
general you should be able to create a kernel command line simi-
|
it should be possible configure the kernel command line similarly
|
||||||
lar to how LILO is doing it. Please refer to the loadlin docu-
|
to the configuration of LILO.
|
||||||
mentation for further information.
|
|
||||||
|
Please refer to the loadlin documentation for further information.
|
||||||
|
|
||||||
3.5) Using a boot ROM
|
3.5) Using a boot ROM
|
||||||
This is probably the most elegant way of booting a diskless
|
This is probably the most elegant way of booting a diskless client.
|
||||||
client. With a boot ROM the kernel gets loaded using the TFTP
|
With a boot ROM the kernel is loaded using the TFTP protocol. The
|
||||||
protocol. As far as I know, no commercial boot ROMs yet
|
authors of this document are not aware of any no commercial boot
|
||||||
support booting Linux over the network, but there are two
|
ROMs that support booting Linux over the network. However, there
|
||||||
free implementations of a boot ROM available on sunsite.unc.edu
|
are two free implementations of a boot ROM, netboot-nfs and
|
||||||
and its mirrors. They are called 'netboot-nfs' and 'etherboot'.
|
etherboot, both of which are available on sunsite.unc.edu, and both
|
||||||
Both contain everything you need to boot a diskless Linux client.
|
of which contain everything you need to boot a diskless Linux client.
|
||||||
|
|
||||||
3.6) Using pxelinux
|
3.6) Using pxelinux
|
||||||
Using pxelinux you specify the kernel you built with
|
Pxelinux may be used to boot linux using the PXE boot loader
|
||||||
|
which is present on many modern network cards.
|
||||||
|
|
||||||
|
When using pxelinux, the kernel image is specified using
|
||||||
"kernel <relative-path-below /tftpboot>". The nfsroot parameters
|
"kernel <relative-path-below /tftpboot>". The nfsroot parameters
|
||||||
are passed to the kernel by adding them to the "append" line.
|
are passed to the kernel by adding them to the "append" line.
|
||||||
You may perhaps also want to fine tune the console output,
|
It is common to use serial console in conjunction with pxeliunx,
|
||||||
see Documentation/serial-console.txt for serial console help.
|
see Documentation/serial-console.txt for more information.
|
||||||
|
|
||||||
|
For more information on isolinux, including how to create bootdisks
|
||||||
|
for prebuilt kernels, see http://syslinux.zytor.com/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ default is 4096 (4 MB) (8192 (8 MB) on S390).
|
|||||||
===================
|
===================
|
||||||
|
|
||||||
This parameter tells the RAM disk driver how many bytes to use per block. The
|
This parameter tells the RAM disk driver how many bytes to use per block. The
|
||||||
default is 512.
|
default is 1024 (BLOCK_SIZE).
|
||||||
|
|
||||||
|
|
||||||
3) Using "rdev -r"
|
3) Using "rdev -r"
|
||||||
|
@ -1172,7 +1172,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* PCI IDs */
|
/* PCI IDs */
|
||||||
static struct pci_device_id snd_mychip_ids[] __devinitdata = {
|
static struct pci_device_id snd_mychip_ids[] = {
|
||||||
{ PCI_VENDOR_ID_FOO, PCI_DEVICE_ID_BAR,
|
{ PCI_VENDOR_ID_FOO, PCI_DEVICE_ID_BAR,
|
||||||
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
|
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
|
||||||
....
|
....
|
||||||
@ -1565,7 +1565,7 @@
|
|||||||
<informalexample>
|
<informalexample>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
static struct pci_device_id snd_mychip_ids[] __devinitdata = {
|
static struct pci_device_id snd_mychip_ids[] = {
|
||||||
{ PCI_VENDOR_ID_FOO, PCI_DEVICE_ID_BAR,
|
{ PCI_VENDOR_ID_FOO, PCI_DEVICE_ID_BAR,
|
||||||
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
|
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0, },
|
||||||
....
|
....
|
||||||
|
@ -59,7 +59,7 @@ bind to an interface (or perhaps several) using an ioctl call. You
|
|||||||
would issue more ioctls to the device to communicate to it using
|
would issue more ioctls to the device to communicate to it using
|
||||||
control, bulk, or other kinds of USB transfers. The IOCTLs are
|
control, bulk, or other kinds of USB transfers. The IOCTLs are
|
||||||
listed in the <linux/usbdevice_fs.h> file, and at this writing the
|
listed in the <linux/usbdevice_fs.h> file, and at this writing the
|
||||||
source code (linux/drivers/usb/devio.c) is the primary reference
|
source code (linux/drivers/usb/core/devio.c) is the primary reference
|
||||||
for how to access devices through those files.
|
for how to access devices through those files.
|
||||||
|
|
||||||
Note that since by default these BBB/DDD files are writable only by
|
Note that since by default these BBB/DDD files are writable only by
|
||||||
|
@ -5,8 +5,7 @@ For USB help other than the readme files that are located in
|
|||||||
Documentation/usb/*, see the following:
|
Documentation/usb/*, see the following:
|
||||||
|
|
||||||
Linux-USB project: http://www.linux-usb.org
|
Linux-USB project: http://www.linux-usb.org
|
||||||
mirrors at http://www.suse.cz/development/linux-usb/
|
mirrors at http://usb.in.tum.de/linux-usb/
|
||||||
and http://usb.in.tum.de/linux-usb/
|
|
||||||
and http://it.linux-usb.org
|
and http://it.linux-usb.org
|
||||||
Linux USB Guide: http://linux-usb.sourceforge.net
|
Linux USB Guide: http://linux-usb.sourceforge.net
|
||||||
Linux-USB device overview (working devices and drivers):
|
Linux-USB device overview (working devices and drivers):
|
||||||
|
@ -399,10 +399,10 @@ REINER SCT cyberJack pinpad/e-com USB chipcard reader
|
|||||||
|
|
||||||
Prolific PL2303 Driver
|
Prolific PL2303 Driver
|
||||||
|
|
||||||
This driver support any device that has the PL2303 chip from Prolific
|
This driver supports any device that has the PL2303 chip from Prolific
|
||||||
in it. This includes a number of single port USB to serial
|
in it. This includes a number of single port USB to serial
|
||||||
converters and USB GPS devices. Devices from Aten (the UC-232) and
|
converters and USB GPS devices. Devices from Aten (the UC-232) and
|
||||||
IO-Data work with this driver.
|
IO-Data work with this driver, as does the DCU-11 mobile-phone cable.
|
||||||
|
|
||||||
For any questions or problems with this driver, please contact Greg
|
For any questions or problems with this driver, please contact Greg
|
||||||
Kroah-Hartman at greg@kroah.com
|
Kroah-Hartman at greg@kroah.com
|
||||||
|
@ -238,6 +238,13 @@ Debugging
|
|||||||
pagefaulttrace Dump all page faults. Only useful for extreme debugging
|
pagefaulttrace Dump all page faults. Only useful for extreme debugging
|
||||||
and will create a lot of output.
|
and will create a lot of output.
|
||||||
|
|
||||||
|
call_trace=[old|both|newfallback|new]
|
||||||
|
old: use old inexact backtracer
|
||||||
|
new: use new exact dwarf2 unwinder
|
||||||
|
both: print entries from both
|
||||||
|
newfallback: use new unwinder but fall back to old if it gets
|
||||||
|
stuck (default)
|
||||||
|
|
||||||
Misc
|
Misc
|
||||||
|
|
||||||
noreplacement Don't replace instructions with more appropriate ones
|
noreplacement Don't replace instructions with more appropriate ones
|
||||||
|
81
MAINTAINERS
81
MAINTAINERS
@ -214,6 +214,12 @@ W: http://acpi.sourceforge.net/
|
|||||||
T: git kernel.org:/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git
|
T: git kernel.org:/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
|
ACPI PCI HOTPLUG DRIVER
|
||||||
|
P: Kristen Carlson Accardi
|
||||||
|
M: kristen.c.accardi@intel.com
|
||||||
|
L: pcihpd-discuss@lists.sourceforge.net
|
||||||
|
S: Maintained
|
||||||
|
|
||||||
AD1816 SOUND DRIVER
|
AD1816 SOUND DRIVER
|
||||||
P: Thorsten Knabe
|
P: Thorsten Knabe
|
||||||
M: Thorsten Knabe <linux@thorsten-knabe.de>
|
M: Thorsten Knabe <linux@thorsten-knabe.de>
|
||||||
@ -274,7 +280,7 @@ S: Maintained
|
|||||||
ALI1563 I2C DRIVER
|
ALI1563 I2C DRIVER
|
||||||
P: Rudolf Marek
|
P: Rudolf Marek
|
||||||
M: r.marek@sh.cvut.cz
|
M: r.marek@sh.cvut.cz
|
||||||
L: lm-sensors@lm-sensors.org
|
L: i2c@lm-sensors.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
ALPHA PORT
|
ALPHA PORT
|
||||||
@ -601,6 +607,15 @@ W: http://linuxtv.org
|
|||||||
T: git kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git
|
T: git kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb.git
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
|
CALGARY x86-64 IOMMU
|
||||||
|
P: Muli Ben-Yehuda
|
||||||
|
M: muli@il.ibm.com
|
||||||
|
P: Jon D. Mason
|
||||||
|
M: jdmason@us.ibm.com
|
||||||
|
L: linux-kernel@vger.kernel.org
|
||||||
|
L: discuss@x86-64.org
|
||||||
|
S: Maintained
|
||||||
|
|
||||||
COMMON INTERNET FILE SYSTEM (CIFS)
|
COMMON INTERNET FILE SYSTEM (CIFS)
|
||||||
P: Steve French
|
P: Steve French
|
||||||
M: sfrench@samba.org
|
M: sfrench@samba.org
|
||||||
@ -762,6 +777,7 @@ M: aliakc@web.de
|
|||||||
P: Jamie Lenehan
|
P: Jamie Lenehan
|
||||||
M: lenehan@twibble.org
|
M: lenehan@twibble.org
|
||||||
W: http://twibble.org/dist/dc395x/
|
W: http://twibble.org/dist/dc395x/
|
||||||
|
L: dc395x@twibble.org
|
||||||
L: http://lists.twibble.org/mailman/listinfo/dc395x/
|
L: http://lists.twibble.org/mailman/listinfo/dc395x/
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
@ -958,6 +974,10 @@ P: Andrey V. Savochkin
|
|||||||
M: saw@saw.sw.com.sg
|
M: saw@saw.sw.com.sg
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
|
EFS FILESYSTEM
|
||||||
|
W: http://aeschi.ch.eu.org/efs/
|
||||||
|
S: Orphan
|
||||||
|
|
||||||
EMU10K1 SOUND DRIVER
|
EMU10K1 SOUND DRIVER
|
||||||
P: James Courtier-Dutton
|
P: James Courtier-Dutton
|
||||||
M: James@superbug.demon.co.uk
|
M: James@superbug.demon.co.uk
|
||||||
@ -1240,7 +1260,7 @@ S: Maintained
|
|||||||
I2C SUBSYSTEM
|
I2C SUBSYSTEM
|
||||||
P: Jean Delvare
|
P: Jean Delvare
|
||||||
M: khali@linux-fr.org
|
M: khali@linux-fr.org
|
||||||
L: lm-sensors@lm-sensors.org
|
L: i2c@lm-sensors.org
|
||||||
W: http://www.lm-sensors.nu/
|
W: http://www.lm-sensors.nu/
|
||||||
T: quilt kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/
|
T: quilt kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/
|
||||||
S: Maintained
|
S: Maintained
|
||||||
@ -1492,6 +1512,7 @@ P: Yi Zhu
|
|||||||
M: yi.zhu@intel.com
|
M: yi.zhu@intel.com
|
||||||
P: James Ketrenos
|
P: James Ketrenos
|
||||||
M: jketreno@linux.intel.com
|
M: jketreno@linux.intel.com
|
||||||
|
L: ipw2100-devel@lists.sourceforge.net
|
||||||
L: http://lists.sourceforge.net/mailman/listinfo/ipw2100-devel
|
L: http://lists.sourceforge.net/mailman/listinfo/ipw2100-devel
|
||||||
W: http://ipw2100.sourceforge.net
|
W: http://ipw2100.sourceforge.net
|
||||||
S: Supported
|
S: Supported
|
||||||
@ -1501,6 +1522,7 @@ P: Yi Zhu
|
|||||||
M: yi.zhu@intel.com
|
M: yi.zhu@intel.com
|
||||||
P: James Ketrenos
|
P: James Ketrenos
|
||||||
M: jketreno@linux.intel.com
|
M: jketreno@linux.intel.com
|
||||||
|
L: ipw2100-devel@lists.sourceforge.net
|
||||||
L: http://lists.sourceforge.net/mailman/listinfo/ipw2100-devel
|
L: http://lists.sourceforge.net/mailman/listinfo/ipw2100-devel
|
||||||
W: http://ipw2200.sourceforge.net
|
W: http://ipw2200.sourceforge.net
|
||||||
S: Supported
|
S: Supported
|
||||||
@ -1586,7 +1608,7 @@ W: http://jfs.sourceforge.net/
|
|||||||
T: git kernel.org:/pub/scm/linux/kernel/git/shaggy/jfs-2.6.git
|
T: git kernel.org:/pub/scm/linux/kernel/git/shaggy/jfs-2.6.git
|
||||||
S: Supported
|
S: Supported
|
||||||
|
|
||||||
JOURNALLING LAYER FOR BLOCK DEVICS (JBD)
|
JOURNALLING LAYER FOR BLOCK DEVICES (JBD)
|
||||||
P: Stephen Tweedie, Andrew Morton
|
P: Stephen Tweedie, Andrew Morton
|
||||||
M: sct@redhat.com, akpm@osdl.org
|
M: sct@redhat.com, akpm@osdl.org
|
||||||
L: ext2-devel@lists.sourceforge.net
|
L: ext2-devel@lists.sourceforge.net
|
||||||
@ -1630,9 +1652,8 @@ S: Maintained
|
|||||||
|
|
||||||
KERNEL JANITORS
|
KERNEL JANITORS
|
||||||
P: Several
|
P: Several
|
||||||
L: kernel-janitors@osdl.org
|
L: kernel-janitors@lists.osdl.org
|
||||||
W: http://www.kerneljanitors.org/
|
W: http://www.kerneljanitors.org/
|
||||||
W: http://sf.net/projects/kernel-janitor/
|
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
KERNEL NFSD
|
KERNEL NFSD
|
||||||
@ -1664,10 +1685,8 @@ L: linux-kernel@vger.kernel.org
|
|||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
LAPB module
|
LAPB module
|
||||||
P: Henner Eisen
|
|
||||||
M: eis@baty.hanse.de
|
|
||||||
L: linux-x25@vger.kernel.org
|
L: linux-x25@vger.kernel.org
|
||||||
S: Maintained
|
S: Orphan
|
||||||
|
|
||||||
LASI 53c700 driver for PARISC
|
LASI 53c700 driver for PARISC
|
||||||
P: James E.J. Bottomley
|
P: James E.J. Bottomley
|
||||||
@ -1872,6 +1891,12 @@ S: linux-scsi@vger.kernel.org
|
|||||||
W: http://megaraid.lsilogic.com
|
W: http://megaraid.lsilogic.com
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
|
MEMORY MANAGEMENT
|
||||||
|
L: linux-mm@kvack.org
|
||||||
|
L: linux-kernel@vger.kernel.org
|
||||||
|
W: http://www.linux-mm.org
|
||||||
|
S: Maintained
|
||||||
|
|
||||||
MEMORY TECHNOLOGY DEVICES (MTD)
|
MEMORY TECHNOLOGY DEVICES (MTD)
|
||||||
P: David Woodhouse
|
P: David Woodhouse
|
||||||
M: dwmw2@infradead.org
|
M: dwmw2@infradead.org
|
||||||
@ -2039,9 +2064,10 @@ L: linux-kernel@vger.kernel.org
|
|||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
NI5010 NETWORK DRIVER
|
NI5010 NETWORK DRIVER
|
||||||
P: Jan-Pascal van Best and Andreas Mohr
|
P: Jan-Pascal van Best
|
||||||
M: Jan-Pascal van Best <jvbest@qv3pluto.leidenuniv.nl>
|
M: janpascal@vanbest.org
|
||||||
M: Andreas Mohr <100.30936@germany.net>
|
P: Andreas Mohr
|
||||||
|
M: andi@lisas.de
|
||||||
L: netdev@vger.kernel.org
|
L: netdev@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
@ -2083,7 +2109,7 @@ S: Maintained
|
|||||||
OPENCORES I2C BUS DRIVER
|
OPENCORES I2C BUS DRIVER
|
||||||
P: Peter Korsgaard
|
P: Peter Korsgaard
|
||||||
M: jacmet@sunsite.dk
|
M: jacmet@sunsite.dk
|
||||||
L: lm-sensors@lm-sensors.org
|
L: i2c@lm-sensors.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
ORACLE CLUSTER FILESYSTEM 2 (OCFS2)
|
ORACLE CLUSTER FILESYSTEM 2 (OCFS2)
|
||||||
@ -2216,6 +2242,7 @@ S: Maintained
|
|||||||
|
|
||||||
PCMCIA SUBSYSTEM
|
PCMCIA SUBSYSTEM
|
||||||
P: Linux PCMCIA Team
|
P: Linux PCMCIA Team
|
||||||
|
L: linux-pcmcia@lists.infradead.org
|
||||||
L: http://lists.infradead.org/mailman/listinfo/linux-pcmcia
|
L: http://lists.infradead.org/mailman/listinfo/linux-pcmcia
|
||||||
T: git kernel.org:/pub/scm/linux/kernel/git/brodo/pcmcia-2.6.git
|
T: git kernel.org:/pub/scm/linux/kernel/git/brodo/pcmcia-2.6.git
|
||||||
S: Maintained
|
S: Maintained
|
||||||
@ -2226,6 +2253,12 @@ M: tsbogend@alpha.franken.de
|
|||||||
L: netdev@vger.kernel.org
|
L: netdev@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
|
PER-TASK DELAY ACCOUNTING
|
||||||
|
P: Shailabh Nagar
|
||||||
|
M: nagar@watson.ibm.com
|
||||||
|
L: linux-kernel@vger.kernel.org
|
||||||
|
S: Maintained
|
||||||
|
|
||||||
PERSONALITY HANDLING
|
PERSONALITY HANDLING
|
||||||
P: Christoph Hellwig
|
P: Christoph Hellwig
|
||||||
M: hch@infradead.org
|
M: hch@infradead.org
|
||||||
@ -2665,6 +2698,11 @@ M: shemminger@osdl.org
|
|||||||
L: netdev@vger.kernel.org
|
L: netdev@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
|
SOEKRIS NET48XX LED SUPPORT
|
||||||
|
P: Chris Boot
|
||||||
|
M: bootc@bootc.net
|
||||||
|
S: Maintained
|
||||||
|
|
||||||
SPARC (sparc32):
|
SPARC (sparc32):
|
||||||
P: William L. Irwin
|
P: William L. Irwin
|
||||||
M: wli@holomorphy.com
|
M: wli@holomorphy.com
|
||||||
@ -2737,11 +2775,23 @@ P: Christoph Hellwig
|
|||||||
M: hch@infradead.org
|
M: hch@infradead.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
|
TC CLASSIFIER
|
||||||
|
P: Jamal Hadi Salim
|
||||||
|
M: hadi@cyberus.ca
|
||||||
|
L: netdev@vger.kernel.org
|
||||||
|
S: Maintained
|
||||||
|
|
||||||
TI OMAP RANDOM NUMBER GENERATOR SUPPORT
|
TI OMAP RANDOM NUMBER GENERATOR SUPPORT
|
||||||
P: Deepak Saxena
|
P: Deepak Saxena
|
||||||
M: dsaxena@plexity.net
|
M: dsaxena@plexity.net
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
|
TASKSTATS STATISTICS INTERFACE
|
||||||
|
P: Shailabh Nagar
|
||||||
|
M: nagar@watson.ibm.com
|
||||||
|
L: linux-kernel@vger.kernel.org
|
||||||
|
S: Maintained
|
||||||
|
|
||||||
TI PARALLEL LINK CABLE DRIVER
|
TI PARALLEL LINK CABLE DRIVER
|
||||||
P: Romain Lievin
|
P: Romain Lievin
|
||||||
M: roms@lpg.ticalc.org
|
M: roms@lpg.ticalc.org
|
||||||
@ -3117,7 +3167,7 @@ S: Maintained
|
|||||||
VIAPRO SMBUS DRIVER
|
VIAPRO SMBUS DRIVER
|
||||||
P: Jean Delvare
|
P: Jean Delvare
|
||||||
M: khali@linux-fr.org
|
M: khali@linux-fr.org
|
||||||
L: lm-sensors@lm-sensors.org
|
L: i2c@lm-sensors.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
UCLINUX (AND M68KNOMMU)
|
UCLINUX (AND M68KNOMMU)
|
||||||
@ -3165,6 +3215,11 @@ S: Maintained
|
|||||||
W1 DALLAS'S 1-WIRE BUS
|
W1 DALLAS'S 1-WIRE BUS
|
||||||
P: Evgeniy Polyakov
|
P: Evgeniy Polyakov
|
||||||
M: johnpol@2ka.mipt.ru
|
M: johnpol@2ka.mipt.ru
|
||||||
|
S: Maintained
|
||||||
|
|
||||||
|
W83791D HARDWARE MONITORING DRIVER
|
||||||
|
P: Charles Spirakis
|
||||||
|
M: bezaur@gmail.com
|
||||||
L: lm-sensors@lm-sensors.org
|
L: lm-sensors@lm-sensors.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
|
9
Makefile
9
Makefile
@ -1,7 +1,7 @@
|
|||||||
VERSION = 2
|
VERSION = 2
|
||||||
PATCHLEVEL = 6
|
PATCHLEVEL = 6
|
||||||
SUBLEVEL = 17
|
SUBLEVEL = 18
|
||||||
EXTRAVERSION =
|
EXTRAVERSION = -rc3
|
||||||
NAME=Crazed Snow-Weasel
|
NAME=Crazed Snow-Weasel
|
||||||
|
|
||||||
# *DOCUMENTATION*
|
# *DOCUMENTATION*
|
||||||
@ -310,8 +310,8 @@ CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)
|
|||||||
CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
||||||
-fno-strict-aliasing -fno-common
|
-fno-strict-aliasing -fno-common
|
||||||
# Force gcc to behave correct even for buggy distributions
|
# Force gcc to behave correct even for buggy distributions
|
||||||
CFLAGS += $(call cc-option, -fno-stack-protector-all \
|
CFLAGS += $(call cc-option, -fno-stack-protector)
|
||||||
-fno-stack-protector)
|
|
||||||
AFLAGS := -D__ASSEMBLY__
|
AFLAGS := -D__ASSEMBLY__
|
||||||
|
|
||||||
# Read KERNELRELEASE from include/config/kernel.release (if it exists)
|
# Read KERNELRELEASE from include/config/kernel.release (if it exists)
|
||||||
@ -368,6 +368,7 @@ endif
|
|||||||
|
|
||||||
no-dot-config-targets := clean mrproper distclean \
|
no-dot-config-targets := clean mrproper distclean \
|
||||||
cscope TAGS tags help %docs check% \
|
cscope TAGS tags help %docs check% \
|
||||||
|
include/linux/version.h headers_% \
|
||||||
kernelrelease kernelversion
|
kernelrelease kernelversion
|
||||||
|
|
||||||
config-targets := 0
|
config-targets := 0
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
#include <linux/in.h>
|
#include <linux/in.h>
|
||||||
#include <linux/in6.h>
|
#include <linux/in6.h>
|
||||||
#include <linux/pci.h>
|
#include <linux/pci.h>
|
||||||
|
#include <linux/screen_info.h>
|
||||||
#include <linux/tty.h>
|
#include <linux/tty.h>
|
||||||
#include <linux/mm.h>
|
#include <linux/mm.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
@ -279,11 +279,9 @@ ev7_register_error_handlers(void)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for(i = 0;
|
for (i = 0; i < ARRAY_SIZE(el_ev7_pal_annotations); i++)
|
||||||
i<sizeof(el_ev7_pal_annotations)/sizeof(el_ev7_pal_annotations[1]);
|
|
||||||
i++) {
|
|
||||||
cdl_register_subpacket_annotation(&el_ev7_pal_annotations[i]);
|
cdl_register_subpacket_annotation(&el_ev7_pal_annotations[i]);
|
||||||
}
|
|
||||||
cdl_register_subpacket_handler(&ev7_pal_subpacket_handler);
|
cdl_register_subpacket_handler(&ev7_pal_subpacket_handler);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -623,7 +623,7 @@ osf_sysinfo(int command, char __user *buf, long count)
|
|||||||
long len, err = -EINVAL;
|
long len, err = -EINVAL;
|
||||||
|
|
||||||
offset = command-1;
|
offset = command-1;
|
||||||
if (offset >= sizeof(sysinfo_table)/sizeof(char *)) {
|
if (offset >= ARRAY_SIZE(sysinfo_table)) {
|
||||||
/* Digital UNIX has a few unpublished interfaces here */
|
/* Digital UNIX has a few unpublished interfaces here */
|
||||||
printk("sysinfo(%d)", command);
|
printk("sysinfo(%d)", command);
|
||||||
goto out;
|
goto out;
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
#include <linux/time.h>
|
#include <linux/time.h>
|
||||||
#include <linux/major.h>
|
#include <linux/major.h>
|
||||||
#include <linux/stat.h>
|
#include <linux/stat.h>
|
||||||
|
#include <linux/vt.h>
|
||||||
#include <linux/mman.h>
|
#include <linux/mman.h>
|
||||||
#include <linux/elfcore.h>
|
#include <linux/elfcore.h>
|
||||||
#include <linux/reboot.h>
|
#include <linux/reboot.h>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
#include <linux/user.h>
|
#include <linux/user.h>
|
||||||
#include <linux/a.out.h>
|
#include <linux/a.out.h>
|
||||||
#include <linux/tty.h>
|
#include <linux/screen_info.h>
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
#include <linux/config.h> /* CONFIG_ALPHA_LCA etc */
|
#include <linux/config.h> /* CONFIG_ALPHA_LCA etc */
|
||||||
#include <linux/mc146818rtc.h>
|
#include <linux/mc146818rtc.h>
|
||||||
@ -114,8 +114,6 @@ struct alpha_machine_vector alpha_mv;
|
|||||||
int alpha_using_srm;
|
int alpha_using_srm;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define N(a) (sizeof(a)/sizeof(a[0]))
|
|
||||||
|
|
||||||
static struct alpha_machine_vector *get_sysvec(unsigned long, unsigned long,
|
static struct alpha_machine_vector *get_sysvec(unsigned long, unsigned long,
|
||||||
unsigned long);
|
unsigned long);
|
||||||
static struct alpha_machine_vector *get_sysvec_byname(const char *);
|
static struct alpha_machine_vector *get_sysvec_byname(const char *);
|
||||||
@ -240,7 +238,7 @@ reserve_std_resources(void)
|
|||||||
standard_io_resources[0].start = RTC_PORT(0);
|
standard_io_resources[0].start = RTC_PORT(0);
|
||||||
standard_io_resources[0].end = RTC_PORT(0) + 0x10;
|
standard_io_resources[0].end = RTC_PORT(0) + 0x10;
|
||||||
|
|
||||||
for (i = 0; i < N(standard_io_resources); ++i)
|
for (i = 0; i < ARRAY_SIZE(standard_io_resources); ++i)
|
||||||
request_resource(io, standard_io_resources+i);
|
request_resource(io, standard_io_resources+i);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -918,13 +916,13 @@ get_sysvec(unsigned long type, unsigned long variation, unsigned long cpu)
|
|||||||
|
|
||||||
/* Search the system tables first... */
|
/* Search the system tables first... */
|
||||||
vec = NULL;
|
vec = NULL;
|
||||||
if (type < N(systype_vecs)) {
|
if (type < ARRAY_SIZE(systype_vecs)) {
|
||||||
vec = systype_vecs[type];
|
vec = systype_vecs[type];
|
||||||
} else if ((type > ST_API_BIAS) &&
|
} else if ((type > ST_API_BIAS) &&
|
||||||
(type - ST_API_BIAS) < N(api_vecs)) {
|
(type - ST_API_BIAS) < ARRAY_SIZE(api_vecs)) {
|
||||||
vec = api_vecs[type - ST_API_BIAS];
|
vec = api_vecs[type - ST_API_BIAS];
|
||||||
} else if ((type > ST_UNOFFICIAL_BIAS) &&
|
} else if ((type > ST_UNOFFICIAL_BIAS) &&
|
||||||
(type - ST_UNOFFICIAL_BIAS) < N(unofficial_vecs)) {
|
(type - ST_UNOFFICIAL_BIAS) < ARRAY_SIZE(unofficial_vecs)) {
|
||||||
vec = unofficial_vecs[type - ST_UNOFFICIAL_BIAS];
|
vec = unofficial_vecs[type - ST_UNOFFICIAL_BIAS];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -938,11 +936,11 @@ get_sysvec(unsigned long type, unsigned long variation, unsigned long cpu)
|
|||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case ST_DEC_ALCOR:
|
case ST_DEC_ALCOR:
|
||||||
if (member < N(alcor_indices))
|
if (member < ARRAY_SIZE(alcor_indices))
|
||||||
vec = alcor_vecs[alcor_indices[member]];
|
vec = alcor_vecs[alcor_indices[member]];
|
||||||
break;
|
break;
|
||||||
case ST_DEC_EB164:
|
case ST_DEC_EB164:
|
||||||
if (member < N(eb164_indices))
|
if (member < ARRAY_SIZE(eb164_indices))
|
||||||
vec = eb164_vecs[eb164_indices[member]];
|
vec = eb164_vecs[eb164_indices[member]];
|
||||||
/* PC164 may show as EB164 variation with EV56 CPU,
|
/* PC164 may show as EB164 variation with EV56 CPU,
|
||||||
but, since no true EB164 had anything but EV5... */
|
but, since no true EB164 had anything but EV5... */
|
||||||
@ -950,24 +948,24 @@ get_sysvec(unsigned long type, unsigned long variation, unsigned long cpu)
|
|||||||
vec = &pc164_mv;
|
vec = &pc164_mv;
|
||||||
break;
|
break;
|
||||||
case ST_DEC_EB64P:
|
case ST_DEC_EB64P:
|
||||||
if (member < N(eb64p_indices))
|
if (member < ARRAY_SIZE(eb64p_indices))
|
||||||
vec = eb64p_vecs[eb64p_indices[member]];
|
vec = eb64p_vecs[eb64p_indices[member]];
|
||||||
break;
|
break;
|
||||||
case ST_DEC_EB66:
|
case ST_DEC_EB66:
|
||||||
if (member < N(eb66_indices))
|
if (member < ARRAY_SIZE(eb66_indices))
|
||||||
vec = eb66_vecs[eb66_indices[member]];
|
vec = eb66_vecs[eb66_indices[member]];
|
||||||
break;
|
break;
|
||||||
case ST_DEC_MARVEL:
|
case ST_DEC_MARVEL:
|
||||||
if (member < N(marvel_indices))
|
if (member < ARRAY_SIZE(marvel_indices))
|
||||||
vec = marvel_vecs[marvel_indices[member]];
|
vec = marvel_vecs[marvel_indices[member]];
|
||||||
break;
|
break;
|
||||||
case ST_DEC_TITAN:
|
case ST_DEC_TITAN:
|
||||||
vec = titan_vecs[0]; /* default */
|
vec = titan_vecs[0]; /* default */
|
||||||
if (member < N(titan_indices))
|
if (member < ARRAY_SIZE(titan_indices))
|
||||||
vec = titan_vecs[titan_indices[member]];
|
vec = titan_vecs[titan_indices[member]];
|
||||||
break;
|
break;
|
||||||
case ST_DEC_TSUNAMI:
|
case ST_DEC_TSUNAMI:
|
||||||
if (member < N(tsunami_indices))
|
if (member < ARRAY_SIZE(tsunami_indices))
|
||||||
vec = tsunami_vecs[tsunami_indices[member]];
|
vec = tsunami_vecs[tsunami_indices[member]];
|
||||||
break;
|
break;
|
||||||
case ST_DEC_1000:
|
case ST_DEC_1000:
|
||||||
@ -1039,7 +1037,7 @@ get_sysvec_byname(const char *name)
|
|||||||
|
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
for (i = 0; i < N(all_vecs); ++i) {
|
for (i = 0; i < ARRAY_SIZE(all_vecs); ++i) {
|
||||||
struct alpha_machine_vector *mv = all_vecs[i];
|
struct alpha_machine_vector *mv = all_vecs[i];
|
||||||
if (strcasecmp(mv->vector_name, name) == 0)
|
if (strcasecmp(mv->vector_name, name) == 0)
|
||||||
return mv;
|
return mv;
|
||||||
@ -1055,13 +1053,13 @@ get_sysnames(unsigned long type, unsigned long variation, unsigned long cpu,
|
|||||||
|
|
||||||
/* If not in the tables, make it UNKNOWN,
|
/* If not in the tables, make it UNKNOWN,
|
||||||
else set type name to family */
|
else set type name to family */
|
||||||
if (type < N(systype_names)) {
|
if (type < ARRAY_SIZE(systype_names)) {
|
||||||
*type_name = systype_names[type];
|
*type_name = systype_names[type];
|
||||||
} else if ((type > ST_API_BIAS) &&
|
} else if ((type > ST_API_BIAS) &&
|
||||||
(type - ST_API_BIAS) < N(api_names)) {
|
(type - ST_API_BIAS) < ARRAY_SIZE(api_names)) {
|
||||||
*type_name = api_names[type - ST_API_BIAS];
|
*type_name = api_names[type - ST_API_BIAS];
|
||||||
} else if ((type > ST_UNOFFICIAL_BIAS) &&
|
} else if ((type > ST_UNOFFICIAL_BIAS) &&
|
||||||
(type - ST_UNOFFICIAL_BIAS) < N(unofficial_names)) {
|
(type - ST_UNOFFICIAL_BIAS) < ARRAY_SIZE(unofficial_names)) {
|
||||||
*type_name = unofficial_names[type - ST_UNOFFICIAL_BIAS];
|
*type_name = unofficial_names[type - ST_UNOFFICIAL_BIAS];
|
||||||
} else {
|
} else {
|
||||||
*type_name = sys_unknown;
|
*type_name = sys_unknown;
|
||||||
@ -1083,7 +1081,7 @@ get_sysnames(unsigned long type, unsigned long variation, unsigned long cpu,
|
|||||||
default: /* default to variation "0" for now */
|
default: /* default to variation "0" for now */
|
||||||
break;
|
break;
|
||||||
case ST_DEC_EB164:
|
case ST_DEC_EB164:
|
||||||
if (member < N(eb164_indices))
|
if (member < ARRAY_SIZE(eb164_indices))
|
||||||
*variation_name = eb164_names[eb164_indices[member]];
|
*variation_name = eb164_names[eb164_indices[member]];
|
||||||
/* PC164 may show as EB164 variation, but with EV56 CPU,
|
/* PC164 may show as EB164 variation, but with EV56 CPU,
|
||||||
so, since no true EB164 had anything but EV5... */
|
so, since no true EB164 had anything but EV5... */
|
||||||
@ -1091,32 +1089,32 @@ get_sysnames(unsigned long type, unsigned long variation, unsigned long cpu,
|
|||||||
*variation_name = eb164_names[1]; /* make it PC164 */
|
*variation_name = eb164_names[1]; /* make it PC164 */
|
||||||
break;
|
break;
|
||||||
case ST_DEC_ALCOR:
|
case ST_DEC_ALCOR:
|
||||||
if (member < N(alcor_indices))
|
if (member < ARRAY_SIZE(alcor_indices))
|
||||||
*variation_name = alcor_names[alcor_indices[member]];
|
*variation_name = alcor_names[alcor_indices[member]];
|
||||||
break;
|
break;
|
||||||
case ST_DEC_EB64P:
|
case ST_DEC_EB64P:
|
||||||
if (member < N(eb64p_indices))
|
if (member < ARRAY_SIZE(eb64p_indices))
|
||||||
*variation_name = eb64p_names[eb64p_indices[member]];
|
*variation_name = eb64p_names[eb64p_indices[member]];
|
||||||
break;
|
break;
|
||||||
case ST_DEC_EB66:
|
case ST_DEC_EB66:
|
||||||
if (member < N(eb66_indices))
|
if (member < ARRAY_SIZE(eb66_indices))
|
||||||
*variation_name = eb66_names[eb66_indices[member]];
|
*variation_name = eb66_names[eb66_indices[member]];
|
||||||
break;
|
break;
|
||||||
case ST_DEC_MARVEL:
|
case ST_DEC_MARVEL:
|
||||||
if (member < N(marvel_indices))
|
if (member < ARRAY_SIZE(marvel_indices))
|
||||||
*variation_name = marvel_names[marvel_indices[member]];
|
*variation_name = marvel_names[marvel_indices[member]];
|
||||||
break;
|
break;
|
||||||
case ST_DEC_RAWHIDE:
|
case ST_DEC_RAWHIDE:
|
||||||
if (member < N(rawhide_indices))
|
if (member < ARRAY_SIZE(rawhide_indices))
|
||||||
*variation_name = rawhide_names[rawhide_indices[member]];
|
*variation_name = rawhide_names[rawhide_indices[member]];
|
||||||
break;
|
break;
|
||||||
case ST_DEC_TITAN:
|
case ST_DEC_TITAN:
|
||||||
*variation_name = titan_names[0]; /* default */
|
*variation_name = titan_names[0]; /* default */
|
||||||
if (member < N(titan_indices))
|
if (member < ARRAY_SIZE(titan_indices))
|
||||||
*variation_name = titan_names[titan_indices[member]];
|
*variation_name = titan_names[titan_indices[member]];
|
||||||
break;
|
break;
|
||||||
case ST_DEC_TSUNAMI:
|
case ST_DEC_TSUNAMI:
|
||||||
if (member < N(tsunami_indices))
|
if (member < ARRAY_SIZE(tsunami_indices))
|
||||||
*variation_name = tsunami_names[tsunami_indices[member]];
|
*variation_name = tsunami_names[tsunami_indices[member]];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -1211,7 +1209,7 @@ show_cpuinfo(struct seq_file *f, void *slot)
|
|||||||
|
|
||||||
cpu_index = (unsigned) (cpu->type - 1);
|
cpu_index = (unsigned) (cpu->type - 1);
|
||||||
cpu_name = "Unknown";
|
cpu_name = "Unknown";
|
||||||
if (cpu_index < N(cpu_names))
|
if (cpu_index < ARRAY_SIZE(cpu_names))
|
||||||
cpu_name = cpu_names[cpu_index];
|
cpu_name = cpu_names[cpu_index];
|
||||||
|
|
||||||
get_sysnames(hwrpb->sys_type, hwrpb->sys_variation,
|
get_sysnames(hwrpb->sys_type, hwrpb->sys_variation,
|
||||||
|
@ -203,7 +203,7 @@ ruffian_get_bank_size(unsigned long offset)
|
|||||||
};
|
};
|
||||||
|
|
||||||
bank = (bank & 0x1e) >> 1;
|
bank = (bank & 0x1e) >> 1;
|
||||||
if (bank < sizeof(size)/sizeof(*size))
|
if (bank < ARRAY_SIZE(size))
|
||||||
ret = size[bank];
|
ret = size[bank];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#include <linux/sched.h>
|
#include <linux/sched.h>
|
||||||
#include <linux/pci.h>
|
#include <linux/pci.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/tty.h>
|
#include <linux/screen_info.h>
|
||||||
|
|
||||||
#include <asm/compiler.h>
|
#include <asm/compiler.h>
|
||||||
#include <asm/ptrace.h>
|
#include <asm/ptrace.h>
|
||||||
|
@ -233,7 +233,7 @@ validate_cc_value(unsigned long cc)
|
|||||||
index = cpu->type & 0xffffffff;
|
index = cpu->type & 0xffffffff;
|
||||||
|
|
||||||
/* If index out of bounds, no way to validate. */
|
/* If index out of bounds, no way to validate. */
|
||||||
if (index >= sizeof(cpu_hz)/sizeof(cpu_hz[0]))
|
if (index >= ARRAY_SIZE(cpu_hz))
|
||||||
return cc;
|
return cc;
|
||||||
|
|
||||||
/* If index contains no data, no way to validate. */
|
/* If index contains no data, no way to validate. */
|
||||||
|
@ -95,7 +95,8 @@ static void gic_set_cpu(unsigned int irq, cpumask_t mask_val)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct irqchip gic_chip = {
|
static struct irq_chip gic_chip = {
|
||||||
|
.name = "GIC",
|
||||||
.ack = gic_ack_irq,
|
.ack = gic_ack_irq,
|
||||||
.mask = gic_mask_irq,
|
.mask = gic_mask_irq,
|
||||||
.unmask = gic_unmask_irq,
|
.unmask = gic_unmask_irq,
|
||||||
|
@ -204,7 +204,8 @@ static void locomo_unmask_irq(unsigned int irq)
|
|||||||
locomo_writel(r, mapbase + LOCOMO_ICR);
|
locomo_writel(r, mapbase + LOCOMO_ICR);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip locomo_chip = {
|
static struct irq_chip locomo_chip = {
|
||||||
|
.name = "LOCOMO",
|
||||||
.ack = locomo_ack_irq,
|
.ack = locomo_ack_irq,
|
||||||
.mask = locomo_mask_irq,
|
.mask = locomo_mask_irq,
|
||||||
.unmask = locomo_unmask_irq,
|
.unmask = locomo_unmask_irq,
|
||||||
@ -249,7 +250,8 @@ static void locomo_key_unmask_irq(unsigned int irq)
|
|||||||
locomo_writel(r, mapbase + LOCOMO_KEYBOARD + LOCOMO_KIC);
|
locomo_writel(r, mapbase + LOCOMO_KEYBOARD + LOCOMO_KIC);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip locomo_key_chip = {
|
static struct irq_chip locomo_key_chip = {
|
||||||
|
.name = "LOCOMO-key",
|
||||||
.ack = locomo_key_ack_irq,
|
.ack = locomo_key_ack_irq,
|
||||||
.mask = locomo_key_mask_irq,
|
.mask = locomo_key_mask_irq,
|
||||||
.unmask = locomo_key_unmask_irq,
|
.unmask = locomo_key_unmask_irq,
|
||||||
@ -312,7 +314,8 @@ static void locomo_gpio_unmask_irq(unsigned int irq)
|
|||||||
locomo_writel(r, mapbase + LOCOMO_GIE);
|
locomo_writel(r, mapbase + LOCOMO_GIE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip locomo_gpio_chip = {
|
static struct irq_chip locomo_gpio_chip = {
|
||||||
|
.name = "LOCOMO-gpio",
|
||||||
.ack = locomo_gpio_ack_irq,
|
.ack = locomo_gpio_ack_irq,
|
||||||
.mask = locomo_gpio_mask_irq,
|
.mask = locomo_gpio_mask_irq,
|
||||||
.unmask = locomo_gpio_unmask_irq,
|
.unmask = locomo_gpio_unmask_irq,
|
||||||
@ -357,7 +360,8 @@ static void locomo_lt_unmask_irq(unsigned int irq)
|
|||||||
locomo_writel(r, mapbase + LOCOMO_LTINT);
|
locomo_writel(r, mapbase + LOCOMO_LTINT);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip locomo_lt_chip = {
|
static struct irq_chip locomo_lt_chip = {
|
||||||
|
.name = "LOCOMO-lt",
|
||||||
.ack = locomo_lt_ack_irq,
|
.ack = locomo_lt_ack_irq,
|
||||||
.mask = locomo_lt_mask_irq,
|
.mask = locomo_lt_mask_irq,
|
||||||
.unmask = locomo_lt_unmask_irq,
|
.unmask = locomo_lt_unmask_irq,
|
||||||
@ -418,7 +422,8 @@ static void locomo_spi_unmask_irq(unsigned int irq)
|
|||||||
locomo_writel(r, mapbase + LOCOMO_SPIIE);
|
locomo_writel(r, mapbase + LOCOMO_SPIIE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip locomo_spi_chip = {
|
static struct irq_chip locomo_spi_chip = {
|
||||||
|
.name = "LOCOMO-spi",
|
||||||
.ack = locomo_spi_ack_irq,
|
.ack = locomo_spi_ack_irq,
|
||||||
.mask = locomo_spi_mask_irq,
|
.mask = locomo_spi_mask_irq,
|
||||||
.unmask = locomo_spi_unmask_irq,
|
.unmask = locomo_spi_unmask_irq,
|
||||||
@ -506,7 +511,7 @@ locomo_init_one_child(struct locomo *lchip, struct locomo_dev_info *info)
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
strncpy(dev->dev.bus_id,info->name,sizeof(dev->dev.bus_id));
|
strncpy(dev->dev.bus_id, info->name, sizeof(dev->dev.bus_id));
|
||||||
/*
|
/*
|
||||||
* If the parent device has a DMA mask associated with it,
|
* If the parent device has a DMA mask associated with it,
|
||||||
* propagate it down to the children.
|
* propagate it down to the children.
|
||||||
@ -729,7 +734,6 @@ __locomo_probe(struct device *me, struct resource *mem, int irq)
|
|||||||
|
|
||||||
for (i = 0; i < ARRAY_SIZE(locomo_devices); i++)
|
for (i = 0; i < ARRAY_SIZE(locomo_devices); i++)
|
||||||
locomo_init_one_child(lchip, &locomo_devices[i]);
|
locomo_init_one_child(lchip, &locomo_devices[i]);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
@ -272,7 +272,8 @@ static int sa1111_wake_lowirq(unsigned int irq, unsigned int on)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip sa1111_low_chip = {
|
static struct irq_chip sa1111_low_chip = {
|
||||||
|
.name = "SA1111-l",
|
||||||
.ack = sa1111_ack_irq,
|
.ack = sa1111_ack_irq,
|
||||||
.mask = sa1111_mask_lowirq,
|
.mask = sa1111_mask_lowirq,
|
||||||
.unmask = sa1111_unmask_lowirq,
|
.unmask = sa1111_unmask_lowirq,
|
||||||
@ -368,7 +369,8 @@ static int sa1111_wake_highirq(unsigned int irq, unsigned int on)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip sa1111_high_chip = {
|
static struct irq_chip sa1111_high_chip = {
|
||||||
|
.name = "SA1111-h",
|
||||||
.ack = sa1111_ack_irq,
|
.ack = sa1111_ack_irq,
|
||||||
.mask = sa1111_mask_highirq,
|
.mask = sa1111_mask_highirq,
|
||||||
.unmask = sa1111_unmask_highirq,
|
.unmask = sa1111_unmask_highirq,
|
||||||
|
@ -412,8 +412,10 @@ static int sharpsl_check_battery_temp(void)
|
|||||||
val = get_select_val(buff);
|
val = get_select_val(buff);
|
||||||
|
|
||||||
dev_dbg(sharpsl_pm.dev, "Temperature: %d\n", val);
|
dev_dbg(sharpsl_pm.dev, "Temperature: %d\n", val);
|
||||||
if (val > sharpsl_pm.machinfo->charge_on_temp)
|
if (val > sharpsl_pm.machinfo->charge_on_temp) {
|
||||||
|
printk(KERN_WARNING "Not charging: temperature out of limits.\n");
|
||||||
return -1;
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,8 @@ static void vic_unmask_irq(unsigned int irq)
|
|||||||
writel(1 << irq, base + VIC_INT_ENABLE);
|
writel(1 << irq, base + VIC_INT_ENABLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip vic_chip = {
|
static struct irq_chip vic_chip = {
|
||||||
|
.name = "VIC",
|
||||||
.ack = vic_mask_irq,
|
.ack = vic_mask_irq,
|
||||||
.mask = vic_mask_irq,
|
.mask = vic_mask_irq,
|
||||||
.unmask = vic_unmask_irq,
|
.unmask = vic_unmask_irq,
|
||||||
|
@ -1,14 +1,18 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Linux kernel version: 2.6.17-rc2
|
# Linux kernel version: 2.6.18-rc1-git9
|
||||||
# Wed Apr 19 21:21:01 2006
|
# Sat Jul 15 15:08:10 2006
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_MMU=y
|
CONFIG_MMU=y
|
||||||
|
CONFIG_GENERIC_HARDIRQS=y
|
||||||
|
CONFIG_HARDIRQS_SW_RESEND=y
|
||||||
|
CONFIG_GENERIC_IRQ_PROBE=y
|
||||||
CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
||||||
CONFIG_GENERIC_HWEIGHT=y
|
CONFIG_GENERIC_HWEIGHT=y
|
||||||
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
||||||
CONFIG_VECTORS_BASE=0xffff0000
|
CONFIG_VECTORS_BASE=0xffff0000
|
||||||
|
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Code maturity level options
|
# Code maturity level options
|
||||||
@ -26,6 +30,7 @@ CONFIG_SWAP=y
|
|||||||
CONFIG_SYSVIPC=y
|
CONFIG_SYSVIPC=y
|
||||||
# CONFIG_POSIX_MQUEUE is not set
|
# CONFIG_POSIX_MQUEUE is not set
|
||||||
# CONFIG_BSD_PROCESS_ACCT is not set
|
# CONFIG_BSD_PROCESS_ACCT is not set
|
||||||
|
# CONFIG_TASKSTATS is not set
|
||||||
CONFIG_SYSCTL=y
|
CONFIG_SYSCTL=y
|
||||||
# CONFIG_AUDIT is not set
|
# CONFIG_AUDIT is not set
|
||||||
CONFIG_IKCONFIG=y
|
CONFIG_IKCONFIG=y
|
||||||
@ -43,14 +48,15 @@ CONFIG_PRINTK=y
|
|||||||
CONFIG_BUG=y
|
CONFIG_BUG=y
|
||||||
CONFIG_ELF_CORE=y
|
CONFIG_ELF_CORE=y
|
||||||
CONFIG_BASE_FULL=y
|
CONFIG_BASE_FULL=y
|
||||||
|
CONFIG_RT_MUTEXES=y
|
||||||
CONFIG_FUTEX=y
|
CONFIG_FUTEX=y
|
||||||
CONFIG_EPOLL=y
|
CONFIG_EPOLL=y
|
||||||
CONFIG_SHMEM=y
|
CONFIG_SHMEM=y
|
||||||
CONFIG_SLAB=y
|
CONFIG_SLAB=y
|
||||||
|
CONFIG_VM_EVENT_COUNTERS=y
|
||||||
# CONFIG_TINY_SHMEM is not set
|
# CONFIG_TINY_SHMEM is not set
|
||||||
CONFIG_BASE_SMALL=0
|
CONFIG_BASE_SMALL=0
|
||||||
# CONFIG_SLOB is not set
|
# CONFIG_SLOB is not set
|
||||||
CONFIG_OBSOLETE_INTERMODULE=y
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Loadable module support
|
# Loadable module support
|
||||||
@ -83,18 +89,26 @@ CONFIG_DEFAULT_IOSCHED="deadline"
|
|||||||
#
|
#
|
||||||
# System Type
|
# System Type
|
||||||
#
|
#
|
||||||
|
# CONFIG_ARCH_AAEC2000 is not set
|
||||||
|
# CONFIG_ARCH_INTEGRATOR is not set
|
||||||
|
# CONFIG_ARCH_REALVIEW is not set
|
||||||
|
# CONFIG_ARCH_VERSATILE is not set
|
||||||
|
# CONFIG_ARCH_AT91 is not set
|
||||||
# CONFIG_ARCH_CLPS7500 is not set
|
# CONFIG_ARCH_CLPS7500 is not set
|
||||||
# CONFIG_ARCH_CLPS711X is not set
|
# CONFIG_ARCH_CLPS711X is not set
|
||||||
# CONFIG_ARCH_CO285 is not set
|
# CONFIG_ARCH_CO285 is not set
|
||||||
# CONFIG_ARCH_EBSA110 is not set
|
# CONFIG_ARCH_EBSA110 is not set
|
||||||
CONFIG_ARCH_EP93XX=y
|
CONFIG_ARCH_EP93XX=y
|
||||||
# CONFIG_ARCH_FOOTBRIDGE is not set
|
# CONFIG_ARCH_FOOTBRIDGE is not set
|
||||||
# CONFIG_ARCH_INTEGRATOR is not set
|
# CONFIG_ARCH_NETX is not set
|
||||||
|
# CONFIG_ARCH_H720X is not set
|
||||||
|
# CONFIG_ARCH_IMX is not set
|
||||||
# CONFIG_ARCH_IOP3XX is not set
|
# CONFIG_ARCH_IOP3XX is not set
|
||||||
# CONFIG_ARCH_IXP4XX is not set
|
# CONFIG_ARCH_IXP4XX is not set
|
||||||
# CONFIG_ARCH_IXP2000 is not set
|
# CONFIG_ARCH_IXP2000 is not set
|
||||||
# CONFIG_ARCH_IXP23XX is not set
|
# CONFIG_ARCH_IXP23XX is not set
|
||||||
# CONFIG_ARCH_L7200 is not set
|
# CONFIG_ARCH_L7200 is not set
|
||||||
|
# CONFIG_ARCH_PNX4008 is not set
|
||||||
# CONFIG_ARCH_PXA is not set
|
# CONFIG_ARCH_PXA is not set
|
||||||
# CONFIG_ARCH_RPC is not set
|
# CONFIG_ARCH_RPC is not set
|
||||||
# CONFIG_ARCH_SA1100 is not set
|
# CONFIG_ARCH_SA1100 is not set
|
||||||
@ -102,20 +116,18 @@ CONFIG_ARCH_EP93XX=y
|
|||||||
# CONFIG_ARCH_SHARK is not set
|
# CONFIG_ARCH_SHARK is not set
|
||||||
# CONFIG_ARCH_LH7A40X is not set
|
# CONFIG_ARCH_LH7A40X is not set
|
||||||
# CONFIG_ARCH_OMAP is not set
|
# CONFIG_ARCH_OMAP is not set
|
||||||
# CONFIG_ARCH_VERSATILE is not set
|
|
||||||
# CONFIG_ARCH_REALVIEW is not set
|
|
||||||
# CONFIG_ARCH_IMX is not set
|
|
||||||
# CONFIG_ARCH_H720X is not set
|
|
||||||
# CONFIG_ARCH_AAEC2000 is not set
|
|
||||||
# CONFIG_ARCH_AT91RM9200 is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Cirrus EP93xx Implementation Options
|
# Cirrus EP93xx Implementation Options
|
||||||
#
|
#
|
||||||
|
CONFIG_CRUNCH=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# EP93xx Platforms
|
# EP93xx Platforms
|
||||||
#
|
#
|
||||||
|
CONFIG_MACH_EDB9302=y
|
||||||
|
CONFIG_MACH_EDB9315=y
|
||||||
|
CONFIG_MACH_EDB9315A=y
|
||||||
CONFIG_MACH_GESBC9312=y
|
CONFIG_MACH_GESBC9312=y
|
||||||
CONFIG_MACH_TS72XX=y
|
CONFIG_MACH_TS72XX=y
|
||||||
|
|
||||||
@ -166,6 +178,7 @@ CONFIG_FLATMEM=y
|
|||||||
CONFIG_FLAT_NODE_MEM_MAP=y
|
CONFIG_FLAT_NODE_MEM_MAP=y
|
||||||
# CONFIG_SPARSEMEM_STATIC is not set
|
# CONFIG_SPARSEMEM_STATIC is not set
|
||||||
CONFIG_SPLIT_PTLOCK_CPUS=4096
|
CONFIG_SPLIT_PTLOCK_CPUS=4096
|
||||||
|
# CONFIG_RESOURCES_64BIT is not set
|
||||||
CONFIG_ALIGNMENT_TRAP=y
|
CONFIG_ALIGNMENT_TRAP=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -233,6 +246,8 @@ CONFIG_SYN_COOKIES=y
|
|||||||
# CONFIG_INET_IPCOMP is not set
|
# CONFIG_INET_IPCOMP is not set
|
||||||
# CONFIG_INET_XFRM_TUNNEL is not set
|
# CONFIG_INET_XFRM_TUNNEL is not set
|
||||||
# CONFIG_INET_TUNNEL is not set
|
# CONFIG_INET_TUNNEL is not set
|
||||||
|
CONFIG_INET_XFRM_MODE_TRANSPORT=y
|
||||||
|
CONFIG_INET_XFRM_MODE_TUNNEL=y
|
||||||
CONFIG_INET_DIAG=y
|
CONFIG_INET_DIAG=y
|
||||||
CONFIG_INET_TCP_DIAG=y
|
CONFIG_INET_TCP_DIAG=y
|
||||||
# CONFIG_TCP_CONG_ADVANCED is not set
|
# CONFIG_TCP_CONG_ADVANCED is not set
|
||||||
@ -240,6 +255,7 @@ CONFIG_TCP_CONG_BIC=y
|
|||||||
# CONFIG_IPV6 is not set
|
# CONFIG_IPV6 is not set
|
||||||
# CONFIG_INET6_XFRM_TUNNEL is not set
|
# CONFIG_INET6_XFRM_TUNNEL is not set
|
||||||
# CONFIG_INET6_TUNNEL is not set
|
# CONFIG_INET6_TUNNEL is not set
|
||||||
|
# CONFIG_NETWORK_SECMARK is not set
|
||||||
# CONFIG_NETFILTER is not set
|
# CONFIG_NETFILTER is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -294,6 +310,7 @@ CONFIG_STANDALONE=y
|
|||||||
CONFIG_PREVENT_FIRMWARE_BUILD=y
|
CONFIG_PREVENT_FIRMWARE_BUILD=y
|
||||||
# CONFIG_FW_LOADER is not set
|
# CONFIG_FW_LOADER is not set
|
||||||
# CONFIG_DEBUG_DRIVER is not set
|
# CONFIG_DEBUG_DRIVER is not set
|
||||||
|
# CONFIG_SYS_HYPERVISOR is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Connector - unified userspace <-> kernelspace linker
|
# Connector - unified userspace <-> kernelspace linker
|
||||||
@ -386,6 +403,8 @@ CONFIG_MTD_PHYSMAP_BANKWIDTH=1
|
|||||||
#
|
#
|
||||||
CONFIG_MTD_NAND=y
|
CONFIG_MTD_NAND=y
|
||||||
CONFIG_MTD_NAND_VERIFY_WRITE=y
|
CONFIG_MTD_NAND_VERIFY_WRITE=y
|
||||||
|
# CONFIG_MTD_NAND_ECC_SMC is not set
|
||||||
|
CONFIG_MTD_NAND_TS7250=y
|
||||||
CONFIG_MTD_NAND_IDS=y
|
CONFIG_MTD_NAND_IDS=y
|
||||||
# CONFIG_MTD_NAND_DISKONCHIP is not set
|
# CONFIG_MTD_NAND_DISKONCHIP is not set
|
||||||
# CONFIG_MTD_NAND_NANDSIM is not set
|
# CONFIG_MTD_NAND_NANDSIM is not set
|
||||||
@ -582,6 +601,7 @@ CONFIG_EP93XX_WATCHDOG=y
|
|||||||
# USB-based Watchdog Cards
|
# USB-based Watchdog Cards
|
||||||
#
|
#
|
||||||
# CONFIG_USBPCWATCHDOG is not set
|
# CONFIG_USBPCWATCHDOG is not set
|
||||||
|
# CONFIG_HW_RANDOM is not set
|
||||||
# CONFIG_NVRAM is not set
|
# CONFIG_NVRAM is not set
|
||||||
# CONFIG_DTLK is not set
|
# CONFIG_DTLK is not set
|
||||||
# CONFIG_R3964 is not set
|
# CONFIG_R3964 is not set
|
||||||
@ -613,6 +633,7 @@ CONFIG_I2C_ALGOBIT=y
|
|||||||
#
|
#
|
||||||
# I2C Hardware Bus support
|
# I2C Hardware Bus support
|
||||||
#
|
#
|
||||||
|
# CONFIG_I2C_OCORES is not set
|
||||||
# CONFIG_I2C_PARPORT_LIGHT is not set
|
# CONFIG_I2C_PARPORT_LIGHT is not set
|
||||||
# CONFIG_I2C_STUB is not set
|
# CONFIG_I2C_STUB is not set
|
||||||
# CONFIG_I2C_PCA_ISA is not set
|
# CONFIG_I2C_PCA_ISA is not set
|
||||||
@ -641,13 +662,13 @@ CONFIG_I2C_DEBUG_CHIP=y
|
|||||||
#
|
#
|
||||||
# Dallas's 1-wire bus
|
# Dallas's 1-wire bus
|
||||||
#
|
#
|
||||||
# CONFIG_W1 is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Hardware Monitoring support
|
# Hardware Monitoring support
|
||||||
#
|
#
|
||||||
CONFIG_HWMON=y
|
CONFIG_HWMON=y
|
||||||
# CONFIG_HWMON_VID is not set
|
# CONFIG_HWMON_VID is not set
|
||||||
|
# CONFIG_SENSORS_ABITUGURU is not set
|
||||||
# CONFIG_SENSORS_ADM1021 is not set
|
# CONFIG_SENSORS_ADM1021 is not set
|
||||||
# CONFIG_SENSORS_ADM1025 is not set
|
# CONFIG_SENSORS_ADM1025 is not set
|
||||||
# CONFIG_SENSORS_ADM1026 is not set
|
# CONFIG_SENSORS_ADM1026 is not set
|
||||||
@ -675,8 +696,10 @@ CONFIG_HWMON=y
|
|||||||
# CONFIG_SENSORS_MAX1619 is not set
|
# CONFIG_SENSORS_MAX1619 is not set
|
||||||
# CONFIG_SENSORS_PC87360 is not set
|
# CONFIG_SENSORS_PC87360 is not set
|
||||||
# CONFIG_SENSORS_SMSC47M1 is not set
|
# CONFIG_SENSORS_SMSC47M1 is not set
|
||||||
|
# CONFIG_SENSORS_SMSC47M192 is not set
|
||||||
# CONFIG_SENSORS_SMSC47B397 is not set
|
# CONFIG_SENSORS_SMSC47B397 is not set
|
||||||
# CONFIG_SENSORS_W83781D is not set
|
# CONFIG_SENSORS_W83781D is not set
|
||||||
|
# CONFIG_SENSORS_W83791D is not set
|
||||||
# CONFIG_SENSORS_W83792D is not set
|
# CONFIG_SENSORS_W83792D is not set
|
||||||
# CONFIG_SENSORS_W83L785TS is not set
|
# CONFIG_SENSORS_W83L785TS is not set
|
||||||
# CONFIG_SENSORS_W83627HF is not set
|
# CONFIG_SENSORS_W83627HF is not set
|
||||||
@ -704,6 +727,7 @@ CONFIG_HWMON=y
|
|||||||
# Multimedia devices
|
# Multimedia devices
|
||||||
#
|
#
|
||||||
# CONFIG_VIDEO_DEV is not set
|
# CONFIG_VIDEO_DEV is not set
|
||||||
|
CONFIG_VIDEO_V4L2=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Digital Video Broadcasting Devices
|
# Digital Video Broadcasting Devices
|
||||||
@ -714,6 +738,7 @@ CONFIG_HWMON=y
|
|||||||
#
|
#
|
||||||
# Graphics support
|
# Graphics support
|
||||||
#
|
#
|
||||||
|
# CONFIG_FIRMWARE_EDID is not set
|
||||||
# CONFIG_FB is not set
|
# CONFIG_FB is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -725,7 +750,7 @@ CONFIG_HWMON=y
|
|||||||
# USB support
|
# USB support
|
||||||
#
|
#
|
||||||
CONFIG_USB_ARCH_HAS_HCD=y
|
CONFIG_USB_ARCH_HAS_HCD=y
|
||||||
# CONFIG_USB_ARCH_HAS_OHCI is not set
|
CONFIG_USB_ARCH_HAS_OHCI=y
|
||||||
# CONFIG_USB_ARCH_HAS_EHCI is not set
|
# CONFIG_USB_ARCH_HAS_EHCI is not set
|
||||||
CONFIG_USB=y
|
CONFIG_USB=y
|
||||||
CONFIG_USB_DEBUG=y
|
CONFIG_USB_DEBUG=y
|
||||||
@ -742,6 +767,9 @@ CONFIG_USB_DYNAMIC_MINORS=y
|
|||||||
# USB Host Controller Drivers
|
# USB Host Controller Drivers
|
||||||
#
|
#
|
||||||
# CONFIG_USB_ISP116X_HCD is not set
|
# CONFIG_USB_ISP116X_HCD is not set
|
||||||
|
CONFIG_USB_OHCI_HCD=y
|
||||||
|
# CONFIG_USB_OHCI_BIG_ENDIAN is not set
|
||||||
|
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
|
||||||
# CONFIG_USB_SL811_HCD is not set
|
# CONFIG_USB_SL811_HCD is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -806,6 +834,7 @@ CONFIG_USB_SERIAL_CONSOLE=y
|
|||||||
# CONFIG_USB_SERIAL_GENERIC is not set
|
# CONFIG_USB_SERIAL_GENERIC is not set
|
||||||
# CONFIG_USB_SERIAL_AIRPRIME is not set
|
# CONFIG_USB_SERIAL_AIRPRIME is not set
|
||||||
# CONFIG_USB_SERIAL_ANYDATA is not set
|
# CONFIG_USB_SERIAL_ANYDATA is not set
|
||||||
|
# CONFIG_USB_SERIAL_ARK3116 is not set
|
||||||
# CONFIG_USB_SERIAL_BELKIN is not set
|
# CONFIG_USB_SERIAL_BELKIN is not set
|
||||||
# CONFIG_USB_SERIAL_WHITEHEAT is not set
|
# CONFIG_USB_SERIAL_WHITEHEAT is not set
|
||||||
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
|
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
|
||||||
@ -830,9 +859,11 @@ CONFIG_USB_SERIAL_CONSOLE=y
|
|||||||
CONFIG_USB_SERIAL_PL2303=y
|
CONFIG_USB_SERIAL_PL2303=y
|
||||||
# CONFIG_USB_SERIAL_HP4X is not set
|
# CONFIG_USB_SERIAL_HP4X is not set
|
||||||
# CONFIG_USB_SERIAL_SAFE is not set
|
# CONFIG_USB_SERIAL_SAFE is not set
|
||||||
|
# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
|
||||||
# CONFIG_USB_SERIAL_TI is not set
|
# CONFIG_USB_SERIAL_TI is not set
|
||||||
# CONFIG_USB_SERIAL_CYBERJACK is not set
|
# CONFIG_USB_SERIAL_CYBERJACK is not set
|
||||||
# CONFIG_USB_SERIAL_XIRCOM is not set
|
# CONFIG_USB_SERIAL_XIRCOM is not set
|
||||||
|
# CONFIG_USB_SERIAL_OPTION is not set
|
||||||
# CONFIG_USB_SERIAL_OMNINET is not set
|
# CONFIG_USB_SERIAL_OMNINET is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -845,10 +876,12 @@ CONFIG_USB_SERIAL_PL2303=y
|
|||||||
# CONFIG_USB_LEGOTOWER is not set
|
# CONFIG_USB_LEGOTOWER is not set
|
||||||
# CONFIG_USB_LCD is not set
|
# CONFIG_USB_LCD is not set
|
||||||
# CONFIG_USB_LED is not set
|
# CONFIG_USB_LED is not set
|
||||||
|
# CONFIG_USB_CYPRESS_CY7C63 is not set
|
||||||
# CONFIG_USB_CYTHERM is not set
|
# CONFIG_USB_CYTHERM is not set
|
||||||
# CONFIG_USB_PHIDGETKIT is not set
|
# CONFIG_USB_PHIDGETKIT is not set
|
||||||
# CONFIG_USB_PHIDGETSERVO is not set
|
# CONFIG_USB_PHIDGETSERVO is not set
|
||||||
# CONFIG_USB_IDMOUSE is not set
|
# CONFIG_USB_IDMOUSE is not set
|
||||||
|
# CONFIG_USB_APPLEDISPLAY is not set
|
||||||
# CONFIG_USB_LD is not set
|
# CONFIG_USB_LD is not set
|
||||||
# CONFIG_USB_TEST is not set
|
# CONFIG_USB_TEST is not set
|
||||||
|
|
||||||
@ -880,17 +913,25 @@ CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
|
|||||||
CONFIG_RTC_INTF_SYSFS=y
|
CONFIG_RTC_INTF_SYSFS=y
|
||||||
CONFIG_RTC_INTF_PROC=y
|
CONFIG_RTC_INTF_PROC=y
|
||||||
CONFIG_RTC_INTF_DEV=y
|
CONFIG_RTC_INTF_DEV=y
|
||||||
|
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# RTC drivers
|
# RTC drivers
|
||||||
#
|
#
|
||||||
# CONFIG_RTC_DRV_X1205 is not set
|
# CONFIG_RTC_DRV_X1205 is not set
|
||||||
|
# CONFIG_RTC_DRV_DS1307 is not set
|
||||||
|
# CONFIG_RTC_DRV_DS1553 is not set
|
||||||
|
# CONFIG_RTC_DRV_ISL1208 is not set
|
||||||
# CONFIG_RTC_DRV_DS1672 is not set
|
# CONFIG_RTC_DRV_DS1672 is not set
|
||||||
|
# CONFIG_RTC_DRV_DS1742 is not set
|
||||||
# CONFIG_RTC_DRV_PCF8563 is not set
|
# CONFIG_RTC_DRV_PCF8563 is not set
|
||||||
|
# CONFIG_RTC_DRV_PCF8583 is not set
|
||||||
# CONFIG_RTC_DRV_RS5C372 is not set
|
# CONFIG_RTC_DRV_RS5C372 is not set
|
||||||
CONFIG_RTC_DRV_M48T86=y
|
CONFIG_RTC_DRV_M48T86=y
|
||||||
CONFIG_RTC_DRV_EP93XX=y
|
CONFIG_RTC_DRV_EP93XX=y
|
||||||
|
# CONFIG_RTC_DRV_PL031 is not set
|
||||||
# CONFIG_RTC_DRV_TEST is not set
|
# CONFIG_RTC_DRV_TEST is not set
|
||||||
|
# CONFIG_RTC_DRV_V3020 is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# File systems
|
# File systems
|
||||||
@ -910,6 +951,7 @@ CONFIG_JBD=y
|
|||||||
# CONFIG_MINIX_FS is not set
|
# CONFIG_MINIX_FS is not set
|
||||||
# CONFIG_ROMFS_FS is not set
|
# CONFIG_ROMFS_FS is not set
|
||||||
CONFIG_INOTIFY=y
|
CONFIG_INOTIFY=y
|
||||||
|
CONFIG_INOTIFY_USER=y
|
||||||
# CONFIG_QUOTA is not set
|
# CONFIG_QUOTA is not set
|
||||||
CONFIG_DNOTIFY=y
|
CONFIG_DNOTIFY=y
|
||||||
# CONFIG_AUTOFS_FS is not set
|
# CONFIG_AUTOFS_FS is not set
|
||||||
@ -957,6 +999,7 @@ CONFIG_JFFS2_FS=y
|
|||||||
CONFIG_JFFS2_FS_DEBUG=0
|
CONFIG_JFFS2_FS_DEBUG=0
|
||||||
CONFIG_JFFS2_FS_WRITEBUFFER=y
|
CONFIG_JFFS2_FS_WRITEBUFFER=y
|
||||||
# CONFIG_JFFS2_SUMMARY is not set
|
# CONFIG_JFFS2_SUMMARY is not set
|
||||||
|
# CONFIG_JFFS2_FS_XATTR is not set
|
||||||
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
|
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
|
||||||
CONFIG_JFFS2_ZLIB=y
|
CONFIG_JFFS2_ZLIB=y
|
||||||
CONFIG_JFFS2_RTIME=y
|
CONFIG_JFFS2_RTIME=y
|
||||||
@ -1066,15 +1109,20 @@ CONFIG_NLS_ISO8859_1=y
|
|||||||
#
|
#
|
||||||
# CONFIG_PRINTK_TIME is not set
|
# CONFIG_PRINTK_TIME is not set
|
||||||
CONFIG_MAGIC_SYSRQ=y
|
CONFIG_MAGIC_SYSRQ=y
|
||||||
|
# CONFIG_UNUSED_SYMBOLS is not set
|
||||||
CONFIG_DEBUG_KERNEL=y
|
CONFIG_DEBUG_KERNEL=y
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
CONFIG_LOG_BUF_SHIFT=14
|
||||||
CONFIG_DETECT_SOFTLOCKUP=y
|
CONFIG_DETECT_SOFTLOCKUP=y
|
||||||
# CONFIG_SCHEDSTATS is not set
|
# CONFIG_SCHEDSTATS is not set
|
||||||
CONFIG_DEBUG_SLAB=y
|
CONFIG_DEBUG_SLAB=y
|
||||||
# CONFIG_DEBUG_SLAB_LEAK is not set
|
# CONFIG_DEBUG_SLAB_LEAK is not set
|
||||||
CONFIG_DEBUG_MUTEXES=y
|
# CONFIG_DEBUG_RT_MUTEXES is not set
|
||||||
|
# CONFIG_RT_MUTEX_TESTER is not set
|
||||||
CONFIG_DEBUG_SPINLOCK=y
|
CONFIG_DEBUG_SPINLOCK=y
|
||||||
|
CONFIG_DEBUG_MUTEXES=y
|
||||||
|
# CONFIG_DEBUG_RWSEMS is not set
|
||||||
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
|
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
|
||||||
|
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
|
||||||
# CONFIG_DEBUG_KOBJECT is not set
|
# CONFIG_DEBUG_KOBJECT is not set
|
||||||
CONFIG_DEBUG_BUGVERBOSE=y
|
CONFIG_DEBUG_BUGVERBOSE=y
|
||||||
# CONFIG_DEBUG_INFO is not set
|
# CONFIG_DEBUG_INFO is not set
|
||||||
@ -1114,3 +1162,4 @@ CONFIG_CRC32=y
|
|||||||
CONFIG_LIBCRC32C=y
|
CONFIG_LIBCRC32C=y
|
||||||
CONFIG_ZLIB_INFLATE=y
|
CONFIG_ZLIB_INFLATE=y
|
||||||
CONFIG_ZLIB_DEFLATE=y
|
CONFIG_ZLIB_DEFLATE=y
|
||||||
|
CONFIG_PLIST=y
|
||||||
|
@ -1,14 +1,18 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Linux kernel version: 2.6.17-rc2
|
# Linux kernel version: 2.6.18-rc1
|
||||||
# Wed Apr 19 21:12:49 2006
|
# Sun Jul 9 15:28:50 2006
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_MMU=y
|
CONFIG_MMU=y
|
||||||
|
CONFIG_GENERIC_HARDIRQS=y
|
||||||
|
CONFIG_HARDIRQS_SW_RESEND=y
|
||||||
|
CONFIG_GENERIC_IRQ_PROBE=y
|
||||||
CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
||||||
CONFIG_GENERIC_HWEIGHT=y
|
CONFIG_GENERIC_HWEIGHT=y
|
||||||
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
||||||
CONFIG_VECTORS_BASE=0xffff0000
|
CONFIG_VECTORS_BASE=0xffff0000
|
||||||
|
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Code maturity level options
|
# Code maturity level options
|
||||||
@ -43,14 +47,15 @@ CONFIG_PRINTK=y
|
|||||||
CONFIG_BUG=y
|
CONFIG_BUG=y
|
||||||
CONFIG_ELF_CORE=y
|
CONFIG_ELF_CORE=y
|
||||||
CONFIG_BASE_FULL=y
|
CONFIG_BASE_FULL=y
|
||||||
|
CONFIG_RT_MUTEXES=y
|
||||||
CONFIG_FUTEX=y
|
CONFIG_FUTEX=y
|
||||||
CONFIG_EPOLL=y
|
CONFIG_EPOLL=y
|
||||||
CONFIG_SHMEM=y
|
CONFIG_SHMEM=y
|
||||||
CONFIG_SLAB=y
|
CONFIG_SLAB=y
|
||||||
|
CONFIG_VM_EVENT_COUNTERS=y
|
||||||
# CONFIG_TINY_SHMEM is not set
|
# CONFIG_TINY_SHMEM is not set
|
||||||
CONFIG_BASE_SMALL=0
|
CONFIG_BASE_SMALL=0
|
||||||
# CONFIG_SLOB is not set
|
# CONFIG_SLOB is not set
|
||||||
CONFIG_OBSOLETE_INTERMODULE=y
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Loadable module support
|
# Loadable module support
|
||||||
@ -83,18 +88,26 @@ CONFIG_DEFAULT_IOSCHED="anticipatory"
|
|||||||
#
|
#
|
||||||
# System Type
|
# System Type
|
||||||
#
|
#
|
||||||
|
# CONFIG_ARCH_AAEC2000 is not set
|
||||||
|
# CONFIG_ARCH_INTEGRATOR is not set
|
||||||
|
# CONFIG_ARCH_REALVIEW is not set
|
||||||
|
# CONFIG_ARCH_VERSATILE is not set
|
||||||
|
# CONFIG_ARCH_AT91 is not set
|
||||||
# CONFIG_ARCH_CLPS7500 is not set
|
# CONFIG_ARCH_CLPS7500 is not set
|
||||||
# CONFIG_ARCH_CLPS711X is not set
|
# CONFIG_ARCH_CLPS711X is not set
|
||||||
# CONFIG_ARCH_CO285 is not set
|
# CONFIG_ARCH_CO285 is not set
|
||||||
# CONFIG_ARCH_EBSA110 is not set
|
# CONFIG_ARCH_EBSA110 is not set
|
||||||
# CONFIG_ARCH_EP93XX is not set
|
# CONFIG_ARCH_EP93XX is not set
|
||||||
# CONFIG_ARCH_FOOTBRIDGE is not set
|
# CONFIG_ARCH_FOOTBRIDGE is not set
|
||||||
# CONFIG_ARCH_INTEGRATOR is not set
|
# CONFIG_ARCH_NETX is not set
|
||||||
|
# CONFIG_ARCH_H720X is not set
|
||||||
|
# CONFIG_ARCH_IMX is not set
|
||||||
# CONFIG_ARCH_IOP3XX is not set
|
# CONFIG_ARCH_IOP3XX is not set
|
||||||
# CONFIG_ARCH_IXP4XX is not set
|
# CONFIG_ARCH_IXP4XX is not set
|
||||||
CONFIG_ARCH_IXP2000=y
|
CONFIG_ARCH_IXP2000=y
|
||||||
# CONFIG_ARCH_IXP23XX is not set
|
# CONFIG_ARCH_IXP23XX is not set
|
||||||
# CONFIG_ARCH_L7200 is not set
|
# CONFIG_ARCH_L7200 is not set
|
||||||
|
# CONFIG_ARCH_PNX4008 is not set
|
||||||
# CONFIG_ARCH_PXA is not set
|
# CONFIG_ARCH_PXA is not set
|
||||||
# CONFIG_ARCH_RPC is not set
|
# CONFIG_ARCH_RPC is not set
|
||||||
# CONFIG_ARCH_SA1100 is not set
|
# CONFIG_ARCH_SA1100 is not set
|
||||||
@ -102,12 +115,6 @@ CONFIG_ARCH_IXP2000=y
|
|||||||
# CONFIG_ARCH_SHARK is not set
|
# CONFIG_ARCH_SHARK is not set
|
||||||
# CONFIG_ARCH_LH7A40X is not set
|
# CONFIG_ARCH_LH7A40X is not set
|
||||||
# CONFIG_ARCH_OMAP is not set
|
# CONFIG_ARCH_OMAP is not set
|
||||||
# CONFIG_ARCH_VERSATILE is not set
|
|
||||||
# CONFIG_ARCH_REALVIEW is not set
|
|
||||||
# CONFIG_ARCH_IMX is not set
|
|
||||||
# CONFIG_ARCH_H720X is not set
|
|
||||||
# CONFIG_ARCH_AAEC2000 is not set
|
|
||||||
# CONFIG_ARCH_AT91RM9200 is not set
|
|
||||||
CONFIG_ARCH_SUPPORTS_BIG_ENDIAN=y
|
CONFIG_ARCH_SUPPORTS_BIG_ENDIAN=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -171,6 +178,7 @@ CONFIG_FLATMEM=y
|
|||||||
CONFIG_FLAT_NODE_MEM_MAP=y
|
CONFIG_FLAT_NODE_MEM_MAP=y
|
||||||
# CONFIG_SPARSEMEM_STATIC is not set
|
# CONFIG_SPARSEMEM_STATIC is not set
|
||||||
CONFIG_SPLIT_PTLOCK_CPUS=4096
|
CONFIG_SPLIT_PTLOCK_CPUS=4096
|
||||||
|
# CONFIG_RESOURCES_64BIT is not set
|
||||||
CONFIG_ALIGNMENT_TRAP=y
|
CONFIG_ALIGNMENT_TRAP=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -218,6 +226,8 @@ CONFIG_NET=y
|
|||||||
CONFIG_PACKET=y
|
CONFIG_PACKET=y
|
||||||
CONFIG_PACKET_MMAP=y
|
CONFIG_PACKET_MMAP=y
|
||||||
CONFIG_UNIX=y
|
CONFIG_UNIX=y
|
||||||
|
CONFIG_XFRM=y
|
||||||
|
# CONFIG_XFRM_USER is not set
|
||||||
# CONFIG_NET_KEY is not set
|
# CONFIG_NET_KEY is not set
|
||||||
CONFIG_INET=y
|
CONFIG_INET=y
|
||||||
# CONFIG_IP_MULTICAST is not set
|
# CONFIG_IP_MULTICAST is not set
|
||||||
@ -236,6 +246,8 @@ CONFIG_SYN_COOKIES=y
|
|||||||
# CONFIG_INET_IPCOMP is not set
|
# CONFIG_INET_IPCOMP is not set
|
||||||
# CONFIG_INET_XFRM_TUNNEL is not set
|
# CONFIG_INET_XFRM_TUNNEL is not set
|
||||||
# CONFIG_INET_TUNNEL is not set
|
# CONFIG_INET_TUNNEL is not set
|
||||||
|
CONFIG_INET_XFRM_MODE_TRANSPORT=y
|
||||||
|
CONFIG_INET_XFRM_MODE_TUNNEL=y
|
||||||
CONFIG_INET_DIAG=y
|
CONFIG_INET_DIAG=y
|
||||||
CONFIG_INET_TCP_DIAG=y
|
CONFIG_INET_TCP_DIAG=y
|
||||||
# CONFIG_TCP_CONG_ADVANCED is not set
|
# CONFIG_TCP_CONG_ADVANCED is not set
|
||||||
@ -243,6 +255,7 @@ CONFIG_TCP_CONG_BIC=y
|
|||||||
# CONFIG_IPV6 is not set
|
# CONFIG_IPV6 is not set
|
||||||
# CONFIG_INET6_XFRM_TUNNEL is not set
|
# CONFIG_INET6_XFRM_TUNNEL is not set
|
||||||
# CONFIG_INET6_TUNNEL is not set
|
# CONFIG_INET6_TUNNEL is not set
|
||||||
|
# CONFIG_NETWORK_SECMARK is not set
|
||||||
# CONFIG_NETFILTER is not set
|
# CONFIG_NETFILTER is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -297,6 +310,7 @@ CONFIG_STANDALONE=y
|
|||||||
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
|
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
|
||||||
# CONFIG_FW_LOADER is not set
|
# CONFIG_FW_LOADER is not set
|
||||||
# CONFIG_DEBUG_DRIVER is not set
|
# CONFIG_DEBUG_DRIVER is not set
|
||||||
|
# CONFIG_SYS_HYPERVISOR is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Connector - unified userspace <-> kernelspace linker
|
# Connector - unified userspace <-> kernelspace linker
|
||||||
@ -525,6 +539,7 @@ CONFIG_ENP2611_MSF_NET=y
|
|||||||
# CONFIG_CHELSIO_T1 is not set
|
# CONFIG_CHELSIO_T1 is not set
|
||||||
# CONFIG_IXGB is not set
|
# CONFIG_IXGB is not set
|
||||||
# CONFIG_S2IO is not set
|
# CONFIG_S2IO is not set
|
||||||
|
# CONFIG_MYRI10GE is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Token Ring devices
|
# Token Ring devices
|
||||||
@ -542,7 +557,6 @@ CONFIG_ENP2611_MSF_NET=y
|
|||||||
CONFIG_WAN=y
|
CONFIG_WAN=y
|
||||||
# CONFIG_DSCC4 is not set
|
# CONFIG_DSCC4 is not set
|
||||||
# CONFIG_LANMEDIA is not set
|
# CONFIG_LANMEDIA is not set
|
||||||
# CONFIG_SYNCLINK_SYNCPPP is not set
|
|
||||||
CONFIG_HDLC=y
|
CONFIG_HDLC=y
|
||||||
CONFIG_HDLC_RAW=y
|
CONFIG_HDLC_RAW=y
|
||||||
# CONFIG_HDLC_RAW_ETH is not set
|
# CONFIG_HDLC_RAW_ETH is not set
|
||||||
@ -654,6 +668,7 @@ CONFIG_IXP2000_WATCHDOG=y
|
|||||||
#
|
#
|
||||||
# CONFIG_PCIPCWATCHDOG is not set
|
# CONFIG_PCIPCWATCHDOG is not set
|
||||||
# CONFIG_WDTPCI is not set
|
# CONFIG_WDTPCI is not set
|
||||||
|
# CONFIG_HW_RANDOM is not set
|
||||||
# CONFIG_NVRAM is not set
|
# CONFIG_NVRAM is not set
|
||||||
# CONFIG_DTLK is not set
|
# CONFIG_DTLK is not set
|
||||||
# CONFIG_R3964 is not set
|
# CONFIG_R3964 is not set
|
||||||
@ -697,6 +712,7 @@ CONFIG_I2C_ALGOBIT=y
|
|||||||
# CONFIG_I2C_PIIX4 is not set
|
# CONFIG_I2C_PIIX4 is not set
|
||||||
CONFIG_I2C_IXP2000=y
|
CONFIG_I2C_IXP2000=y
|
||||||
# CONFIG_I2C_NFORCE2 is not set
|
# CONFIG_I2C_NFORCE2 is not set
|
||||||
|
# CONFIG_I2C_OCORES is not set
|
||||||
# CONFIG_I2C_PARPORT_LIGHT is not set
|
# CONFIG_I2C_PARPORT_LIGHT is not set
|
||||||
# CONFIG_I2C_PROSAVAGE is not set
|
# CONFIG_I2C_PROSAVAGE is not set
|
||||||
# CONFIG_I2C_SAVAGE4 is not set
|
# CONFIG_I2C_SAVAGE4 is not set
|
||||||
@ -733,13 +749,13 @@ CONFIG_SENSORS_EEPROM=y
|
|||||||
#
|
#
|
||||||
# Dallas's 1-wire bus
|
# Dallas's 1-wire bus
|
||||||
#
|
#
|
||||||
# CONFIG_W1 is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Hardware Monitoring support
|
# Hardware Monitoring support
|
||||||
#
|
#
|
||||||
CONFIG_HWMON=y
|
CONFIG_HWMON=y
|
||||||
# CONFIG_HWMON_VID is not set
|
# CONFIG_HWMON_VID is not set
|
||||||
|
# CONFIG_SENSORS_ABITUGURU is not set
|
||||||
# CONFIG_SENSORS_ADM1021 is not set
|
# CONFIG_SENSORS_ADM1021 is not set
|
||||||
# CONFIG_SENSORS_ADM1025 is not set
|
# CONFIG_SENSORS_ADM1025 is not set
|
||||||
# CONFIG_SENSORS_ADM1026 is not set
|
# CONFIG_SENSORS_ADM1026 is not set
|
||||||
@ -768,10 +784,12 @@ CONFIG_HWMON=y
|
|||||||
# CONFIG_SENSORS_PC87360 is not set
|
# CONFIG_SENSORS_PC87360 is not set
|
||||||
# CONFIG_SENSORS_SIS5595 is not set
|
# CONFIG_SENSORS_SIS5595 is not set
|
||||||
# CONFIG_SENSORS_SMSC47M1 is not set
|
# CONFIG_SENSORS_SMSC47M1 is not set
|
||||||
|
# CONFIG_SENSORS_SMSC47M192 is not set
|
||||||
# CONFIG_SENSORS_SMSC47B397 is not set
|
# CONFIG_SENSORS_SMSC47B397 is not set
|
||||||
# CONFIG_SENSORS_VIA686A is not set
|
# CONFIG_SENSORS_VIA686A is not set
|
||||||
# CONFIG_SENSORS_VT8231 is not set
|
# CONFIG_SENSORS_VT8231 is not set
|
||||||
# CONFIG_SENSORS_W83781D is not set
|
# CONFIG_SENSORS_W83781D is not set
|
||||||
|
# CONFIG_SENSORS_W83791D is not set
|
||||||
# CONFIG_SENSORS_W83792D is not set
|
# CONFIG_SENSORS_W83792D is not set
|
||||||
# CONFIG_SENSORS_W83L785TS is not set
|
# CONFIG_SENSORS_W83L785TS is not set
|
||||||
# CONFIG_SENSORS_W83627HF is not set
|
# CONFIG_SENSORS_W83627HF is not set
|
||||||
@ -799,6 +817,7 @@ CONFIG_HWMON=y
|
|||||||
# Multimedia devices
|
# Multimedia devices
|
||||||
#
|
#
|
||||||
# CONFIG_VIDEO_DEV is not set
|
# CONFIG_VIDEO_DEV is not set
|
||||||
|
CONFIG_VIDEO_V4L2=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Digital Video Broadcasting Devices
|
# Digital Video Broadcasting Devices
|
||||||
@ -808,6 +827,7 @@ CONFIG_HWMON=y
|
|||||||
#
|
#
|
||||||
# Graphics support
|
# Graphics support
|
||||||
#
|
#
|
||||||
|
# CONFIG_FIRMWARE_EDID is not set
|
||||||
# CONFIG_FB is not set
|
# CONFIG_FB is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -866,6 +886,7 @@ CONFIG_FS_POSIX_ACL=y
|
|||||||
# CONFIG_MINIX_FS is not set
|
# CONFIG_MINIX_FS is not set
|
||||||
# CONFIG_ROMFS_FS is not set
|
# CONFIG_ROMFS_FS is not set
|
||||||
CONFIG_INOTIFY=y
|
CONFIG_INOTIFY=y
|
||||||
|
CONFIG_INOTIFY_USER=y
|
||||||
# CONFIG_QUOTA is not set
|
# CONFIG_QUOTA is not set
|
||||||
CONFIG_DNOTIFY=y
|
CONFIG_DNOTIFY=y
|
||||||
# CONFIG_AUTOFS_FS is not set
|
# CONFIG_AUTOFS_FS is not set
|
||||||
@ -910,6 +931,7 @@ CONFIG_JFFS2_FS=y
|
|||||||
CONFIG_JFFS2_FS_DEBUG=0
|
CONFIG_JFFS2_FS_DEBUG=0
|
||||||
CONFIG_JFFS2_FS_WRITEBUFFER=y
|
CONFIG_JFFS2_FS_WRITEBUFFER=y
|
||||||
# CONFIG_JFFS2_SUMMARY is not set
|
# CONFIG_JFFS2_SUMMARY is not set
|
||||||
|
# CONFIG_JFFS2_FS_XATTR is not set
|
||||||
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
|
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
|
||||||
CONFIG_JFFS2_ZLIB=y
|
CONFIG_JFFS2_ZLIB=y
|
||||||
CONFIG_JFFS2_RTIME=y
|
CONFIG_JFFS2_RTIME=y
|
||||||
@ -939,6 +961,7 @@ CONFIG_SUNRPC=y
|
|||||||
# CONFIG_RPCSEC_GSS_SPKM3 is not set
|
# CONFIG_RPCSEC_GSS_SPKM3 is not set
|
||||||
# CONFIG_SMB_FS is not set
|
# CONFIG_SMB_FS is not set
|
||||||
# CONFIG_CIFS is not set
|
# CONFIG_CIFS is not set
|
||||||
|
# CONFIG_CIFS_DEBUG2 is not set
|
||||||
# CONFIG_NCP_FS is not set
|
# CONFIG_NCP_FS is not set
|
||||||
# CONFIG_CODA_FS is not set
|
# CONFIG_CODA_FS is not set
|
||||||
# CONFIG_AFS_FS is not set
|
# CONFIG_AFS_FS is not set
|
||||||
@ -980,14 +1003,19 @@ CONFIG_MSDOS_PARTITION=y
|
|||||||
#
|
#
|
||||||
# CONFIG_PRINTK_TIME is not set
|
# CONFIG_PRINTK_TIME is not set
|
||||||
CONFIG_MAGIC_SYSRQ=y
|
CONFIG_MAGIC_SYSRQ=y
|
||||||
|
# CONFIG_UNUSED_SYMBOLS is not set
|
||||||
CONFIG_DEBUG_KERNEL=y
|
CONFIG_DEBUG_KERNEL=y
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
CONFIG_LOG_BUF_SHIFT=14
|
||||||
CONFIG_DETECT_SOFTLOCKUP=y
|
CONFIG_DETECT_SOFTLOCKUP=y
|
||||||
# CONFIG_SCHEDSTATS is not set
|
# CONFIG_SCHEDSTATS is not set
|
||||||
# CONFIG_DEBUG_SLAB is not set
|
# CONFIG_DEBUG_SLAB is not set
|
||||||
CONFIG_DEBUG_MUTEXES=y
|
# CONFIG_DEBUG_RT_MUTEXES is not set
|
||||||
|
# CONFIG_RT_MUTEX_TESTER is not set
|
||||||
# CONFIG_DEBUG_SPINLOCK is not set
|
# CONFIG_DEBUG_SPINLOCK is not set
|
||||||
|
CONFIG_DEBUG_MUTEXES=y
|
||||||
|
# CONFIG_DEBUG_RWSEMS is not set
|
||||||
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
|
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
|
||||||
|
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
|
||||||
# CONFIG_DEBUG_KOBJECT is not set
|
# CONFIG_DEBUG_KOBJECT is not set
|
||||||
CONFIG_DEBUG_BUGVERBOSE=y
|
CONFIG_DEBUG_BUGVERBOSE=y
|
||||||
# CONFIG_DEBUG_INFO is not set
|
# CONFIG_DEBUG_INFO is not set
|
||||||
@ -1027,3 +1055,4 @@ CONFIG_CRC32=y
|
|||||||
# CONFIG_LIBCRC32C is not set
|
# CONFIG_LIBCRC32C is not set
|
||||||
CONFIG_ZLIB_INFLATE=y
|
CONFIG_ZLIB_INFLATE=y
|
||||||
CONFIG_ZLIB_DEFLATE=y
|
CONFIG_ZLIB_DEFLATE=y
|
||||||
|
CONFIG_PLIST=y
|
||||||
|
@ -1,14 +1,18 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Linux kernel version: 2.6.17-rc2
|
# Linux kernel version: 2.6.18-rc1
|
||||||
# Wed Apr 19 21:13:50 2006
|
# Sun Jul 9 14:13:35 2006
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_MMU=y
|
CONFIG_MMU=y
|
||||||
|
CONFIG_GENERIC_HARDIRQS=y
|
||||||
|
CONFIG_HARDIRQS_SW_RESEND=y
|
||||||
|
CONFIG_GENERIC_IRQ_PROBE=y
|
||||||
CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
||||||
CONFIG_GENERIC_HWEIGHT=y
|
CONFIG_GENERIC_HWEIGHT=y
|
||||||
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
||||||
CONFIG_VECTORS_BASE=0xffff0000
|
CONFIG_VECTORS_BASE=0xffff0000
|
||||||
|
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Code maturity level options
|
# Code maturity level options
|
||||||
@ -43,14 +47,15 @@ CONFIG_PRINTK=y
|
|||||||
CONFIG_BUG=y
|
CONFIG_BUG=y
|
||||||
CONFIG_ELF_CORE=y
|
CONFIG_ELF_CORE=y
|
||||||
CONFIG_BASE_FULL=y
|
CONFIG_BASE_FULL=y
|
||||||
|
CONFIG_RT_MUTEXES=y
|
||||||
CONFIG_FUTEX=y
|
CONFIG_FUTEX=y
|
||||||
CONFIG_EPOLL=y
|
CONFIG_EPOLL=y
|
||||||
CONFIG_SHMEM=y
|
CONFIG_SHMEM=y
|
||||||
CONFIG_SLAB=y
|
CONFIG_SLAB=y
|
||||||
|
CONFIG_VM_EVENT_COUNTERS=y
|
||||||
# CONFIG_TINY_SHMEM is not set
|
# CONFIG_TINY_SHMEM is not set
|
||||||
CONFIG_BASE_SMALL=0
|
CONFIG_BASE_SMALL=0
|
||||||
# CONFIG_SLOB is not set
|
# CONFIG_SLOB is not set
|
||||||
CONFIG_OBSOLETE_INTERMODULE=y
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Loadable module support
|
# Loadable module support
|
||||||
@ -83,18 +88,26 @@ CONFIG_DEFAULT_IOSCHED="anticipatory"
|
|||||||
#
|
#
|
||||||
# System Type
|
# System Type
|
||||||
#
|
#
|
||||||
|
# CONFIG_ARCH_AAEC2000 is not set
|
||||||
|
# CONFIG_ARCH_INTEGRATOR is not set
|
||||||
|
# CONFIG_ARCH_REALVIEW is not set
|
||||||
|
# CONFIG_ARCH_VERSATILE is not set
|
||||||
|
# CONFIG_ARCH_AT91 is not set
|
||||||
# CONFIG_ARCH_CLPS7500 is not set
|
# CONFIG_ARCH_CLPS7500 is not set
|
||||||
# CONFIG_ARCH_CLPS711X is not set
|
# CONFIG_ARCH_CLPS711X is not set
|
||||||
# CONFIG_ARCH_CO285 is not set
|
# CONFIG_ARCH_CO285 is not set
|
||||||
# CONFIG_ARCH_EBSA110 is not set
|
# CONFIG_ARCH_EBSA110 is not set
|
||||||
# CONFIG_ARCH_EP93XX is not set
|
# CONFIG_ARCH_EP93XX is not set
|
||||||
# CONFIG_ARCH_FOOTBRIDGE is not set
|
# CONFIG_ARCH_FOOTBRIDGE is not set
|
||||||
# CONFIG_ARCH_INTEGRATOR is not set
|
# CONFIG_ARCH_NETX is not set
|
||||||
|
# CONFIG_ARCH_H720X is not set
|
||||||
|
# CONFIG_ARCH_IMX is not set
|
||||||
# CONFIG_ARCH_IOP3XX is not set
|
# CONFIG_ARCH_IOP3XX is not set
|
||||||
# CONFIG_ARCH_IXP4XX is not set
|
# CONFIG_ARCH_IXP4XX is not set
|
||||||
# CONFIG_ARCH_IXP2000 is not set
|
# CONFIG_ARCH_IXP2000 is not set
|
||||||
CONFIG_ARCH_IXP23XX=y
|
CONFIG_ARCH_IXP23XX=y
|
||||||
# CONFIG_ARCH_L7200 is not set
|
# CONFIG_ARCH_L7200 is not set
|
||||||
|
# CONFIG_ARCH_PNX4008 is not set
|
||||||
# CONFIG_ARCH_PXA is not set
|
# CONFIG_ARCH_PXA is not set
|
||||||
# CONFIG_ARCH_RPC is not set
|
# CONFIG_ARCH_RPC is not set
|
||||||
# CONFIG_ARCH_SA1100 is not set
|
# CONFIG_ARCH_SA1100 is not set
|
||||||
@ -102,12 +115,6 @@ CONFIG_ARCH_IXP23XX=y
|
|||||||
# CONFIG_ARCH_SHARK is not set
|
# CONFIG_ARCH_SHARK is not set
|
||||||
# CONFIG_ARCH_LH7A40X is not set
|
# CONFIG_ARCH_LH7A40X is not set
|
||||||
# CONFIG_ARCH_OMAP is not set
|
# CONFIG_ARCH_OMAP is not set
|
||||||
# CONFIG_ARCH_VERSATILE is not set
|
|
||||||
# CONFIG_ARCH_REALVIEW is not set
|
|
||||||
# CONFIG_ARCH_IMX is not set
|
|
||||||
# CONFIG_ARCH_H720X is not set
|
|
||||||
# CONFIG_ARCH_AAEC2000 is not set
|
|
||||||
# CONFIG_ARCH_AT91RM9200 is not set
|
|
||||||
CONFIG_ARCH_SUPPORTS_BIG_ENDIAN=y
|
CONFIG_ARCH_SUPPORTS_BIG_ENDIAN=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -165,6 +172,7 @@ CONFIG_FLATMEM=y
|
|||||||
CONFIG_FLAT_NODE_MEM_MAP=y
|
CONFIG_FLAT_NODE_MEM_MAP=y
|
||||||
# CONFIG_SPARSEMEM_STATIC is not set
|
# CONFIG_SPARSEMEM_STATIC is not set
|
||||||
CONFIG_SPLIT_PTLOCK_CPUS=4096
|
CONFIG_SPLIT_PTLOCK_CPUS=4096
|
||||||
|
CONFIG_RESOURCES_64BIT=y
|
||||||
CONFIG_ALIGNMENT_TRAP=y
|
CONFIG_ALIGNMENT_TRAP=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -212,6 +220,8 @@ CONFIG_NET=y
|
|||||||
CONFIG_PACKET=y
|
CONFIG_PACKET=y
|
||||||
CONFIG_PACKET_MMAP=y
|
CONFIG_PACKET_MMAP=y
|
||||||
CONFIG_UNIX=y
|
CONFIG_UNIX=y
|
||||||
|
CONFIG_XFRM=y
|
||||||
|
# CONFIG_XFRM_USER is not set
|
||||||
# CONFIG_NET_KEY is not set
|
# CONFIG_NET_KEY is not set
|
||||||
CONFIG_INET=y
|
CONFIG_INET=y
|
||||||
# CONFIG_IP_MULTICAST is not set
|
# CONFIG_IP_MULTICAST is not set
|
||||||
@ -230,6 +240,8 @@ CONFIG_SYN_COOKIES=y
|
|||||||
# CONFIG_INET_IPCOMP is not set
|
# CONFIG_INET_IPCOMP is not set
|
||||||
# CONFIG_INET_XFRM_TUNNEL is not set
|
# CONFIG_INET_XFRM_TUNNEL is not set
|
||||||
# CONFIG_INET_TUNNEL is not set
|
# CONFIG_INET_TUNNEL is not set
|
||||||
|
CONFIG_INET_XFRM_MODE_TRANSPORT=y
|
||||||
|
CONFIG_INET_XFRM_MODE_TUNNEL=y
|
||||||
CONFIG_INET_DIAG=y
|
CONFIG_INET_DIAG=y
|
||||||
CONFIG_INET_TCP_DIAG=y
|
CONFIG_INET_TCP_DIAG=y
|
||||||
# CONFIG_TCP_CONG_ADVANCED is not set
|
# CONFIG_TCP_CONG_ADVANCED is not set
|
||||||
@ -237,6 +249,7 @@ CONFIG_TCP_CONG_BIC=y
|
|||||||
# CONFIG_IPV6 is not set
|
# CONFIG_IPV6 is not set
|
||||||
# CONFIG_INET6_XFRM_TUNNEL is not set
|
# CONFIG_INET6_XFRM_TUNNEL is not set
|
||||||
# CONFIG_INET6_TUNNEL is not set
|
# CONFIG_INET6_TUNNEL is not set
|
||||||
|
# CONFIG_NETWORK_SECMARK is not set
|
||||||
# CONFIG_NETFILTER is not set
|
# CONFIG_NETFILTER is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -291,6 +304,7 @@ CONFIG_STANDALONE=y
|
|||||||
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
|
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
|
||||||
# CONFIG_FW_LOADER is not set
|
# CONFIG_FW_LOADER is not set
|
||||||
# CONFIG_DEBUG_DRIVER is not set
|
# CONFIG_DEBUG_DRIVER is not set
|
||||||
|
# CONFIG_SYS_HYPERVISOR is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Connector - unified userspace <-> kernelspace linker
|
# Connector - unified userspace <-> kernelspace linker
|
||||||
@ -520,6 +534,7 @@ CONFIG_BLK_DEV_SD=y
|
|||||||
# CONFIG_MEGARAID_LEGACY is not set
|
# CONFIG_MEGARAID_LEGACY is not set
|
||||||
# CONFIG_MEGARAID_SAS is not set
|
# CONFIG_MEGARAID_SAS is not set
|
||||||
# CONFIG_SCSI_SATA is not set
|
# CONFIG_SCSI_SATA is not set
|
||||||
|
# CONFIG_SCSI_HPTIOP is not set
|
||||||
# CONFIG_SCSI_DMX3191D is not set
|
# CONFIG_SCSI_DMX3191D is not set
|
||||||
# CONFIG_SCSI_FUTURE_DOMAIN is not set
|
# CONFIG_SCSI_FUTURE_DOMAIN is not set
|
||||||
# CONFIG_SCSI_IPS is not set
|
# CONFIG_SCSI_IPS is not set
|
||||||
@ -641,6 +656,7 @@ CONFIG_E1000_NAPI=y
|
|||||||
# CONFIG_CHELSIO_T1 is not set
|
# CONFIG_CHELSIO_T1 is not set
|
||||||
# CONFIG_IXGB is not set
|
# CONFIG_IXGB is not set
|
||||||
# CONFIG_S2IO is not set
|
# CONFIG_S2IO is not set
|
||||||
|
# CONFIG_MYRI10GE is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Token Ring devices
|
# Token Ring devices
|
||||||
@ -658,7 +674,6 @@ CONFIG_E1000_NAPI=y
|
|||||||
CONFIG_WAN=y
|
CONFIG_WAN=y
|
||||||
# CONFIG_DSCC4 is not set
|
# CONFIG_DSCC4 is not set
|
||||||
# CONFIG_LANMEDIA is not set
|
# CONFIG_LANMEDIA is not set
|
||||||
# CONFIG_SYNCLINK_SYNCPPP is not set
|
|
||||||
CONFIG_HDLC=y
|
CONFIG_HDLC=y
|
||||||
CONFIG_HDLC_RAW=y
|
CONFIG_HDLC_RAW=y
|
||||||
# CONFIG_HDLC_RAW_ETH is not set
|
# CONFIG_HDLC_RAW_ETH is not set
|
||||||
@ -775,6 +790,7 @@ CONFIG_WATCHDOG=y
|
|||||||
# USB-based Watchdog Cards
|
# USB-based Watchdog Cards
|
||||||
#
|
#
|
||||||
# CONFIG_USBPCWATCHDOG is not set
|
# CONFIG_USBPCWATCHDOG is not set
|
||||||
|
# CONFIG_HW_RANDOM is not set
|
||||||
# CONFIG_NVRAM is not set
|
# CONFIG_NVRAM is not set
|
||||||
# CONFIG_DTLK is not set
|
# CONFIG_DTLK is not set
|
||||||
# CONFIG_R3964 is not set
|
# CONFIG_R3964 is not set
|
||||||
@ -817,6 +833,7 @@ CONFIG_I2C_ALGOBIT=y
|
|||||||
# CONFIG_I2C_I810 is not set
|
# CONFIG_I2C_I810 is not set
|
||||||
# CONFIG_I2C_PIIX4 is not set
|
# CONFIG_I2C_PIIX4 is not set
|
||||||
# CONFIG_I2C_NFORCE2 is not set
|
# CONFIG_I2C_NFORCE2 is not set
|
||||||
|
# CONFIG_I2C_OCORES is not set
|
||||||
# CONFIG_I2C_PARPORT_LIGHT is not set
|
# CONFIG_I2C_PARPORT_LIGHT is not set
|
||||||
# CONFIG_I2C_PROSAVAGE is not set
|
# CONFIG_I2C_PROSAVAGE is not set
|
||||||
# CONFIG_I2C_SAVAGE4 is not set
|
# CONFIG_I2C_SAVAGE4 is not set
|
||||||
@ -853,13 +870,13 @@ CONFIG_SENSORS_EEPROM=y
|
|||||||
#
|
#
|
||||||
# Dallas's 1-wire bus
|
# Dallas's 1-wire bus
|
||||||
#
|
#
|
||||||
# CONFIG_W1 is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Hardware Monitoring support
|
# Hardware Monitoring support
|
||||||
#
|
#
|
||||||
CONFIG_HWMON=y
|
CONFIG_HWMON=y
|
||||||
# CONFIG_HWMON_VID is not set
|
# CONFIG_HWMON_VID is not set
|
||||||
|
# CONFIG_SENSORS_ABITUGURU is not set
|
||||||
# CONFIG_SENSORS_ADM1021 is not set
|
# CONFIG_SENSORS_ADM1021 is not set
|
||||||
# CONFIG_SENSORS_ADM1025 is not set
|
# CONFIG_SENSORS_ADM1025 is not set
|
||||||
# CONFIG_SENSORS_ADM1026 is not set
|
# CONFIG_SENSORS_ADM1026 is not set
|
||||||
@ -888,10 +905,12 @@ CONFIG_HWMON=y
|
|||||||
# CONFIG_SENSORS_PC87360 is not set
|
# CONFIG_SENSORS_PC87360 is not set
|
||||||
# CONFIG_SENSORS_SIS5595 is not set
|
# CONFIG_SENSORS_SIS5595 is not set
|
||||||
# CONFIG_SENSORS_SMSC47M1 is not set
|
# CONFIG_SENSORS_SMSC47M1 is not set
|
||||||
|
# CONFIG_SENSORS_SMSC47M192 is not set
|
||||||
# CONFIG_SENSORS_SMSC47B397 is not set
|
# CONFIG_SENSORS_SMSC47B397 is not set
|
||||||
# CONFIG_SENSORS_VIA686A is not set
|
# CONFIG_SENSORS_VIA686A is not set
|
||||||
# CONFIG_SENSORS_VT8231 is not set
|
# CONFIG_SENSORS_VT8231 is not set
|
||||||
# CONFIG_SENSORS_W83781D is not set
|
# CONFIG_SENSORS_W83781D is not set
|
||||||
|
# CONFIG_SENSORS_W83791D is not set
|
||||||
# CONFIG_SENSORS_W83792D is not set
|
# CONFIG_SENSORS_W83792D is not set
|
||||||
# CONFIG_SENSORS_W83L785TS is not set
|
# CONFIG_SENSORS_W83L785TS is not set
|
||||||
# CONFIG_SENSORS_W83627HF is not set
|
# CONFIG_SENSORS_W83627HF is not set
|
||||||
@ -919,6 +938,7 @@ CONFIG_HWMON=y
|
|||||||
# Multimedia devices
|
# Multimedia devices
|
||||||
#
|
#
|
||||||
# CONFIG_VIDEO_DEV is not set
|
# CONFIG_VIDEO_DEV is not set
|
||||||
|
CONFIG_VIDEO_V4L2=y
|
||||||
|
|
||||||
#
|
#
|
||||||
# Digital Video Broadcasting Devices
|
# Digital Video Broadcasting Devices
|
||||||
@ -929,6 +949,7 @@ CONFIG_HWMON=y
|
|||||||
#
|
#
|
||||||
# Graphics support
|
# Graphics support
|
||||||
#
|
#
|
||||||
|
# CONFIG_FIRMWARE_EDID is not set
|
||||||
# CONFIG_FB is not set
|
# CONFIG_FB is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -959,6 +980,7 @@ CONFIG_USB=y
|
|||||||
CONFIG_USB_EHCI_HCD=y
|
CONFIG_USB_EHCI_HCD=y
|
||||||
# CONFIG_USB_EHCI_SPLIT_ISO is not set
|
# CONFIG_USB_EHCI_SPLIT_ISO is not set
|
||||||
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
|
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
|
||||||
|
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
|
||||||
# CONFIG_USB_ISP116X_HCD is not set
|
# CONFIG_USB_ISP116X_HCD is not set
|
||||||
CONFIG_USB_OHCI_HCD=y
|
CONFIG_USB_OHCI_HCD=y
|
||||||
# CONFIG_USB_OHCI_BIG_ENDIAN is not set
|
# CONFIG_USB_OHCI_BIG_ENDIAN is not set
|
||||||
@ -1050,10 +1072,12 @@ CONFIG_USB_MON=y
|
|||||||
# CONFIG_USB_LEGOTOWER is not set
|
# CONFIG_USB_LEGOTOWER is not set
|
||||||
# CONFIG_USB_LCD is not set
|
# CONFIG_USB_LCD is not set
|
||||||
# CONFIG_USB_LED is not set
|
# CONFIG_USB_LED is not set
|
||||||
|
# CONFIG_USB_CY7C63 is not set
|
||||||
# CONFIG_USB_CYTHERM is not set
|
# CONFIG_USB_CYTHERM is not set
|
||||||
# CONFIG_USB_PHIDGETKIT is not set
|
# CONFIG_USB_PHIDGETKIT is not set
|
||||||
# CONFIG_USB_PHIDGETSERVO is not set
|
# CONFIG_USB_PHIDGETSERVO is not set
|
||||||
# CONFIG_USB_IDMOUSE is not set
|
# CONFIG_USB_IDMOUSE is not set
|
||||||
|
# CONFIG_USB_APPLEDISPLAY is not set
|
||||||
# CONFIG_USB_SISUSBVGA is not set
|
# CONFIG_USB_SISUSBVGA is not set
|
||||||
# CONFIG_USB_LD is not set
|
# CONFIG_USB_LD is not set
|
||||||
|
|
||||||
@ -1100,6 +1124,7 @@ CONFIG_FS_POSIX_ACL=y
|
|||||||
# CONFIG_MINIX_FS is not set
|
# CONFIG_MINIX_FS is not set
|
||||||
# CONFIG_ROMFS_FS is not set
|
# CONFIG_ROMFS_FS is not set
|
||||||
CONFIG_INOTIFY=y
|
CONFIG_INOTIFY=y
|
||||||
|
CONFIG_INOTIFY_USER=y
|
||||||
# CONFIG_QUOTA is not set
|
# CONFIG_QUOTA is not set
|
||||||
CONFIG_DNOTIFY=y
|
CONFIG_DNOTIFY=y
|
||||||
# CONFIG_AUTOFS_FS is not set
|
# CONFIG_AUTOFS_FS is not set
|
||||||
@ -1146,6 +1171,7 @@ CONFIG_JFFS2_FS=y
|
|||||||
CONFIG_JFFS2_FS_DEBUG=0
|
CONFIG_JFFS2_FS_DEBUG=0
|
||||||
CONFIG_JFFS2_FS_WRITEBUFFER=y
|
CONFIG_JFFS2_FS_WRITEBUFFER=y
|
||||||
# CONFIG_JFFS2_SUMMARY is not set
|
# CONFIG_JFFS2_SUMMARY is not set
|
||||||
|
# CONFIG_JFFS2_FS_XATTR is not set
|
||||||
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
|
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
|
||||||
CONFIG_JFFS2_ZLIB=y
|
CONFIG_JFFS2_ZLIB=y
|
||||||
CONFIG_JFFS2_RTIME=y
|
CONFIG_JFFS2_RTIME=y
|
||||||
@ -1175,6 +1201,7 @@ CONFIG_SUNRPC=y
|
|||||||
# CONFIG_RPCSEC_GSS_SPKM3 is not set
|
# CONFIG_RPCSEC_GSS_SPKM3 is not set
|
||||||
# CONFIG_SMB_FS is not set
|
# CONFIG_SMB_FS is not set
|
||||||
# CONFIG_CIFS is not set
|
# CONFIG_CIFS is not set
|
||||||
|
# CONFIG_CIFS_DEBUG2 is not set
|
||||||
# CONFIG_NCP_FS is not set
|
# CONFIG_NCP_FS is not set
|
||||||
# CONFIG_CODA_FS is not set
|
# CONFIG_CODA_FS is not set
|
||||||
# CONFIG_AFS_FS is not set
|
# CONFIG_AFS_FS is not set
|
||||||
@ -1255,14 +1282,19 @@ CONFIG_NLS_CODEPAGE_437=y
|
|||||||
#
|
#
|
||||||
# CONFIG_PRINTK_TIME is not set
|
# CONFIG_PRINTK_TIME is not set
|
||||||
CONFIG_MAGIC_SYSRQ=y
|
CONFIG_MAGIC_SYSRQ=y
|
||||||
|
# CONFIG_UNUSED_SYMBOLS is not set
|
||||||
CONFIG_DEBUG_KERNEL=y
|
CONFIG_DEBUG_KERNEL=y
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
CONFIG_LOG_BUF_SHIFT=14
|
||||||
CONFIG_DETECT_SOFTLOCKUP=y
|
CONFIG_DETECT_SOFTLOCKUP=y
|
||||||
# CONFIG_SCHEDSTATS is not set
|
# CONFIG_SCHEDSTATS is not set
|
||||||
# CONFIG_DEBUG_SLAB is not set
|
# CONFIG_DEBUG_SLAB is not set
|
||||||
CONFIG_DEBUG_MUTEXES=y
|
# CONFIG_DEBUG_RT_MUTEXES is not set
|
||||||
|
# CONFIG_RT_MUTEX_TESTER is not set
|
||||||
# CONFIG_DEBUG_SPINLOCK is not set
|
# CONFIG_DEBUG_SPINLOCK is not set
|
||||||
|
CONFIG_DEBUG_MUTEXES=y
|
||||||
|
# CONFIG_DEBUG_RWSEMS is not set
|
||||||
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
|
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
|
||||||
|
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
|
||||||
# CONFIG_DEBUG_KOBJECT is not set
|
# CONFIG_DEBUG_KOBJECT is not set
|
||||||
CONFIG_DEBUG_BUGVERBOSE=y
|
CONFIG_DEBUG_BUGVERBOSE=y
|
||||||
# CONFIG_DEBUG_INFO is not set
|
# CONFIG_DEBUG_INFO is not set
|
||||||
@ -1302,3 +1334,4 @@ CONFIG_CRC32=y
|
|||||||
# CONFIG_LIBCRC32C is not set
|
# CONFIG_LIBCRC32C is not set
|
||||||
CONFIG_ZLIB_INFLATE=y
|
CONFIG_ZLIB_INFLATE=y
|
||||||
CONFIG_ZLIB_DEFLATE=y
|
CONFIG_ZLIB_DEFLATE=y
|
||||||
|
CONFIG_PLIST=y
|
||||||
|
@ -1,15 +1,19 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Linux kernel version: 2.6.17-git2
|
# Linux kernel version: 2.6.18-rc1
|
||||||
# Wed Jun 21 22:20:18 2006
|
# Sun Jul 9 14:15:23 2006
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_MMU=y
|
CONFIG_MMU=y
|
||||||
|
CONFIG_GENERIC_HARDIRQS=y
|
||||||
|
CONFIG_HARDIRQS_SW_RESEND=y
|
||||||
|
CONFIG_GENERIC_IRQ_PROBE=y
|
||||||
CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
||||||
CONFIG_GENERIC_HWEIGHT=y
|
CONFIG_GENERIC_HWEIGHT=y
|
||||||
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
||||||
CONFIG_ARCH_MTD_XIP=y
|
CONFIG_ARCH_MTD_XIP=y
|
||||||
CONFIG_VECTORS_BASE=0xffff0000
|
CONFIG_VECTORS_BASE=0xffff0000
|
||||||
|
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Code maturity level options
|
# Code maturity level options
|
||||||
@ -43,10 +47,12 @@ CONFIG_PRINTK=y
|
|||||||
CONFIG_BUG=y
|
CONFIG_BUG=y
|
||||||
CONFIG_ELF_CORE=y
|
CONFIG_ELF_CORE=y
|
||||||
CONFIG_BASE_FULL=y
|
CONFIG_BASE_FULL=y
|
||||||
|
CONFIG_RT_MUTEXES=y
|
||||||
CONFIG_FUTEX=y
|
CONFIG_FUTEX=y
|
||||||
CONFIG_EPOLL=y
|
CONFIG_EPOLL=y
|
||||||
CONFIG_SHMEM=y
|
CONFIG_SHMEM=y
|
||||||
CONFIG_SLAB=y
|
CONFIG_SLAB=y
|
||||||
|
CONFIG_VM_EVENT_COUNTERS=y
|
||||||
# CONFIG_TINY_SHMEM is not set
|
# CONFIG_TINY_SHMEM is not set
|
||||||
CONFIG_BASE_SMALL=0
|
CONFIG_BASE_SMALL=0
|
||||||
# CONFIG_SLOB is not set
|
# CONFIG_SLOB is not set
|
||||||
@ -85,7 +91,7 @@ CONFIG_DEFAULT_IOSCHED="anticipatory"
|
|||||||
# CONFIG_ARCH_INTEGRATOR is not set
|
# CONFIG_ARCH_INTEGRATOR is not set
|
||||||
# CONFIG_ARCH_REALVIEW is not set
|
# CONFIG_ARCH_REALVIEW is not set
|
||||||
# CONFIG_ARCH_VERSATILE is not set
|
# CONFIG_ARCH_VERSATILE is not set
|
||||||
# CONFIG_ARCH_AT91RM9200 is not set
|
# CONFIG_ARCH_AT91 is not set
|
||||||
# CONFIG_ARCH_CLPS7500 is not set
|
# CONFIG_ARCH_CLPS7500 is not set
|
||||||
# CONFIG_ARCH_CLPS711X is not set
|
# CONFIG_ARCH_CLPS711X is not set
|
||||||
# CONFIG_ARCH_CO285 is not set
|
# CONFIG_ARCH_CO285 is not set
|
||||||
@ -117,6 +123,7 @@ CONFIG_MACH_LOGICPD_PXA270=y
|
|||||||
# CONFIG_MACH_MAINSTONE is not set
|
# CONFIG_MACH_MAINSTONE is not set
|
||||||
# CONFIG_ARCH_PXA_IDP is not set
|
# CONFIG_ARCH_PXA_IDP is not set
|
||||||
# CONFIG_PXA_SHARPSL is not set
|
# CONFIG_PXA_SHARPSL is not set
|
||||||
|
# CONFIG_MACH_TRIZEPS4 is not set
|
||||||
CONFIG_PXA27x=y
|
CONFIG_PXA27x=y
|
||||||
CONFIG_IWMMXT=y
|
CONFIG_IWMMXT=y
|
||||||
|
|
||||||
@ -161,6 +168,7 @@ CONFIG_FLATMEM=y
|
|||||||
CONFIG_FLAT_NODE_MEM_MAP=y
|
CONFIG_FLAT_NODE_MEM_MAP=y
|
||||||
# CONFIG_SPARSEMEM_STATIC is not set
|
# CONFIG_SPARSEMEM_STATIC is not set
|
||||||
CONFIG_SPLIT_PTLOCK_CPUS=4096
|
CONFIG_SPLIT_PTLOCK_CPUS=4096
|
||||||
|
# CONFIG_RESOURCES_64BIT is not set
|
||||||
CONFIG_ALIGNMENT_TRAP=y
|
CONFIG_ALIGNMENT_TRAP=y
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -194,8 +202,6 @@ CONFIG_BINFMT_ELF=y
|
|||||||
# Power management options
|
# Power management options
|
||||||
#
|
#
|
||||||
# CONFIG_PM is not set
|
# CONFIG_PM is not set
|
||||||
# CONFIG_PM_LEGACY is not set
|
|
||||||
# CONFIG_PM_DEBUG is not set
|
|
||||||
# CONFIG_APM is not set
|
# CONFIG_APM is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -293,6 +299,7 @@ CONFIG_STANDALONE=y
|
|||||||
CONFIG_PREVENT_FIRMWARE_BUILD=y
|
CONFIG_PREVENT_FIRMWARE_BUILD=y
|
||||||
# CONFIG_FW_LOADER is not set
|
# CONFIG_FW_LOADER is not set
|
||||||
# CONFIG_DEBUG_DRIVER is not set
|
# CONFIG_DEBUG_DRIVER is not set
|
||||||
|
# CONFIG_SYS_HYPERVISOR is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# Connector - unified userspace <-> kernelspace linker
|
# Connector - unified userspace <-> kernelspace linker
|
||||||
@ -561,6 +568,7 @@ CONFIG_SERIO_LIBPS2=y
|
|||||||
CONFIG_VT=y
|
CONFIG_VT=y
|
||||||
CONFIG_VT_CONSOLE=y
|
CONFIG_VT_CONSOLE=y
|
||||||
CONFIG_HW_CONSOLE=y
|
CONFIG_HW_CONSOLE=y
|
||||||
|
# CONFIG_VT_HW_CONSOLE_BINDING is not set
|
||||||
# CONFIG_SERIAL_NONSTANDARD is not set
|
# CONFIG_SERIAL_NONSTANDARD is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -588,6 +596,7 @@ CONFIG_LEGACY_PTY_COUNT=256
|
|||||||
# Watchdog Cards
|
# Watchdog Cards
|
||||||
#
|
#
|
||||||
# CONFIG_WATCHDOG is not set
|
# CONFIG_WATCHDOG is not set
|
||||||
|
# CONFIG_HW_RANDOM is not set
|
||||||
# CONFIG_NVRAM is not set
|
# CONFIG_NVRAM is not set
|
||||||
# CONFIG_DTLK is not set
|
# CONFIG_DTLK is not set
|
||||||
# CONFIG_R3964 is not set
|
# CONFIG_R3964 is not set
|
||||||
@ -617,13 +626,13 @@ CONFIG_LEGACY_PTY_COUNT=256
|
|||||||
#
|
#
|
||||||
# Dallas's 1-wire bus
|
# Dallas's 1-wire bus
|
||||||
#
|
#
|
||||||
# CONFIG_W1 is not set
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Hardware Monitoring support
|
# Hardware Monitoring support
|
||||||
#
|
#
|
||||||
CONFIG_HWMON=y
|
CONFIG_HWMON=y
|
||||||
# CONFIG_HWMON_VID is not set
|
# CONFIG_HWMON_VID is not set
|
||||||
|
# CONFIG_SENSORS_ABITUGURU is not set
|
||||||
# CONFIG_SENSORS_F71805F is not set
|
# CONFIG_SENSORS_F71805F is not set
|
||||||
# CONFIG_HWMON_DEBUG_CHIP is not set
|
# CONFIG_HWMON_DEBUG_CHIP is not set
|
||||||
|
|
||||||
@ -658,12 +667,13 @@ CONFIG_VIDEO_V4L2=y
|
|||||||
#
|
#
|
||||||
# Graphics support
|
# Graphics support
|
||||||
#
|
#
|
||||||
|
# CONFIG_FIRMWARE_EDID is not set
|
||||||
CONFIG_FB=y
|
CONFIG_FB=y
|
||||||
CONFIG_FB_CFB_FILLRECT=y
|
CONFIG_FB_CFB_FILLRECT=y
|
||||||
CONFIG_FB_CFB_COPYAREA=y
|
CONFIG_FB_CFB_COPYAREA=y
|
||||||
CONFIG_FB_CFB_IMAGEBLIT=y
|
CONFIG_FB_CFB_IMAGEBLIT=y
|
||||||
# CONFIG_FB_MACMODES is not set
|
# CONFIG_FB_MACMODES is not set
|
||||||
CONFIG_FB_FIRMWARE_EDID=y
|
# CONFIG_FB_BACKLIGHT is not set
|
||||||
# CONFIG_FB_MODE_HELPERS is not set
|
# CONFIG_FB_MODE_HELPERS is not set
|
||||||
# CONFIG_FB_TILEBLITTING is not set
|
# CONFIG_FB_TILEBLITTING is not set
|
||||||
# CONFIG_FB_S1D13XXX is not set
|
# CONFIG_FB_S1D13XXX is not set
|
||||||
@ -822,6 +832,7 @@ CONFIG_JFFS2_FS=y
|
|||||||
CONFIG_JFFS2_FS_DEBUG=0
|
CONFIG_JFFS2_FS_DEBUG=0
|
||||||
CONFIG_JFFS2_FS_WRITEBUFFER=y
|
CONFIG_JFFS2_FS_WRITEBUFFER=y
|
||||||
# CONFIG_JFFS2_SUMMARY is not set
|
# CONFIG_JFFS2_SUMMARY is not set
|
||||||
|
# CONFIG_JFFS2_FS_XATTR is not set
|
||||||
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
|
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
|
||||||
CONFIG_JFFS2_ZLIB=y
|
CONFIG_JFFS2_ZLIB=y
|
||||||
CONFIG_JFFS2_RTIME=y
|
CONFIG_JFFS2_RTIME=y
|
||||||
@ -849,6 +860,7 @@ CONFIG_SUNRPC=y
|
|||||||
# CONFIG_RPCSEC_GSS_SPKM3 is not set
|
# CONFIG_RPCSEC_GSS_SPKM3 is not set
|
||||||
# CONFIG_SMB_FS is not set
|
# CONFIG_SMB_FS is not set
|
||||||
# CONFIG_CIFS is not set
|
# CONFIG_CIFS is not set
|
||||||
|
# CONFIG_CIFS_DEBUG2 is not set
|
||||||
# CONFIG_NCP_FS is not set
|
# CONFIG_NCP_FS is not set
|
||||||
# CONFIG_CODA_FS is not set
|
# CONFIG_CODA_FS is not set
|
||||||
# CONFIG_AFS_FS is not set
|
# CONFIG_AFS_FS is not set
|
||||||
@ -914,14 +926,19 @@ CONFIG_NLS_ISO8859_1=y
|
|||||||
#
|
#
|
||||||
# CONFIG_PRINTK_TIME is not set
|
# CONFIG_PRINTK_TIME is not set
|
||||||
CONFIG_MAGIC_SYSRQ=y
|
CONFIG_MAGIC_SYSRQ=y
|
||||||
|
# CONFIG_UNUSED_SYMBOLS is not set
|
||||||
CONFIG_DEBUG_KERNEL=y
|
CONFIG_DEBUG_KERNEL=y
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
CONFIG_LOG_BUF_SHIFT=14
|
||||||
CONFIG_DETECT_SOFTLOCKUP=y
|
CONFIG_DETECT_SOFTLOCKUP=y
|
||||||
# CONFIG_SCHEDSTATS is not set
|
# CONFIG_SCHEDSTATS is not set
|
||||||
# CONFIG_DEBUG_SLAB is not set
|
# CONFIG_DEBUG_SLAB is not set
|
||||||
# CONFIG_DEBUG_MUTEXES is not set
|
# CONFIG_DEBUG_RT_MUTEXES is not set
|
||||||
|
# CONFIG_RT_MUTEX_TESTER is not set
|
||||||
# CONFIG_DEBUG_SPINLOCK is not set
|
# CONFIG_DEBUG_SPINLOCK is not set
|
||||||
|
# CONFIG_DEBUG_MUTEXES is not set
|
||||||
|
# CONFIG_DEBUG_RWSEMS is not set
|
||||||
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
|
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
|
||||||
|
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
|
||||||
# CONFIG_DEBUG_KOBJECT is not set
|
# CONFIG_DEBUG_KOBJECT is not set
|
||||||
CONFIG_DEBUG_BUGVERBOSE=y
|
CONFIG_DEBUG_BUGVERBOSE=y
|
||||||
CONFIG_DEBUG_INFO=y
|
CONFIG_DEBUG_INFO=y
|
||||||
@ -961,3 +978,4 @@ CONFIG_CRC32=y
|
|||||||
# CONFIG_LIBCRC32C is not set
|
# CONFIG_LIBCRC32C is not set
|
||||||
CONFIG_ZLIB_INFLATE=y
|
CONFIG_ZLIB_INFLATE=y
|
||||||
CONFIG_ZLIB_DEFLATE=y
|
CONFIG_ZLIB_DEFLATE=y
|
||||||
|
CONFIG_PLIST=y
|
||||||
|
@ -1,14 +1,18 @@
|
|||||||
#
|
#
|
||||||
# Automatically generated make config: don't edit
|
# Automatically generated make config: don't edit
|
||||||
# Linux kernel version: 2.6.17-git10
|
# Linux kernel version: 2.6.18-rc1
|
||||||
# Mon Jun 26 13:45:44 2006
|
# Sun Jul 9 14:16:20 2006
|
||||||
#
|
#
|
||||||
CONFIG_ARM=y
|
CONFIG_ARM=y
|
||||||
CONFIG_MMU=y
|
CONFIG_MMU=y
|
||||||
|
CONFIG_GENERIC_HARDIRQS=y
|
||||||
|
CONFIG_HARDIRQS_SW_RESEND=y
|
||||||
|
CONFIG_GENERIC_IRQ_PROBE=y
|
||||||
CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
CONFIG_RWSEM_GENERIC_SPINLOCK=y
|
||||||
CONFIG_GENERIC_HWEIGHT=y
|
CONFIG_GENERIC_HWEIGHT=y
|
||||||
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
CONFIG_GENERIC_CALIBRATE_DELAY=y
|
||||||
CONFIG_VECTORS_BASE=0xffff0000
|
CONFIG_VECTORS_BASE=0xffff0000
|
||||||
|
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Code maturity level options
|
# Code maturity level options
|
||||||
@ -42,10 +46,12 @@ CONFIG_PRINTK=y
|
|||||||
CONFIG_BUG=y
|
CONFIG_BUG=y
|
||||||
CONFIG_ELF_CORE=y
|
CONFIG_ELF_CORE=y
|
||||||
CONFIG_BASE_FULL=y
|
CONFIG_BASE_FULL=y
|
||||||
|
CONFIG_RT_MUTEXES=y
|
||||||
CONFIG_FUTEX=y
|
CONFIG_FUTEX=y
|
||||||
CONFIG_EPOLL=y
|
CONFIG_EPOLL=y
|
||||||
CONFIG_SHMEM=y
|
CONFIG_SHMEM=y
|
||||||
CONFIG_SLAB=y
|
CONFIG_SLAB=y
|
||||||
|
CONFIG_VM_EVENT_COUNTERS=y
|
||||||
# CONFIG_TINY_SHMEM is not set
|
# CONFIG_TINY_SHMEM is not set
|
||||||
CONFIG_BASE_SMALL=0
|
CONFIG_BASE_SMALL=0
|
||||||
# CONFIG_SLOB is not set
|
# CONFIG_SLOB is not set
|
||||||
@ -86,7 +92,6 @@ CONFIG_DEFAULT_IOSCHED="anticipatory"
|
|||||||
# CONFIG_ARCH_REALVIEW is not set
|
# CONFIG_ARCH_REALVIEW is not set
|
||||||
# CONFIG_ARCH_VERSATILE is not set
|
# CONFIG_ARCH_VERSATILE is not set
|
||||||
CONFIG_ARCH_AT91=y
|
CONFIG_ARCH_AT91=y
|
||||||
CONFIG_ARCH_AT91RM9200=y
|
|
||||||
# CONFIG_ARCH_CLPS7500 is not set
|
# CONFIG_ARCH_CLPS7500 is not set
|
||||||
# CONFIG_ARCH_CLPS711X is not set
|
# CONFIG_ARCH_CLPS711X is not set
|
||||||
# CONFIG_ARCH_CO285 is not set
|
# CONFIG_ARCH_CO285 is not set
|
||||||
@ -111,9 +116,16 @@ CONFIG_ARCH_AT91RM9200=y
|
|||||||
# CONFIG_ARCH_OMAP is not set
|
# CONFIG_ARCH_OMAP is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# AT91RM9200 Implementations
|
# Atmel AT91 System-on-Chip
|
||||||
#
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# Atmel AT91 Processors
|
||||||
|
#
|
||||||
|
CONFIG_ARCH_AT91RM9200=y
|
||||||
|
# CONFIG_ARCH_AT91SAM9260 is not set
|
||||||
|
# CONFIG_ARCH_AT91SAM9261 is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# AT91RM9200 Board Type
|
# AT91RM9200 Board Type
|
||||||
#
|
#
|
||||||
@ -123,12 +135,12 @@ CONFIG_MACH_ONEARM=y
|
|||||||
# CONFIG_MACH_CSB337 is not set
|
# CONFIG_MACH_CSB337 is not set
|
||||||
# CONFIG_MACH_CSB637 is not set
|
# CONFIG_MACH_CSB637 is not set
|
||||||
# CONFIG_MACH_CARMEVA is not set
|
# CONFIG_MACH_CARMEVA is not set
|
||||||
# CONFIG_MACH_KB9200 is not set
|
|
||||||
# CONFIG_MACH_ATEB9200 is not set
|
# CONFIG_MACH_ATEB9200 is not set
|
||||||
|
# CONFIG_MACH_KB9200 is not set
|
||||||
# CONFIG_MACH_KAFA is not set
|
# CONFIG_MACH_KAFA is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
# AT91RM9200 Feature Selections
|
# AT91 Feature Selections
|
||||||
#
|
#
|
||||||
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
|
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
|
||||||
|
|
||||||
@ -186,6 +198,7 @@ CONFIG_FLATMEM=y
|
|||||||
CONFIG_FLAT_NODE_MEM_MAP=y
|
CONFIG_FLAT_NODE_MEM_MAP=y
|
||||||
# CONFIG_SPARSEMEM_STATIC is not set
|
# CONFIG_SPARSEMEM_STATIC is not set
|
||||||
CONFIG_SPLIT_PTLOCK_CPUS=4096
|
CONFIG_SPLIT_PTLOCK_CPUS=4096
|
||||||
|
# CONFIG_RESOURCES_64BIT is not set
|
||||||
CONFIG_LEDS=y
|
CONFIG_LEDS=y
|
||||||
CONFIG_LEDS_TIMER=y
|
CONFIG_LEDS_TIMER=y
|
||||||
# CONFIG_LEDS_CPU is not set
|
# CONFIG_LEDS_CPU is not set
|
||||||
@ -600,6 +613,7 @@ CONFIG_AT91_WATCHDOG=y
|
|||||||
# USB-based Watchdog Cards
|
# USB-based Watchdog Cards
|
||||||
#
|
#
|
||||||
# CONFIG_USBPCWATCHDOG is not set
|
# CONFIG_USBPCWATCHDOG is not set
|
||||||
|
# CONFIG_HW_RANDOM is not set
|
||||||
# CONFIG_NVRAM is not set
|
# CONFIG_NVRAM is not set
|
||||||
# CONFIG_DTLK is not set
|
# CONFIG_DTLK is not set
|
||||||
# CONFIG_R3964 is not set
|
# CONFIG_R3964 is not set
|
||||||
@ -743,6 +757,7 @@ CONFIG_VIDEO_V4L2=y
|
|||||||
#
|
#
|
||||||
# Graphics support
|
# Graphics support
|
||||||
#
|
#
|
||||||
|
# CONFIG_FIRMWARE_EDID is not set
|
||||||
# CONFIG_FB is not set
|
# CONFIG_FB is not set
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -980,6 +995,7 @@ CONFIG_SUNRPC=y
|
|||||||
# CONFIG_RPCSEC_GSS_SPKM3 is not set
|
# CONFIG_RPCSEC_GSS_SPKM3 is not set
|
||||||
# CONFIG_SMB_FS is not set
|
# CONFIG_SMB_FS is not set
|
||||||
# CONFIG_CIFS is not set
|
# CONFIG_CIFS is not set
|
||||||
|
# CONFIG_CIFS_DEBUG2 is not set
|
||||||
# CONFIG_NCP_FS is not set
|
# CONFIG_NCP_FS is not set
|
||||||
# CONFIG_CODA_FS is not set
|
# CONFIG_CODA_FS is not set
|
||||||
# CONFIG_AFS_FS is not set
|
# CONFIG_AFS_FS is not set
|
||||||
@ -1006,14 +1022,19 @@ CONFIG_MSDOS_PARTITION=y
|
|||||||
#
|
#
|
||||||
# CONFIG_PRINTK_TIME is not set
|
# CONFIG_PRINTK_TIME is not set
|
||||||
# CONFIG_MAGIC_SYSRQ is not set
|
# CONFIG_MAGIC_SYSRQ is not set
|
||||||
|
# CONFIG_UNUSED_SYMBOLS is not set
|
||||||
CONFIG_DEBUG_KERNEL=y
|
CONFIG_DEBUG_KERNEL=y
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
CONFIG_LOG_BUF_SHIFT=14
|
||||||
CONFIG_DETECT_SOFTLOCKUP=y
|
CONFIG_DETECT_SOFTLOCKUP=y
|
||||||
# CONFIG_SCHEDSTATS is not set
|
# CONFIG_SCHEDSTATS is not set
|
||||||
# CONFIG_DEBUG_SLAB is not set
|
# CONFIG_DEBUG_SLAB is not set
|
||||||
# CONFIG_DEBUG_MUTEXES is not set
|
# CONFIG_DEBUG_RT_MUTEXES is not set
|
||||||
|
# CONFIG_RT_MUTEX_TESTER is not set
|
||||||
# CONFIG_DEBUG_SPINLOCK is not set
|
# CONFIG_DEBUG_SPINLOCK is not set
|
||||||
|
# CONFIG_DEBUG_MUTEXES is not set
|
||||||
|
# CONFIG_DEBUG_RWSEMS is not set
|
||||||
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
|
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
|
||||||
|
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
|
||||||
# CONFIG_DEBUG_KOBJECT is not set
|
# CONFIG_DEBUG_KOBJECT is not set
|
||||||
CONFIG_DEBUG_BUGVERBOSE=y
|
CONFIG_DEBUG_BUGVERBOSE=y
|
||||||
# CONFIG_DEBUG_INFO is not set
|
# CONFIG_DEBUG_INFO is not set
|
||||||
@ -1052,3 +1073,4 @@ CONFIG_DEBUG_LL=y
|
|||||||
CONFIG_CRC32=y
|
CONFIG_CRC32=y
|
||||||
# CONFIG_LIBCRC32C is not set
|
# CONFIG_LIBCRC32C is not set
|
||||||
CONFIG_ZLIB_INFLATE=y
|
CONFIG_ZLIB_INFLATE=y
|
||||||
|
CONFIG_PLIST=y
|
||||||
|
@ -370,17 +370,6 @@ void __devinit pcibios_fixup_bus(struct pci_bus *bus)
|
|||||||
features &= ~(PCI_COMMAND_SERR | PCI_COMMAND_PARITY);
|
features &= ~(PCI_COMMAND_SERR | PCI_COMMAND_PARITY);
|
||||||
|
|
||||||
switch (dev->class >> 8) {
|
switch (dev->class >> 8) {
|
||||||
#if defined(CONFIG_ISA) || defined(CONFIG_EISA)
|
|
||||||
case PCI_CLASS_BRIDGE_ISA:
|
|
||||||
case PCI_CLASS_BRIDGE_EISA:
|
|
||||||
/*
|
|
||||||
* If this device is an ISA bridge, set isa_bridge
|
|
||||||
* to point at this device. We will then go looking
|
|
||||||
* for things like keyboard, etc.
|
|
||||||
*/
|
|
||||||
isa_bridge = dev;
|
|
||||||
break;
|
|
||||||
#endif
|
|
||||||
case PCI_CLASS_BRIDGE_PCI:
|
case PCI_CLASS_BRIDGE_PCI:
|
||||||
pci_read_config_word(dev, PCI_BRIDGE_CONTROL, &status);
|
pci_read_config_word(dev, PCI_BRIDGE_CONTROL, &status);
|
||||||
status |= PCI_BRIDGE_CTL_PARITY|PCI_BRIDGE_CTL_MASTER_ABORT;
|
status |= PCI_BRIDGE_CTL_PARITY|PCI_BRIDGE_CTL_MASTER_ABORT;
|
||||||
|
@ -470,7 +470,8 @@ static void ecard_irq_mask(unsigned int irqnr)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip ecard_chip = {
|
static struct irq_chip ecard_chip = {
|
||||||
|
.name = "ECARD",
|
||||||
.ack = ecard_irq_mask,
|
.ack = ecard_irq_mask,
|
||||||
.mask = ecard_irq_mask,
|
.mask = ecard_irq_mask,
|
||||||
.unmask = ecard_irq_unmask,
|
.unmask = ecard_irq_unmask,
|
||||||
|
@ -114,9 +114,9 @@ ENTRY(secondary_startup)
|
|||||||
* Use the page tables supplied from __cpu_up.
|
* Use the page tables supplied from __cpu_up.
|
||||||
*/
|
*/
|
||||||
adr r4, __secondary_data
|
adr r4, __secondary_data
|
||||||
ldmia r4, {r5, r6, r13} @ address to jump to after
|
ldmia r4, {r5, r7, r13} @ address to jump to after
|
||||||
sub r4, r4, r5 @ mmu has been enabled
|
sub r4, r4, r5 @ mmu has been enabled
|
||||||
ldr r4, [r6, r4] @ get secondary_data.pgdir
|
ldr r4, [r7, r4] @ get secondary_data.pgdir
|
||||||
adr lr, __enable_mmu @ return address
|
adr lr, __enable_mmu @ return address
|
||||||
add pc, r10, #12 @ initialise processor
|
add pc, r10, #12 @ initialise processor
|
||||||
@ (return control reg)
|
@ (return control reg)
|
||||||
@ -125,7 +125,7 @@ ENTRY(secondary_startup)
|
|||||||
* r6 = &secondary_data
|
* r6 = &secondary_data
|
||||||
*/
|
*/
|
||||||
ENTRY(__secondary_switched)
|
ENTRY(__secondary_switched)
|
||||||
ldr sp, [r6, #4] @ get secondary_data.stack
|
ldr sp, [r7, #4] @ get secondary_data.stack
|
||||||
mov fp, #0
|
mov fp, #0
|
||||||
b secondary_start_kernel
|
b secondary_start_kernel
|
||||||
|
|
||||||
|
@ -77,6 +77,7 @@ int show_interrupts(struct seq_file *p, void *v)
|
|||||||
seq_printf(p, "%3d: ", i);
|
seq_printf(p, "%3d: ", i);
|
||||||
for_each_present_cpu(cpu)
|
for_each_present_cpu(cpu)
|
||||||
seq_printf(p, "%10u ", kstat_cpu(cpu).irqs[i]);
|
seq_printf(p, "%10u ", kstat_cpu(cpu).irqs[i]);
|
||||||
|
seq_printf(p, " %10s", irq_desc[i].chip->name ? : "-");
|
||||||
seq_printf(p, " %s", action->name);
|
seq_printf(p, " %s", action->name);
|
||||||
for (action = action->next; action; action = action->next)
|
for (action = action->next; action; action = action->next)
|
||||||
seq_printf(p, ", %s", action->name);
|
seq_printf(p, ", %s", action->name);
|
||||||
@ -167,6 +168,16 @@ void __init init_IRQ(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_HOTPLUG_CPU
|
#ifdef CONFIG_HOTPLUG_CPU
|
||||||
|
|
||||||
|
static void route_irq(struct irqdesc *desc, unsigned int irq, unsigned int cpu)
|
||||||
|
{
|
||||||
|
pr_debug("IRQ%u: moving from cpu%u to cpu%u\n", irq, desc->cpu, cpu);
|
||||||
|
|
||||||
|
spin_lock_irq(&desc->lock);
|
||||||
|
desc->chip->set_affinity(irq, cpumask_of_cpu(cpu));
|
||||||
|
spin_unlock_irq(&desc->lock);
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The CPU has been marked offline. Migrate IRQs off this CPU. If
|
* The CPU has been marked offline. Migrate IRQs off this CPU. If
|
||||||
* the affinity settings do not allow other CPUs, force them onto any
|
* the affinity settings do not allow other CPUs, force them onto any
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include <linux/console.h>
|
#include <linux/console.h>
|
||||||
#include <linux/bootmem.h>
|
#include <linux/bootmem.h>
|
||||||
#include <linux/seq_file.h>
|
#include <linux/seq_file.h>
|
||||||
#include <linux/tty.h>
|
#include <linux/screen_info.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/root_dev.h>
|
#include <linux/root_dev.h>
|
||||||
#include <linux/cpu.h>
|
#include <linux/cpu.h>
|
||||||
|
@ -232,11 +232,8 @@ NORET_TYPE void die(const char *str, struct pt_regs *regs, int err)
|
|||||||
bust_spinlocks(0);
|
bust_spinlocks(0);
|
||||||
spin_unlock_irq(&die_lock);
|
spin_unlock_irq(&die_lock);
|
||||||
|
|
||||||
if (panic_on_oops) {
|
if (panic_on_oops)
|
||||||
printk(KERN_EMERG "Fatal exception: panic in 5 seconds\n");
|
panic("Fatal exception: panic_on_oops");
|
||||||
ssleep(5);
|
|
||||||
panic("Fatal exception");
|
|
||||||
}
|
|
||||||
|
|
||||||
do_exit(SIGSEGV);
|
do_exit(SIGSEGV);
|
||||||
}
|
}
|
||||||
|
@ -107,3 +107,48 @@ void __init at91rm9200_map_io(void)
|
|||||||
iotable_init(at91rm9200_io_desc, ARRAY_SIZE(at91rm9200_io_desc));
|
iotable_init(at91rm9200_io_desc, ARRAY_SIZE(at91rm9200_io_desc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The default interrupt priority levels (0 = lowest, 7 = highest).
|
||||||
|
*/
|
||||||
|
static unsigned int at91rm9200_default_irq_priority[NR_AIC_IRQS] __initdata = {
|
||||||
|
7, /* Advanced Interrupt Controller (FIQ) */
|
||||||
|
7, /* System Peripherals */
|
||||||
|
0, /* Parallel IO Controller A */
|
||||||
|
0, /* Parallel IO Controller B */
|
||||||
|
0, /* Parallel IO Controller C */
|
||||||
|
0, /* Parallel IO Controller D */
|
||||||
|
6, /* USART 0 */
|
||||||
|
6, /* USART 1 */
|
||||||
|
6, /* USART 2 */
|
||||||
|
6, /* USART 3 */
|
||||||
|
0, /* Multimedia Card Interface */
|
||||||
|
4, /* USB Device Port */
|
||||||
|
0, /* Two-Wire Interface */
|
||||||
|
6, /* Serial Peripheral Interface */
|
||||||
|
5, /* Serial Synchronous Controller 0 */
|
||||||
|
5, /* Serial Synchronous Controller 1 */
|
||||||
|
5, /* Serial Synchronous Controller 2 */
|
||||||
|
0, /* Timer Counter 0 */
|
||||||
|
0, /* Timer Counter 1 */
|
||||||
|
0, /* Timer Counter 2 */
|
||||||
|
0, /* Timer Counter 3 */
|
||||||
|
0, /* Timer Counter 4 */
|
||||||
|
0, /* Timer Counter 5 */
|
||||||
|
3, /* USB Host port */
|
||||||
|
3, /* Ethernet MAC */
|
||||||
|
0, /* Advanced Interrupt Controller (IRQ0) */
|
||||||
|
0, /* Advanced Interrupt Controller (IRQ1) */
|
||||||
|
0, /* Advanced Interrupt Controller (IRQ2) */
|
||||||
|
0, /* Advanced Interrupt Controller (IRQ3) */
|
||||||
|
0, /* Advanced Interrupt Controller (IRQ4) */
|
||||||
|
0, /* Advanced Interrupt Controller (IRQ5) */
|
||||||
|
0 /* Advanced Interrupt Controller (IRQ6) */
|
||||||
|
};
|
||||||
|
|
||||||
|
void __init at91rm9200_init_irq(unsigned int priority[NR_AIC_IRQS])
|
||||||
|
{
|
||||||
|
if (!priority)
|
||||||
|
priority = at91rm9200_default_irq_priority;
|
||||||
|
|
||||||
|
at91_aic_init(priority);
|
||||||
|
}
|
||||||
|
@ -8,13 +8,19 @@
|
|||||||
* published by the Free Software Foundation.
|
* published by the Free Software Foundation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void at91_gpio_irq_setup(unsigned banks);
|
/* Interrupts */
|
||||||
|
extern void __init at91rm9200_init_irq(unsigned int priority[]);
|
||||||
|
extern void __init at91_aic_init(unsigned int priority[]);
|
||||||
|
extern void __init at91_gpio_irq_setup(unsigned banks);
|
||||||
|
|
||||||
|
/* Timer */
|
||||||
struct sys_timer;
|
struct sys_timer;
|
||||||
extern struct sys_timer at91rm9200_timer;
|
extern struct sys_timer at91rm9200_timer;
|
||||||
|
|
||||||
|
/* Memory Map */
|
||||||
extern void __init at91rm9200_map_io(void);
|
extern void __init at91rm9200_map_io(void);
|
||||||
|
|
||||||
|
/* Clocks */
|
||||||
extern int __init at91_clock_init(unsigned long main_clock);
|
extern int __init at91_clock_init(unsigned long main_clock);
|
||||||
struct device;
|
struct device;
|
||||||
extern void __init at91_clock_associate(const char *id, struct device *dev, const char *func);
|
extern void __init at91_clock_associate(const char *id, struct device *dev, const char *func);
|
||||||
|
@ -327,7 +327,8 @@ static int gpio_irq_type(unsigned pin, unsigned type)
|
|||||||
return (type == IRQT_BOTHEDGE) ? 0 : -EINVAL;
|
return (type == IRQT_BOTHEDGE) ? 0 : -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip gpio_irqchip = {
|
static struct irq_chip gpio_irqchip = {
|
||||||
|
.name = "GPIO",
|
||||||
.mask = gpio_irq_mask,
|
.mask = gpio_irq_mask,
|
||||||
.unmask = gpio_irq_unmask,
|
.unmask = gpio_irq_unmask,
|
||||||
.set_type = gpio_irq_type,
|
.set_type = gpio_irq_type,
|
||||||
|
@ -36,58 +36,20 @@
|
|||||||
|
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
|
||||||
/*
|
|
||||||
* The default interrupt priority levels (0 = lowest, 7 = highest).
|
|
||||||
*/
|
|
||||||
static unsigned int at91rm9200_default_irq_priority[NR_AIC_IRQS] __initdata = {
|
|
||||||
7, /* Advanced Interrupt Controller */
|
|
||||||
7, /* System Peripheral */
|
|
||||||
0, /* Parallel IO Controller A */
|
|
||||||
0, /* Parallel IO Controller B */
|
|
||||||
0, /* Parallel IO Controller C */
|
|
||||||
0, /* Parallel IO Controller D */
|
|
||||||
6, /* USART 0 */
|
|
||||||
6, /* USART 1 */
|
|
||||||
6, /* USART 2 */
|
|
||||||
6, /* USART 3 */
|
|
||||||
0, /* Multimedia Card Interface */
|
|
||||||
4, /* USB Device Port */
|
|
||||||
0, /* Two-Wire Interface */
|
|
||||||
6, /* Serial Peripheral Interface */
|
|
||||||
5, /* Serial Synchronous Controller */
|
|
||||||
5, /* Serial Synchronous Controller */
|
|
||||||
5, /* Serial Synchronous Controller */
|
|
||||||
0, /* Timer Counter 0 */
|
|
||||||
0, /* Timer Counter 1 */
|
|
||||||
0, /* Timer Counter 2 */
|
|
||||||
0, /* Timer Counter 3 */
|
|
||||||
0, /* Timer Counter 4 */
|
|
||||||
0, /* Timer Counter 5 */
|
|
||||||
3, /* USB Host port */
|
|
||||||
3, /* Ethernet MAC */
|
|
||||||
0, /* Advanced Interrupt Controller */
|
|
||||||
0, /* Advanced Interrupt Controller */
|
|
||||||
0, /* Advanced Interrupt Controller */
|
|
||||||
0, /* Advanced Interrupt Controller */
|
|
||||||
0, /* Advanced Interrupt Controller */
|
|
||||||
0, /* Advanced Interrupt Controller */
|
|
||||||
0 /* Advanced Interrupt Controller */
|
|
||||||
};
|
|
||||||
|
|
||||||
|
static void at91_aic_mask_irq(unsigned int irq)
|
||||||
static void at91rm9200_mask_irq(unsigned int irq)
|
|
||||||
{
|
{
|
||||||
/* Disable interrupt on AIC */
|
/* Disable interrupt on AIC */
|
||||||
at91_sys_write(AT91_AIC_IDCR, 1 << irq);
|
at91_sys_write(AT91_AIC_IDCR, 1 << irq);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void at91rm9200_unmask_irq(unsigned int irq)
|
static void at91_aic_unmask_irq(unsigned int irq)
|
||||||
{
|
{
|
||||||
/* Enable interrupt on AIC */
|
/* Enable interrupt on AIC */
|
||||||
at91_sys_write(AT91_AIC_IECR, 1 << irq);
|
at91_sys_write(AT91_AIC_IECR, 1 << irq);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int at91rm9200_irq_type(unsigned irq, unsigned type)
|
static int at91_aic_set_type(unsigned irq, unsigned type)
|
||||||
{
|
{
|
||||||
unsigned int smr, srctype;
|
unsigned int smr, srctype;
|
||||||
|
|
||||||
@ -122,7 +84,7 @@ static int at91rm9200_irq_type(unsigned irq, unsigned type)
|
|||||||
static u32 wakeups;
|
static u32 wakeups;
|
||||||
static u32 backups;
|
static u32 backups;
|
||||||
|
|
||||||
static int at91rm9200_irq_set_wake(unsigned irq, unsigned value)
|
static int at91_aic_set_wake(unsigned irq, unsigned value)
|
||||||
{
|
{
|
||||||
if (unlikely(irq >= 32))
|
if (unlikely(irq >= 32))
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
@ -149,28 +111,25 @@ void at91_irq_resume(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#define at91rm9200_irq_set_wake NULL
|
#define at91_aic_set_wake NULL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct irqchip at91rm9200_irq_chip = {
|
static struct irq_chip at91_aic_chip = {
|
||||||
.ack = at91rm9200_mask_irq,
|
.name = "AIC",
|
||||||
.mask = at91rm9200_mask_irq,
|
.ack = at91_aic_mask_irq,
|
||||||
.unmask = at91rm9200_unmask_irq,
|
.mask = at91_aic_mask_irq,
|
||||||
.set_type = at91rm9200_irq_type,
|
.unmask = at91_aic_unmask_irq,
|
||||||
.set_wake = at91rm9200_irq_set_wake,
|
.set_type = at91_aic_set_type,
|
||||||
|
.set_wake = at91_aic_set_wake,
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Initialize the AIC interrupt controller.
|
* Initialize the AIC interrupt controller.
|
||||||
*/
|
*/
|
||||||
void __init at91rm9200_init_irq(unsigned int priority[NR_AIC_IRQS])
|
void __init at91_aic_init(unsigned int priority[NR_AIC_IRQS])
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
/* No priority list specified for this board -> use defaults */
|
|
||||||
if (priority == NULL)
|
|
||||||
priority = at91rm9200_default_irq_priority;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The IVR is used by macro get_irqnr_and_base to read and verify.
|
* The IVR is used by macro get_irqnr_and_base to read and verify.
|
||||||
* The irq number is NR_AIC_IRQS when a spurious interrupt has occurred.
|
* The irq number is NR_AIC_IRQS when a spurious interrupt has occurred.
|
||||||
@ -178,10 +137,10 @@ void __init at91rm9200_init_irq(unsigned int priority[NR_AIC_IRQS])
|
|||||||
for (i = 0; i < NR_AIC_IRQS; i++) {
|
for (i = 0; i < NR_AIC_IRQS; i++) {
|
||||||
/* Put irq number in Source Vector Register: */
|
/* Put irq number in Source Vector Register: */
|
||||||
at91_sys_write(AT91_AIC_SVR(i), i);
|
at91_sys_write(AT91_AIC_SVR(i), i);
|
||||||
/* Store the Source Mode Register as defined in table above */
|
/* Active Low interrupt, with the specified priority */
|
||||||
at91_sys_write(AT91_AIC_SMR(i), AT91_AIC_SRCTYPE_LOW | priority[i]);
|
at91_sys_write(AT91_AIC_SMR(i), AT91_AIC_SRCTYPE_LOW | priority[i]);
|
||||||
|
|
||||||
set_irq_chip(i, &at91rm9200_irq_chip);
|
set_irq_chip(i, &at91_aic_chip);
|
||||||
set_irq_handler(i, do_level_IRQ);
|
set_irq_handler(i, do_level_IRQ);
|
||||||
set_irq_flags(i, IRQF_VALID | IRQF_PROBE);
|
set_irq_flags(i, IRQF_VALID | IRQF_PROBE);
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include <linux/ioport.h>
|
#include <linux/ioport.h>
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/tty.h>
|
#include <linux/screen_info.h>
|
||||||
|
|
||||||
#include <asm/hardware/dec21285.h>
|
#include <asm/hardware/dec21285.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
|
@ -204,13 +204,15 @@ imx_gpiod_demux_handler(unsigned int irq_unused, struct irqdesc *desc,
|
|||||||
imx_gpio_handler(mask, irq, desc, regs);
|
imx_gpio_handler(mask, irq, desc, regs);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip imx_internal_chip = {
|
static struct irq_chip imx_internal_chip = {
|
||||||
|
.name = "MPU",
|
||||||
.ack = imx_mask_irq,
|
.ack = imx_mask_irq,
|
||||||
.mask = imx_mask_irq,
|
.mask = imx_mask_irq,
|
||||||
.unmask = imx_unmask_irq,
|
.unmask = imx_unmask_irq,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct irqchip imx_gpio_chip = {
|
static struct irq_chip imx_gpio_chip = {
|
||||||
|
.name = "GPIO",
|
||||||
.ack = imx_gpio_ack_irq,
|
.ack = imx_gpio_ack_irq,
|
||||||
.mask = imx_gpio_mask_irq,
|
.mask = imx_gpio_mask_irq,
|
||||||
.unmask = imx_gpio_unmask_irq,
|
.unmask = imx_gpio_unmask_irq,
|
||||||
|
@ -161,7 +161,8 @@ static void sc_unmask_irq(unsigned int irq)
|
|||||||
writel(1 << irq, VA_IC_BASE + IRQ_ENABLE_SET);
|
writel(1 << irq, VA_IC_BASE + IRQ_ENABLE_SET);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip sc_chip = {
|
static struct irq_chip sc_chip = {
|
||||||
|
.name = "SC",
|
||||||
.ack = sc_mask_irq,
|
.ack = sc_mask_irq,
|
||||||
.mask = sc_mask_irq,
|
.mask = sc_mask_irq,
|
||||||
.unmask = sc_unmask_irq,
|
.unmask = sc_unmask_irq,
|
||||||
|
@ -156,7 +156,8 @@ static void cic_unmask_irq(unsigned int irq)
|
|||||||
cic_writel(1 << irq, INTCP_VA_CIC_BASE + IRQ_ENABLE_SET);
|
cic_writel(1 << irq, INTCP_VA_CIC_BASE + IRQ_ENABLE_SET);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip cic_chip = {
|
static struct irq_chip cic_chip = {
|
||||||
|
.name = "CIC",
|
||||||
.ack = cic_mask_irq,
|
.ack = cic_mask_irq,
|
||||||
.mask = cic_mask_irq,
|
.mask = cic_mask_irq,
|
||||||
.unmask = cic_unmask_irq,
|
.unmask = cic_unmask_irq,
|
||||||
@ -174,7 +175,8 @@ static void pic_unmask_irq(unsigned int irq)
|
|||||||
pic_writel(1 << irq, INTCP_VA_PIC_BASE + IRQ_ENABLE_SET);
|
pic_writel(1 << irq, INTCP_VA_PIC_BASE + IRQ_ENABLE_SET);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip pic_chip = {
|
static struct irq_chip pic_chip = {
|
||||||
|
.name = "PIC",
|
||||||
.ack = pic_mask_irq,
|
.ack = pic_mask_irq,
|
||||||
.mask = pic_mask_irq,
|
.mask = pic_mask_irq,
|
||||||
.unmask = pic_unmask_irq,
|
.unmask = pic_unmask_irq,
|
||||||
@ -192,7 +194,8 @@ static void sic_unmask_irq(unsigned int irq)
|
|||||||
sic_writel(1 << irq, INTCP_VA_SIC_BASE + IRQ_ENABLE_SET);
|
sic_writel(1 << irq, INTCP_VA_SIC_BASE + IRQ_ENABLE_SET);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip sic_chip = {
|
static struct irq_chip sic_chip = {
|
||||||
|
.name = "SIC",
|
||||||
.ack = sic_mask_irq,
|
.ack = sic_mask_irq,
|
||||||
.mask = sic_mask_irq,
|
.mask = sic_mask_irq,
|
||||||
.unmask = sic_unmask_irq,
|
.unmask = sic_unmask_irq,
|
||||||
|
@ -52,7 +52,8 @@ iop321_irq_unmask (unsigned int irq)
|
|||||||
intctl_write(iop321_mask);
|
intctl_write(iop321_mask);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct irqchip ext_chip = {
|
struct irq_chip ext_chip = {
|
||||||
|
.name = "IOP",
|
||||||
.ack = iop321_irq_mask,
|
.ack = iop321_irq_mask,
|
||||||
.mask = iop321_irq_mask,
|
.mask = iop321_irq_mask,
|
||||||
.unmask = iop321_irq_unmask,
|
.unmask = iop321_irq_unmask,
|
||||||
|
@ -77,13 +77,15 @@ iop331_irq_unmask2(unsigned int irq)
|
|||||||
intctl_write1(iop331_mask1);
|
intctl_write1(iop331_mask1);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct irqchip iop331_irqchip1 = {
|
struct irq_chip iop331_irqchip1 = {
|
||||||
|
.name = "IOP-1",
|
||||||
.ack = iop331_irq_mask1,
|
.ack = iop331_irq_mask1,
|
||||||
.mask = iop331_irq_mask1,
|
.mask = iop331_irq_mask1,
|
||||||
.unmask = iop331_irq_unmask1,
|
.unmask = iop331_irq_unmask1,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct irqchip iop331_irqchip2 = {
|
struct irq_chip iop331_irqchip2 = {
|
||||||
|
.name = "IOP-2",
|
||||||
.ack = iop331_irq_mask2,
|
.ack = iop331_irq_mask2,
|
||||||
.mask = iop331_irq_mask2,
|
.mask = iop331_irq_mask2,
|
||||||
.unmask = iop331_irq_unmask2,
|
.unmask = iop331_irq_unmask2,
|
||||||
|
@ -63,7 +63,8 @@ static void kev7a400_unmask_cpld_irq (u32 irq)
|
|||||||
CPLD_WR_PB_INT_MASK = CPLD_IRQ_mask;
|
CPLD_WR_PB_INT_MASK = CPLD_IRQ_mask;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip kev7a400_cpld_chip = {
|
static struct irq_chip kev7a400_cpld_chip = {
|
||||||
|
.name = "CPLD",
|
||||||
.ack = kev7a400_ack_cpld_irq,
|
.ack = kev7a400_ack_cpld_irq,
|
||||||
.mask = kev7a400_mask_cpld_irq,
|
.mask = kev7a400_mask_cpld_irq,
|
||||||
.unmask = kev7a400_unmask_cpld_irq,
|
.unmask = kev7a400_unmask_cpld_irq,
|
||||||
|
@ -200,7 +200,8 @@ static void lh7a40x_unmask_cpld_irq (u32 irq)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip lpd7a40x_cpld_chip = {
|
static struct irq_chip lpd7a40x_cpld_chip = {
|
||||||
|
.name = "CPLD",
|
||||||
.ack = lh7a40x_ack_cpld_irq,
|
.ack = lh7a40x_ack_cpld_irq,
|
||||||
.mask = lh7a40x_mask_cpld_irq,
|
.mask = lh7a40x_mask_cpld_irq,
|
||||||
.unmask = lh7a40x_unmask_cpld_irq,
|
.unmask = lh7a40x_unmask_cpld_irq,
|
||||||
|
@ -43,7 +43,8 @@ lh7a400_unmask_cpld_irq (u32 irq)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct
|
static struct
|
||||||
irqchip lh7a400_cpld_chip = {
|
irq_chip lh7a400_cpld_chip = {
|
||||||
|
.name = "CPLD",
|
||||||
.ack = lh7a400_ack_cpld_irq,
|
.ack = lh7a400_ack_cpld_irq,
|
||||||
.mask = lh7a400_mask_cpld_irq,
|
.mask = lh7a400_mask_cpld_irq,
|
||||||
.unmask = lh7a400_unmask_cpld_irq,
|
.unmask = lh7a400_unmask_cpld_irq,
|
||||||
|
@ -38,13 +38,15 @@ static void lh7a400_ack_gpio_irq (u32 irq)
|
|||||||
INTC_INTENC = (1 << irq);
|
INTC_INTENC = (1 << irq);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip lh7a400_internal_chip = {
|
static struct irq_chip lh7a400_internal_chip = {
|
||||||
|
.name = "MPU",
|
||||||
.ack = lh7a400_mask_irq, /* Level triggering -> mask is ack */
|
.ack = lh7a400_mask_irq, /* Level triggering -> mask is ack */
|
||||||
.mask = lh7a400_mask_irq,
|
.mask = lh7a400_mask_irq,
|
||||||
.unmask = lh7a400_unmask_irq,
|
.unmask = lh7a400_unmask_irq,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct irqchip lh7a400_gpio_chip = {
|
static struct irq_chip lh7a400_gpio_chip = {
|
||||||
|
.name = "GPIO",
|
||||||
.ack = lh7a400_ack_gpio_irq,
|
.ack = lh7a400_ack_gpio_irq,
|
||||||
.mask = lh7a400_mask_irq,
|
.mask = lh7a400_mask_irq,
|
||||||
.unmask = lh7a400_unmask_irq,
|
.unmask = lh7a400_unmask_irq,
|
||||||
|
@ -76,25 +76,29 @@ static void lh7a404_vic2_ack_gpio_irq (u32 irq)
|
|||||||
VIC2_INTENCLR = (1 << irq);
|
VIC2_INTENCLR = (1 << irq);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip lh7a404_vic1_chip = {
|
static struct irq_chip lh7a404_vic1_chip = {
|
||||||
|
.name = "VIC1",
|
||||||
.ack = lh7a404_vic1_mask_irq, /* Because level-triggered */
|
.ack = lh7a404_vic1_mask_irq, /* Because level-triggered */
|
||||||
.mask = lh7a404_vic1_mask_irq,
|
.mask = lh7a404_vic1_mask_irq,
|
||||||
.unmask = lh7a404_vic1_unmask_irq,
|
.unmask = lh7a404_vic1_unmask_irq,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct irqchip lh7a404_vic2_chip = {
|
static struct irq_chip lh7a404_vic2_chip = {
|
||||||
|
.name = "VIC2",
|
||||||
.ack = lh7a404_vic2_mask_irq, /* Because level-triggered */
|
.ack = lh7a404_vic2_mask_irq, /* Because level-triggered */
|
||||||
.mask = lh7a404_vic2_mask_irq,
|
.mask = lh7a404_vic2_mask_irq,
|
||||||
.unmask = lh7a404_vic2_unmask_irq,
|
.unmask = lh7a404_vic2_unmask_irq,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct irqchip lh7a404_gpio_vic1_chip = {
|
static struct irq_chip lh7a404_gpio_vic1_chip = {
|
||||||
|
.name = "GPIO-VIC1",
|
||||||
.ack = lh7a404_vic1_ack_gpio_irq,
|
.ack = lh7a404_vic1_ack_gpio_irq,
|
||||||
.mask = lh7a404_vic1_mask_irq,
|
.mask = lh7a404_vic1_mask_irq,
|
||||||
.unmask = lh7a404_vic1_unmask_irq,
|
.unmask = lh7a404_vic1_unmask_irq,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct irqchip lh7a404_gpio_vic2_chip = {
|
static struct irq_chip lh7a404_gpio_vic2_chip = {
|
||||||
|
.name = "GPIO-VIC2",
|
||||||
.ack = lh7a404_vic2_ack_gpio_irq,
|
.ack = lh7a404_vic2_ack_gpio_irq,
|
||||||
.mask = lh7a404_vic2_mask_irq,
|
.mask = lh7a404_vic2_mask_irq,
|
||||||
.unmask = lh7a404_vic2_unmask_irq,
|
.unmask = lh7a404_vic2_unmask_irq,
|
||||||
|
@ -50,7 +50,8 @@ static void lh7a40x_unmask_cpld_irq (u32 irq)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip lh7a40x_cpld_chip = {
|
static struct irq_chip lh7a40x_cpld_chip = {
|
||||||
|
.name = "CPLD",
|
||||||
.ack = lh7a40x_ack_cpld_irq,
|
.ack = lh7a40x_ack_cpld_irq,
|
||||||
.mask = lh7a40x_mask_cpld_irq,
|
.mask = lh7a40x_mask_cpld_irq,
|
||||||
.unmask = lh7a40x_unmask_cpld_irq,
|
.unmask = lh7a40x_unmask_cpld_irq,
|
||||||
|
@ -106,14 +106,16 @@ void innovator_fpga_IRQ_demux(unsigned int irq, struct irqdesc *desc,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip omap_fpga_irq_ack = {
|
static struct irq_chip omap_fpga_irq_ack = {
|
||||||
|
.name = "FPGA-ack",
|
||||||
.ack = fpga_mask_ack_irq,
|
.ack = fpga_mask_ack_irq,
|
||||||
.mask = fpga_mask_irq,
|
.mask = fpga_mask_irq,
|
||||||
.unmask = fpga_unmask_irq,
|
.unmask = fpga_unmask_irq,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
static struct irqchip omap_fpga_irq = {
|
static struct irq_chip omap_fpga_irq = {
|
||||||
|
.name = "FPGA",
|
||||||
.ack = fpga_ack_irq,
|
.ack = fpga_ack_irq,
|
||||||
.mask = fpga_mask_irq,
|
.mask = fpga_mask_irq,
|
||||||
.unmask = fpga_unmask_irq,
|
.unmask = fpga_unmask_irq,
|
||||||
|
@ -168,7 +168,8 @@ static struct omap_irq_bank omap1610_irq_banks[] = {
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static struct irqchip omap_irq_chip = {
|
static struct irq_chip omap_irq_chip = {
|
||||||
|
.name = "MPU",
|
||||||
.ack = omap_mask_ack_irq,
|
.ack = omap_mask_ack_irq,
|
||||||
.mask = omap_mask_irq,
|
.mask = omap_mask_irq,
|
||||||
.unmask = omap_unmask_irq,
|
.unmask = omap_unmask_irq,
|
||||||
|
@ -94,7 +94,8 @@ static void omap_mask_ack_irq(unsigned int irq)
|
|||||||
omap_ack_irq(irq);
|
omap_ack_irq(irq);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip omap_irq_chip = {
|
static struct irq_chip omap_irq_chip = {
|
||||||
|
.name = "INTC",
|
||||||
.ack = omap_mask_ack_irq,
|
.ack = omap_mask_ack_irq,
|
||||||
.mask = omap_mask_irq,
|
.mask = omap_mask_irq,
|
||||||
.unmask = omap_unmask_irq,
|
.unmask = omap_unmask_irq,
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
#include <linux/spi/spi.h>
|
#include <linux/spi/spi.h>
|
||||||
|
|
||||||
#include <asm/hardware.h>
|
#include <asm/hardware.h>
|
||||||
#include <asm/irq.h>
|
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/setup.h>
|
#include <asm/setup.h>
|
||||||
#include <asm/mach-types.h>
|
#include <asm/mach-types.h>
|
||||||
@ -36,7 +35,6 @@
|
|||||||
#include <asm/system.h>
|
#include <asm/system.h>
|
||||||
|
|
||||||
#include <asm/mach/arch.h>
|
#include <asm/mach/arch.h>
|
||||||
#include <asm/mach/irq.h>
|
|
||||||
#include <asm/mach/map.h>
|
#include <asm/mach/map.h>
|
||||||
#include <asm/mach/time.h>
|
#include <asm/mach/time.h>
|
||||||
|
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
#include <linux/clk.h>
|
#include <linux/clk.h>
|
||||||
|
|
||||||
#include <asm/system.h>
|
#include <asm/system.h>
|
||||||
#include <asm/irq.h>
|
|
||||||
#include <asm/hardware.h>
|
#include <asm/hardware.h>
|
||||||
#include <asm/dma.h>
|
#include <asm/dma.h>
|
||||||
#include <asm/dma-mapping.h>
|
#include <asm/dma-mapping.h>
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/ioport.h>
|
#include <linux/ioport.h>
|
||||||
#include <linux/device.h>
|
#include <linux/device.h>
|
||||||
|
#include <linux/irq.h>
|
||||||
#include <asm/hardware.h>
|
#include <asm/hardware.h>
|
||||||
#include <asm/irq.h>
|
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/setup.h>
|
#include <asm/setup.h>
|
||||||
#include <asm/mach-types.h>
|
#include <asm/mach-types.h>
|
||||||
@ -96,26 +96,24 @@ void __init pnx4008_init_irq(void)
|
|||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
|
|
||||||
/* configure and enable IRQ 0,1,30,31 (cascade interrupts) mask all others */
|
/* configure IRQ's */
|
||||||
|
for (i = 0; i < NR_IRQS; i++) {
|
||||||
|
set_irq_flags(i, IRQF_VALID);
|
||||||
|
set_irq_chip(i, &pnx4008_irq_chip);
|
||||||
|
pnx4008_set_irq_type(i, pnx4008_irq_type[i]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* configure and enable IRQ 0,1,30,31 (cascade interrupts) */
|
||||||
pnx4008_set_irq_type(SUB1_IRQ_N, pnx4008_irq_type[SUB1_IRQ_N]);
|
pnx4008_set_irq_type(SUB1_IRQ_N, pnx4008_irq_type[SUB1_IRQ_N]);
|
||||||
pnx4008_set_irq_type(SUB2_IRQ_N, pnx4008_irq_type[SUB2_IRQ_N]);
|
pnx4008_set_irq_type(SUB2_IRQ_N, pnx4008_irq_type[SUB2_IRQ_N]);
|
||||||
pnx4008_set_irq_type(SUB1_FIQ_N, pnx4008_irq_type[SUB1_FIQ_N]);
|
pnx4008_set_irq_type(SUB1_FIQ_N, pnx4008_irq_type[SUB1_FIQ_N]);
|
||||||
pnx4008_set_irq_type(SUB2_FIQ_N, pnx4008_irq_type[SUB2_FIQ_N]);
|
pnx4008_set_irq_type(SUB2_FIQ_N, pnx4008_irq_type[SUB2_FIQ_N]);
|
||||||
|
|
||||||
|
/* mask all others */
|
||||||
__raw_writel((1 << SUB2_FIQ_N) | (1 << SUB1_FIQ_N) |
|
__raw_writel((1 << SUB2_FIQ_N) | (1 << SUB1_FIQ_N) |
|
||||||
(1 << SUB2_IRQ_N) | (1 << SUB1_IRQ_N),
|
(1 << SUB2_IRQ_N) | (1 << SUB1_IRQ_N),
|
||||||
INTC_ER(MAIN_BASE_INT));
|
INTC_ER(MAIN_BASE_INT));
|
||||||
__raw_writel(0, INTC_ER(SIC1_BASE_INT));
|
__raw_writel(0, INTC_ER(SIC1_BASE_INT));
|
||||||
__raw_writel(0, INTC_ER(SIC2_BASE_INT));
|
__raw_writel(0, INTC_ER(SIC2_BASE_INT));
|
||||||
|
|
||||||
/* configure all other IRQ's */
|
|
||||||
for (i = 0; i < NR_IRQS; i++) {
|
|
||||||
if (i == SUB2_FIQ_N || i == SUB1_FIQ_N ||
|
|
||||||
i == SUB2_IRQ_N || i == SUB1_IRQ_N)
|
|
||||||
continue;
|
|
||||||
set_irq_flags(i, IRQF_VALID);
|
|
||||||
set_irq_chip(i, &pnx4008_irq_chip);
|
|
||||||
pnx4008_set_irq_type(i, pnx4008_irq_type[i]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,17 +20,15 @@
|
|||||||
#include <linux/spinlock.h>
|
#include <linux/spinlock.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/kallsyms.h>
|
#include <linux/kallsyms.h>
|
||||||
|
#include <linux/time.h>
|
||||||
|
#include <linux/timex.h>
|
||||||
|
#include <linux/irq.h>
|
||||||
|
|
||||||
#include <asm/system.h>
|
#include <asm/system.h>
|
||||||
#include <asm/hardware.h>
|
#include <asm/hardware.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/leds.h>
|
#include <asm/leds.h>
|
||||||
#include <asm/irq.h>
|
|
||||||
#include <asm/mach/irq.h>
|
|
||||||
#include <asm/mach/time.h>
|
#include <asm/mach/time.h>
|
||||||
|
|
||||||
#include <linux/time.h>
|
|
||||||
#include <linux/timex.h>
|
|
||||||
#include <asm/errno.h>
|
#include <asm/errno.h>
|
||||||
|
|
||||||
/*! Note: all timers are UPCOUNTING */
|
/*! Note: all timers are UPCOUNTING */
|
||||||
|
@ -39,7 +39,8 @@ static void pxa_unmask_low_irq(unsigned int irq)
|
|||||||
ICMR |= (1 << (irq + PXA_IRQ_SKIP));
|
ICMR |= (1 << (irq + PXA_IRQ_SKIP));
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip pxa_internal_chip_low = {
|
static struct irq_chip pxa_internal_chip_low = {
|
||||||
|
.name = "SC",
|
||||||
.ack = pxa_mask_low_irq,
|
.ack = pxa_mask_low_irq,
|
||||||
.mask = pxa_mask_low_irq,
|
.mask = pxa_mask_low_irq,
|
||||||
.unmask = pxa_unmask_low_irq,
|
.unmask = pxa_unmask_low_irq,
|
||||||
@ -61,7 +62,8 @@ static void pxa_unmask_high_irq(unsigned int irq)
|
|||||||
ICMR2 |= (1 << (irq - 32 + PXA_IRQ_SKIP));
|
ICMR2 |= (1 << (irq - 32 + PXA_IRQ_SKIP));
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip pxa_internal_chip_high = {
|
static struct irq_chip pxa_internal_chip_high = {
|
||||||
|
.name = "SC-hi",
|
||||||
.ack = pxa_mask_high_irq,
|
.ack = pxa_mask_high_irq,
|
||||||
.mask = pxa_mask_high_irq,
|
.mask = pxa_mask_high_irq,
|
||||||
.unmask = pxa_unmask_high_irq,
|
.unmask = pxa_unmask_high_irq,
|
||||||
@ -129,7 +131,8 @@ static void pxa_ack_low_gpio(unsigned int irq)
|
|||||||
GEDR0 = (1 << (irq - IRQ_GPIO0));
|
GEDR0 = (1 << (irq - IRQ_GPIO0));
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip pxa_low_gpio_chip = {
|
static struct irq_chip pxa_low_gpio_chip = {
|
||||||
|
.name = "GPIO-l",
|
||||||
.ack = pxa_ack_low_gpio,
|
.ack = pxa_ack_low_gpio,
|
||||||
.mask = pxa_mask_low_irq,
|
.mask = pxa_mask_low_irq,
|
||||||
.unmask = pxa_unmask_low_irq,
|
.unmask = pxa_unmask_low_irq,
|
||||||
@ -237,7 +240,8 @@ static void pxa_unmask_muxed_gpio(unsigned int irq)
|
|||||||
GFER(gpio) = GPIO_IRQ_falling_edge[idx] & GPIO_IRQ_mask[idx];
|
GFER(gpio) = GPIO_IRQ_falling_edge[idx] & GPIO_IRQ_mask[idx];
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip pxa_muxed_gpio_chip = {
|
static struct irq_chip pxa_muxed_gpio_chip = {
|
||||||
|
.name = "GPIO",
|
||||||
.ack = pxa_ack_muxed_gpio,
|
.ack = pxa_ack_muxed_gpio,
|
||||||
.mask = pxa_mask_muxed_gpio,
|
.mask = pxa_mask_muxed_gpio,
|
||||||
.unmask = pxa_unmask_muxed_gpio,
|
.unmask = pxa_unmask_muxed_gpio,
|
||||||
|
@ -68,7 +68,8 @@ static void lpd270_unmask_irq(unsigned int irq)
|
|||||||
__raw_writew(lpd270_irq_enabled, LPD270_INT_MASK);
|
__raw_writew(lpd270_irq_enabled, LPD270_INT_MASK);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip lpd270_irq_chip = {
|
static struct irq_chip lpd270_irq_chip = {
|
||||||
|
.name = "CPLD",
|
||||||
.ack = lpd270_mask_irq,
|
.ack = lpd270_mask_irq,
|
||||||
.mask = lpd270_mask_irq,
|
.mask = lpd270_mask_irq,
|
||||||
.unmask = lpd270_unmask_irq,
|
.unmask = lpd270_unmask_irq,
|
||||||
|
@ -78,7 +78,8 @@ static void lubbock_unmask_irq(unsigned int irq)
|
|||||||
LUB_IRQ_MASK_EN = (lubbock_irq_enabled |= (1 << lubbock_irq));
|
LUB_IRQ_MASK_EN = (lubbock_irq_enabled |= (1 << lubbock_irq));
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip lubbock_irq_chip = {
|
static struct irq_chip lubbock_irq_chip = {
|
||||||
|
.name = "FPGA",
|
||||||
.ack = lubbock_mask_irq,
|
.ack = lubbock_mask_irq,
|
||||||
.mask = lubbock_mask_irq,
|
.mask = lubbock_mask_irq,
|
||||||
.unmask = lubbock_unmask_irq,
|
.unmask = lubbock_unmask_irq,
|
||||||
|
@ -64,7 +64,8 @@ static void mainstone_unmask_irq(unsigned int irq)
|
|||||||
MST_INTMSKENA = (mainstone_irq_enabled |= (1 << mainstone_irq));
|
MST_INTMSKENA = (mainstone_irq_enabled |= (1 << mainstone_irq));
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip mainstone_irq_chip = {
|
static struct irq_chip mainstone_irq_chip = {
|
||||||
|
.name = "FPGA",
|
||||||
.ack = mainstone_mask_irq,
|
.ack = mainstone_mask_irq,
|
||||||
.mask = mainstone_mask_irq,
|
.mask = mainstone_mask_irq,
|
||||||
.unmask = mainstone_unmask_irq,
|
.unmask = mainstone_unmask_irq,
|
||||||
|
@ -60,11 +60,12 @@ static struct map_desc anubis_iodesc[] __initdata = {
|
|||||||
.virtual = (u32)S3C24XX_VA_ISA_BYTE,
|
.virtual = (u32)S3C24XX_VA_ISA_BYTE,
|
||||||
.pfn = __phys_to_pfn(0x0),
|
.pfn = __phys_to_pfn(0x0),
|
||||||
.length = SZ_4M,
|
.length = SZ_4M,
|
||||||
.type = MT_DEVICE
|
.type = MT_DEVICE,
|
||||||
}, {
|
}, {
|
||||||
.virtual = (u32)S3C24XX_VA_ISA_WORD,
|
.virtual = (u32)S3C24XX_VA_ISA_WORD,
|
||||||
.pfn = __phys_to_pfn(0x0),
|
.pfn = __phys_to_pfn(0x0),
|
||||||
.length = SZ_4M, MT_DEVICE
|
.length = SZ_4M,
|
||||||
|
.type = MT_DEVICE,
|
||||||
},
|
},
|
||||||
|
|
||||||
/* we could possibly compress the next set down into a set of smaller tables
|
/* we could possibly compress the next set down into a set of smaller tables
|
||||||
@ -78,36 +79,12 @@ static struct map_desc anubis_iodesc[] __initdata = {
|
|||||||
.virtual = (u32)ANUBIS_VA_CTRL1,
|
.virtual = (u32)ANUBIS_VA_CTRL1,
|
||||||
.pfn = __phys_to_pfn(ANUBIS_PA_CTRL1),
|
.pfn = __phys_to_pfn(ANUBIS_PA_CTRL1),
|
||||||
.length = SZ_4K,
|
.length = SZ_4K,
|
||||||
.type = MT_DEVICE
|
.type = MT_DEVICE,
|
||||||
}, {
|
}, {
|
||||||
.virtual = (u32)ANUBIS_VA_CTRL2,
|
.virtual = (u32)ANUBIS_VA_CTRL2,
|
||||||
.pfn = __phys_to_pfn(ANUBIS_PA_CTRL2),
|
.pfn = __phys_to_pfn(ANUBIS_PA_CTRL2),
|
||||||
.length = SZ_4K,
|
.length = SZ_4K,
|
||||||
.type =MT_DEVICE
|
.type = MT_DEVICE,
|
||||||
},
|
|
||||||
|
|
||||||
/* IDE drives */
|
|
||||||
|
|
||||||
{
|
|
||||||
.virtual = (u32)ANUBIS_IDEPRI,
|
|
||||||
.pfn = __phys_to_pfn(S3C2410_CS3),
|
|
||||||
.length = SZ_1M,
|
|
||||||
.type = MT_DEVICE
|
|
||||||
}, {
|
|
||||||
.virtual = (u32)ANUBIS_IDEPRIAUX,
|
|
||||||
.pfn = __phys_to_pfn(S3C2410_CS3+(1<<26)),
|
|
||||||
.length = SZ_1M,
|
|
||||||
.type = MT_DEVICE
|
|
||||||
}, {
|
|
||||||
.virtual = (u32)ANUBIS_IDESEC,
|
|
||||||
.pfn = __phys_to_pfn(S3C2410_CS4),
|
|
||||||
.length = SZ_1M,
|
|
||||||
.type = MT_DEVICE
|
|
||||||
}, {
|
|
||||||
.virtual = (u32)ANUBIS_IDESECAUX,
|
|
||||||
.pfn = __phys_to_pfn(S3C2410_CS4+(1<<26)),
|
|
||||||
.length = SZ_1M,
|
|
||||||
.type = MT_DEVICE
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -126,7 +103,7 @@ static struct s3c24xx_uart_clksrc anubis_serial_clocks[] = {
|
|||||||
.name = "pclk",
|
.name = "pclk",
|
||||||
.divisor = 1,
|
.divisor = 1,
|
||||||
.min_baud = 0,
|
.min_baud = 0,
|
||||||
.max_baud = 0.
|
.max_baud = 0,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -139,7 +116,7 @@ static struct s3c2410_uartcfg anubis_uartcfgs[] __initdata = {
|
|||||||
.ulcon = ULCON,
|
.ulcon = ULCON,
|
||||||
.ufcon = UFCON,
|
.ufcon = UFCON,
|
||||||
.clocks = anubis_serial_clocks,
|
.clocks = anubis_serial_clocks,
|
||||||
.clocks_size = ARRAY_SIZE(anubis_serial_clocks)
|
.clocks_size = ARRAY_SIZE(anubis_serial_clocks),
|
||||||
},
|
},
|
||||||
[1] = {
|
[1] = {
|
||||||
.hwport = 2,
|
.hwport = 2,
|
||||||
@ -148,7 +125,7 @@ static struct s3c2410_uartcfg anubis_uartcfgs[] __initdata = {
|
|||||||
.ulcon = ULCON,
|
.ulcon = ULCON,
|
||||||
.ufcon = UFCON,
|
.ufcon = UFCON,
|
||||||
.clocks = anubis_serial_clocks,
|
.clocks = anubis_serial_clocks,
|
||||||
.clocks_size = ARRAY_SIZE(anubis_serial_clocks)
|
.clocks_size = ARRAY_SIZE(anubis_serial_clocks),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -162,7 +139,7 @@ static struct mtd_partition anubis_default_nand_part[] = {
|
|||||||
[0] = {
|
[0] = {
|
||||||
.name = "Boot Agent",
|
.name = "Boot Agent",
|
||||||
.size = SZ_16K,
|
.size = SZ_16K,
|
||||||
.offset = 0
|
.offset = 0,
|
||||||
},
|
},
|
||||||
[1] = {
|
[1] = {
|
||||||
.name = "/boot",
|
.name = "/boot",
|
||||||
@ -194,21 +171,21 @@ static struct s3c2410_nand_set anubis_nand_sets[] = {
|
|||||||
.nr_chips = 1,
|
.nr_chips = 1,
|
||||||
.nr_map = external_map,
|
.nr_map = external_map,
|
||||||
.nr_partitions = ARRAY_SIZE(anubis_default_nand_part),
|
.nr_partitions = ARRAY_SIZE(anubis_default_nand_part),
|
||||||
.partitions = anubis_default_nand_part
|
.partitions = anubis_default_nand_part,
|
||||||
},
|
},
|
||||||
[0] = {
|
[0] = {
|
||||||
.name = "chip0",
|
.name = "chip0",
|
||||||
.nr_chips = 1,
|
.nr_chips = 1,
|
||||||
.nr_map = chip0_map,
|
.nr_map = chip0_map,
|
||||||
.nr_partitions = ARRAY_SIZE(anubis_default_nand_part),
|
.nr_partitions = ARRAY_SIZE(anubis_default_nand_part),
|
||||||
.partitions = anubis_default_nand_part
|
.partitions = anubis_default_nand_part,
|
||||||
},
|
},
|
||||||
[2] = {
|
[2] = {
|
||||||
.name = "chip1",
|
.name = "chip1",
|
||||||
.nr_chips = 1,
|
.nr_chips = 1,
|
||||||
.nr_map = chip1_map,
|
.nr_map = chip1_map,
|
||||||
.nr_partitions = ARRAY_SIZE(anubis_default_nand_part),
|
.nr_partitions = ARRAY_SIZE(anubis_default_nand_part),
|
||||||
.partitions = anubis_default_nand_part
|
.partitions = anubis_default_nand_part,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -313,7 +290,7 @@ static struct s3c24xx_board anubis_board __initdata = {
|
|||||||
.devices = anubis_devices,
|
.devices = anubis_devices,
|
||||||
.devices_count = ARRAY_SIZE(anubis_devices),
|
.devices_count = ARRAY_SIZE(anubis_devices),
|
||||||
.clocks = anubis_clocks,
|
.clocks = anubis_clocks,
|
||||||
.clocks_count = ARRAY_SIZE(anubis_clocks)
|
.clocks_count = ARRAY_SIZE(anubis_clocks),
|
||||||
};
|
};
|
||||||
|
|
||||||
static void __init anubis_map_io(void)
|
static void __init anubis_map_io(void)
|
||||||
|
@ -67,12 +67,12 @@ static struct map_desc osiris_iodesc[] __initdata = {
|
|||||||
.virtual = (u32)OSIRIS_VA_CTRL1,
|
.virtual = (u32)OSIRIS_VA_CTRL1,
|
||||||
.pfn = __phys_to_pfn(OSIRIS_PA_CTRL1),
|
.pfn = __phys_to_pfn(OSIRIS_PA_CTRL1),
|
||||||
.length = SZ_16K,
|
.length = SZ_16K,
|
||||||
.type = MT_DEVICE
|
.type = MT_DEVICE,
|
||||||
}, {
|
}, {
|
||||||
.virtual = (u32)OSIRIS_VA_CTRL2,
|
.virtual = (u32)OSIRIS_VA_CTRL2,
|
||||||
.pfn = __phys_to_pfn(OSIRIS_PA_CTRL2),
|
.pfn = __phys_to_pfn(OSIRIS_PA_CTRL2),
|
||||||
.length = SZ_16K,
|
.length = SZ_16K,
|
||||||
.type = MT_DEVICE
|
.type = MT_DEVICE,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -91,7 +91,7 @@ static struct s3c24xx_uart_clksrc osiris_serial_clocks[] = {
|
|||||||
.name = "pclk",
|
.name = "pclk",
|
||||||
.divisor = 1,
|
.divisor = 1,
|
||||||
.min_baud = 0,
|
.min_baud = 0,
|
||||||
.max_baud = 0.
|
.max_baud = 0,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -103,7 +103,7 @@ static struct s3c2410_uartcfg osiris_uartcfgs[] __initdata = {
|
|||||||
.ulcon = ULCON,
|
.ulcon = ULCON,
|
||||||
.ufcon = UFCON,
|
.ufcon = UFCON,
|
||||||
.clocks = osiris_serial_clocks,
|
.clocks = osiris_serial_clocks,
|
||||||
.clocks_size = ARRAY_SIZE(osiris_serial_clocks)
|
.clocks_size = ARRAY_SIZE(osiris_serial_clocks),
|
||||||
},
|
},
|
||||||
[1] = {
|
[1] = {
|
||||||
.hwport = 1,
|
.hwport = 1,
|
||||||
@ -112,7 +112,7 @@ static struct s3c2410_uartcfg osiris_uartcfgs[] __initdata = {
|
|||||||
.ulcon = ULCON,
|
.ulcon = ULCON,
|
||||||
.ufcon = UFCON,
|
.ufcon = UFCON,
|
||||||
.clocks = osiris_serial_clocks,
|
.clocks = osiris_serial_clocks,
|
||||||
.clocks_size = ARRAY_SIZE(osiris_serial_clocks)
|
.clocks_size = ARRAY_SIZE(osiris_serial_clocks),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -126,7 +126,7 @@ static struct mtd_partition osiris_default_nand_part[] = {
|
|||||||
[0] = {
|
[0] = {
|
||||||
.name = "Boot Agent",
|
.name = "Boot Agent",
|
||||||
.size = SZ_16K,
|
.size = SZ_16K,
|
||||||
.offset = 0
|
.offset = 0,
|
||||||
},
|
},
|
||||||
[1] = {
|
[1] = {
|
||||||
.name = "/boot",
|
.name = "/boot",
|
||||||
@ -158,21 +158,21 @@ static struct s3c2410_nand_set osiris_nand_sets[] = {
|
|||||||
.nr_chips = 1,
|
.nr_chips = 1,
|
||||||
.nr_map = external_map,
|
.nr_map = external_map,
|
||||||
.nr_partitions = ARRAY_SIZE(osiris_default_nand_part),
|
.nr_partitions = ARRAY_SIZE(osiris_default_nand_part),
|
||||||
.partitions = osiris_default_nand_part
|
.partitions = osiris_default_nand_part,
|
||||||
},
|
},
|
||||||
[0] = {
|
[0] = {
|
||||||
.name = "chip0",
|
.name = "chip0",
|
||||||
.nr_chips = 1,
|
.nr_chips = 1,
|
||||||
.nr_map = chip0_map,
|
.nr_map = chip0_map,
|
||||||
.nr_partitions = ARRAY_SIZE(osiris_default_nand_part),
|
.nr_partitions = ARRAY_SIZE(osiris_default_nand_part),
|
||||||
.partitions = osiris_default_nand_part
|
.partitions = osiris_default_nand_part,
|
||||||
},
|
},
|
||||||
[2] = {
|
[2] = {
|
||||||
.name = "chip1",
|
.name = "chip1",
|
||||||
.nr_chips = 1,
|
.nr_chips = 1,
|
||||||
.nr_map = chip1_map,
|
.nr_map = chip1_map,
|
||||||
.nr_partitions = ARRAY_SIZE(osiris_default_nand_part),
|
.nr_partitions = ARRAY_SIZE(osiris_default_nand_part),
|
||||||
.partitions = osiris_default_nand_part
|
.partitions = osiris_default_nand_part,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -245,7 +245,7 @@ static struct s3c24xx_board osiris_board __initdata = {
|
|||||||
.devices = osiris_devices,
|
.devices = osiris_devices,
|
||||||
.devices_count = ARRAY_SIZE(osiris_devices),
|
.devices_count = ARRAY_SIZE(osiris_devices),
|
||||||
.clocks = osiris_clocks,
|
.clocks = osiris_clocks,
|
||||||
.clocks_count = ARRAY_SIZE(osiris_clocks)
|
.clocks_count = ARRAY_SIZE(osiris_clocks),
|
||||||
};
|
};
|
||||||
|
|
||||||
static void __init osiris_map_io(void)
|
static void __init osiris_map_io(void)
|
||||||
|
@ -83,8 +83,8 @@ static struct scoop_pcmcia_config collie_pcmcia_config = {
|
|||||||
|
|
||||||
|
|
||||||
static struct mcp_plat_data collie_mcp_data = {
|
static struct mcp_plat_data collie_mcp_data = {
|
||||||
.mccr0 = MCCR0_ADM,
|
.mccr0 = MCCR0_ADM | MCCR0_ExtClk,
|
||||||
.sclk_rate = 11981000,
|
.sclk_rate = 9216000,
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_SHARP_LOCOMO
|
#ifdef CONFIG_SHARP_LOCOMO
|
||||||
|
@ -9,6 +9,9 @@
|
|||||||
* Li-ion batteries are angry beasts, and they like to explode. This driver is not finished,
|
* Li-ion batteries are angry beasts, and they like to explode. This driver is not finished,
|
||||||
* and sometimes charges them when it should not. If it makes angry lithium to come your way...
|
* and sometimes charges them when it should not. If it makes angry lithium to come your way...
|
||||||
* ...well, you have been warned.
|
* ...well, you have been warned.
|
||||||
|
*
|
||||||
|
* Actually, this should be quite safe, it seems sharp leaves charger enabled by default,
|
||||||
|
* and my collie did not explode (yet).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
@ -40,9 +43,8 @@ static void collie_charger_init(void)
|
|||||||
{
|
{
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
if (sharpsl_param.adadj != -1) {
|
if (sharpsl_param.adadj != -1)
|
||||||
ad_revise = sharpsl_param.adadj;
|
ad_revise = sharpsl_param.adadj;
|
||||||
}
|
|
||||||
|
|
||||||
/* Register interrupt handler. */
|
/* Register interrupt handler. */
|
||||||
if ((err = request_irq(COLLIE_IRQ_GPIO_AC_IN, sharpsl_ac_isr, IRQF_DISABLED,
|
if ((err = request_irq(COLLIE_IRQ_GPIO_AC_IN, sharpsl_ac_isr, IRQF_DISABLED,
|
||||||
@ -72,27 +74,17 @@ static void collie_measure_temp(int on)
|
|||||||
|
|
||||||
static void collie_charge(int on)
|
static void collie_charge(int on)
|
||||||
{
|
{
|
||||||
if (on) {
|
extern struct platform_device colliescoop_device;
|
||||||
printk("Should start charger\n");
|
|
||||||
} else {
|
|
||||||
printk("Should stop charger\n");
|
|
||||||
}
|
|
||||||
#ifdef I_AM_SURE
|
|
||||||
|
|
||||||
/* Zaurus seems to contain LTC1731 ; it should know when to
|
/* Zaurus seems to contain LTC1731; it should know when to
|
||||||
* stop charging itself, so setting charge on should be
|
* stop charging itself, so setting charge on should be
|
||||||
* relatively harmless (as long as it is not done too often).
|
* relatively harmless (as long as it is not done too often).
|
||||||
*/
|
*/
|
||||||
#define CF_BUF_CTRL_BASE 0xF0800000
|
|
||||||
#define SCOOP_REG(adr) (*(volatile unsigned short*)(CF_BUF_CTRL_BASE+(adr)))
|
|
||||||
#define SCOOP_REG_GPWR SCOOP_REG(SCOOP_GPWR)
|
|
||||||
|
|
||||||
if (on) {
|
if (on) {
|
||||||
set_scoop_gpio(&colliescoop_device.dev, COLLIE_SCP_CHARGE_ON);
|
set_scoop_gpio(&colliescoop_device.dev, COLLIE_SCP_CHARGE_ON);
|
||||||
} else {
|
} else {
|
||||||
reset_scoop_gpio(&colliescoop_device.dev, COLLIE_SCP_CHARGE_ON);
|
reset_scoop_gpio(&colliescoop_device.dev, COLLIE_SCP_CHARGE_ON);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void collie_discharge(int on)
|
static void collie_discharge(int on)
|
||||||
@ -127,7 +119,6 @@ int collie_read_backup_battery(void)
|
|||||||
|
|
||||||
ucb1x00_adc_enable(ucb);
|
ucb1x00_adc_enable(ucb);
|
||||||
|
|
||||||
/* Gives 75..130 */
|
|
||||||
ucb1x00_io_write(ucb, COLLIE_TC35143_GPIO_BBAT_ON, 0);
|
ucb1x00_io_write(ucb, COLLIE_TC35143_GPIO_BBAT_ON, 0);
|
||||||
voltage = ucb1x00_adc_read(ucb, UCB_ADC_INP_AD1, UCB_SYNC);
|
voltage = ucb1x00_adc_read(ucb, UCB_ADC_INP_AD1, UCB_SYNC);
|
||||||
|
|
||||||
@ -146,9 +137,8 @@ int collie_read_main_battery(void)
|
|||||||
ucb1x00_adc_enable(ucb);
|
ucb1x00_adc_enable(ucb);
|
||||||
ucb1x00_io_write(ucb, 0, COLLIE_TC35143_GPIO_BBAT_ON);
|
ucb1x00_io_write(ucb, 0, COLLIE_TC35143_GPIO_BBAT_ON);
|
||||||
ucb1x00_io_write(ucb, COLLIE_TC35143_GPIO_MBAT_ON, 0);
|
ucb1x00_io_write(ucb, COLLIE_TC35143_GPIO_MBAT_ON, 0);
|
||||||
/* gives values 160..255 with battery removed... and
|
|
||||||
145..255 with battery inserted. (on AC), goes as low as
|
mdelay(1);
|
||||||
80 on DC. */
|
|
||||||
voltage = ucb1x00_adc_read(ucb, UCB_ADC_INP_AD1, UCB_SYNC);
|
voltage = ucb1x00_adc_read(ucb, UCB_ADC_INP_AD1, UCB_SYNC);
|
||||||
|
|
||||||
ucb1x00_io_write(ucb, 0, COLLIE_TC35143_GPIO_MBAT_ON);
|
ucb1x00_io_write(ucb, 0, COLLIE_TC35143_GPIO_MBAT_ON);
|
||||||
@ -192,7 +182,7 @@ static unsigned long read_devdata(int which)
|
|||||||
case SHARPSL_BATT_TEMP:
|
case SHARPSL_BATT_TEMP:
|
||||||
return collie_read_temp();
|
return collie_read_temp();
|
||||||
case SHARPSL_ACIN_VOLT:
|
case SHARPSL_ACIN_VOLT:
|
||||||
return 0x1;
|
return 500;
|
||||||
case SHARPSL_STATUS_ACIN: {
|
case SHARPSL_STATUS_ACIN: {
|
||||||
int ret = GPLR & COLLIE_GPIO_AC_IN;
|
int ret = GPLR & COLLIE_GPIO_AC_IN;
|
||||||
printk("AC status = %d\n", ret);
|
printk("AC status = %d\n", ret);
|
||||||
@ -208,10 +198,33 @@ static unsigned long read_devdata(int which)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct battery_thresh collie_battery_levels_acin[] = {
|
||||||
|
{ 420, 100},
|
||||||
|
{ 417, 95},
|
||||||
|
{ 415, 90},
|
||||||
|
{ 413, 80},
|
||||||
|
{ 411, 75},
|
||||||
|
{ 408, 70},
|
||||||
|
{ 406, 60},
|
||||||
|
{ 403, 50},
|
||||||
|
{ 398, 40},
|
||||||
|
{ 391, 25},
|
||||||
|
{ 10, 5},
|
||||||
|
{ 0, 0},
|
||||||
|
};
|
||||||
|
|
||||||
struct battery_thresh collie_battery_levels[] = {
|
struct battery_thresh collie_battery_levels[] = {
|
||||||
{ 368, 100},
|
{ 394, 100},
|
||||||
{ 358, 25},
|
{ 390, 95},
|
||||||
{ 356, 5},
|
{ 380, 90},
|
||||||
|
{ 370, 80},
|
||||||
|
{ 368, 75}, /* From sharp code: battery high with frontlight */
|
||||||
|
{ 366, 70}, /* 60..90 -- fake values invented by me for testing */
|
||||||
|
{ 364, 60},
|
||||||
|
{ 362, 50},
|
||||||
|
{ 360, 40},
|
||||||
|
{ 358, 25}, /* From sharp code: battery low with frontlight */
|
||||||
|
{ 356, 5}, /* From sharp code: battery verylow with frontlight */
|
||||||
{ 0, 0},
|
{ 0, 0},
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -226,13 +239,21 @@ struct sharpsl_charger_machinfo collie_pm_machinfo = {
|
|||||||
.postsuspend = collie_postsuspend,
|
.postsuspend = collie_postsuspend,
|
||||||
.charger_wakeup = collie_charger_wakeup,
|
.charger_wakeup = collie_charger_wakeup,
|
||||||
.should_wakeup = collie_should_wakeup,
|
.should_wakeup = collie_should_wakeup,
|
||||||
.bat_levels = 3,
|
.bat_levels = 12,
|
||||||
.bat_levels_noac = collie_battery_levels,
|
.bat_levels_noac = collie_battery_levels,
|
||||||
.bat_levels_acin = collie_battery_levels,
|
.bat_levels_acin = collie_battery_levels_acin,
|
||||||
.status_high_acin = 368,
|
.status_high_acin = 368,
|
||||||
.status_low_acin = 358,
|
.status_low_acin = 358,
|
||||||
.status_high_noac = 368,
|
.status_high_noac = 368,
|
||||||
.status_low_noac = 358,
|
.status_low_noac = 358,
|
||||||
|
.charge_on_volt = 350, /* spitz uses 2.90V, but lets play it safe. */
|
||||||
|
.charge_on_temp = 550,
|
||||||
|
.charge_acin_high = 550, /* collie does not seem to have sensor for this, anyway */
|
||||||
|
.charge_acin_low = 450, /* ignored, too */
|
||||||
|
.fatal_acin_volt = 356,
|
||||||
|
.fatal_noacin_volt = 356,
|
||||||
|
|
||||||
|
.batfull_irq = 1, /* We do not want periodical charge restarts */
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init collie_pm_ucb_add(struct ucb1x00_dev *pdev)
|
static int __init collie_pm_ucb_add(struct ucb1x00_dev *pdev)
|
||||||
|
@ -95,7 +95,8 @@ static int sa1100_low_gpio_wake(unsigned int irq, unsigned int on)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip sa1100_low_gpio_chip = {
|
static struct irq_chip sa1100_low_gpio_chip = {
|
||||||
|
.name = "GPIO-l",
|
||||||
.ack = sa1100_low_gpio_ack,
|
.ack = sa1100_low_gpio_ack,
|
||||||
.mask = sa1100_low_gpio_mask,
|
.mask = sa1100_low_gpio_mask,
|
||||||
.unmask = sa1100_low_gpio_unmask,
|
.unmask = sa1100_low_gpio_unmask,
|
||||||
@ -178,7 +179,8 @@ static int sa1100_high_gpio_wake(unsigned int irq, unsigned int on)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip sa1100_high_gpio_chip = {
|
static struct irq_chip sa1100_high_gpio_chip = {
|
||||||
|
.name = "GPIO-h",
|
||||||
.ack = sa1100_high_gpio_ack,
|
.ack = sa1100_high_gpio_ack,
|
||||||
.mask = sa1100_high_gpio_mask,
|
.mask = sa1100_high_gpio_mask,
|
||||||
.unmask = sa1100_high_gpio_unmask,
|
.unmask = sa1100_high_gpio_unmask,
|
||||||
@ -215,7 +217,8 @@ static int sa1100_set_wake(unsigned int irq, unsigned int on)
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip sa1100_normal_chip = {
|
static struct irq_chip sa1100_normal_chip = {
|
||||||
|
.name = "SC",
|
||||||
.ack = sa1100_mask_irq,
|
.ack = sa1100_mask_irq,
|
||||||
.mask = sa1100_mask_irq,
|
.mask = sa1100_mask_irq,
|
||||||
.unmask = sa1100_unmask_irq,
|
.unmask = sa1100_unmask_irq,
|
||||||
|
@ -69,7 +69,8 @@ static irqreturn_t bogus_int(int irq, void *dev_id, struct pt_regs *regs)
|
|||||||
|
|
||||||
static struct irqaction cascade;
|
static struct irqaction cascade;
|
||||||
|
|
||||||
static struct irqchip fb_chip = {
|
static struct irq_chip fb_chip = {
|
||||||
|
.name = "XT-PIC",
|
||||||
.ack = shark_ack_8259A_irq,
|
.ack = shark_ack_8259A_irq,
|
||||||
.mask = shark_disable_8259A_irq,
|
.mask = shark_disable_8259A_irq,
|
||||||
.unmask = shark_enable_8259A_irq,
|
.unmask = shark_enable_8259A_irq,
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
#include <asm/hardware/arm_timer.h>
|
#include <asm/hardware/arm_timer.h>
|
||||||
#include <asm/hardware/icst307.h>
|
#include <asm/hardware/icst307.h>
|
||||||
#include <asm/hardware/vic.h>
|
#include <asm/hardware/vic.h>
|
||||||
|
#include <asm/mach-types.h>
|
||||||
|
|
||||||
#include <asm/mach/arch.h>
|
#include <asm/mach/arch.h>
|
||||||
#include <asm/mach/flash.h>
|
#include <asm/mach/flash.h>
|
||||||
@ -68,7 +69,8 @@ static void sic_unmask_irq(unsigned int irq)
|
|||||||
writel(1 << irq, VA_SIC_BASE + SIC_IRQ_ENABLE_SET);
|
writel(1 << irq, VA_SIC_BASE + SIC_IRQ_ENABLE_SET);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip sic_chip = {
|
static struct irq_chip sic_chip = {
|
||||||
|
.name = "SIC",
|
||||||
.ack = sic_mask_irq,
|
.ack = sic_mask_irq,
|
||||||
.mask = sic_mask_irq,
|
.mask = sic_mask_irq,
|
||||||
.unmask = sic_unmask_irq,
|
.unmask = sic_unmask_irq,
|
||||||
@ -352,11 +354,7 @@ static const struct icst307_params versatile_oscvco_params = {
|
|||||||
static void versatile_oscvco_set(struct clk *clk, struct icst307_vco vco)
|
static void versatile_oscvco_set(struct clk *clk, struct icst307_vco vco)
|
||||||
{
|
{
|
||||||
void __iomem *sys_lock = __io_address(VERSATILE_SYS_BASE) + VERSATILE_SYS_LOCK_OFFSET;
|
void __iomem *sys_lock = __io_address(VERSATILE_SYS_BASE) + VERSATILE_SYS_LOCK_OFFSET;
|
||||||
#if defined(CONFIG_ARCH_VERSATILE_PB)
|
void __iomem *sys_osc = __io_address(VERSATILE_SYS_BASE) + VERSATILE_SYS_OSCCLCD_OFFSET;
|
||||||
void __iomem *sys_osc = __io_address(VERSATILE_SYS_BASE) + VERSATILE_SYS_OSC4_OFFSET;
|
|
||||||
#elif defined(CONFIG_MACH_VERSATILE_AB)
|
|
||||||
void __iomem *sys_osc = __io_address(VERSATILE_SYS_BASE) + VERSATILE_SYS_OSC1_OFFSET;
|
|
||||||
#endif
|
|
||||||
u32 val;
|
u32 val;
|
||||||
|
|
||||||
val = readl(sys_osc) & ~0x7ffff;
|
val = readl(sys_osc) & ~0x7ffff;
|
||||||
@ -529,7 +527,7 @@ static void versatile_clcd_disable(struct clcd_fb *fb)
|
|||||||
/*
|
/*
|
||||||
* If the LCD is Sanyo 2x5 in on the IB2 board, turn the back-light off
|
* If the LCD is Sanyo 2x5 in on the IB2 board, turn the back-light off
|
||||||
*/
|
*/
|
||||||
if (fb->panel == &sanyo_2_5_in) {
|
if (machine_is_versatile_ab() && fb->panel == &sanyo_2_5_in) {
|
||||||
void __iomem *versatile_ib2_ctrl = __io_address(VERSATILE_IB2_CTRL);
|
void __iomem *versatile_ib2_ctrl = __io_address(VERSATILE_IB2_CTRL);
|
||||||
unsigned long ctrl;
|
unsigned long ctrl;
|
||||||
|
|
||||||
@ -578,7 +576,7 @@ static void versatile_clcd_enable(struct clcd_fb *fb)
|
|||||||
/*
|
/*
|
||||||
* If the LCD is Sanyo 2x5 in on the IB2 board, turn the back-light on
|
* If the LCD is Sanyo 2x5 in on the IB2 board, turn the back-light on
|
||||||
*/
|
*/
|
||||||
if (fb->panel == &sanyo_2_5_in) {
|
if (machine_is_versatile_ab() && fb->panel == &sanyo_2_5_in) {
|
||||||
void __iomem *versatile_ib2_ctrl = __io_address(VERSATILE_IB2_CTRL);
|
void __iomem *versatile_ib2_ctrl = __io_address(VERSATILE_IB2_CTRL);
|
||||||
unsigned long ctrl;
|
unsigned long ctrl;
|
||||||
|
|
||||||
|
@ -363,7 +363,9 @@ EXPORT_SYMBOL(__ioremap);
|
|||||||
|
|
||||||
void __iounmap(void __iomem *addr)
|
void __iounmap(void __iomem *addr)
|
||||||
{
|
{
|
||||||
|
#ifndef CONFIG_SMP
|
||||||
struct vm_struct **p, *tmp;
|
struct vm_struct **p, *tmp;
|
||||||
|
#endif
|
||||||
unsigned int section_mapping = 0;
|
unsigned int section_mapping = 0;
|
||||||
|
|
||||||
addr = (void __iomem *)(PAGE_MASK & (unsigned long)addr);
|
addr = (void __iomem *)(PAGE_MASK & (unsigned long)addr);
|
||||||
|
@ -13,6 +13,7 @@
|
|||||||
#include <asm/cacheflush.h>
|
#include <asm/cacheflush.h>
|
||||||
#include <asm/proc-fns.h>
|
#include <asm/proc-fns.h>
|
||||||
#include <asm/tlbflush.h>
|
#include <asm/tlbflush.h>
|
||||||
|
#include <asm/page.h>
|
||||||
|
|
||||||
#ifndef MULTI_CPU
|
#ifndef MULTI_CPU
|
||||||
EXPORT_SYMBOL(cpu_dcache_clean_area);
|
EXPORT_SYMBOL(cpu_dcache_clean_area);
|
||||||
@ -30,6 +31,13 @@ EXPORT_SYMBOL(__cpuc_coherent_kern_range);
|
|||||||
EXPORT_SYMBOL(cpu_cache);
|
EXPORT_SYMBOL(cpu_cache);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef MULTI_USER
|
||||||
|
EXPORT_SYMBOL(__cpu_clear_user_page);
|
||||||
|
EXPORT_SYMBOL(__cpu_copy_user_page);
|
||||||
|
#else
|
||||||
|
EXPORT_SYMBOL(cpu_user);
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* No module should need to touch the TLB (and currently
|
* No module should need to touch the TLB (and currently
|
||||||
* no modules do. We export this for "loadkernel" support
|
* no modules do. We export this for "loadkernel" support
|
||||||
|
@ -536,6 +536,11 @@ cpu_80200_name:
|
|||||||
.asciz "XScale-80200"
|
.asciz "XScale-80200"
|
||||||
.size cpu_80200_name, . - cpu_80200_name
|
.size cpu_80200_name, . - cpu_80200_name
|
||||||
|
|
||||||
|
.type cpu_80219_name, #object
|
||||||
|
cpu_80219_name:
|
||||||
|
.asciz "XScale-80219"
|
||||||
|
.size cpu_80219_name, . - cpu_80219_name
|
||||||
|
|
||||||
.type cpu_8032x_name, #object
|
.type cpu_8032x_name, #object
|
||||||
cpu_8032x_name:
|
cpu_8032x_name:
|
||||||
.asciz "XScale-IOP8032x Family"
|
.asciz "XScale-IOP8032x Family"
|
||||||
@ -613,10 +618,33 @@ __80200_proc_info:
|
|||||||
.long xscale_cache_fns
|
.long xscale_cache_fns
|
||||||
.size __80200_proc_info, . - __80200_proc_info
|
.size __80200_proc_info, . - __80200_proc_info
|
||||||
|
|
||||||
|
.type __80219_proc_info,#object
|
||||||
|
__80219_proc_info:
|
||||||
|
.long 0x69052e20
|
||||||
|
.long 0xffffffe0
|
||||||
|
.long PMD_TYPE_SECT | \
|
||||||
|
PMD_SECT_BUFFERABLE | \
|
||||||
|
PMD_SECT_CACHEABLE | \
|
||||||
|
PMD_SECT_AP_WRITE | \
|
||||||
|
PMD_SECT_AP_READ
|
||||||
|
.long PMD_TYPE_SECT | \
|
||||||
|
PMD_SECT_AP_WRITE | \
|
||||||
|
PMD_SECT_AP_READ
|
||||||
|
b __xscale_setup
|
||||||
|
.long cpu_arch_name
|
||||||
|
.long cpu_elf_name
|
||||||
|
.long HWCAP_SWP|HWCAP_HALF|HWCAP_THUMB|HWCAP_FAST_MULT|HWCAP_EDSP
|
||||||
|
.long cpu_80219_name
|
||||||
|
.long xscale_processor_functions
|
||||||
|
.long v4wbi_tlb_fns
|
||||||
|
.long xscale_mc_user_fns
|
||||||
|
.long xscale_cache_fns
|
||||||
|
.size __80219_proc_info, . - __80219_proc_info
|
||||||
|
|
||||||
.type __8032x_proc_info,#object
|
.type __8032x_proc_info,#object
|
||||||
__8032x_proc_info:
|
__8032x_proc_info:
|
||||||
.long 0x69052420
|
.long 0x69052420
|
||||||
.long 0xfffff5e0 @ mask should accomodate IOP80219 also
|
.long 0xffffffe0
|
||||||
.long PMD_TYPE_SECT | \
|
.long PMD_TYPE_SECT | \
|
||||||
PMD_SECT_BUFFERABLE | \
|
PMD_SECT_BUFFERABLE | \
|
||||||
PMD_SECT_CACHEABLE | \
|
PMD_SECT_CACHEABLE | \
|
||||||
|
@ -61,7 +61,7 @@ typedef struct {
|
|||||||
u16 __padding;
|
u16 __padding;
|
||||||
#endif
|
#endif
|
||||||
u64 low;
|
u64 low;
|
||||||
} floatx80;
|
} __attribute__ ((packed,aligned(4))) floatx80;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
@ -944,7 +944,8 @@ static void mpuio_unmask_irq(unsigned int irq)
|
|||||||
_set_gpio_irqenable(bank, gpio, 1);
|
_set_gpio_irqenable(bank, gpio, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct irqchip gpio_irq_chip = {
|
static struct irq_chip gpio_irq_chip = {
|
||||||
|
.name = "GPIO",
|
||||||
.ack = gpio_ack_irq,
|
.ack = gpio_ack_irq,
|
||||||
.mask = gpio_mask_irq,
|
.mask = gpio_mask_irq,
|
||||||
.unmask = gpio_unmask_irq,
|
.unmask = gpio_unmask_irq,
|
||||||
@ -952,10 +953,11 @@ static struct irqchip gpio_irq_chip = {
|
|||||||
.set_wake = gpio_wake_enable,
|
.set_wake = gpio_wake_enable,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct irqchip mpuio_irq_chip = {
|
static struct irq_chip mpuio_irq_chip = {
|
||||||
|
.name = "MPUIO",
|
||||||
.ack = mpuio_ack_irq,
|
.ack = mpuio_ack_irq,
|
||||||
.mask = mpuio_mask_irq,
|
.mask = mpuio_mask_irq,
|
||||||
.unmask = mpuio_unmask_irq
|
.unmask = mpuio_unmask_irq
|
||||||
};
|
};
|
||||||
|
|
||||||
static int initialized;
|
static int initialized;
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include <linux/console.h>
|
#include <linux/console.h>
|
||||||
#include <linux/bootmem.h>
|
#include <linux/bootmem.h>
|
||||||
#include <linux/seq_file.h>
|
#include <linux/seq_file.h>
|
||||||
#include <linux/tty.h>
|
#include <linux/screen_info.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/root_dev.h>
|
#include <linux/root_dev.h>
|
||||||
|
|
||||||
|
@ -450,9 +450,9 @@ int __init eeprom_init(void)
|
|||||||
static int eeprom_open(struct inode * inode, struct file * file)
|
static int eeprom_open(struct inode * inode, struct file * file)
|
||||||
{
|
{
|
||||||
|
|
||||||
if(MINOR(inode->i_rdev) != EEPROM_MINOR_NR)
|
if(iminor(inode) != EEPROM_MINOR_NR)
|
||||||
return -ENXIO;
|
return -ENXIO;
|
||||||
if(MAJOR(inode->i_rdev) != EEPROM_MAJOR_NR)
|
if(imajor(inode) != EEPROM_MAJOR_NR)
|
||||||
return -ENXIO;
|
return -ENXIO;
|
||||||
|
|
||||||
if( eeprom.size > 0 )
|
if( eeprom.size > 0 )
|
||||||
|
@ -435,7 +435,7 @@ static int
|
|||||||
gpio_open(struct inode *inode, struct file *filp)
|
gpio_open(struct inode *inode, struct file *filp)
|
||||||
{
|
{
|
||||||
struct gpio_private *priv;
|
struct gpio_private *priv;
|
||||||
int p = MINOR(inode->i_rdev);
|
int p = iminor(inode);
|
||||||
|
|
||||||
if (p > GPIO_MINOR_LAST)
|
if (p > GPIO_MINOR_LAST)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user