mirror of https://gitee.com/openkylin/linux.git
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (31 commits) trivial: remove the trivial patch monkey's name from SubmittingPatches trivial: Fix a typo in comment of addrconf_dad_start() trivial: usb: fix missing space typo in doc trivial: pci hotplug: adding __init/__exit macros to sgi_hotplug trivial: Remove the hyphen from git commands trivial: fix ETIMEOUT -> ETIMEDOUT typos trivial: Kconfig: .ko is normally not included in module names trivial: SubmittingPatches: fix typo trivial: Documentation/dell_rbu.txt: fix typos trivial: Fix Pavel's address in MAINTAINERS trivial: ftrace:fix description of trace directory trivial: unnecessary (void*) cast removal in sound/oss/msnd.c trivial: input/misc: Fix typo in Kconfig trivial: fix grammo in bus_for_each_dev() kerneldoc trivial: rbtree.txt: fix rb_entry() parameters in sample code trivial: spelling fix in ppc code comments trivial: fix typo in bio_alloc kernel doc trivial: Documentation/rbtree.txt: cleanup kerneldoc of rbtree.txt trivial: Miscellaneous documentation typo fixes trivial: fix typo milisecond/millisecond for documentation and source comments. ...
This commit is contained in:
commit
489f7ab6c1
|
@ -3,7 +3,7 @@
|
||||||
# subdirectories here. Add them in the ".gitignore" file
|
# subdirectories here. Add them in the ".gitignore" file
|
||||||
# in that subdirectory instead.
|
# in that subdirectory instead.
|
||||||
#
|
#
|
||||||
# NOTE! Please use 'git-ls-files -i --exclude-standard'
|
# NOTE! Please use 'git ls-files -i --exclude-standard'
|
||||||
# command after changing this file, to see if there are
|
# command after changing this file, to see if there are
|
||||||
# any tracked files which get ignored after the change.
|
# any tracked files which get ignored after the change.
|
||||||
#
|
#
|
||||||
|
|
|
@ -698,8 +698,8 @@ very often is not. Abundant use of the inline keyword leads to a much bigger
|
||||||
kernel, which in turn slows the system as a whole down, due to a bigger
|
kernel, which in turn slows the system as a whole down, due to a bigger
|
||||||
icache footprint for the CPU and simply because there is less memory
|
icache footprint for the CPU and simply because there is less memory
|
||||||
available for the pagecache. Just think about it; a pagecache miss causes a
|
available for the pagecache. Just think about it; a pagecache miss causes a
|
||||||
disk seek, which easily takes 5 miliseconds. There are a LOT of cpu cycles
|
disk seek, which easily takes 5 milliseconds. There are a LOT of cpu cycles
|
||||||
that can go into these 5 miliseconds.
|
that can go into these 5 milliseconds.
|
||||||
|
|
||||||
A reasonable rule of thumb is to not put inline at functions that have more
|
A reasonable rule of thumb is to not put inline at functions that have more
|
||||||
than 3 lines of code in them. An exception to this rule are the cases where
|
than 3 lines of code in them. An exception to this rule are the cases where
|
||||||
|
|
|
@ -676,8 +676,8 @@ this directory the following files can currently be found:
|
||||||
dma-api/all_errors This file contains a numeric value. If this
|
dma-api/all_errors This file contains a numeric value. If this
|
||||||
value is not equal to zero the debugging code
|
value is not equal to zero the debugging code
|
||||||
will print a warning for every error it finds
|
will print a warning for every error it finds
|
||||||
into the kernel log. Be carefull with this
|
into the kernel log. Be careful with this
|
||||||
option. It can easily flood your logs.
|
option, as it can easily flood your logs.
|
||||||
|
|
||||||
dma-api/disabled This read-only file contains the character 'Y'
|
dma-api/disabled This read-only file contains the character 'Y'
|
||||||
if the debugging code is disabled. This can
|
if the debugging code is disabled. This can
|
||||||
|
|
|
@ -118,7 +118,7 @@ to another chain) checking the final 'nulls' value if
|
||||||
the lookup met the end of chain. If final 'nulls' value
|
the lookup met the end of chain. If final 'nulls' value
|
||||||
is not the slot number, then we must restart the lookup at
|
is not the slot number, then we must restart the lookup at
|
||||||
the beginning. If the object was moved to the same chain,
|
the beginning. If the object was moved to the same chain,
|
||||||
then the reader doesnt care : It might eventually
|
then the reader doesn't care : It might eventually
|
||||||
scan the list again without harm.
|
scan the list again without harm.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ Copyright 2006, 2007 Simtec Electronics
|
||||||
|
|
||||||
The Silicon Motion SM501 multimedia companion chip is a multifunction device
|
The Silicon Motion SM501 multimedia companion chip is a multifunction device
|
||||||
which may provide numerous interfaces including USB host controller USB gadget,
|
which may provide numerous interfaces including USB host controller USB gadget,
|
||||||
Asyncronous Serial ports, Audio functions and a dual display video interface.
|
asynchronous serial ports, audio functions, and a dual display video interface.
|
||||||
The device may be connected by PCI or local bus with varying functions enabled.
|
The device may be connected by PCI or local bus with varying functions enabled.
|
||||||
|
|
||||||
Core
|
Core
|
||||||
|
|
|
@ -187,8 +187,9 @@ Even if the maintainer did not respond in step #4, make sure to ALWAYS
|
||||||
copy the maintainer when you change their code.
|
copy the maintainer when you change their code.
|
||||||
|
|
||||||
For small patches you may want to CC the Trivial Patch Monkey
|
For small patches you may want to CC the Trivial Patch Monkey
|
||||||
trivial@kernel.org managed by Jesper Juhl; which collects "trivial"
|
trivial@kernel.org which collects "trivial" patches. Have a look
|
||||||
patches. Trivial patches must qualify for one of the following rules:
|
into the MAINTAINERS file for its current manager.
|
||||||
|
Trivial patches must qualify for one of the following rules:
|
||||||
Spelling fixes in documentation
|
Spelling fixes in documentation
|
||||||
Spelling fixes which could break grep(1)
|
Spelling fixes which could break grep(1)
|
||||||
Warning fixes (cluttering with useless warnings is bad)
|
Warning fixes (cluttering with useless warnings is bad)
|
||||||
|
@ -200,7 +201,6 @@ patches. Trivial patches must qualify for one of the following rules:
|
||||||
since people copy, as long as it's trivial)
|
since people copy, as long as it's trivial)
|
||||||
Any fix by the author/maintainer of the file (ie. patch monkey
|
Any fix by the author/maintainer of the file (ie. patch monkey
|
||||||
in re-transmission mode)
|
in re-transmission mode)
|
||||||
URL: <http://www.kernel.org/pub/linux/kernel/people/juhl/trivial/>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ same criteria as reads.
|
||||||
front_merges (bool)
|
front_merges (bool)
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Sometimes it happens that a request enters the io scheduler that is contigious
|
Sometimes it happens that a request enters the io scheduler that is contiguous
|
||||||
with a request that is already on the queue. Either it fits in the back of that
|
with a request that is already on the queue. Either it fits in the back of that
|
||||||
request, or it fits at the front. That is called either a back merge candidate
|
request, or it fits at the front. That is called either a back merge candidate
|
||||||
or a front merge candidate. Due to the way files are typically laid out,
|
or a front merge candidate. Due to the way files are typically laid out,
|
||||||
|
|
|
@ -27,7 +27,7 @@ parameter.
|
||||||
|
|
||||||
For simplicity, only one braille console can be enabled, other uses of
|
For simplicity, only one braille console can be enabled, other uses of
|
||||||
console=brl,... will be discarded. Also note that it does not interfere with
|
console=brl,... will be discarded. Also note that it does not interfere with
|
||||||
the console selection mecanism described in serial-console.txt
|
the console selection mechanism described in serial-console.txt
|
||||||
|
|
||||||
For now, only the VisioBraille device is supported.
|
For now, only the VisioBraille device is supported.
|
||||||
|
|
||||||
|
|
|
@ -76,9 +76,9 @@ Do the steps below to download the BIOS image.
|
||||||
|
|
||||||
The /sys/class/firmware/dell_rbu/ entries will remain till the following is
|
The /sys/class/firmware/dell_rbu/ entries will remain till the following is
|
||||||
done.
|
done.
|
||||||
echo -1 > /sys/class/firmware/dell_rbu/loading.
|
echo -1 > /sys/class/firmware/dell_rbu/loading
|
||||||
Until this step is completed the driver cannot be unloaded.
|
Until this step is completed the driver cannot be unloaded.
|
||||||
Also echoing either mono ,packet or init in to image_type will free up the
|
Also echoing either mono, packet or init in to image_type will free up the
|
||||||
memory allocated by the driver.
|
memory allocated by the driver.
|
||||||
|
|
||||||
If a user by accident executes steps 1 and 3 above without executing step 2;
|
If a user by accident executes steps 1 and 3 above without executing step 2;
|
||||||
|
|
|
@ -188,7 +188,7 @@ For example, you can do something like the following.
|
||||||
|
|
||||||
void my_midlayer_destroy_something()
|
void my_midlayer_destroy_something()
|
||||||
{
|
{
|
||||||
devres_release_group(dev, my_midlayer_create_soemthing);
|
devres_release_group(dev, my_midlayer_create_something);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,8 @@ first time, it was renamed to 'EDAC'.
|
||||||
The bluesmoke project at sourceforge.net is now utilized as a 'staging area'
|
The bluesmoke project at sourceforge.net is now utilized as a 'staging area'
|
||||||
for EDAC development, before it is sent upstream to kernel.org
|
for EDAC development, before it is sent upstream to kernel.org
|
||||||
|
|
||||||
At the bluesmoke/EDAC project site, is a series of quilt patches against
|
At the bluesmoke/EDAC project site is a series of quilt patches against
|
||||||
recent kernels, stored in a SVN respository. For easier downloading, there
|
recent kernels, stored in a SVN repository. For easier downloading, there
|
||||||
is also a tarball snapshot available.
|
is also a tarball snapshot available.
|
||||||
|
|
||||||
============================================================================
|
============================================================================
|
||||||
|
@ -73,9 +73,9 @@ 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.
|
||||||
|
|
||||||
In the kernel there is a pci device attribute located in sysfs that is
|
In the kernel there is a PCI device attribute located in sysfs that is
|
||||||
checked by the EDAC PCI scanning code. If that attribute is set,
|
checked by the EDAC PCI scanning code. If that attribute is set,
|
||||||
PCI parity/error scannining is skipped for that device. The attribute
|
PCI parity/error scanning is skipped for that device. The attribute
|
||||||
is:
|
is:
|
||||||
|
|
||||||
broken_parity_status
|
broken_parity_status
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
SH7760/SH7763 integrated LCDC Framebuffer driver
|
SH7760/SH7763 integrated LCDC Framebuffer driver
|
||||||
================================================
|
================================================
|
||||||
|
|
||||||
0. Overwiew
|
0. Overview
|
||||||
-----------
|
-----------
|
||||||
The SH7760/SH7763 have an integrated LCD Display controller (LCDC) which
|
The SH7760/SH7763 have an integrated LCD Display controller (LCDC) which
|
||||||
supports (in theory) resolutions ranging from 1x1 to 1024x1024,
|
supports (in theory) resolutions ranging from 1x1 to 1024x1024,
|
||||||
|
|
|
@ -369,7 +369,7 @@ The call requires an initialized struct autofs_dev_ioctl. There are two
|
||||||
possible variations. Both use the path field set to the path of the mount
|
possible variations. Both use the path field set to the path of the mount
|
||||||
point to check and the size field adjusted appropriately. One uses the
|
point to check and the size field adjusted appropriately. One uses the
|
||||||
ioctlfd field to identify a specific mount point to check while the other
|
ioctlfd field to identify a specific mount point to check while the other
|
||||||
variation uses the path and optionaly arg1 set to an autofs mount type.
|
variation uses the path and optionally arg1 set to an autofs mount type.
|
||||||
The call returns 1 if this is a mount point and sets arg1 to the device
|
The call returns 1 if this is a mount point and sets arg1 to the device
|
||||||
number of the mount and field arg2 to the relevant super block magic
|
number of the mount and field arg2 to the relevant super block magic
|
||||||
number (described below) or 0 if it isn't a mountpoint. In both cases
|
number (described below) or 0 if it isn't a mountpoint. In both cases
|
||||||
|
|
|
@ -184,7 +184,7 @@ This has the following fields:
|
||||||
have index children.
|
have index children.
|
||||||
|
|
||||||
If this function is not supplied or if it returns NULL then the first
|
If this function is not supplied or if it returns NULL then the first
|
||||||
cache in the parent's list will be chosed, or failing that, the first
|
cache in the parent's list will be chosen, or failing that, the first
|
||||||
cache in the master list.
|
cache in the master list.
|
||||||
|
|
||||||
(4) A function to retrieve an object's key from the netfs [mandatory].
|
(4) A function to retrieve an object's key from the netfs [mandatory].
|
||||||
|
|
|
@ -294,7 +294,7 @@ max_batch_time=usec Maximum amount of time ext4 should wait for
|
||||||
amount of time (on average) that it takes to
|
amount of time (on average) that it takes to
|
||||||
finish committing a transaction. Call this time
|
finish committing a transaction. Call this time
|
||||||
the "commit time". If the time that the
|
the "commit time". If the time that the
|
||||||
transactoin has been running is less than the
|
transaction has been running is less than the
|
||||||
commit time, ext4 will try sleeping for the
|
commit time, ext4 will try sleeping for the
|
||||||
commit time to see if other operations will join
|
commit time to see if other operations will join
|
||||||
the transaction. The commit time is capped by
|
the transaction. The commit time is capped by
|
||||||
|
@ -328,7 +328,7 @@ noauto_da_alloc replacing existing files via patterns such as
|
||||||
journal commit, in the default data=ordered
|
journal commit, in the default data=ordered
|
||||||
mode, the data blocks of the new file are forced
|
mode, the data blocks of the new file are forced
|
||||||
to disk before the rename() operation is
|
to disk before the rename() operation is
|
||||||
commited. This provides roughly the same level
|
committed. This provides roughly the same level
|
||||||
of guarantees as ext3, and avoids the
|
of guarantees as ext3, and avoids the
|
||||||
"zero-length" problem that can happen when a
|
"zero-length" problem that can happen when a
|
||||||
system crashes before the delayed allocation
|
system crashes before the delayed allocation
|
||||||
|
@ -358,7 +358,7 @@ written to the journal first, and then to its final location.
|
||||||
In the event of a crash, the journal can be replayed, bringing both data and
|
In the event of a crash, the journal can be replayed, bringing both data and
|
||||||
metadata into a consistent state. This mode is the slowest except when data
|
metadata into a consistent state. This mode is the slowest except when data
|
||||||
needs to be read from and written to disk at the same time where it
|
needs to be read from and written to disk at the same time where it
|
||||||
outperforms all others modes. Curently ext4 does not have delayed
|
outperforms all others modes. Currently ext4 does not have delayed
|
||||||
allocation support if this data journalling mode is selected.
|
allocation support if this data journalling mode is selected.
|
||||||
|
|
||||||
References
|
References
|
||||||
|
|
|
@ -204,7 +204,7 @@ fiemap_check_flags() helper:
|
||||||
|
|
||||||
int fiemap_check_flags(struct fiemap_extent_info *fieinfo, u32 fs_flags);
|
int fiemap_check_flags(struct fiemap_extent_info *fieinfo, u32 fs_flags);
|
||||||
|
|
||||||
The struct fieinfo should be passed in as recieved from ioctl_fiemap(). The
|
The struct fieinfo should be passed in as received from ioctl_fiemap(). The
|
||||||
set of fiemap flags which the fs understands should be passed via fs_flags. If
|
set of fiemap flags which the fs understands should be passed via fs_flags. If
|
||||||
fiemap_check_flags finds invalid user flags, it will place the bad values in
|
fiemap_check_flags finds invalid user flags, it will place the bad values in
|
||||||
fieinfo->fi_flags and return -EBADR. If the file system gets -EBADR, from
|
fieinfo->fi_flags and return -EBADR. If the file system gets -EBADR, from
|
||||||
|
|
|
@ -100,7 +100,7 @@ Installation
|
||||||
$ sudo cp utils/mount/mount.nfs /sbin/mount.nfs
|
$ sudo cp utils/mount/mount.nfs /sbin/mount.nfs
|
||||||
|
|
||||||
In this location, mount.nfs will be invoked automatically for NFS mounts
|
In this location, mount.nfs will be invoked automatically for NFS mounts
|
||||||
by the system mount commmand.
|
by the system mount command.
|
||||||
|
|
||||||
NOTE: mount.nfs and therefore nfs-utils-1.1.2 or greater is only needed
|
NOTE: mount.nfs and therefore nfs-utils-1.1.2 or greater is only needed
|
||||||
on the NFS client machine. You do not need this specific version of
|
on the NFS client machine. You do not need this specific version of
|
||||||
|
|
|
@ -366,7 +366,7 @@ just those considered 'most important'. The new vectors are:
|
||||||
RES, CAL, TLB -- rescheduling, call and TLB flush interrupts are
|
RES, CAL, TLB -- rescheduling, call and TLB flush interrupts are
|
||||||
sent from one CPU to another per the needs of the OS. Typically,
|
sent from one CPU to another per the needs of the OS. Typically,
|
||||||
their statistics are used by kernel developers and interested users to
|
their statistics are used by kernel developers and interested users to
|
||||||
determine the occurance of interrupt of the given type.
|
determine the occurrence of interrupts of the given type.
|
||||||
|
|
||||||
The above IRQ vectors are displayed only when relevent. For example,
|
The above IRQ vectors are displayed only when relevent. For example,
|
||||||
the threshold vector does not exist on x86_64 platforms. Others are
|
the threshold vector does not exist on x86_64 platforms. Others are
|
||||||
|
@ -551,7 +551,7 @@ Committed_AS: The amount of memory presently allocated on the system.
|
||||||
memory once that memory has been successfully allocated.
|
memory once that memory has been successfully allocated.
|
||||||
VmallocTotal: total size of vmalloc memory area
|
VmallocTotal: total size of vmalloc memory area
|
||||||
VmallocUsed: amount of vmalloc area which is used
|
VmallocUsed: amount of vmalloc area which is used
|
||||||
VmallocChunk: largest contigious block of vmalloc area which is free
|
VmallocChunk: largest contiguous block of vmalloc area which is free
|
||||||
|
|
||||||
..............................................................................
|
..............................................................................
|
||||||
|
|
||||||
|
|
|
@ -72,7 +72,7 @@ The 'rom' file is special in that it provides read-only access to the device's
|
||||||
ROM file, if available. It's disabled by default, however, so applications
|
ROM file, if available. It's disabled by default, however, so applications
|
||||||
should write the string "1" to the file to enable it before attempting a read
|
should write the string "1" to the file to enable it before attempting a read
|
||||||
call, and disable it following the access by writing "0" to the file. Note
|
call, and disable it following the access by writing "0" to the file. Note
|
||||||
that the device must be enabled for a rom read to return data succesfully.
|
that the device must be enabled for a rom read to return data successfully.
|
||||||
In the event a driver is not bound to the device, it can be enabled using the
|
In the event a driver is not bound to the device, it can be enabled using the
|
||||||
'enable' file, documented above.
|
'enable' file, documented above.
|
||||||
|
|
||||||
|
|
|
@ -124,10 +124,10 @@ sys_immutable -- If set, ATTR_SYS attribute on FAT is handled as
|
||||||
flush -- If set, the filesystem will try to flush to disk more
|
flush -- If set, the filesystem will try to flush to disk more
|
||||||
early than normal. Not set by default.
|
early than normal. Not set by default.
|
||||||
|
|
||||||
rodir -- FAT has the ATTR_RO (read-only) attribute. But on Windows,
|
rodir -- FAT has the ATTR_RO (read-only) attribute. On Windows,
|
||||||
the ATTR_RO of the directory will be just ignored actually,
|
the ATTR_RO of the directory will just be ignored,
|
||||||
and is used by only applications as flag. E.g. it's setted
|
and is used only by applications as a flag (e.g. it's set
|
||||||
for the customized folder.
|
for the customized folder).
|
||||||
|
|
||||||
If you want to use ATTR_RO as read-only flag even for
|
If you want to use ATTR_RO as read-only flag even for
|
||||||
the directory, set this option.
|
the directory, set this option.
|
||||||
|
|
|
@ -458,7 +458,7 @@ debugfs interface, since it provides control over GPIO direction and
|
||||||
value instead of just showing a gpio state summary. Plus, it could be
|
value instead of just showing a gpio state summary. Plus, it could be
|
||||||
present on production systems without debugging support.
|
present on production systems without debugging support.
|
||||||
|
|
||||||
Given approprate hardware documentation for the system, userspace could
|
Given appropriate hardware documentation for the system, userspace could
|
||||||
know for example that GPIO #23 controls the write protect line used to
|
know for example that GPIO #23 controls the write protect line used to
|
||||||
protect boot loader segments in flash memory. System upgrade procedures
|
protect boot loader segments in flash memory. System upgrade procedures
|
||||||
may need to temporarily remove that protection, first importing a GPIO,
|
may need to temporarily remove that protection, first importing a GPIO,
|
||||||
|
|
|
@ -108,7 +108,7 @@ There are two possible methods of using Kdump.
|
||||||
|
|
||||||
2) Or use the system kernel binary itself as dump-capture kernel and there is
|
2) Or use the system kernel binary itself as dump-capture kernel and there is
|
||||||
no need to build a separate dump-capture kernel. This is possible
|
no need to build a separate dump-capture kernel. This is possible
|
||||||
only with the architecutres which support a relocatable kernel. As
|
only with the architectures which support a relocatable kernel. As
|
||||||
of today, i386, x86_64, ppc64 and ia64 architectures support relocatable
|
of today, i386, x86_64, ppc64 and ia64 architectures support relocatable
|
||||||
kernel.
|
kernel.
|
||||||
|
|
||||||
|
@ -222,7 +222,7 @@ Dump-capture kernel config options (Arch Dependent, ia64)
|
||||||
----------------------------------------------------------
|
----------------------------------------------------------
|
||||||
|
|
||||||
- No specific options are required to create a dump-capture kernel
|
- No specific options are required to create a dump-capture kernel
|
||||||
for ia64, other than those specified in the arch idependent section
|
for ia64, other than those specified in the arch independent section
|
||||||
above. This means that it is possible to use the system kernel
|
above. This means that it is possible to use the system kernel
|
||||||
as a dump-capture kernel if desired.
|
as a dump-capture kernel if desired.
|
||||||
|
|
||||||
|
|
|
@ -1073,7 +1073,7 @@ and is between 256 and 4096 characters. It is defined in the file
|
||||||
|
|
||||||
kgdboc= [HW] kgdb over consoles.
|
kgdboc= [HW] kgdb over consoles.
|
||||||
Requires a tty driver that supports console polling.
|
Requires a tty driver that supports console polling.
|
||||||
(only serial suported for now)
|
(only serial supported for now)
|
||||||
Format: <serial_device>[,baud]
|
Format: <serial_device>[,baud]
|
||||||
|
|
||||||
kmac= [MIPS] korina ethernet MAC address.
|
kmac= [MIPS] korina ethernet MAC address.
|
||||||
|
@ -1402,7 +1402,7 @@ and is between 256 and 4096 characters. It is defined in the file
|
||||||
('y', default) or cooked coordinates ('n')
|
('y', default) or cooked coordinates ('n')
|
||||||
|
|
||||||
mtrr_chunk_size=nn[KMG] [X86]
|
mtrr_chunk_size=nn[KMG] [X86]
|
||||||
used for mtrr cleanup. It is largest continous chunk
|
used for mtrr cleanup. It is largest continuous chunk
|
||||||
that could hold holes aka. UC entries.
|
that could hold holes aka. UC entries.
|
||||||
|
|
||||||
mtrr_gran_size=nn[KMG] [X86]
|
mtrr_gran_size=nn[KMG] [X86]
|
||||||
|
|
|
@ -132,7 +132,7 @@ kobject_name():
|
||||||
const char *kobject_name(const struct kobject * kobj);
|
const char *kobject_name(const struct kobject * kobj);
|
||||||
|
|
||||||
There is a helper function to both initialize and add the kobject to the
|
There is a helper function to both initialize and add the kobject to the
|
||||||
kernel at the same time, called supprisingly enough kobject_init_and_add():
|
kernel at the same time, called surprisingly enough kobject_init_and_add():
|
||||||
|
|
||||||
int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype,
|
int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype,
|
||||||
struct kobject *parent, const char *fmt, ...);
|
struct kobject *parent, const char *fmt, ...);
|
||||||
|
|
|
@ -40,7 +40,7 @@ NOTE: The Acer Aspire One is not supported hardware. It cannot work with
|
||||||
acer-wmi until Acer fix their ACPI-WMI implementation on them, so has been
|
acer-wmi until Acer fix their ACPI-WMI implementation on them, so has been
|
||||||
blacklisted until that happens.
|
blacklisted until that happens.
|
||||||
|
|
||||||
Please see the website for the current list of known working hardare:
|
Please see the website for the current list of known working hardware:
|
||||||
|
|
||||||
http://code.google.com/p/aceracpi/wiki/SupportedHardware
|
http://code.google.com/p/aceracpi/wiki/SupportedHardware
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ If your laptop model supports it, you will find sysfs files in the
|
||||||
/sys/class/backlight/sony/
|
/sys/class/backlight/sony/
|
||||||
directory. You will be able to query and set the current screen
|
directory. You will be able to query and set the current screen
|
||||||
brightness:
|
brightness:
|
||||||
brightness get/set screen brightness (an iteger
|
brightness get/set screen brightness (an integer
|
||||||
between 0 and 7)
|
between 0 and 7)
|
||||||
actual_brightness reading from this file will query the HW
|
actual_brightness reading from this file will query the HW
|
||||||
to get real brightness value
|
to get real brightness value
|
||||||
|
|
|
@ -506,7 +506,7 @@ generate input device EV_KEY events.
|
||||||
In addition to the EV_KEY events, thinkpad-acpi may also issue EV_SW
|
In addition to the EV_KEY events, thinkpad-acpi may also issue EV_SW
|
||||||
events for switches:
|
events for switches:
|
||||||
|
|
||||||
SW_RFKILL_ALL T60 and later hardare rfkill rocker switch
|
SW_RFKILL_ALL T60 and later hardware rfkill rocker switch
|
||||||
SW_TABLET_MODE Tablet ThinkPads HKEY events 0x5009 and 0x500A
|
SW_TABLET_MODE Tablet ThinkPads HKEY events 0x5009 and 0x500A
|
||||||
|
|
||||||
Non hot-key ACPI HKEY event map:
|
Non hot-key ACPI HKEY event map:
|
||||||
|
|
|
@ -34,7 +34,7 @@ out of order wrt other memory writes by the owner CPU.
|
||||||
|
|
||||||
It can be done by slightly modifying the standard atomic operations : only
|
It can be done by slightly modifying the standard atomic operations : only
|
||||||
their UP variant must be kept. It typically means removing LOCK prefix (on
|
their UP variant must be kept. It typically means removing LOCK prefix (on
|
||||||
i386 and x86_64) and any SMP sychronization barrier. If the architecture does
|
i386 and x86_64) and any SMP synchronization barrier. If the architecture does
|
||||||
not have a different behavior between SMP and UP, including asm-generic/local.h
|
not have a different behavior between SMP and UP, including asm-generic/local.h
|
||||||
in your architecture's local.h is sufficient.
|
in your architecture's local.h is sufficient.
|
||||||
|
|
||||||
|
|
|
@ -73,13 +73,13 @@ this phase is triggered automatically. ACPI can notify this event. If not,
|
||||||
(see Section 4.).
|
(see Section 4.).
|
||||||
|
|
||||||
Logical Memory Hotplug phase is to change memory state into
|
Logical Memory Hotplug phase is to change memory state into
|
||||||
avaiable/unavailable for users. Amount of memory from user's view is
|
available/unavailable for users. Amount of memory from user's view is
|
||||||
changed by this phase. The kernel makes all memory in it as free pages
|
changed by this phase. The kernel makes all memory in it as free pages
|
||||||
when a memory range is available.
|
when a memory range is available.
|
||||||
|
|
||||||
In this document, this phase is described as online/offline.
|
In this document, this phase is described as online/offline.
|
||||||
|
|
||||||
Logical Memory Hotplug phase is triggred by write of sysfs file by system
|
Logical Memory Hotplug phase is triggered by write of sysfs file by system
|
||||||
administrator. For the hot-add case, it must be executed after Physical Hotplug
|
administrator. For the hot-add case, it must be executed after Physical Hotplug
|
||||||
phase by hand.
|
phase by hand.
|
||||||
(However, if you writes udev's hotplug scripts for memory hotplug, these
|
(However, if you writes udev's hotplug scripts for memory hotplug, these
|
||||||
|
@ -334,7 +334,7 @@ MEMORY_CANCEL_ONLINE
|
||||||
Generated if MEMORY_GOING_ONLINE fails.
|
Generated if MEMORY_GOING_ONLINE fails.
|
||||||
|
|
||||||
MEMORY_ONLINE
|
MEMORY_ONLINE
|
||||||
Generated when memory has succesfully brought online. The callback may
|
Generated when memory has successfully brought online. The callback may
|
||||||
allocate pages from the new memory.
|
allocate pages from the new memory.
|
||||||
|
|
||||||
MEMORY_GOING_OFFLINE
|
MEMORY_GOING_OFFLINE
|
||||||
|
@ -359,7 +359,7 @@ The third argument is passed by pointer of struct memory_notify.
|
||||||
struct memory_notify {
|
struct memory_notify {
|
||||||
unsigned long start_pfn;
|
unsigned long start_pfn;
|
||||||
unsigned long nr_pages;
|
unsigned long nr_pages;
|
||||||
int status_cahnge_nid;
|
int status_change_nid;
|
||||||
}
|
}
|
||||||
|
|
||||||
start_pfn is start_pfn of online/offline memory.
|
start_pfn is start_pfn of online/offline memory.
|
||||||
|
|
|
@ -26,7 +26,7 @@ registers and the stack. If the first argument is a 64-bit value, it will be
|
||||||
passed in D0:D1. If the first argument is not a 64-bit value, but the second
|
passed in D0:D1. If the first argument is not a 64-bit value, but the second
|
||||||
is, the second will be passed entirely on the stack and D1 will be unused.
|
is, the second will be passed entirely on the stack and D1 will be unused.
|
||||||
|
|
||||||
Arguments smaller than 32-bits are not coelesced within a register or a stack
|
Arguments smaller than 32-bits are not coalesced within a register or a stack
|
||||||
word. For example, two byte-sized arguments will always be passed in separate
|
word. For example, two byte-sized arguments will always be passed in separate
|
||||||
registers or word-sized stack slots.
|
registers or word-sized stack slots.
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@ byte 255: bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 rp1 rp3 rp5 ... rp15
|
||||||
cp5 cp5 cp5 cp5 cp4 cp4 cp4 cp4
|
cp5 cp5 cp5 cp5 cp4 cp4 cp4 cp4
|
||||||
|
|
||||||
This figure represents a sector of 256 bytes.
|
This figure represents a sector of 256 bytes.
|
||||||
cp is my abbreviaton for column parity, rp for row parity.
|
cp is my abbreviation for column parity, rp for row parity.
|
||||||
|
|
||||||
Let's start to explain column parity.
|
Let's start to explain column parity.
|
||||||
cp0 is the parity that belongs to all bit0, bit2, bit4, bit6.
|
cp0 is the parity that belongs to all bit0, bit2, bit4, bit6.
|
||||||
|
@ -560,7 +560,7 @@ Measuring this code again showed big gain. When executing the original
|
||||||
linux code 1 million times, this took about 1 second on my system.
|
linux code 1 million times, this took about 1 second on my system.
|
||||||
(using time to measure the performance). After this iteration I was back
|
(using time to measure the performance). After this iteration I was back
|
||||||
to 0.075 sec. Actually I had to decide to start measuring over 10
|
to 0.075 sec. Actually I had to decide to start measuring over 10
|
||||||
million interations in order not to loose too much accuracy. This one
|
million iterations in order not to lose too much accuracy. This one
|
||||||
definitely seemed to be the jackpot!
|
definitely seemed to be the jackpot!
|
||||||
|
|
||||||
There is a little bit more room for improvement though. There are three
|
There is a little bit more room for improvement though. There are three
|
||||||
|
@ -571,8 +571,8 @@ loop; This eliminates 3 statements per loop. Of course after the loop we
|
||||||
need to correct by adding:
|
need to correct by adding:
|
||||||
rp4 ^= rp4_6;
|
rp4 ^= rp4_6;
|
||||||
rp6 ^= rp4_6
|
rp6 ^= rp4_6
|
||||||
Furthermore there are 4 sequential assingments to rp8. This can be
|
Furthermore there are 4 sequential assignments to rp8. This can be
|
||||||
encoded slightly more efficient by saving tmppar before those 4 lines
|
encoded slightly more efficiently by saving tmppar before those 4 lines
|
||||||
and later do rp8 = rp8 ^ tmppar ^ notrp8;
|
and later do rp8 = rp8 ^ tmppar ^ notrp8;
|
||||||
(where notrp8 is the value of rp8 before those 4 lines).
|
(where notrp8 is the value of rp8 before those 4 lines).
|
||||||
Again a use of the commutative property of xor.
|
Again a use of the commutative property of xor.
|
||||||
|
@ -622,7 +622,7 @@ Not a big change, but every penny counts :-)
|
||||||
Analysis 7
|
Analysis 7
|
||||||
==========
|
==========
|
||||||
|
|
||||||
Acutally this made things worse. Not very much, but I don't want to move
|
Actually this made things worse. Not very much, but I don't want to move
|
||||||
into the wrong direction. Maybe something to investigate later. Could
|
into the wrong direction. Maybe something to investigate later. Could
|
||||||
have to do with caching again.
|
have to do with caching again.
|
||||||
|
|
||||||
|
@ -642,7 +642,7 @@ Analysis 8
|
||||||
This makes things worse. Let's stick with attempt 6 and continue from there.
|
This makes things worse. Let's stick with attempt 6 and continue from there.
|
||||||
Although it seems that the code within the loop cannot be optimised
|
Although it seems that the code within the loop cannot be optimised
|
||||||
further there is still room to optimize the generation of the ecc codes.
|
further there is still room to optimize the generation of the ecc codes.
|
||||||
We can simply calcualate the total parity. If this is 0 then rp4 = rp5
|
We can simply calculate the total parity. If this is 0 then rp4 = rp5
|
||||||
etc. If the parity is 1, then rp4 = !rp5;
|
etc. If the parity is 1, then rp4 = !rp5;
|
||||||
But if rp4 = rp5 we do not need rp5 etc. We can just write the even bits
|
But if rp4 = rp5 we do not need rp5 etc. We can just write the even bits
|
||||||
in the result byte and then do something like
|
in the result byte and then do something like
|
||||||
|
|
|
@ -221,7 +221,7 @@ ad_select
|
||||||
|
|
||||||
- Any slave's 802.3ad association state changes
|
- Any slave's 802.3ad association state changes
|
||||||
|
|
||||||
- The bond's adminstrative state changes to up
|
- The bond's administrative state changes to up
|
||||||
|
|
||||||
count or 2
|
count or 2
|
||||||
|
|
||||||
|
@ -369,7 +369,7 @@ fail_over_mac
|
||||||
When this policy is used in conjuction with the mii
|
When this policy is used in conjuction with the mii
|
||||||
monitor, devices which assert link up prior to being
|
monitor, devices which assert link up prior to being
|
||||||
able to actually transmit and receive are particularly
|
able to actually transmit and receive are particularly
|
||||||
susecptible to loss of the gratuitous ARP, and an
|
susceptible to loss of the gratuitous ARP, and an
|
||||||
appropriate updelay setting may be required.
|
appropriate updelay setting may be required.
|
||||||
|
|
||||||
follow or 2
|
follow or 2
|
||||||
|
@ -1794,7 +1794,7 @@ target to query.
|
||||||
generally referred to as "trunk failover." This is a feature of the
|
generally referred to as "trunk failover." This is a feature of the
|
||||||
switch that causes the link state of a particular switch port to be set
|
switch that causes the link state of a particular switch port to be set
|
||||||
down (or up) when the state of another switch port goes down (or up).
|
down (or up) when the state of another switch port goes down (or up).
|
||||||
It's purpose is to propogate link failures from logically "exterior" ports
|
Its purpose is to propagate link failures from logically "exterior" ports
|
||||||
to the logically "interior" ports that bonding is able to monitor via
|
to the logically "interior" ports that bonding is able to monitor via
|
||||||
miimon. Availability and configuration for trunk failover varies by
|
miimon. Availability and configuration for trunk failover varies by
|
||||||
switch, but this can be a viable alternative to the ARP monitor when using
|
switch, but this can be a viable alternative to the ARP monitor when using
|
||||||
|
|
|
@ -327,7 +327,7 @@ solution for a couple of reasons:
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* paraniod check ... */
|
/* paranoid check ... */
|
||||||
if (nbytes < sizeof(struct can_frame)) {
|
if (nbytes < sizeof(struct can_frame)) {
|
||||||
fprintf(stderr, "read: incomplete CAN frame\n");
|
fprintf(stderr, "read: incomplete CAN frame\n");
|
||||||
return 1;
|
return 1;
|
||||||
|
|
|
@ -129,7 +129,7 @@ PHY Link state polling
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
The driver keeps track of the link state and informs the network core
|
The driver keeps track of the link state and informs the network core
|
||||||
about link (carrier) availablilty. This is managed by several methods
|
about link (carrier) availability. This is managed by several methods
|
||||||
depending on the version of the chip and on which PHY is being used.
|
depending on the version of the chip and on which PHY is being used.
|
||||||
|
|
||||||
For the internal PHY, the original (and currently default) method is
|
For the internal PHY, the original (and currently default) method is
|
||||||
|
|
|
@ -158,7 +158,7 @@ Sample Userspace Code
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
Miscellanous
|
Miscellaneous
|
||||||
============
|
============
|
||||||
|
|
||||||
The PPPoL2TP driver was developed as part of the OpenL2TP project by
|
The PPPoL2TP driver was developed as part of the OpenL2TP project by
|
||||||
|
|
|
@ -74,7 +74,7 @@ dev->hard_start_xmit:
|
||||||
for this and return NETDEV_TX_LOCKED when the spin lock fails.
|
for this and return NETDEV_TX_LOCKED when the spin lock fails.
|
||||||
The locking there should also properly protect against
|
The locking there should also properly protect against
|
||||||
set_multicast_list. Note that the use of NETIF_F_LLTX is deprecated.
|
set_multicast_list. Note that the use of NETIF_F_LLTX is deprecated.
|
||||||
Dont use it for new drivers.
|
Don't use it for new drivers.
|
||||||
|
|
||||||
Context: Process with BHs disabled or BH (timer),
|
Context: Process with BHs disabled or BH (timer),
|
||||||
will be called with interrupts disabled by netconsole.
|
will be called with interrupts disabled by netconsole.
|
||||||
|
|
|
@ -36,7 +36,7 @@ Phonet packets have a common header as follows:
|
||||||
On Linux, the link-layer header includes the pn_media byte (see below).
|
On Linux, the link-layer header includes the pn_media byte (see below).
|
||||||
The next 7 bytes are part of the network-layer header.
|
The next 7 bytes are part of the network-layer header.
|
||||||
|
|
||||||
The device ID is split: the 6 higher-order bits consitute the device
|
The device ID is split: the 6 higher-order bits constitute the device
|
||||||
address, while the 2 lower-order bits are used for multiplexing, as are
|
address, while the 2 lower-order bits are used for multiplexing, as are
|
||||||
the 8-bit object identifiers. As such, Phonet can be considered as a
|
the 8-bit object identifiers. As such, Phonet can be considered as a
|
||||||
network layer with 6 bits of address space and 10 bits for transport
|
network layer with 6 bits of address space and 10 bits for transport
|
||||||
|
|
|
@ -89,7 +89,7 @@ added to this document when its support is enabled.
|
||||||
Device drivers who provide their own built regulatory domain
|
Device drivers who provide their own built regulatory domain
|
||||||
do not need a callback as the channels registered by them are
|
do not need a callback as the channels registered by them are
|
||||||
the only ones that will be allowed and therefore *additional*
|
the only ones that will be allowed and therefore *additional*
|
||||||
cannels cannot be enabled.
|
channels cannot be enabled.
|
||||||
|
|
||||||
Example code - drivers hinting an alpha2:
|
Example code - drivers hinting an alpha2:
|
||||||
------------------------------------------
|
------------------------------------------
|
||||||
|
|
|
@ -178,5 +178,5 @@ Consumers can uregister interest by calling :-
|
||||||
int regulator_unregister_notifier(struct regulator *regulator,
|
int regulator_unregister_notifier(struct regulator *regulator,
|
||||||
struct notifier_block *nb);
|
struct notifier_block *nb);
|
||||||
|
|
||||||
Regulators use the kernel notifier framework to send event to thier interested
|
Regulators use the kernel notifier framework to send event to their interested
|
||||||
consumers.
|
consumers.
|
||||||
|
|
|
@ -119,7 +119,7 @@ Some terms used in this document:-
|
||||||
battery power, USB power)
|
battery power, USB power)
|
||||||
|
|
||||||
Regulator Domains: is the new current limit within the
|
Regulator Domains: is the new current limit within the
|
||||||
regulator operating parameters for input/ouput voltage.
|
regulator operating parameters for input/output voltage.
|
||||||
|
|
||||||
If the regulator request passes all the constraint tests
|
If the regulator request passes all the constraint tests
|
||||||
then the new regulator value is applied.
|
then the new regulator value is applied.
|
||||||
|
|
|
@ -63,7 +63,7 @@ hardware during resume operations where a value can be set that will
|
||||||
survive a reboot.
|
survive a reboot.
|
||||||
|
|
||||||
Consequence is that after a resume (even if it is successful) your system
|
Consequence is that after a resume (even if it is successful) your system
|
||||||
clock will have a value corresponding to the magic mumber instead of the
|
clock will have a value corresponding to the magic number instead of the
|
||||||
correct date/time! It is therefore advisable to use a program like ntp-date
|
correct date/time! It is therefore advisable to use a program like ntp-date
|
||||||
or rdate to reset the correct date/time from an external time source when
|
or rdate to reset the correct date/time from an external time source when
|
||||||
using this trace option.
|
using this trace option.
|
||||||
|
|
|
@ -109,7 +109,7 @@ unfreeze user space processes frozen by SNAPSHOT_UNFREEZE if they are
|
||||||
still frozen when the device is being closed).
|
still frozen when the device is being closed).
|
||||||
|
|
||||||
Currently it is assumed that the userland utilities reading/writing the
|
Currently it is assumed that the userland utilities reading/writing the
|
||||||
snapshot image from/to the kernel will use a swap parition, called the resume
|
snapshot image from/to the kernel will use a swap partition, called the resume
|
||||||
partition, or a swap file as storage space (if a swap file is used, the resume
|
partition, or a swap file as storage space (if a swap file is used, the resume
|
||||||
partition is the partition that holds this file). However, this is not really
|
partition is the partition that holds this file). However, this is not really
|
||||||
required, as they can use, for example, a special (blank) suspend partition or
|
required, as they can use, for example, a special (blank) suspend partition or
|
||||||
|
|
|
@ -1356,7 +1356,7 @@ platforms are moved over to use the flattened-device-tree model.
|
||||||
- phy-map : 1 cell, optional, bitmap of addresses to probe the PHY
|
- phy-map : 1 cell, optional, bitmap of addresses to probe the PHY
|
||||||
for, used if phy-address is absent. bit 0x00000001 is
|
for, used if phy-address is absent. bit 0x00000001 is
|
||||||
MDIO address 0.
|
MDIO address 0.
|
||||||
For Axon it can be absent, thouugh my current driver
|
For Axon it can be absent, though my current driver
|
||||||
doesn't handle phy-address yet so for now, keep
|
doesn't handle phy-address yet so for now, keep
|
||||||
0x00ffffff in it.
|
0x00ffffff in it.
|
||||||
- rx-fifo-size-gige : 1 cell, Rx fifo size in bytes for 1000 Mb/sec
|
- rx-fifo-size-gige : 1 cell, Rx fifo size in bytes for 1000 Mb/sec
|
||||||
|
@ -1438,7 +1438,7 @@ platforms are moved over to use the flattened-device-tree model.
|
||||||
|
|
||||||
The Xilinx EDK toolchain ships with a set of IP cores (devices) for use
|
The Xilinx EDK toolchain ships with a set of IP cores (devices) for use
|
||||||
in Xilinx Spartan and Virtex FPGAs. The devices cover the whole range
|
in Xilinx Spartan and Virtex FPGAs. The devices cover the whole range
|
||||||
of standard device types (network, serial, etc.) and miscellanious
|
of standard device types (network, serial, etc.) and miscellaneous
|
||||||
devices (gpio, LCD, spi, etc). Also, since these devices are
|
devices (gpio, LCD, spi, etc). Also, since these devices are
|
||||||
implemented within the fpga fabric every instance of the device can be
|
implemented within the fpga fabric every instance of the device can be
|
||||||
synthesised with different options that change the behaviour.
|
synthesised with different options that change the behaviour.
|
||||||
|
|
|
@ -38,7 +38,7 @@ Required properities:
|
||||||
- reg : Should contain the address and the length of the GPIO bank
|
- reg : Should contain the address and the length of the GPIO bank
|
||||||
register.
|
register.
|
||||||
- #gpio-cells : Should be two. The first cell is the pin number and the
|
- #gpio-cells : Should be two. The first cell is the pin number and the
|
||||||
second cell is used to specify optional paramters (currently unused).
|
second cell is used to specify optional parameters (currently unused).
|
||||||
- gpio-controller : Marks the port as GPIO controller.
|
- gpio-controller : Marks the port as GPIO controller.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
|
@ -19,7 +19,7 @@ Example:
|
||||||
reg = <119c0 30>;
|
reg = <119c0 30>;
|
||||||
}
|
}
|
||||||
|
|
||||||
* Properties common to mulitple CPM/QE devices
|
* Properties common to multiple CPM/QE devices
|
||||||
|
|
||||||
- fsl,cpm-command : This value is ORed with the opcode and command flag
|
- fsl,cpm-command : This value is ORed with the opcode and command flag
|
||||||
to specify the device on which a CPM command operates.
|
to specify the device on which a CPM command operates.
|
||||||
|
|
|
@ -11,7 +11,7 @@ Required properties:
|
||||||
"fsl,cpm1-pario-bank-c", "fsl,cpm1-pario-bank-d",
|
"fsl,cpm1-pario-bank-c", "fsl,cpm1-pario-bank-d",
|
||||||
"fsl,cpm1-pario-bank-e", "fsl,cpm2-pario-bank"
|
"fsl,cpm1-pario-bank-e", "fsl,cpm2-pario-bank"
|
||||||
- #gpio-cells : Should be two. The first cell is the pin number and the
|
- #gpio-cells : Should be two. The first cell is the pin number and the
|
||||||
second cell is used to specify optional paramters (currently unused).
|
second cell is used to specify optional parameters (currently unused).
|
||||||
- gpio-controller : Marks the port as GPIO controller.
|
- gpio-controller : Marks the port as GPIO controller.
|
||||||
|
|
||||||
Example of three SOC GPIO banks defined as gpio-controller nodes:
|
Example of three SOC GPIO banks defined as gpio-controller nodes:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
* Freescale MSI interrupt controller
|
* Freescale MSI interrupt controller
|
||||||
|
|
||||||
Reguired properities:
|
Required properties:
|
||||||
- compatible : compatible list, contains 2 entries,
|
- compatible : compatible list, contains 2 entries,
|
||||||
first is "fsl,CHIP-msi", where CHIP is the processor(mpc8610, mpc8572,
|
first is "fsl,CHIP-msi", where CHIP is the processor(mpc8610, mpc8572,
|
||||||
etc.) and the second is "fsl,mpic-msi" or "fsl,ipic-msi" depending on
|
etc.) and the second is "fsl,mpic-msi" or "fsl,ipic-msi" depending on
|
||||||
|
|
|
@ -15,8 +15,8 @@ Properties:
|
||||||
compatible; all statements below that apply to "fsl,mpc8548-pmc" also
|
compatible; all statements below that apply to "fsl,mpc8548-pmc" also
|
||||||
apply to "fsl,mpc8641d-pmc".
|
apply to "fsl,mpc8641d-pmc".
|
||||||
|
|
||||||
Compatibility does not include bit assigments in SCCR/PMCDR/DEVDISR; these
|
Compatibility does not include bit assignments in SCCR/PMCDR/DEVDISR; these
|
||||||
bit assigments are indicated via the sleep specifier in each device's
|
bit assignments are indicated via the sleep specifier in each device's
|
||||||
sleep property.
|
sleep property.
|
||||||
|
|
||||||
- reg: For devices compatible with "fsl,mpc8349-pmc", the first resource
|
- reg: For devices compatible with "fsl,mpc8349-pmc", the first resource
|
||||||
|
|
|
@ -225,7 +225,7 @@ For example, to match the 8323, revision 1.0:
|
||||||
soc.major = 1
|
soc.major = 1
|
||||||
soc.minor = 0
|
soc.minor = 0
|
||||||
|
|
||||||
'padding' is neccessary for structure alignment. This field ensures that the
|
'padding' is necessary for structure alignment. This field ensures that the
|
||||||
'extended_modes' field is aligned on a 64-bit boundary.
|
'extended_modes' field is aligned on a 64-bit boundary.
|
||||||
|
|
||||||
'extended_modes' is a bitfield that defines special functionality which has an
|
'extended_modes' is a bitfield that defines special functionality which has an
|
||||||
|
|
|
@ -131,8 +131,8 @@ Example:
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Add new node and rebalance tree. */
|
/* Add new node and rebalance tree. */
|
||||||
rb_link_node(data->node, parent, new);
|
rb_link_node(&data->node, parent, new);
|
||||||
rb_insert_color(data->node, root);
|
rb_insert_color(&data->node, root);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
@ -146,10 +146,10 @@ To remove an existing node from a tree, call:
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
struct mytype *data = mysearch(mytree, "walrus");
|
struct mytype *data = mysearch(&mytree, "walrus");
|
||||||
|
|
||||||
if (data) {
|
if (data) {
|
||||||
rb_erase(data->node, mytree);
|
rb_erase(&data->node, &mytree);
|
||||||
myfree(data);
|
myfree(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -188,5 +188,5 @@ Example:
|
||||||
|
|
||||||
struct rb_node *node;
|
struct rb_node *node;
|
||||||
for (node = rb_first(&mytree); node; node = rb_next(node))
|
for (node = rb_first(&mytree); node; node = rb_next(node))
|
||||||
printk("key=%s\n", rb_entry(node, int, keystring));
|
printk("key=%s\n", rb_entry(node, struct mytype, node)->keystring);
|
||||||
|
|
||||||
|
|
|
@ -1984,7 +1984,7 @@ break *$pc
|
||||||
|
|
||||||
break *0x400618
|
break *0x400618
|
||||||
|
|
||||||
heres a really useful one for large programs
|
Here's a really useful one for large programs
|
||||||
rbr
|
rbr
|
||||||
Set a breakpoint for all functions matching REGEXP
|
Set a breakpoint for all functions matching REGEXP
|
||||||
e.g.
|
e.g.
|
||||||
|
@ -2211,7 +2211,7 @@ Breakpoint 2 at 0x4d87a4: file top.c, line 2609.
|
||||||
#5 0x51692c in readline_internal () at readline.c:521
|
#5 0x51692c in readline_internal () at readline.c:521
|
||||||
#6 0x5164fe in readline (prompt=0x7ffff810 "\177ÿøx\177ÿ÷Ø\177ÿøxÀ")
|
#6 0x5164fe in readline (prompt=0x7ffff810 "\177ÿøx\177ÿ÷Ø\177ÿøxÀ")
|
||||||
at readline.c:349
|
at readline.c:349
|
||||||
#7 0x4d7a8a in command_line_input (prrompt=0x564420 "(gdb) ", repeat=1,
|
#7 0x4d7a8a in command_line_input (prompt=0x564420 "(gdb) ", repeat=1,
|
||||||
annotation_suffix=0x4d6b44 "prompt") at top.c:2091
|
annotation_suffix=0x4d6b44 "prompt") at top.c:2091
|
||||||
#8 0x4d6cf0 in command_loop () at top.c:1345
|
#8 0x4d6cf0 in command_loop () at top.c:1345
|
||||||
#9 0x4e25bc in main (argc=1, argv=0x7ffffdf4) at main.c:635
|
#9 0x4e25bc in main (argc=1, argv=0x7ffffdf4) at main.c:635
|
||||||
|
|
|
@ -55,7 +55,7 @@ To sum it up: we always wanted to make nice levels more consistent, but
|
||||||
within the constraints of HZ and jiffies and their nasty design level
|
within the constraints of HZ and jiffies and their nasty design level
|
||||||
coupling to timeslices and granularity it was not really viable.
|
coupling to timeslices and granularity it was not really viable.
|
||||||
|
|
||||||
The second (less frequent but still periodically occuring) complaint
|
The second (less frequent but still periodically occurring) complaint
|
||||||
about Linux's nice level support was its assymetry around the origo
|
about Linux's nice level support was its assymetry around the origo
|
||||||
(which you can see demonstrated in the picture above), or more
|
(which you can see demonstrated in the picture above), or more
|
||||||
accurately: the fact that nice level behavior depended on the _absolute_
|
accurately: the fact that nice level behavior depended on the _absolute_
|
||||||
|
|
|
@ -194,7 +194,7 @@ The following information is available in this file:
|
||||||
- Packetized SCSI Protocol at 160MB/s and 320MB/s
|
- Packetized SCSI Protocol at 160MB/s and 320MB/s
|
||||||
- Quick Arbitration Selection (QAS)
|
- Quick Arbitration Selection (QAS)
|
||||||
- Retained Training Information (Rev B. ASIC only)
|
- Retained Training Information (Rev B. ASIC only)
|
||||||
- Interrupt Coalessing
|
- Interrupt Coalescing
|
||||||
- Initiator Mode (target mode not currently
|
- Initiator Mode (target mode not currently
|
||||||
supported)
|
supported)
|
||||||
- Support for the PCI-X standard up to 133MHz
|
- Support for the PCI-X standard up to 133MHz
|
||||||
|
|
|
@ -206,7 +206,7 @@ of MOVE MEMORY instructions.
|
||||||
The 896 and the 895A allows handling of the phase mismatch context from
|
The 896 and the 895A allows handling of the phase mismatch context from
|
||||||
SCRIPTS (avoids the phase mismatch interrupt that stops the SCSI processor
|
SCRIPTS (avoids the phase mismatch interrupt that stops the SCSI processor
|
||||||
until the C code has saved the context of the transfer).
|
until the C code has saved the context of the transfer).
|
||||||
Implementing this without using LOAD/STORE instructions would be painfull
|
Implementing this without using LOAD/STORE instructions would be painful
|
||||||
and I didn't even want to try it.
|
and I didn't even want to try it.
|
||||||
|
|
||||||
The 896 chip supports 64 bit PCI transactions and addressing, while the
|
The 896 chip supports 64 bit PCI transactions and addressing, while the
|
||||||
|
@ -240,7 +240,7 @@ characteristics. This feature may also reduce average command latency.
|
||||||
In order to really gain advantage of this feature, devices must have
|
In order to really gain advantage of this feature, devices must have
|
||||||
a reasonable cache size (No miracle is to be expected for a low-end
|
a reasonable cache size (No miracle is to be expected for a low-end
|
||||||
hard disk with 128 KB or less).
|
hard disk with 128 KB or less).
|
||||||
Some kown SCSI devices do not properly support tagged command queuing.
|
Some known SCSI devices do not properly support tagged command queuing.
|
||||||
Generally, firmware revisions that fix this kind of problems are available
|
Generally, firmware revisions that fix this kind of problems are available
|
||||||
at respective vendor web/ftp sites.
|
at respective vendor web/ftp sites.
|
||||||
All I can say is that the hard disks I use on my machines behave well with
|
All I can say is that the hard disks I use on my machines behave well with
|
||||||
|
|
|
@ -206,7 +206,7 @@ characteristics. This feature may also reduce average command latency.
|
||||||
In order to really gain advantage of this feature, devices must have
|
In order to really gain advantage of this feature, devices must have
|
||||||
a reasonable cache size (No miracle is to be expected for a low-end
|
a reasonable cache size (No miracle is to be expected for a low-end
|
||||||
hard disk with 128 KB or less).
|
hard disk with 128 KB or less).
|
||||||
Some kown old SCSI devices do not properly support tagged command queuing.
|
Some known old SCSI devices do not properly support tagged command queuing.
|
||||||
Generally, firmware revisions that fix this kind of problems are available
|
Generally, firmware revisions that fix this kind of problems are available
|
||||||
at respective vendor web/ftp sites.
|
at respective vendor web/ftp sites.
|
||||||
All I can say is that I never have had problem with tagged queuing using
|
All I can say is that I never have had problem with tagged queuing using
|
||||||
|
|
|
@ -773,7 +773,7 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
|
||||||
single_cmd - Use single immediate commands to communicate with
|
single_cmd - Use single immediate commands to communicate with
|
||||||
codecs (for debugging only)
|
codecs (for debugging only)
|
||||||
enable_msi - Enable Message Signaled Interrupt (MSI) (default = off)
|
enable_msi - Enable Message Signaled Interrupt (MSI) (default = off)
|
||||||
power_save - Automatic power-saving timtout (in second, 0 =
|
power_save - Automatic power-saving timeout (in second, 0 =
|
||||||
disable)
|
disable)
|
||||||
power_save_controller - Reset HD-audio controller in power-saving mode
|
power_save_controller - Reset HD-audio controller in power-saving mode
|
||||||
(default = on)
|
(default = on)
|
||||||
|
|
|
@ -16,7 +16,7 @@ methods for the HD-audio hardware.
|
||||||
The HD-audio component consists of two parts: the controller chip and
|
The HD-audio component consists of two parts: the controller chip and
|
||||||
the codec chips on the HD-audio bus. Linux provides a single driver
|
the codec chips on the HD-audio bus. Linux provides a single driver
|
||||||
for all controllers, snd-hda-intel. Although the driver name contains
|
for all controllers, snd-hda-intel. Although the driver name contains
|
||||||
a word of a well-known harware vendor, it's not specific to it but for
|
a word of a well-known hardware vendor, it's not specific to it but for
|
||||||
all controller chips by other companies. Since the HD-audio
|
all controller chips by other companies. Since the HD-audio
|
||||||
controllers are supposed to be compatible, the single snd-hda-driver
|
controllers are supposed to be compatible, the single snd-hda-driver
|
||||||
should work in most cases. But, not surprisingly, there are known
|
should work in most cases. But, not surprisingly, there are known
|
||||||
|
|
|
@ -114,7 +114,7 @@ For writing a sequence of verbs, use snd_hda_sequence_write().
|
||||||
|
|
||||||
There are variants of cached read/write, snd_hda_codec_write_cache(),
|
There are variants of cached read/write, snd_hda_codec_write_cache(),
|
||||||
snd_hda_sequence_write_cache(). These are used for recording the
|
snd_hda_sequence_write_cache(). These are used for recording the
|
||||||
register states for the power-mangement resume. When no PM is needed,
|
register states for the power-management resume. When no PM is needed,
|
||||||
these are equivalent with non-cached version.
|
these are equivalent with non-cached version.
|
||||||
|
|
||||||
To retrieve the number of sub nodes connected to the given node, use
|
To retrieve the number of sub nodes connected to the given node, use
|
||||||
|
|
|
@ -358,7 +358,7 @@ nr_pdflush_threads
|
||||||
The current number of pdflush threads. This value is read-only.
|
The current number of pdflush threads. This value is read-only.
|
||||||
The value changes according to the number of dirty pages in the system.
|
The value changes according to the number of dirty pages in the system.
|
||||||
|
|
||||||
When neccessary, additional pdflush threads are created, one per second, up to
|
When necessary, additional pdflush threads are created, one per second, up to
|
||||||
nr_pdflush_threads_max.
|
nr_pdflush_threads_max.
|
||||||
|
|
||||||
==============================================================
|
==============================================================
|
||||||
|
@ -565,7 +565,7 @@ swappiness
|
||||||
|
|
||||||
This control is used to define how aggressive the kernel will swap
|
This control is used to define how aggressive the kernel will swap
|
||||||
memory pages. Higher values will increase agressiveness, lower values
|
memory pages. Higher values will increase agressiveness, lower values
|
||||||
descrease the amount of swap.
|
decrease the amount of swap.
|
||||||
|
|
||||||
The default value is 60.
|
The default value is 60.
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ by Intel and Microsoft which can be found at
|
||||||
|
|
||||||
Each HPET has one fixed-rate counter (at 10+ MHz, hence "High Precision")
|
Each HPET has one fixed-rate counter (at 10+ MHz, hence "High Precision")
|
||||||
and up to 32 comparators. Normally three or more comparators are provided,
|
and up to 32 comparators. Normally three or more comparators are provided,
|
||||||
each of which can generate oneshot interupts and at least one of which has
|
each of which can generate oneshot interrupts and at least one of which has
|
||||||
additional hardware to support periodic interrupts. The comparators are
|
additional hardware to support periodic interrupts. The comparators are
|
||||||
also called "timers", which can be misleading since usually timers are
|
also called "timers", which can be misleading since usually timers are
|
||||||
independent of each other ... these share a counter, complicating resets.
|
independent of each other ... these share a counter, complicating resets.
|
||||||
|
|
|
@ -62,7 +62,7 @@ Timerstats sample period: 3.888770 s
|
||||||
|
|
||||||
The first column is the number of events, the second column the pid, the third
|
The first column is the number of events, the second column the pid, the third
|
||||||
column is the name of the process. The forth column shows the function which
|
column is the name of the process. The forth column shows the function which
|
||||||
initialized the timer and in parantheses the callback function which was
|
initialized the timer and in parenthesis the callback function which was
|
||||||
executed on expiry.
|
executed on expiry.
|
||||||
|
|
||||||
Thomas, Ingo
|
Thomas, Ingo
|
||||||
|
|
|
@ -1834,4 +1834,4 @@ an error.
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
More details can be found in the source code, in the
|
More details can be found in the source code, in the
|
||||||
kernel/tracing/*.c files.
|
kernel/trace/*.c files.
|
||||||
|
|
|
@ -64,7 +64,7 @@ III. Quick usage guide
|
||||||
CONFIG_KMEMTRACE).
|
CONFIG_KMEMTRACE).
|
||||||
|
|
||||||
2) Get the userspace tool and build it:
|
2) Get the userspace tool and build it:
|
||||||
$ git-clone git://repo.or.cz/kmemtrace-user.git # current repository
|
$ git clone git://repo.or.cz/kmemtrace-user.git # current repository
|
||||||
$ cd kmemtrace-user/
|
$ cd kmemtrace-user/
|
||||||
$ ./autogen.sh
|
$ ./autogen.sh
|
||||||
$ ./configure
|
$ ./configure
|
||||||
|
|
|
@ -84,7 +84,7 @@ The different logical parts of this driver are:
|
||||||
|
|
||||||
*UWB*: the Ultra-Wide-Band stack -- manages the radio and
|
*UWB*: the Ultra-Wide-Band stack -- manages the radio and
|
||||||
associated spectrum to allow for devices sharing it. Allows to
|
associated spectrum to allow for devices sharing it. Allows to
|
||||||
control bandwidth assingment, beaconing, scanning, etc
|
control bandwidth assignment, beaconing, scanning, etc
|
||||||
|
|
||||||
*
|
*
|
||||||
|
|
||||||
|
@ -184,7 +184,7 @@ and sends the replies and notifications back to the API
|
||||||
[/uwb_rc_neh_grok()/]. Notifications are handled to the UWB daemon, that
|
[/uwb_rc_neh_grok()/]. Notifications are handled to the UWB daemon, that
|
||||||
is chartered, among other things, to keep the tab of how the UWB radio
|
is chartered, among other things, to keep the tab of how the UWB radio
|
||||||
neighborhood looks, creating and destroying devices as they show up or
|
neighborhood looks, creating and destroying devices as they show up or
|
||||||
dissapear.
|
disappear.
|
||||||
|
|
||||||
Command execution is very simple: a command block is sent and a event
|
Command execution is very simple: a command block is sent and a event
|
||||||
block or reply is expected back. For sending/receiving command/events, a
|
block or reply is expected back. For sending/receiving command/events, a
|
||||||
|
@ -333,7 +333,7 @@ read descriptors and move our data.
|
||||||
|
|
||||||
*Device life cycle and keep alives*
|
*Device life cycle and keep alives*
|
||||||
|
|
||||||
Everytime there is a succesful transfer to/from a device, we update a
|
Every time there is a successful transfer to/from a device, we update a
|
||||||
per-device activity timestamp. If not, every now and then we check and
|
per-device activity timestamp. If not, every now and then we check and
|
||||||
if the activity timestamp gets old, we ping the device by sending it a
|
if the activity timestamp gets old, we ping the device by sending it a
|
||||||
Keep Alive IE; it responds with a /DN_Alive/ pong during the DNTS (this
|
Keep Alive IE; it responds with a /DN_Alive/ pong during the DNTS (this
|
||||||
|
@ -411,7 +411,7 @@ context (wa_xfer) and submit it. When the xfer is done, our callback is
|
||||||
called and we assign the status bits and release the xfer resources.
|
called and we assign the status bits and release the xfer resources.
|
||||||
|
|
||||||
In dequeue() we are basically cancelling/aborting the transfer. We issue
|
In dequeue() we are basically cancelling/aborting the transfer. We issue
|
||||||
a xfer abort request to the HC, cancell all the URBs we had submitted
|
a xfer abort request to the HC, cancel all the URBs we had submitted
|
||||||
and not yet done and when all that is done, the xfer callback will be
|
and not yet done and when all that is done, the xfer callback will be
|
||||||
called--this will call the URB callback.
|
called--this will call the URB callback.
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ Association and disassociation of URBs with anchors
|
||||||
|
|
||||||
An association of URBs to an anchor is made by an explicit
|
An association of URBs to an anchor is made by an explicit
|
||||||
call to usb_anchor_urb(). The association is maintained until
|
call to usb_anchor_urb(). The association is maintained until
|
||||||
an URB is finished by (successfull) completion. Thus disassociation
|
an URB is finished by (successful) completion. Thus disassociation
|
||||||
is automatic. A function is provided to forcibly finish (kill)
|
is automatic. A function is provided to forcibly finish (kill)
|
||||||
all URBs associated with an anchor.
|
all URBs associated with an anchor.
|
||||||
Furthermore, disassociation can be made with usb_unanchor_urb()
|
Furthermore, disassociation can be made with usb_unanchor_urb()
|
||||||
|
@ -76,4 +76,4 @@ usb_get_from_anchor()
|
||||||
Returns the oldest anchored URB of an anchor. The URB is unanchored
|
Returns the oldest anchored URB of an anchor. The URB is unanchored
|
||||||
and returned with a reference. As you may mix URBs to several
|
and returned with a reference. As you may mix URBs to several
|
||||||
destinations in one anchor you have no guarantee the chronologically
|
destinations in one anchor you have no guarantee the chronologically
|
||||||
first submitted URB is returned.
|
first submitted URB is returned.
|
||||||
|
|
|
@ -65,7 +65,7 @@ Accept or decline an interface. If you accept the device return 0,
|
||||||
otherwise -ENODEV or -ENXIO. Other error codes should be used only if a
|
otherwise -ENODEV or -ENXIO. Other error codes should be used only if a
|
||||||
genuine error occurred during initialisation which prevented a driver
|
genuine error occurred during initialisation which prevented a driver
|
||||||
from accepting a device that would else have been accepted.
|
from accepting a device that would else have been accepted.
|
||||||
You are strongly encouraged to use usbcore'sfacility,
|
You are strongly encouraged to use usbcore's facility,
|
||||||
usb_set_intfdata(), to associate a data structure with an interface, so
|
usb_set_intfdata(), to associate a data structure with an interface, so
|
||||||
that you know which internal state and identity you associate with a
|
that you know which internal state and identity you associate with a
|
||||||
particular interface. The device will not be suspended and you may do IO
|
particular interface. The device will not be suspended and you may do IO
|
||||||
|
|
|
@ -11,7 +11,7 @@ encoder chip:
|
||||||
2) Some people have problems getting the i2c bus to work.
|
2) Some people have problems getting the i2c bus to work.
|
||||||
The symptom is that the eeprom cannot be read and the card is
|
The symptom is that the eeprom cannot be read and the card is
|
||||||
unusable. This is probably fixed, but if you have problems
|
unusable. This is probably fixed, but if you have problems
|
||||||
then post to the video4linux or ivtv-users mailinglist.
|
then post to the video4linux or ivtv-users mailing list.
|
||||||
|
|
||||||
3) VBI (raw or sliced) has not yet been implemented.
|
3) VBI (raw or sliced) has not yet been implemented.
|
||||||
|
|
||||||
|
|
|
@ -2358,7 +2358,7 @@ F: fs/freevxfs/
|
||||||
|
|
||||||
FREEZER
|
FREEZER
|
||||||
P: Pavel Machek
|
P: Pavel Machek
|
||||||
M: pavel@suse.cz
|
M: pavel@ucw.cz
|
||||||
P: Rafael J. Wysocki
|
P: Rafael J. Wysocki
|
||||||
M: rjw@sisk.pl
|
M: rjw@sisk.pl
|
||||||
L: linux-pm@lists.linux-foundation.org
|
L: linux-pm@lists.linux-foundation.org
|
||||||
|
|
|
@ -54,7 +54,7 @@ EXPORT_SYMBOL(jornada_ssp_reverse);
|
||||||
* timeout after <timeout> rounds. Needs mcu running before its called.
|
* timeout after <timeout> rounds. Needs mcu running before its called.
|
||||||
*
|
*
|
||||||
* returns : %mcu output on success
|
* returns : %mcu output on success
|
||||||
* : %-ETIMEOUT on timeout
|
* : %-ETIMEDOUT on timeout
|
||||||
*/
|
*/
|
||||||
int jornada_ssp_byte(u8 byte)
|
int jornada_ssp_byte(u8 byte)
|
||||||
{
|
{
|
||||||
|
@ -82,7 +82,7 @@ EXPORT_SYMBOL(jornada_ssp_byte);
|
||||||
* jornada_ssp_inout - decide if input is command or trading byte
|
* jornada_ssp_inout - decide if input is command or trading byte
|
||||||
*
|
*
|
||||||
* returns : (jornada_ssp_byte(byte)) on success
|
* returns : (jornada_ssp_byte(byte)) on success
|
||||||
* : %-ETIMEOUT on timeout failure
|
* : %-ETIMEDOUT on timeout failure
|
||||||
*/
|
*/
|
||||||
int jornada_ssp_inout(u8 byte)
|
int jornada_ssp_inout(u8 byte)
|
||||||
{
|
{
|
||||||
|
|
|
@ -885,7 +885,7 @@ config BFIN_GPTIMERS
|
||||||
are unsure, say N.
|
are unsure, say N.
|
||||||
|
|
||||||
To compile this driver as a module, choose M here: the module
|
To compile this driver as a module, choose M here: the module
|
||||||
will be called gptimers.ko.
|
will be called gptimers.
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Uncached DMA region"
|
prompt "Uncached DMA region"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* PowerPC64 SLB support.
|
* PowerPC64 SLB support.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2004 David Gibson <dwg@au.ibm.com>, IBM
|
* Copyright (C) 2004 David Gibson <dwg@au.ibm.com>, IBM
|
||||||
* Based on earlier code writteh by:
|
* Based on earlier code written by:
|
||||||
* Dave Engebretsen and Mike Corrigan {engebret|mikejc}@us.ibm.com
|
* Dave Engebretsen and Mike Corrigan {engebret|mikejc}@us.ibm.com
|
||||||
* Copyright (c) 2001 Dave Engebretsen
|
* Copyright (c) 2001 Dave Engebretsen
|
||||||
* Copyright (C) 2002 Anton Blanchard <anton@au.ibm.com>, IBM
|
* Copyright (C) 2002 Anton Blanchard <anton@au.ibm.com>, IBM
|
||||||
|
|
|
@ -62,7 +62,7 @@ __HEAD
|
||||||
.org 0x100
|
.org 0x100
|
||||||
#
|
#
|
||||||
# subroutine for loading from tape
|
# subroutine for loading from tape
|
||||||
# Paramters:
|
# Parameters:
|
||||||
# R1 = device number
|
# R1 = device number
|
||||||
# R2 = load address
|
# R2 = load address
|
||||||
.Lloader:
|
.Lloader:
|
||||||
|
|
|
@ -748,9 +748,9 @@ static int ata_acpi_run_tf(struct ata_device *dev,
|
||||||
/**
|
/**
|
||||||
* ata_acpi_exec_tfs - get then write drive taskfile settings
|
* ata_acpi_exec_tfs - get then write drive taskfile settings
|
||||||
* @dev: target ATA device
|
* @dev: target ATA device
|
||||||
* @nr_executed: out paramter for the number of executed commands
|
* @nr_executed: out parameter for the number of executed commands
|
||||||
*
|
*
|
||||||
* Evaluate _GTF and excute returned taskfiles.
|
* Evaluate _GTF and execute returned taskfiles.
|
||||||
*
|
*
|
||||||
* LOCKING:
|
* LOCKING:
|
||||||
* EH context.
|
* EH context.
|
||||||
|
|
|
@ -2864,7 +2864,7 @@ static int ata_eh_revalidate_and_attach(struct ata_link *link,
|
||||||
/**
|
/**
|
||||||
* ata_set_mode - Program timings and issue SET FEATURES - XFER
|
* ata_set_mode - Program timings and issue SET FEATURES - XFER
|
||||||
* @link: link on which timings will be programmed
|
* @link: link on which timings will be programmed
|
||||||
* @r_failed_dev: out paramter for failed device
|
* @r_failed_dev: out parameter for failed device
|
||||||
*
|
*
|
||||||
* Set ATA device disk transfer mode (PIO3, UDMA6, etc.). If
|
* Set ATA device disk transfer mode (PIO3, UDMA6, etc.). If
|
||||||
* ata_set_mode() fails, pointer to the failing device is
|
* ata_set_mode() fails, pointer to the failing device is
|
||||||
|
|
|
@ -279,7 +279,7 @@ static struct device *next_device(struct klist_iter *i)
|
||||||
*
|
*
|
||||||
* NOTE: The device that returns a non-zero value is not retained
|
* NOTE: The device that returns a non-zero value is not retained
|
||||||
* in any way, nor is its refcount incremented. If the caller needs
|
* in any way, nor is its refcount incremented. If the caller needs
|
||||||
* to retain this data, it should do, and increment the reference
|
* to retain this data, it should do so, and increment the reference
|
||||||
* count in the supplied callback.
|
* count in the supplied callback.
|
||||||
*/
|
*/
|
||||||
int bus_for_each_dev(struct bus_type *bus, struct device *start,
|
int bus_for_each_dev(struct bus_type *bus, struct device *start,
|
||||||
|
|
|
@ -112,7 +112,7 @@ config GDROM
|
||||||
with up to 1 GB of data. This drive will also read standard CD ROM
|
with up to 1 GB of data. This drive will also read standard CD ROM
|
||||||
disks. Select this option to access any disks in your GD ROM drive.
|
disks. Select this option to access any disks in your GD ROM drive.
|
||||||
Most users will want to say "Y" here.
|
Most users will want to say "Y" here.
|
||||||
You can also build this as a module which will be called gdrom.ko
|
You can also build this as a module which will be called gdrom.
|
||||||
|
|
||||||
source "drivers/block/paride/Kconfig"
|
source "drivers/block/paride/Kconfig"
|
||||||
|
|
||||||
|
|
|
@ -692,7 +692,7 @@ config HVCS
|
||||||
this driver.
|
this driver.
|
||||||
|
|
||||||
To compile this driver as a module, choose M here: the
|
To compile this driver as a module, choose M here: the
|
||||||
module will be called hvcs.ko. Additionally, this module
|
module will be called hvcs. Additionally, this module
|
||||||
will depend on arch specific APIs exported from hvcserver.ko
|
will depend on arch specific APIs exported from hvcserver.ko
|
||||||
which will also be compiled when this driver is built as a
|
which will also be compiled when this driver is built as a
|
||||||
module.
|
module.
|
||||||
|
|
|
@ -779,7 +779,7 @@ static void change_speed(struct async_struct *info,
|
||||||
info->IER |= UART_IER_MSI;
|
info->IER |= UART_IER_MSI;
|
||||||
}
|
}
|
||||||
/* TBD:
|
/* TBD:
|
||||||
* Does clearing IER_MSI imply that we should disbale the VBL interrupt ?
|
* Does clearing IER_MSI imply that we should disable the VBL interrupt ?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -7,7 +7,7 @@ menuconfig CONNECTOR
|
||||||
of the netlink socket protocol.
|
of the netlink socket protocol.
|
||||||
|
|
||||||
Connector support can also be built as a module. If so, the module
|
Connector support can also be built as a module. If so, the module
|
||||||
will be called cn.ko.
|
will be called cn.
|
||||||
|
|
||||||
if CONNECTOR
|
if CONNECTOR
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ config CRYPTO_DEV_PADLOCK_AES
|
||||||
Available in VIA C3 and newer CPUs.
|
Available in VIA C3 and newer CPUs.
|
||||||
|
|
||||||
If unsure say M. The compiled module will be
|
If unsure say M. The compiled module will be
|
||||||
called padlock-aes.ko
|
called padlock-aes.
|
||||||
|
|
||||||
config CRYPTO_DEV_PADLOCK_SHA
|
config CRYPTO_DEV_PADLOCK_SHA
|
||||||
tristate "PadLock driver for SHA1 and SHA256 algorithms"
|
tristate "PadLock driver for SHA1 and SHA256 algorithms"
|
||||||
|
@ -47,7 +47,7 @@ config CRYPTO_DEV_PADLOCK_SHA
|
||||||
Available in VIA C7 and newer processors.
|
Available in VIA C7 and newer processors.
|
||||||
|
|
||||||
If unsure say M. The compiled module will be
|
If unsure say M. The compiled module will be
|
||||||
called padlock-sha.ko
|
called padlock-sha.
|
||||||
|
|
||||||
config CRYPTO_DEV_GEODE
|
config CRYPTO_DEV_GEODE
|
||||||
tristate "Support for the Geode LX AES engine"
|
tristate "Support for the Geode LX AES engine"
|
||||||
|
@ -79,7 +79,7 @@ config ZCRYPT_MONOLITHIC
|
||||||
bool "Monolithic zcrypt module"
|
bool "Monolithic zcrypt module"
|
||||||
depends on ZCRYPT="m"
|
depends on ZCRYPT="m"
|
||||||
help
|
help
|
||||||
Select this option if you want to have a single module z90crypt.ko
|
Select this option if you want to have a single module z90crypt,
|
||||||
that contains all parts of the crypto device driver (ap bus,
|
that contains all parts of the crypto device driver (ap bus,
|
||||||
request router and all the card drivers).
|
request router and all the card drivers).
|
||||||
|
|
||||||
|
|
|
@ -1084,7 +1084,7 @@ static void e752x_init_sysbus_parity_mask(struct e752x_pvt *pvt)
|
||||||
struct pci_dev *dev = pvt->dev_d0f1;
|
struct pci_dev *dev = pvt->dev_d0f1;
|
||||||
int enable = 1;
|
int enable = 1;
|
||||||
|
|
||||||
/* Allow module paramter override, else see if CPU supports parity */
|
/* Allow module parameter override, else see if CPU supports parity */
|
||||||
if (sysbus_parity != -1) {
|
if (sysbus_parity != -1) {
|
||||||
enable = sysbus_parity;
|
enable = sysbus_parity;
|
||||||
} else if (cpu_id[0] &&
|
} else if (cpu_id[0] &&
|
||||||
|
|
|
@ -46,7 +46,7 @@ menuconfig IDE
|
||||||
SMART parameters from disk drives.
|
SMART parameters from disk drives.
|
||||||
|
|
||||||
To compile this driver as a module, choose M here: the
|
To compile this driver as a module, choose M here: the
|
||||||
module will be called ide-core.ko.
|
module will be called ide-core.
|
||||||
|
|
||||||
For further information, please read <file:Documentation/ide/ide.txt>.
|
For further information, please read <file:Documentation/ide/ide.txt>.
|
||||||
|
|
||||||
|
|
|
@ -577,7 +577,7 @@ static ide_startstop_t ide_transfer_pc(ide_drive_t *drive)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If necessary schedule the packet transfer to occur 'timeout'
|
* If necessary schedule the packet transfer to occur 'timeout'
|
||||||
* miliseconds later in ide_delayed_transfer_pc() after the
|
* milliseconds later in ide_delayed_transfer_pc() after the
|
||||||
* device says it's ready for a packet.
|
* device says it's ready for a packet.
|
||||||
*/
|
*/
|
||||||
if (drive->atapi_flags & IDE_AFLAG_ZIP_DRIVE) {
|
if (drive->atapi_flags & IDE_AFLAG_ZIP_DRIVE) {
|
||||||
|
|
|
@ -232,7 +232,7 @@ config INPUT_GPIO_ROTARY_ENCODER
|
||||||
depends on GPIOLIB && GENERIC_GPIO
|
depends on GPIOLIB && GENERIC_GPIO
|
||||||
help
|
help
|
||||||
Say Y here to add support for rotary encoders connected to GPIO lines.
|
Say Y here to add support for rotary encoders connected to GPIO lines.
|
||||||
Check file:Documentation/incput/rotary_encoder.txt for more
|
Check file:Documentation/input/rotary-encoder.txt for more
|
||||||
information.
|
information.
|
||||||
|
|
||||||
To compile this driver as a module, choose M here: the
|
To compile this driver as a module, choose M here: the
|
||||||
|
|
|
@ -183,7 +183,7 @@ int cf_command(int drvid, int mode,
|
||||||
(mode != 1) ? "" : " 0 ",
|
(mode != 1) ? "" : " 0 ",
|
||||||
(mode != 1) ? "" : fwd_nr);
|
(mode != 1) ? "" : fwd_nr);
|
||||||
|
|
||||||
retval = divert_if.ll_cmd(&cs->ics); /* excute command */
|
retval = divert_if.ll_cmd(&cs->ics); /* execute command */
|
||||||
|
|
||||||
if (!retval)
|
if (!retval)
|
||||||
{ cs->prev = NULL;
|
{ cs->prev = NULL;
|
||||||
|
|
|
@ -502,7 +502,7 @@ dsp_control_req(struct dsp *dsp, struct mISDNhead *hh, struct sk_buff *skb)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
dsp->cmx_delay = (*((int *)data)) << 3;
|
dsp->cmx_delay = (*((int *)data)) << 3;
|
||||||
/* miliseconds to samples */
|
/* milliseconds to samples */
|
||||||
if (dsp->cmx_delay >= (CMX_BUFF_HALF>>1))
|
if (dsp->cmx_delay >= (CMX_BUFF_HALF>>1))
|
||||||
/* clip to half of maximum usable buffer
|
/* clip to half of maximum usable buffer
|
||||||
(half of half buffer) */
|
(half of half buffer) */
|
||||||
|
|
|
@ -216,7 +216,7 @@ config DVB_USB_TTUSB2
|
||||||
help
|
help
|
||||||
Say Y here to support the Pinnacle 400e DVB-S USB2.0 receiver. The
|
Say Y here to support the Pinnacle 400e DVB-S USB2.0 receiver. The
|
||||||
firmware protocol used by this module is similar to the one used by the
|
firmware protocol used by this module is similar to the one used by the
|
||||||
old ttusb-driver - that's why the module is called dvb-usb-ttusb2.ko.
|
old ttusb-driver - that's why the module is called dvb-usb-ttusb2.
|
||||||
|
|
||||||
config DVB_USB_DTT200U
|
config DVB_USB_DTT200U
|
||||||
tristate "WideView WT-200U and WT-220U (pen) DVB-T USB2.0 support (Yakumo/Hama/Typhoon/Yuan)"
|
tristate "WideView WT-200U and WT-220U (pen) DVB-T USB2.0 support (Yakumo/Hama/Typhoon/Yuan)"
|
||||||
|
|
|
@ -181,7 +181,7 @@ static int hdpvr_submit_buffers(struct hdpvr_device *dev)
|
||||||
buff_list);
|
buff_list);
|
||||||
if (buf->status != BUFSTAT_AVAILABLE) {
|
if (buf->status != BUFSTAT_AVAILABLE) {
|
||||||
v4l2_err(&dev->v4l2_dev,
|
v4l2_err(&dev->v4l2_dev,
|
||||||
"buffer not marked as availbale\n");
|
"buffer not marked as available\n");
|
||||||
ret = -EFAULT;
|
ret = -EFAULT;
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
|
|
|
@ -130,7 +130,7 @@ mpi_ioc.h
|
||||||
* 08-08-01 01.02.01 Original release for v1.2 work.
|
* 08-08-01 01.02.01 Original release for v1.2 work.
|
||||||
* New format for FWVersion and ProductId in
|
* New format for FWVersion and ProductId in
|
||||||
* MSG_IOC_FACTS_REPLY and MPI_FW_HEADER.
|
* MSG_IOC_FACTS_REPLY and MPI_FW_HEADER.
|
||||||
* 08-31-01 01.02.02 Addded event MPI_EVENT_SCSI_DEVICE_STATUS_CHANGE and
|
* 08-31-01 01.02.02 Added event MPI_EVENT_SCSI_DEVICE_STATUS_CHANGE and
|
||||||
* related structure and defines.
|
* related structure and defines.
|
||||||
* Added event MPI_EVENT_ON_BUS_TIMER_EXPIRED.
|
* Added event MPI_EVENT_ON_BUS_TIMER_EXPIRED.
|
||||||
* Added MPI_IOCINIT_FLAGS_DISCARD_FW_IMAGE.
|
* Added MPI_IOCINIT_FLAGS_DISCARD_FW_IMAGE.
|
||||||
|
@ -190,7 +190,7 @@ mpi_ioc.h
|
||||||
* 10-11-06 01.05.12 Added MPI_IOCFACTS_EXCEPT_METADATA_UNSUPPORTED.
|
* 10-11-06 01.05.12 Added MPI_IOCFACTS_EXCEPT_METADATA_UNSUPPORTED.
|
||||||
* Added MaxInitiators field to PortFacts reply.
|
* Added MaxInitiators field to PortFacts reply.
|
||||||
* Added SAS Device Status Change ReasonCode for
|
* Added SAS Device Status Change ReasonCode for
|
||||||
* asynchronous notificaiton.
|
* asynchronous notification.
|
||||||
* Added MPI_EVENT_SAS_EXPANDER_STATUS_CHANGE and event
|
* Added MPI_EVENT_SAS_EXPANDER_STATUS_CHANGE and event
|
||||||
* data structure.
|
* data structure.
|
||||||
* Added new ImageType values for FWDownload and FWUpload
|
* Added new ImageType values for FWDownload and FWUpload
|
||||||
|
@ -623,7 +623,7 @@ mpi_fc.h
|
||||||
* 11-02-00 01.01.01 Original release for post 1.0 work
|
* 11-02-00 01.01.01 Original release for post 1.0 work
|
||||||
* 12-04-00 01.01.02 Added messages for Common Transport Send and
|
* 12-04-00 01.01.02 Added messages for Common Transport Send and
|
||||||
* Primitive Send.
|
* Primitive Send.
|
||||||
* 01-09-01 01.01.03 Modifed some of the new flags to have an MPI prefix
|
* 01-09-01 01.01.03 Modified some of the new flags to have an MPI prefix
|
||||||
* and modified the FcPrimitiveSend flags.
|
* and modified the FcPrimitiveSend flags.
|
||||||
* 01-25-01 01.01.04 Move InitiatorIndex in LinkServiceRsp reply to a larger
|
* 01-25-01 01.01.04 Move InitiatorIndex in LinkServiceRsp reply to a larger
|
||||||
* field.
|
* field.
|
||||||
|
|
|
@ -154,7 +154,8 @@ config MTD_AFS_PARTS
|
||||||
|
|
||||||
You will still need the parsing functions to be called by the driver
|
You will still need the parsing functions to be called by the driver
|
||||||
for your particular device. It won't happen automatically. The
|
for your particular device. It won't happen automatically. The
|
||||||
'armflash' map driver (CONFIG_MTD_ARMFLASH) does this, for example.
|
'armflash' map driver (CONFIG_MTD_ARM_INTEGRATOR) does this, for
|
||||||
|
example.
|
||||||
|
|
||||||
config MTD_OF_PARTS
|
config MTD_OF_PARTS
|
||||||
tristate "Flash partition map based on OF description"
|
tristate "Flash partition map based on OF description"
|
||||||
|
|
|
@ -49,7 +49,7 @@ config MTD_MS02NV
|
||||||
If you want to compile this driver as a module ( = code which can be
|
If you want to compile this driver as a module ( = code which can be
|
||||||
inserted in and removed from the running kernel whenever you want),
|
inserted in and removed from the running kernel whenever you want),
|
||||||
say M here and read <file:Documentation/kbuild/modules.txt>.
|
say M here and read <file:Documentation/kbuild/modules.txt>.
|
||||||
The module will be called ms02-nv.ko.
|
The module will be called ms02-nv.
|
||||||
|
|
||||||
config MTD_DATAFLASH
|
config MTD_DATAFLASH
|
||||||
tristate "Support for AT45xxx DataFlash"
|
tristate "Support for AT45xxx DataFlash"
|
||||||
|
|
|
@ -260,7 +260,7 @@ config MTD_NAND_BASLER_EXCITE
|
||||||
help
|
help
|
||||||
This enables the driver for the NAND flash device found on the
|
This enables the driver for the NAND flash device found on the
|
||||||
Basler eXcite Smart Camera. If built as a module, the driver
|
Basler eXcite Smart Camera. If built as a module, the driver
|
||||||
will be named "excite_nandflash.ko".
|
will be named excite_nandflash.
|
||||||
|
|
||||||
config MTD_NAND_CAFE
|
config MTD_NAND_CAFE
|
||||||
tristate "NAND support for OLPC CAFÉ chip"
|
tristate "NAND support for OLPC CAFÉ chip"
|
||||||
|
@ -282,7 +282,7 @@ config MTD_NAND_CS553X
|
||||||
controller is enabled for NAND, and currently requires that
|
controller is enabled for NAND, and currently requires that
|
||||||
the controller be in MMIO mode.
|
the controller be in MMIO mode.
|
||||||
|
|
||||||
If you say "m", the module will be called "cs553x_nand.ko".
|
If you say "m", the module will be called cs553x_nand.
|
||||||
|
|
||||||
config MTD_NAND_ATMEL
|
config MTD_NAND_ATMEL
|
||||||
tristate "Support for NAND Flash / SmartMedia on AT91 and AVR32"
|
tristate "Support for NAND Flash / SmartMedia on AT91 and AVR32"
|
||||||
|
|
|
@ -1880,7 +1880,7 @@ config FEC_MPC52xx
|
||||||
---help---
|
---help---
|
||||||
This option enables support for the MPC5200's on-chip
|
This option enables support for the MPC5200's on-chip
|
||||||
Fast Ethernet Controller
|
Fast Ethernet Controller
|
||||||
If compiled as module, it will be called 'fec_mpc52xx.ko'.
|
If compiled as module, it will be called fec_mpc52xx.
|
||||||
|
|
||||||
config FEC_MPC52xx_MDIO
|
config FEC_MPC52xx_MDIO
|
||||||
bool "MPC52xx FEC MDIO bus driver"
|
bool "MPC52xx FEC MDIO bus driver"
|
||||||
|
@ -1892,7 +1892,7 @@ config FEC_MPC52xx_MDIO
|
||||||
(Motorola? industry standard).
|
(Motorola? industry standard).
|
||||||
If your board uses an external PHY connected to FEC, enable this.
|
If your board uses an external PHY connected to FEC, enable this.
|
||||||
If not sure, enable.
|
If not sure, enable.
|
||||||
If compiled as module, it will be called 'fec_mpc52xx_phy.ko'.
|
If compiled as module, it will be called fec_mpc52xx_phy.
|
||||||
|
|
||||||
config NE_H8300
|
config NE_H8300
|
||||||
tristate "NE2000 compatible support for H8/300"
|
tristate "NE2000 compatible support for H8/300"
|
||||||
|
|
|
@ -1220,7 +1220,7 @@ static int __init ltpc_setup(char *str)
|
||||||
if (ints[0] > 2) {
|
if (ints[0] > 2) {
|
||||||
dma = ints[3];
|
dma = ints[3];
|
||||||
}
|
}
|
||||||
/* ignore any other paramters */
|
/* ignore any other parameters */
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
#define B44_DMARX_STAT 0x021CUL /* DMA RX Current Active Desc. + Status */
|
#define B44_DMARX_STAT 0x021CUL /* DMA RX Current Active Desc. + Status */
|
||||||
#define DMARX_STAT_CDMASK 0x00000fff /* Current Descriptor Mask */
|
#define DMARX_STAT_CDMASK 0x00000fff /* Current Descriptor Mask */
|
||||||
#define DMARX_STAT_SMASK 0x0000f000 /* State Mask */
|
#define DMARX_STAT_SMASK 0x0000f000 /* State Mask */
|
||||||
#define DMARX_STAT_SDISABLED 0x00000000 /* State Disbaled */
|
#define DMARX_STAT_SDISABLED 0x00000000 /* State Disabled */
|
||||||
#define DMARX_STAT_SACTIVE 0x00001000 /* State Active */
|
#define DMARX_STAT_SACTIVE 0x00001000 /* State Active */
|
||||||
#define DMARX_STAT_SIDLE 0x00002000 /* State Idle Wait */
|
#define DMARX_STAT_SIDLE 0x00002000 /* State Idle Wait */
|
||||||
#define DMARX_STAT_SSTOPPED 0x00003000 /* State Stopped */
|
#define DMARX_STAT_SSTOPPED 0x00003000 /* State Stopped */
|
||||||
|
|
|
@ -2785,7 +2785,7 @@ static int e100_resume(struct pci_dev *pdev)
|
||||||
/* ack any pending wake events, disable PME */
|
/* ack any pending wake events, disable PME */
|
||||||
pci_enable_wake(pdev, 0, 0);
|
pci_enable_wake(pdev, 0, 0);
|
||||||
|
|
||||||
/* disbale reverse auto-negotiation */
|
/* disable reverse auto-negotiation */
|
||||||
if (nic->phy == phy_82552_v) {
|
if (nic->phy == phy_82552_v) {
|
||||||
u16 smartspeed = mdio_read(netdev, nic->mii.phy_id,
|
u16 smartspeed = mdio_read(netdev, nic->mii.phy_id,
|
||||||
E100_82552_SMARTSPEED);
|
E100_82552_SMARTSPEED);
|
||||||
|
|
|
@ -62,7 +62,7 @@ struct e1000_info;
|
||||||
e_printk(KERN_NOTICE, adapter, format, ## arg)
|
e_printk(KERN_NOTICE, adapter, format, ## arg)
|
||||||
|
|
||||||
|
|
||||||
/* Interrupt modes, as used by the IntMode paramter */
|
/* Interrupt modes, as used by the IntMode parameter */
|
||||||
#define E1000E_INT_MODE_LEGACY 0
|
#define E1000E_INT_MODE_LEGACY 0
|
||||||
#define E1000E_INT_MODE_MSI 1
|
#define E1000E_INT_MODE_MSI 1
|
||||||
#define E1000E_INT_MODE_MSIX 2
|
#define E1000E_INT_MODE_MSIX 2
|
||||||
|
|
|
@ -268,7 +268,7 @@ struct ehea_qp_init_attr {
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Event Queue attributes, passed as paramter
|
* Event Queue attributes, passed as parameter
|
||||||
*/
|
*/
|
||||||
struct ehea_eq_attr {
|
struct ehea_eq_attr {
|
||||||
u32 type;
|
u32 type;
|
||||||
|
|
|
@ -45,7 +45,7 @@ struct igbvf_adapter;
|
||||||
/* Interrupt defines */
|
/* Interrupt defines */
|
||||||
#define IGBVF_START_ITR 648 /* ~6000 ints/sec */
|
#define IGBVF_START_ITR 648 /* ~6000 ints/sec */
|
||||||
|
|
||||||
/* Interrupt modes, as used by the IntMode paramter */
|
/* Interrupt modes, as used by the IntMode parameter */
|
||||||
#define IGBVF_INT_MODE_LEGACY 0
|
#define IGBVF_INT_MODE_LEGACY 0
|
||||||
#define IGBVF_INT_MODE_MSI 1
|
#define IGBVF_INT_MODE_MSI 1
|
||||||
#define IGBVF_INT_MODE_MSIX 2
|
#define IGBVF_INT_MODE_MSIX 2
|
||||||
|
|
|
@ -514,7 +514,7 @@ enum ipg_regs {
|
||||||
#define IPG_DMALIST_ALIGN_PAD 0x07
|
#define IPG_DMALIST_ALIGN_PAD 0x07
|
||||||
#define IPG_MULTICAST_HASHTABLE_SIZE 0x40
|
#define IPG_MULTICAST_HASHTABLE_SIZE 0x40
|
||||||
|
|
||||||
/* Number of miliseconds to wait after issuing a software reset.
|
/* Number of milliseconds to wait after issuing a software reset.
|
||||||
* 0x05 <= IPG_AC_RESETWAIT to account for proper 10Mbps operation.
|
* 0x05 <= IPG_AC_RESETWAIT to account for proper 10Mbps operation.
|
||||||
*/
|
*/
|
||||||
#define IPG_AC_RESETWAIT 0x05
|
#define IPG_AC_RESETWAIT 0x05
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue