mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree from Jiri Kosina: "It's indeed trivial -- mostly documentation updates and a bunch of typo fixes from Masanari. There are also several linux/version.h include removals from Jesper." * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (101 commits) kcore: fix spelling in read_kcore() comment constify struct pci_dev * in obvious cases Revert "char: Fix typo in viotape.c" init: fix wording error in mm_init comment usb: gadget: Kconfig: fix typo for 'different' Revert "power, max8998: Include linux/module.h just once in drivers/power/max8998_charger.c" writeback: fix fn name in writeback_inodes_sb_nr_if_idle() comment header writeback: fix typo in the writeback_control comment Documentation: Fix multiple typo in Documentation tpm_tis: fix tis_lock with respect to RCU Revert "media: Fix typo in mixer_drv.c and hdmi_drv.c" Doc: Update numastat.txt qla4xxx: Add missing spaces to error messages compiler.h: Fix typo security: struct security_operations kerneldoc fix Documentation: broken URL in libata.tmpl Documentation: broken URL in filesystems.tmpl mtd: simplify return logic in do_map_probe() mm: fix comment typo of truncate_inode_pages_range power: bq27x00: Fix typos in comment ...
This commit is contained in:
commit
69a7aebcf0
@ -7,8 +7,8 @@ Please try and keep the descriptions small enough to fit on one line.
|
||||
|
||||
Following translations are available on the WWW:
|
||||
|
||||
- Japanese, maintained by the JF Project (JF@linux.or.jp), at
|
||||
http://www.linux.or.jp/JF/
|
||||
- Japanese, maintained by the JF Project (jf@listserv.linux.or.jp), at
|
||||
http://linuxjf.sourceforge.jp/
|
||||
|
||||
00-INDEX
|
||||
- this file.
|
||||
|
@ -7,7 +7,7 @@ Date: 09-Jul-2007
|
||||
KernelVersion v2.6.22
|
||||
Contact: linux-wireless@vger.kernel.org
|
||||
Description: Current state of the transmitter.
|
||||
This file is deprecated and sheduled to be removed in 2014,
|
||||
This file is deprecated and scheduled to be removed in 2014,
|
||||
because its not possible to express the 'soft and hard block'
|
||||
state of the rfkill driver.
|
||||
Values: A numeric value.
|
||||
|
@ -6,7 +6,7 @@ Description:
|
||||
The name of the module that is in the kernel. This
|
||||
module name will show up either if the module is built
|
||||
directly into the kernel, or if it is loaded as a
|
||||
dyanmic module.
|
||||
dynamic module.
|
||||
|
||||
/sys/module/MODULENAME/parameters
|
||||
This directory contains individual files that are each
|
||||
|
@ -387,7 +387,7 @@ an example.
|
||||
<title>See also</title>
|
||||
<para>
|
||||
<citation>
|
||||
<ulink url="ftp://ftp.uk.linux.org/pub/linux/sct/fs/jfs/journal-design.ps.gz">
|
||||
<ulink url="http://kernel.org/pub/linux/kernel/people/sct/ext3/journal-design.ps.gz">
|
||||
Journaling the Linux ext2fs Filesystem, LinuxExpo 98, Stephen Tweedie
|
||||
</ulink>
|
||||
</citation>
|
||||
|
@ -22,8 +22,8 @@
|
||||
<para>
|
||||
The contents of this file are subject to the Open
|
||||
Software License version 1.1 that can be found at
|
||||
<ulink url="http://www.opensource.org/licenses/osl-1.1.txt">http://www.opensource.org/licenses/osl-1.1.txt</ulink> and is included herein
|
||||
by reference.
|
||||
<ulink url="http://fedoraproject.org/wiki/Licensing:OSL1.1">http://fedoraproject.org/wiki/Licensing:OSL1.1</ulink>
|
||||
and is included herein by reference.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
@ -945,7 +945,7 @@ and other resources, etc.
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
!BSY && ERR after CDB tranfer starts but before the
|
||||
!BSY && ERR after CDB transfer starts but before the
|
||||
last byte of CDB is transferred. ATA/ATAPI standard states
|
||||
that "The device shall not terminate the PACKET command
|
||||
with an error before the last byte of the command packet has
|
||||
@ -1050,7 +1050,7 @@ and other resources, etc.
|
||||
to complete a command. Combined with the fact that MWDMA
|
||||
and PIO transfer errors aren't allowed to use ICRC bit up to
|
||||
ATA/ATAPI-7, it seems to imply that ABRT bit alone could
|
||||
indicate tranfer errors.
|
||||
indicate transfer errors.
|
||||
</para>
|
||||
<para>
|
||||
However, ATA/ATAPI-8 draft revision 1f removes the part
|
||||
|
@ -444,7 +444,7 @@ linkend="pixfmt-rgb"><constant>V4L2_PIX_FMT_BGR24</constant></link></para></entr
|
||||
<entry><para><link
|
||||
linkend="pixfmt-rgb"><constant>V4L2_PIX_FMT_BGR32</constant></link><footnote>
|
||||
<para>Presumably all V4L RGB formats are
|
||||
little-endian, although some drivers might interpret them according to machine endianess. V4L2 defines little-endian, big-endian and red/blue
|
||||
little-endian, although some drivers might interpret them according to machine endianness. V4L2 defines little-endian, big-endian and red/blue
|
||||
swapped variants. For details see <xref linkend="pixfmt-rgb" />.</para>
|
||||
</footnote></para></entry>
|
||||
</row>
|
||||
@ -823,7 +823,7 @@ standard); 35468950 Hz PAL and SECAM (625-line standards)</entry>
|
||||
<row>
|
||||
<entry>sample_format</entry>
|
||||
<entry>V4L2_PIX_FMT_GREY. The last four bytes (a
|
||||
machine endianess integer) contain a frame counter.</entry>
|
||||
machine endianness integer) contain a frame counter.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>start[]</entry>
|
||||
|
@ -25,7 +25,7 @@ inline (either in the code emitted directly by the compiler, or part of
|
||||
the implementation of a library call) when optimizing for a recent enough
|
||||
processor that has the necessary native support, but only if resulting
|
||||
binaries are already to be incompatible with earlier ARM processors due to
|
||||
useage of similar native instructions for other things. In other words
|
||||
usage of similar native instructions for other things. In other words
|
||||
don't make binaries unable to run on earlier processors just for the sake
|
||||
of not using these kernel helpers if your compiled code is not going to
|
||||
use new instructions for other purpose.
|
||||
|
@ -94,11 +94,11 @@ Throttling/Upper Limit policy
|
||||
|
||||
Hierarchical Cgroups
|
||||
====================
|
||||
- Currently none of the IO control policy supports hierarhical groups. But
|
||||
cgroup interface does allow creation of hierarhical cgroups and internally
|
||||
- Currently none of the IO control policy supports hierarchical groups. But
|
||||
cgroup interface does allow creation of hierarchical cgroups and internally
|
||||
IO policies treat them as flat hierarchy.
|
||||
|
||||
So this patch will allow creation of cgroup hierarhcy but at the backend
|
||||
So this patch will allow creation of cgroup hierarchcy but at the backend
|
||||
everything will be treated as flat. So if somebody created a hierarchy like
|
||||
as follows.
|
||||
|
||||
@ -266,7 +266,7 @@ Proportional weight policy files
|
||||
- blkio.idle_time
|
||||
- Debugging aid only enabled if CONFIG_DEBUG_BLK_CGROUP=y.
|
||||
This is the amount of time spent by the IO scheduler idling for a
|
||||
given cgroup in anticipation of a better request than the exising ones
|
||||
given cgroup in anticipation of a better request than the existing ones
|
||||
from other queues/cgroups. This is in nanoseconds. If this is read
|
||||
when the cgroup is in an idling state, the stat will only report the
|
||||
idle_time accumulated till the last idle period and will not include
|
||||
@ -283,34 +283,34 @@ Throttling/Upper limit policy files
|
||||
-----------------------------------
|
||||
- blkio.throttle.read_bps_device
|
||||
- Specifies upper limit on READ rate from the device. IO rate is
|
||||
specified in bytes per second. Rules are per deivce. Following is
|
||||
specified in bytes per second. Rules are per device. Following is
|
||||
the format.
|
||||
|
||||
echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.read_bps_device
|
||||
|
||||
- blkio.throttle.write_bps_device
|
||||
- Specifies upper limit on WRITE rate to the device. IO rate is
|
||||
specified in bytes per second. Rules are per deivce. Following is
|
||||
specified in bytes per second. Rules are per device. Following is
|
||||
the format.
|
||||
|
||||
echo "<major>:<minor> <rate_bytes_per_second>" > /cgrp/blkio.throttle.write_bps_device
|
||||
|
||||
- blkio.throttle.read_iops_device
|
||||
- Specifies upper limit on READ rate from the device. IO rate is
|
||||
specified in IO per second. Rules are per deivce. Following is
|
||||
specified in IO per second. Rules are per device. Following is
|
||||
the format.
|
||||
|
||||
echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.read_iops_device
|
||||
|
||||
- blkio.throttle.write_iops_device
|
||||
- Specifies upper limit on WRITE rate to the device. IO rate is
|
||||
specified in io per second. Rules are per deivce. Following is
|
||||
specified in io per second. Rules are per device. Following is
|
||||
the format.
|
||||
|
||||
echo "<major>:<minor> <rate_io_per_second>" > /cgrp/blkio.throttle.write_iops_device
|
||||
|
||||
Note: If both BW and IOPS rules are specified for a device, then IO is
|
||||
subjectd to both the constraints.
|
||||
subjected to both the constraints.
|
||||
|
||||
- blkio.throttle.io_serviced
|
||||
- Number of IOs (bio) completed to/from the disk by the group (as
|
||||
|
@ -28,7 +28,7 @@ The target is named "raid" and it accepts the following parameters:
|
||||
raid6_nc RAID6 N continue
|
||||
- rotating parity N (right-to-left) with data continuation
|
||||
|
||||
Refererence: Chapter 4 of
|
||||
Reference: Chapter 4 of
|
||||
http://www.snia.org/sites/default/files/SNIA_DDF_Technical_Position_v2.0.pdf
|
||||
|
||||
<#raid_params>: The number of parameters that follow.
|
||||
|
@ -3,7 +3,7 @@ Introduction
|
||||
|
||||
The more-sophisticated device-mapper targets require complex metadata
|
||||
that is managed in kernel. In late 2010 we were seeing that various
|
||||
different targets were rolling their own data strutures, for example:
|
||||
different targets were rolling their own data structures, for example:
|
||||
|
||||
- Mikulas Patocka's multisnap implementation
|
||||
- Heinz Mauelshagen's thin provisioning target
|
||||
|
@ -1,7 +1,7 @@
|
||||
Introduction
|
||||
============
|
||||
|
||||
This document descibes a collection of device-mapper targets that
|
||||
This document describes a collection of device-mapper targets that
|
||||
between them implement thin-provisioning and snapshots.
|
||||
|
||||
The main highlight of this implementation, compared to the previous
|
||||
|
@ -5,7 +5,7 @@ IPs present in the SoC.
|
||||
On top of that an omap_device is created to extend the platform_device
|
||||
capabilities and to allow binding with one or several hwmods.
|
||||
The hwmods will contain all the information to build the device:
|
||||
adresse range, irq lines, dma lines, interconnect, PRCM register,
|
||||
address range, irq lines, dma lines, interconnect, PRCM register,
|
||||
clock domain, input clocks.
|
||||
For the moment just point to the existing hwmod, the next step will be
|
||||
to move data from hwmod to device-tree representation.
|
||||
|
@ -1,3 +1,3 @@
|
||||
prima2 "cb" evalutation board
|
||||
prima2 "cb" evaluation board
|
||||
Required root node properties:
|
||||
- compatible = "sirf,prima2-cb", "sirf,prima2";
|
||||
|
@ -169,7 +169,7 @@ it with special cases.
|
||||
|
||||
b) Entry with a flattened device-tree block. Firmware loads the
|
||||
physical address of the flattened device tree block (dtb) into r2,
|
||||
r1 is not used, but it is considered good practise to use a valid
|
||||
r1 is not used, but it is considered good practice to use a valid
|
||||
machine number as described in Documentation/arm/Booting.
|
||||
|
||||
r0 : 0
|
||||
|
@ -63,7 +63,7 @@ The slave DMA usage consists of following steps:
|
||||
struct dma_slave_config *config)
|
||||
|
||||
Please see the dma_slave_config structure definition in dmaengine.h
|
||||
for a detailed explaination of the struct members. Please note
|
||||
for a detailed explanation of the struct members. Please note
|
||||
that the 'direction' member will be going away as it duplicates the
|
||||
direction given in the prepare call.
|
||||
|
||||
|
@ -177,8 +177,8 @@ sgram - tells to driver that you have Gxx0 with SGRAM memory. It has no
|
||||
effect without `init'.
|
||||
sdram - tells to driver that you have Gxx0 with SDRAM memory.
|
||||
It is a default.
|
||||
inv24 - change timings parameters for 24bpp modes on Millenium and
|
||||
Millenium II. Specify this if you see strange color shadows around
|
||||
inv24 - change timings parameters for 24bpp modes on Millennium and
|
||||
Millennium II. Specify this if you see strange color shadows around
|
||||
characters.
|
||||
noinv24 - use standard timings. It is the default.
|
||||
inverse - invert colors on screen (for LCD displays)
|
||||
@ -204,9 +204,9 @@ grayscale - enable grayscale summing. It works in PSEUDOCOLOR modes (text,
|
||||
can paint colors.
|
||||
nograyscale - disable grayscale summing. It is default.
|
||||
cross4MB - enables that pixel line can cross 4MB boundary. It is default for
|
||||
non-Millenium.
|
||||
non-Millennium.
|
||||
nocross4MB - pixel line must not cross 4MB boundary. It is default for
|
||||
Millenium I or II, because of these devices have hardware
|
||||
Millennium I or II, because of these devices have hardware
|
||||
limitations which do not allow this. But this option is
|
||||
incompatible with some (if not all yet released) versions of
|
||||
XF86_FBDev.
|
||||
|
@ -308,7 +308,7 @@ min_batch_time=usec This parameter sets the commit time (as
|
||||
fast disks, at the cost of increasing latency.
|
||||
|
||||
journal_ioprio=prio The I/O priority (from 0 to 7, where 0 is the
|
||||
highest priorty) which should be used for I/O
|
||||
highest priority) which should be used for I/O
|
||||
operations submitted by kjournald2 during a
|
||||
commit operation. This defaults to 3, which is
|
||||
a slightly higher priority than the default I/O
|
||||
@ -343,7 +343,7 @@ noinit_itable Do not initialize any uninitialized inode table
|
||||
init_itable=n The lazy itable init code will wait n times the
|
||||
number of milliseconds it took to zero out the
|
||||
previous block group's inode table. This
|
||||
minimizes the impact on the systme performance
|
||||
minimizes the impact on the system performance
|
||||
while file system's inode table is being initialized.
|
||||
|
||||
discard Controls whether ext4 should issue discard/TRIM
|
||||
|
@ -62,7 +62,7 @@ be fixed.
|
||||
|
||||
The REMOVE uevent is generated at the end of an unsuccessful mount
|
||||
or at the end of a umount of the filesystem. All REMOVE uevents will
|
||||
have been preceded by at least an ADD uevent for the same fileystem,
|
||||
have been preceded by at least an ADD uevent for the same filesystem,
|
||||
and unlike the other uevents is generated automatically by the kernel's
|
||||
kobject subsystem.
|
||||
|
||||
|
@ -20,7 +20,7 @@ Commands can be embedded into transaction command (which in turn has own command
|
||||
so one can extend protocol as needed without breaking backward compatibility as long
|
||||
as old commands are supported. All string lengths include tail 0 byte.
|
||||
|
||||
All commands are transferred over the network in big-endian. CPU endianess is used at the end peers.
|
||||
All commands are transferred over the network in big-endian. CPU endianness is used at the end peers.
|
||||
|
||||
@cmd - command number, which specifies command to be processed. Following
|
||||
commands are used currently:
|
||||
|
@ -297,7 +297,7 @@ the above threads) is:
|
||||
either way about the archive format, and there are alternative tools,
|
||||
such as:
|
||||
|
||||
http://freshmeat.net/projects/afio/
|
||||
http://freecode.com/projects/afio
|
||||
|
||||
2) The cpio archive format chosen by the kernel is simpler and cleaner (and
|
||||
thus easier to create and parse) than any of the (literally dozens of)
|
||||
|
@ -993,7 +993,7 @@ struct dentry_operations {
|
||||
|
||||
If the 'rcu_walk' parameter is true, then the caller is doing a
|
||||
pathwalk in RCU-walk mode. Sleeping is not permitted in this mode,
|
||||
and the caller can be asked to leave it and call again by returing
|
||||
and the caller can be asked to leave it and call again by returning
|
||||
-ECHILD.
|
||||
|
||||
This function is only used if DCACHE_MANAGE_TRANSIT is set on the
|
||||
|
@ -53,7 +53,7 @@ attributes are write-only, all other attributes are read-only.
|
||||
in1_label "vin1" or "vout1" depending on chip variant and
|
||||
configuration.
|
||||
in1_input Measured voltage.
|
||||
in1_min Minumum Voltage.
|
||||
in1_min Minimum Voltage.
|
||||
in1_max Maximum voltage.
|
||||
in1_min_alarm Voltage low alarm.
|
||||
in1_max_alarm Voltage high alarm.
|
||||
|
@ -42,9 +42,9 @@ attributes are read-only.
|
||||
|
||||
in[1-4]_label "vout[1-4]"
|
||||
in[1-4]_input Measured voltage. From READ_VOUT register.
|
||||
in[1-4]_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register.
|
||||
in[1-4]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
|
||||
in[1-4]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
|
||||
in[1-4]_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register.
|
||||
in[1-4]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
|
||||
in[1-4]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
|
||||
in[1-4]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
|
||||
in[1-4]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
|
||||
|
@ -48,9 +48,9 @@ attributes are read-only.
|
||||
|
||||
in[1-6]_label "vout[1-6]".
|
||||
in[1-6]_input Measured voltage. From READ_VOUT register.
|
||||
in[1-6]_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register.
|
||||
in[1-6]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
|
||||
in[1-6]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
|
||||
in[1-6]_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register.
|
||||
in[1-6]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
|
||||
in[1-6]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
|
||||
in[1-6]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
|
||||
in[1-6]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
|
||||
|
@ -42,9 +42,9 @@ attributes are read-only.
|
||||
|
||||
in1_label "vout1"
|
||||
in1_input Measured voltage. From READ_VOUT register.
|
||||
in1_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register.
|
||||
in1_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
|
||||
in1_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
|
||||
in1_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register.
|
||||
in1_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
|
||||
in1_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
|
||||
in1_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
|
||||
in1_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
|
||||
|
@ -70,9 +70,9 @@ attributes are read-only.
|
||||
|
||||
in[1-12]_label "vout[1-12]".
|
||||
in[1-12]_input Measured voltage. From READ_VOUT register.
|
||||
in[1-12]_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register.
|
||||
in[1-12]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
|
||||
in[1-12]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
|
||||
in[1-12]_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register.
|
||||
in[1-12]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
|
||||
in[1-12]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
|
||||
in[1-12]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
|
||||
in[1-12]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
|
||||
@ -82,7 +82,7 @@ in[1-12]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status.
|
||||
curr[1-12]_label "iout[1-12]".
|
||||
curr[1-12]_input Measured current. From READ_IOUT register.
|
||||
curr[1-12]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
|
||||
curr[1-12]_lcrit Critical minumum output current. From IOUT_UC_FAULT_LIMIT
|
||||
curr[1-12]_lcrit Critical minimum output current. From IOUT_UC_FAULT_LIMIT
|
||||
register.
|
||||
curr[1-12]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register.
|
||||
curr[1-12]_max_alarm Current high alarm. From IOUT_OC_WARNING status.
|
||||
|
@ -54,9 +54,9 @@ attributes are read-only.
|
||||
|
||||
in1_label "vin".
|
||||
in1_input Measured voltage. From READ_VIN register.
|
||||
in1_min Minumum Voltage. From VIN_UV_WARN_LIMIT register.
|
||||
in1_min Minimum Voltage. From VIN_UV_WARN_LIMIT register.
|
||||
in1_max Maximum voltage. From VIN_OV_WARN_LIMIT register.
|
||||
in1_lcrit Critical minumum Voltage. VIN_UV_FAULT_LIMIT register.
|
||||
in1_lcrit Critical minimum Voltage. VIN_UV_FAULT_LIMIT register.
|
||||
in1_crit Critical maximum voltage. From VIN_OV_FAULT_LIMIT register.
|
||||
in1_min_alarm Voltage low alarm. From VIN_UV_WARNING status.
|
||||
in1_max_alarm Voltage high alarm. From VIN_OV_WARNING status.
|
||||
@ -65,9 +65,9 @@ in1_crit_alarm Voltage critical high alarm. From VIN_OV_FAULT status.
|
||||
|
||||
in[2-5]_label "vout[1-4]".
|
||||
in[2-5]_input Measured voltage. From READ_VOUT register.
|
||||
in[2-5]_min Minumum Voltage. From VOUT_UV_WARN_LIMIT register.
|
||||
in[2-5]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
|
||||
in[2-5]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
|
||||
in[2-5]_lcrit Critical minumum Voltage. VOUT_UV_FAULT_LIMIT register.
|
||||
in[2-5]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
|
||||
in[2-5]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
|
||||
in[2-5]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
|
||||
in[2-5]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
|
||||
@ -80,7 +80,7 @@ curr1_input Measured current. From READ_IIN register.
|
||||
curr[2-5]_label "iout[1-4]".
|
||||
curr[2-5]_input Measured current. From READ_IOUT register.
|
||||
curr[2-5]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
|
||||
curr[2-5]_lcrit Critical minumum output current. From IOUT_UC_FAULT_LIMIT
|
||||
curr[2-5]_lcrit Critical minimum output current. From IOUT_UC_FAULT_LIMIT
|
||||
register.
|
||||
curr[2-5]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT register.
|
||||
curr[2-5]_max_alarm Current high alarm. From IOUT_OC_WARNING status.
|
||||
|
@ -106,7 +106,7 @@ in1_label "vin"
|
||||
in1_input Measured input voltage.
|
||||
in1_min Minimum input voltage.
|
||||
in1_max Maximum input voltage.
|
||||
in1_lcrit Critical minumum input voltage.
|
||||
in1_lcrit Critical minimum input voltage.
|
||||
in1_crit Critical maximum input voltage.
|
||||
in1_min_alarm Input voltage low alarm.
|
||||
in1_max_alarm Input voltage high alarm.
|
||||
@ -115,7 +115,7 @@ in1_crit_alarm Input voltage critical high alarm.
|
||||
|
||||
in2_label "vout1"
|
||||
in2_input Measured output voltage.
|
||||
in2_lcrit Critical minumum output Voltage.
|
||||
in2_lcrit Critical minimum output Voltage.
|
||||
in2_crit Critical maximum output voltage.
|
||||
in2_lcrit_alarm Critical output voltage critical low alarm.
|
||||
in2_crit_alarm Critical output voltage critical high alarm.
|
||||
|
@ -138,7 +138,7 @@ VI. Setting Parameters
|
||||
|
||||
The return value is the size in bytes of the data written into
|
||||
ops->resbuf if no errors occur. If an error occurs, -1 is returned
|
||||
and errno is set appropriatly:
|
||||
and errno is set appropriately:
|
||||
|
||||
EFAULT Invalid user space pointer was passed
|
||||
ENXIO Invalid IOP number
|
||||
@ -222,7 +222,7 @@ VIII. Downloading Software
|
||||
RETURNS
|
||||
|
||||
This function returns 0 no errors occur. If an error occurs, -1
|
||||
is returned and errno is set appropriatly:
|
||||
is returned and errno is set appropriately:
|
||||
|
||||
EFAULT Invalid user space pointer was passed
|
||||
ENXIO Invalid IOP number
|
||||
@ -264,7 +264,7 @@ IX. Uploading Software
|
||||
RETURNS
|
||||
|
||||
This function returns 0 if no errors occur. If an error occurs, -1
|
||||
is returned and errno is set appropriatly:
|
||||
is returned and errno is set appropriately:
|
||||
|
||||
EFAULT Invalid user space pointer was passed
|
||||
ENXIO Invalid IOP number
|
||||
@ -301,7 +301,7 @@ X. Removing Software
|
||||
RETURNS
|
||||
|
||||
This function returns 0 if no errors occur. If an error occurs, -1
|
||||
is returned and errno is set appropriatly:
|
||||
is returned and errno is set appropriately:
|
||||
|
||||
EFAULT Invalid user space pointer was passed
|
||||
ENXIO Invalid IOP number
|
||||
@ -325,7 +325,7 @@ X. Validating Configuration
|
||||
RETURNS
|
||||
|
||||
This function returns 0 if no erro occur. If an error occurs, -1 is
|
||||
returned and errno is set appropriatly:
|
||||
returned and errno is set appropriately:
|
||||
|
||||
ETIMEDOUT Timeout waiting for reply message
|
||||
ENXIO Invalid IOP number
|
||||
@ -360,7 +360,7 @@ XI. Configuration Dialog
|
||||
RETURNS
|
||||
|
||||
This function returns 0 if no error occur. If an error occurs, -1
|
||||
is returned and errno is set appropriatly:
|
||||
is returned and errno is set appropriately:
|
||||
|
||||
EFAULT Invalid user space pointer was passed
|
||||
ENXIO Invalid IOP number
|
||||
|
@ -175,7 +175,7 @@
|
||||
* since the .pdf version doesn't seem to work...
|
||||
* -- Updated the TODO list to something more current.
|
||||
*
|
||||
* 4.15 Aug 25, 1998 -- Updated ide-cd.h to respect mechine endianess,
|
||||
* 4.15 Aug 25, 1998 -- Updated ide-cd.h to respect machine endianness,
|
||||
* patch thanks to "Eddie C. Dost" <ecd@skynet.be>
|
||||
*
|
||||
* 4.50 Oct 19, 1998 -- New maintainers!
|
||||
|
@ -132,8 +132,8 @@ number of contacts (f1 and f0 in the table below).
|
||||
byte 5: 0 1 ? ? ? ? f1 f0
|
||||
|
||||
This packet only appears after a position packet with the mt bit set, and
|
||||
ususally only appears when there are two or more contacts (although
|
||||
ocassionally it's seen with only a single contact).
|
||||
usually only appears when there are two or more contacts (although
|
||||
occassionally it's seen with only a single contact).
|
||||
|
||||
The final v3 packet type is the trackstick packet.
|
||||
|
||||
|
@ -330,7 +330,7 @@ the USB documentation for how to setup an USB mouse.
|
||||
The TM DirectConnect (BSP) protocol is supported by the tmdc.c
|
||||
module. This includes, but is not limited to:
|
||||
|
||||
* ThrustMaster Millenium 3D Inceptor
|
||||
* ThrustMaster Millennium 3D Interceptor
|
||||
* ThrustMaster 3D Rage Pad
|
||||
* ThrustMaster Fusion Digital Game Pad
|
||||
|
||||
|
@ -596,7 +596,7 @@ HDIO_DRIVE_TASKFILE execute raw taskfile
|
||||
if CHS/LBA28
|
||||
|
||||
The association between in_flags.all and each enable
|
||||
bitfield flips depending on endianess; fortunately, TASKFILE
|
||||
bitfield flips depending on endianness; fortunately, TASKFILE
|
||||
only uses inflags.b.data bit and ignores all other bits.
|
||||
The end result is that, on any endian machines, it has no
|
||||
effect other than modifying in_flags on completion.
|
||||
@ -720,7 +720,7 @@ HDIO_DRIVE_TASKFILE execute raw taskfile
|
||||
|
||||
[6] Do not access {in|out}_flags->all except for resetting
|
||||
all the bits. Always access individual bit fields. ->all
|
||||
value will flip depending on endianess. For the same
|
||||
value will flip depending on endianness. For the same
|
||||
reason, do not use IDE_{TASKFILE|HOB}_STD_{OUT|IN}_FLAGS
|
||||
constants defined in hdreg.h.
|
||||
|
||||
|
@ -117,7 +117,7 @@ applicable everywhere (see syntax).
|
||||
This attribute is only applicable to menu blocks, if the condition is
|
||||
false, the menu block is not displayed to the user (the symbols
|
||||
contained there can still be selected by other symbols, though). It is
|
||||
similar to a conditional "prompt" attribude for individual menu
|
||||
similar to a conditional "prompt" attribute for individual menu
|
||||
entries. Default value of "visible" is true.
|
||||
|
||||
- numerical ranges: "range" <symbol> <symbol> ["if" <expr>]
|
||||
|
@ -950,7 +950,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
|
||||
controller
|
||||
i8042.nopnp [HW] Don't use ACPIPnP / PnPBIOS to discover KBD/AUX
|
||||
controllers
|
||||
i8042.notimeout [HW] Ignore timeout condition signalled by conroller
|
||||
i8042.notimeout [HW] Ignore timeout condition signalled by controller
|
||||
i8042.reset [HW] Reset the controller during init and cleanup
|
||||
i8042.unlock [HW] Unlock (ignore) the keylock
|
||||
|
||||
@ -2440,7 +2440,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
|
||||
For more information see Documentation/vm/slub.txt.
|
||||
|
||||
slub_min_order= [MM, SLUB]
|
||||
Determines the mininum page order for slabs. Must be
|
||||
Determines the minimum page order for slabs. Must be
|
||||
lower than slub_max_order.
|
||||
For more information see Documentation/vm/slub.txt.
|
||||
|
||||
@ -2606,7 +2606,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
|
||||
|
||||
threadirqs [KNL]
|
||||
Force threading of all interrupt handlers except those
|
||||
marked explicitely IRQF_NO_THREAD.
|
||||
marked explicitly IRQF_NO_THREAD.
|
||||
|
||||
topology= [S390]
|
||||
Format: {off | on}
|
||||
|
@ -44,7 +44,7 @@ the 'software updates' pages. The firmware binaries are part of
|
||||
the various ForeThought software distributions.
|
||||
|
||||
Notice that different versions of the PCA-200E firmware exist, depending
|
||||
on the endianess of the host architecture. The driver is shipped with
|
||||
on the endianness of the host architecture. The driver is shipped with
|
||||
both little and big endian PCA firmware images.
|
||||
|
||||
Name and location of the new firmware images can be set at kernel
|
||||
|
@ -5,18 +5,23 @@ Numa policy hit/miss statistics
|
||||
|
||||
All units are pages. Hugepages have separate counters.
|
||||
|
||||
numa_hit A process wanted to allocate memory from this node,
|
||||
and succeeded.
|
||||
numa_miss A process wanted to allocate memory from another node,
|
||||
but ended up with memory from this node.
|
||||
numa_foreign A process wanted to allocate on this node,
|
||||
but ended up with memory from another one.
|
||||
local_node A process ran on this node and got memory from it.
|
||||
other_node A process ran on this node and got memory from another node.
|
||||
interleave_hit Interleaving wanted to allocate from this node
|
||||
and succeeded.
|
||||
numa_hit A process wanted to allocate memory from this node,
|
||||
and succeeded.
|
||||
|
||||
numa_miss A process wanted to allocate memory from another node,
|
||||
but ended up with memory from this node.
|
||||
|
||||
numa_foreign A process wanted to allocate on this node,
|
||||
but ended up with memory from another one.
|
||||
|
||||
local_node A process ran on this node and got memory from it.
|
||||
|
||||
other_node A process ran on this node and got memory from another node.
|
||||
|
||||
interleave_hit Interleaving wanted to allocate from this node
|
||||
and succeeded.
|
||||
|
||||
For easier reading you can use the numastat utility from the numactl package
|
||||
(ftp://ftp.suse.com/pub/people/ak/numa/numactl*). Note that it only works
|
||||
(http://oss.sgi.com/projects/libnuma/). Note that it only works
|
||||
well right now on machines with a small number of CPUs.
|
||||
|
||||
|
@ -1718,7 +1718,7 @@ Changes from 20040319 to 20040326
|
||||
* lpfc_els_timeout_handler() now uses system timer.
|
||||
* Further cleanup of #ifdef powerpc
|
||||
* lpfc_scsi_timeout_handler() now uses system timer.
|
||||
* Replace common driver's own defines for endianess w/ Linux's
|
||||
* Replace common driver's own defines for endianness w/ Linux's
|
||||
__BIG_ENDIAN etc.
|
||||
* Added #ifdef IPFC for all IPFC specific code.
|
||||
* lpfc_disc_retry_rptlun() now uses system timer.
|
||||
|
@ -510,7 +510,7 @@ i. Support for 1078 type (ppc IOP) controller, device id : 0x60 added.
|
||||
3 Older Version : 00.00.02.02
|
||||
i. Register 16 byte CDB capability with scsi midlayer
|
||||
|
||||
"Ths patch properly registers the 16 byte command length capability of the
|
||||
"This patch properly registers the 16 byte command length capability of the
|
||||
megaraid_sas controlled hardware with the scsi midlayer. All megaraid_sas
|
||||
hardware supports 16 byte CDB's."
|
||||
|
||||
|
@ -62,7 +62,7 @@ There are two packages of sg utilities:
|
||||
and earlier
|
||||
Both packages will work in the lk 2.4 series however sg3_utils offers more
|
||||
capabilities. They can be found at: http://sg.danny.cz/sg/sg3_utils.html and
|
||||
freshmeat.net
|
||||
freecode.com
|
||||
|
||||
Another approach is to look at the applications that use the sg driver.
|
||||
These include cdrecord, cdparanoia, SANE and cdrdao.
|
||||
|
@ -102,7 +102,7 @@ So take at least the following measures:
|
||||
ftp://student.physik.uni-dortmund.de/pub/linux/kernel/bootdisk.gz
|
||||
|
||||
One more warning: I used to overclock my PCI bus to 41.67 MHz. My Tekram
|
||||
DC390F (Sym53c875) accepted this as well as my Millenium. But the Am53C974
|
||||
DC390F (Sym53c875) accepted this as well as my Millennium. But the Am53C974
|
||||
produced errors and started to corrupt my disks. So don't do that! A 37.50
|
||||
MHz PCI bus works for me, though, but I don't recommend using higher clocks
|
||||
than the 33.33 MHz being in the PCI spec.
|
||||
|
@ -536,6 +536,6 @@ writing a single character to the /smack/logging file :
|
||||
3 : log denied & accepted
|
||||
|
||||
Events are logged as 'key=value' pairs, for each event you at least will get
|
||||
the subjet, the object, the rights requested, the action, the kernel function
|
||||
the subject, the object, the rights requested, the action, the kernel function
|
||||
that triggered the event, plus other pairs depending on the type of event
|
||||
audited.
|
||||
|
@ -1,7 +1,7 @@
|
||||
Trusted and Encrypted Keys
|
||||
|
||||
Trusted and Encrypted Keys are two new key types added to the existing kernel
|
||||
key ring service. Both of these new types are variable length symmetic keys,
|
||||
key ring service. Both of these new types are variable length symmetric keys,
|
||||
and in both cases all keys are created in the kernel, and user space sees,
|
||||
stores, and loads only encrypted blobs. Trusted Keys require the availability
|
||||
of a Trusted Platform Module (TPM) chip for greater security, while Encrypted
|
||||
|
@ -668,7 +668,7 @@ The keyctl syscall functions are:
|
||||
|
||||
If the kernel calls back to userspace to complete the instantiation of a
|
||||
key, userspace should use this call mark the key as negative before the
|
||||
invoked process returns if it is unable to fulfil the request.
|
||||
invoked process returns if it is unable to fulfill the request.
|
||||
|
||||
The process must have write access on the key to be able to instantiate
|
||||
it, and the key must be uninstantiated.
|
||||
|
@ -1588,7 +1588,7 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
|
||||
|
||||
Module supports autoprobe a chip.
|
||||
|
||||
Note: the driver may have problems regarding endianess.
|
||||
Note: the driver may have problems regarding endianness.
|
||||
|
||||
The power-management is supported.
|
||||
|
||||
|
@ -775,7 +775,7 @@ def tcm_mod_dump_fabric_ops(proto_ident, fabric_mod_dir_var, fabric_mod_name):
|
||||
buf += " struct " + fabric_mod_name + "_nacl *nacl;\n\n"
|
||||
buf += " nacl = kzalloc(sizeof(struct " + fabric_mod_name + "_nacl), GFP_KERNEL);\n"
|
||||
buf += " if (!nacl) {\n"
|
||||
buf += " printk(KERN_ERR \"Unable to alocate struct " + fabric_mod_name + "_nacl\\n\");\n"
|
||||
buf += " printk(KERN_ERR \"Unable to allocate struct " + fabric_mod_name + "_nacl\\n\");\n"
|
||||
buf += " return NULL;\n"
|
||||
buf += " }\n\n"
|
||||
buf += " return &nacl->se_node_acl;\n"
|
||||
|
@ -57,7 +57,7 @@ power_end "cpu_id=%lu"
|
||||
The 'type' parameter takes one of those macros:
|
||||
. POWER_NONE = 0,
|
||||
. POWER_CSTATE = 1, /* C-State */
|
||||
. POWER_PSTATE = 2, /* Fequency change or DVFS */
|
||||
. POWER_PSTATE = 2, /* Frequency change or DVFS */
|
||||
|
||||
The 'state' parameter is set depending on the type:
|
||||
. Target C-state for type=POWER_CSTATE,
|
||||
|
@ -1,7 +1,7 @@
|
||||
CHANGES
|
||||
|
||||
- 0.3 - Created based off of scanner & INSTALL from the original touchscreen
|
||||
driver on freshmeat (http://freshmeat.net/projects/3mtouchscreendriver)
|
||||
driver on freecode (http://freecode.com/projects/3mtouchscreendriver)
|
||||
- Amended for linux-2.4.18, then 2.4.19
|
||||
|
||||
- 0.5 - Complete rewrite using Linux Input in 2.6.3
|
||||
|
@ -345,7 +345,7 @@ autosuspend the device.
|
||||
Drivers need not be concerned about balancing changes to the usage
|
||||
counter; the USB core will undo any remaining "get"s when a driver
|
||||
is unbound from its interface. As a corollary, drivers must not call
|
||||
any of the usb_autopm_* functions after their diconnect() routine has
|
||||
any of the usb_autopm_* functions after their disconnect() routine has
|
||||
returned.
|
||||
|
||||
Drivers using the async routines are responsible for their own
|
||||
|
@ -7,7 +7,7 @@ The usbfs filesystem for USB devices is traditionally mounted at
|
||||
/proc/bus/usb. It provides the /proc/bus/usb/devices file, as well as
|
||||
the /proc/bus/usb/BBB/DDD files.
|
||||
|
||||
In many modern systems the usbfs filsystem isn't used at all. Instead
|
||||
In many modern systems the usbfs filesystem isn't used at all. Instead
|
||||
USB device nodes are created under /dev/usb/ or someplace similar. The
|
||||
"devices" file is available in debugfs, typically as
|
||||
/sys/kernel/debug/usb/devices.
|
||||
|
@ -116,7 +116,7 @@ Description:
|
||||
A UVC control can be mapped to several V4L2 controls. For instance,
|
||||
a UVC pan/tilt control could be mapped to separate pan and tilt V4L2
|
||||
controls. The UVC control is divided into non overlapping fields using
|
||||
the 'size' and 'offset' fields and are then independantly mapped to
|
||||
the 'size' and 'offset' fields and are then independently mapped to
|
||||
V4L2 control.
|
||||
|
||||
For signed integer V4L2 controls the data_type field should be set to
|
||||
|
@ -347,7 +347,7 @@ To instantiate a large spte, four constraints must be satisfied:
|
||||
|
||||
- the spte must point to a large host page
|
||||
- the guest pte must be a large pte of at least equivalent size (if tdp is
|
||||
enabled, there is no guest pte and this condition is satisified)
|
||||
enabled, there is no guest pte and this condition is satisfied)
|
||||
- if the spte will be writeable, the large page frame may not overlap any
|
||||
write-protected pages
|
||||
- the guest page must be wholly contained by a single memory slot
|
||||
@ -356,7 +356,7 @@ To check the last two conditions, the mmu maintains a ->write_count set of
|
||||
arrays for each memory slot and large page size. Every write protected page
|
||||
causes its write_count to be incremented, thus preventing instantiation of
|
||||
a large spte. The frames at the end of an unaligned memory slot have
|
||||
artificically inflated ->write_counts so they can never be instantiated.
|
||||
artificially inflated ->write_counts so they can never be instantiated.
|
||||
|
||||
Further reading
|
||||
===============
|
||||
|
@ -1403,7 +1403,7 @@ segmentation, if both guests are amenable.
|
||||
|
||||
Packets are transmitted by placing them in the transmitq, and
|
||||
buffers for incoming packets are placed in the receiveq. In each
|
||||
case, the packet itself is preceeded by a header:
|
||||
case, the packet itself is preceded by a header:
|
||||
|
||||
struct virtio_net_hdr {
|
||||
|
||||
@ -1642,7 +1642,7 @@ struct virtio_net_ctrl_mac {
|
||||
|
||||
The device can filter incoming packets by any number of
|
||||
destination MAC addresses.[footnote:
|
||||
Since there are no guarentees, it can use a hash filter
|
||||
Since there are no guarantees, it can use a hash filter
|
||||
orsilently switch to allmulti or promiscuous mode if it is given
|
||||
too many addresses.
|
||||
] This table is set using the class VIRTIO_NET_CTRL_MAC and the
|
||||
@ -1805,7 +1805,7 @@ the FLUSH and FLUSH_OUT types are equivalent, the device does not
|
||||
distinguish between them
|
||||
]). If the device has VIRTIO_BLK_F_BARRIER feature the high bit
|
||||
(VIRTIO_BLK_T_BARRIER) indicates that this request acts as a
|
||||
barrier and that all preceeding requests must be complete before
|
||||
barrier and that all preceding requests must be complete before
|
||||
this one, and all following requests must not be started until
|
||||
this is complete. Note that a barrier does not flush caches in
|
||||
the underlying backend device in host, and thus does not serve as
|
||||
@ -2118,7 +2118,7 @@ This is historical, and independent of the guest page size
|
||||
|
||||
Otherwise, the guest may begin to re-use pages previously given
|
||||
to the balloon before the device has acknowledged their
|
||||
withdrawl. [footnote:
|
||||
withdrawal. [footnote:
|
||||
In this case, deflation advice is merely a courtesy
|
||||
]
|
||||
|
||||
|
@ -92,7 +92,7 @@ failed_gets - number of gets that failed
|
||||
puts - number of puts attempted (all "succeed")
|
||||
flushes - number of flushes attempted
|
||||
|
||||
A backend implementatation may provide additional metrics.
|
||||
A backend implementation may provide additional metrics.
|
||||
|
||||
FAQ
|
||||
|
||||
|
@ -538,7 +538,7 @@ different reverse map mechanisms.
|
||||
process because mlocked pages are migratable. However, for reclaim, if
|
||||
the page is mapped into a VM_LOCKED VMA, the scan stops.
|
||||
|
||||
try_to_unmap_anon() attempts to acquire in read mode the mmap semphore of
|
||||
try_to_unmap_anon() attempts to acquire in read mode the mmap semaphore of
|
||||
the mm_struct to which the VMA belongs. If this is successful, it will
|
||||
mlock the page via mlock_vma_page() - we wouldn't have gotten to
|
||||
try_to_unmap_anon() if the page were already mlocked - and will return
|
||||
@ -619,11 +619,11 @@ all PTEs from the page. For this purpose, the unevictable/mlock infrastructure
|
||||
introduced a variant of try_to_unmap() called try_to_munlock().
|
||||
|
||||
try_to_munlock() calls the same functions as try_to_unmap() for anonymous and
|
||||
mapped file pages with an additional argument specifing unlock versus unmap
|
||||
mapped file pages with an additional argument specifying unlock versus unmap
|
||||
processing. Again, these functions walk the respective reverse maps looking
|
||||
for VM_LOCKED VMAs. When such a VMA is found for anonymous pages and file
|
||||
pages mapped in linear VMAs, as in the try_to_unmap() case, the functions
|
||||
attempt to acquire the associated mmap semphore, mlock the page via
|
||||
attempt to acquire the associated mmap semaphore, mlock the page via
|
||||
mlock_vma_page() and return SWAP_MLOCK. This effectively undoes the
|
||||
pre-clearing of the page's PG_mlocked done by munlock_vma_page.
|
||||
|
||||
@ -641,7 +641,7 @@ with it - the usual fallback position.
|
||||
Note that try_to_munlock()'s reverse map walk must visit every VMA in a page's
|
||||
reverse map to determine that a page is NOT mapped into any VM_LOCKED VMA.
|
||||
However, the scan can terminate when it encounters a VM_LOCKED VMA and can
|
||||
successfully acquire the VMA's mmap semphore for read and mlock the page.
|
||||
successfully acquire the VMA's mmap semaphore for read and mlock the page.
|
||||
Although try_to_munlock() might be called a great many times when munlocking a
|
||||
large region or tearing down a large address space that has been mlocked via
|
||||
mlockall(), overall this is a fairly rare event.
|
||||
|
@ -167,4 +167,4 @@ driver specific data to and a pointer to the data itself.
|
||||
|
||||
The watchdog_get_drvdata function allows you to retrieve driver specific data.
|
||||
The argument of this function is the watchdog device where you want to retrieve
|
||||
data from. The function retruns the pointer to the driver specific data.
|
||||
data from. The function returns the pointer to the driver specific data.
|
||||
|
@ -90,7 +90,7 @@ struct alpha_machine_vector
|
||||
void (*kill_arch)(int);
|
||||
|
||||
u8 (*pci_swizzle)(struct pci_dev *, u8 *);
|
||||
int (*pci_map_irq)(struct pci_dev *, u8, u8);
|
||||
int (*pci_map_irq)(const struct pci_dev *, u8, u8);
|
||||
struct pci_ops *pci_ops;
|
||||
|
||||
struct _alpha_agp_info *(*agp_info)(void);
|
||||
|
@ -366,7 +366,7 @@ clipper_init_irq(void)
|
||||
*/
|
||||
|
||||
static int __init
|
||||
isa_irq_fixup(struct pci_dev *dev, int irq)
|
||||
isa_irq_fixup(const struct pci_dev *dev, int irq)
|
||||
{
|
||||
u8 irq8;
|
||||
|
||||
|
@ -35,7 +35,6 @@
|
||||
|
||||
#include <linux/pfn.h>
|
||||
#include <linux/atomic.h>
|
||||
#include <linux/sched.h>
|
||||
#include <mach/dma.h>
|
||||
|
||||
/* ---- Public Variables ------------------------------------------------- */
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/init.h>
|
||||
#include <linux/gpio.h>
|
||||
|
||||
#include <asm/leds.h>
|
||||
#include <mach/devices.h>
|
||||
|
@ -117,7 +117,7 @@ EXPORT_SYMBOL(omap_set_lcd_dma_b1_mirror);
|
||||
void omap_set_lcd_dma_b1_vxres(unsigned long vxres)
|
||||
{
|
||||
if (cpu_is_omap15xx()) {
|
||||
printk(KERN_ERR "DMA virtual resulotion is not supported "
|
||||
printk(KERN_ERR "DMA virtual resolution is not supported "
|
||||
"in 1510 mode\n");
|
||||
BUG();
|
||||
}
|
||||
|
@ -214,7 +214,7 @@ void __init db88f5281_pci_preinit(void)
|
||||
if (gpio_direction_input(pin) == 0) {
|
||||
irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW);
|
||||
} else {
|
||||
printk(KERN_ERR "db88f5281_pci_preinit faield to "
|
||||
printk(KERN_ERR "db88f5281_pci_preinit failed to "
|
||||
"set_irq_type pin %d\n", pin);
|
||||
gpio_free(pin);
|
||||
}
|
||||
@ -227,7 +227,7 @@ void __init db88f5281_pci_preinit(void)
|
||||
if (gpio_direction_input(pin) == 0) {
|
||||
irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW);
|
||||
} else {
|
||||
printk(KERN_ERR "db88f5281_pci_preinit faield "
|
||||
printk(KERN_ERR "db88f5281_pci_preinit failed "
|
||||
"to set_irq_type pin %d\n", pin);
|
||||
gpio_free(pin);
|
||||
}
|
||||
|
@ -149,7 +149,7 @@ void __init rd88f5182_pci_preinit(void)
|
||||
if (gpio_direction_input(pin) == 0) {
|
||||
irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW);
|
||||
} else {
|
||||
printk(KERN_ERR "rd88f5182_pci_preinit faield to "
|
||||
printk(KERN_ERR "rd88f5182_pci_preinit failed to "
|
||||
"set_irq_type pin %d\n", pin);
|
||||
gpio_free(pin);
|
||||
}
|
||||
@ -162,7 +162,7 @@ void __init rd88f5182_pci_preinit(void)
|
||||
if (gpio_direction_input(pin) == 0) {
|
||||
irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW);
|
||||
} else {
|
||||
printk(KERN_ERR "rd88f5182_pci_preinit faield to "
|
||||
printk(KERN_ERR "rd88f5182_pci_preinit failed to "
|
||||
"set_irq_type pin %d\n", pin);
|
||||
gpio_free(pin);
|
||||
}
|
||||
|
@ -469,7 +469,7 @@ void __init spear300_init(struct pmx_mode *pmx_mode, struct pmx_dev **pmx_devs,
|
||||
if (pmx_driver.base) {
|
||||
ret = pmx_register(&pmx_driver);
|
||||
if (ret)
|
||||
printk(KERN_ERR "padmux: registeration failed. err no"
|
||||
printk(KERN_ERR "padmux: registration failed. err no"
|
||||
": %d\n", ret);
|
||||
/* Free Mapping, device selection already done */
|
||||
iounmap(pmx_driver.base);
|
||||
|
@ -303,6 +303,6 @@ void __init spear310_init(struct pmx_mode *pmx_mode, struct pmx_dev **pmx_devs,
|
||||
|
||||
ret = pmx_register(&pmx_driver);
|
||||
if (ret)
|
||||
printk(KERN_ERR "padmux: registeration failed. err no: %d\n",
|
||||
printk(KERN_ERR "padmux: registration failed. err no: %d\n",
|
||||
ret);
|
||||
}
|
||||
|
@ -550,6 +550,6 @@ void __init spear320_init(struct pmx_mode *pmx_mode, struct pmx_dev **pmx_devs,
|
||||
|
||||
ret = pmx_register(&pmx_driver);
|
||||
if (ret)
|
||||
printk(KERN_ERR "padmux: registeration failed. err no: %d\n",
|
||||
printk(KERN_ERR "padmux: registration failed. err no: %d\n",
|
||||
ret);
|
||||
}
|
||||
|
@ -32,7 +32,6 @@
|
||||
|
||||
#include <asm/mach/arch.h>
|
||||
#include <asm/mach/map.h>
|
||||
#include <asm/memblock.h>
|
||||
|
||||
#include "mm.h"
|
||||
|
||||
|
@ -52,7 +52,7 @@ static __init int pm_simtec_init(void)
|
||||
!machine_is_aml_m5900())
|
||||
return 0;
|
||||
|
||||
printk(KERN_INFO "Simtec Board Power Manangement" COPYRIGHT "\n");
|
||||
printk(KERN_INFO "Simtec Board Power Management" COPYRIGHT "\n");
|
||||
|
||||
gstatus4 = (__raw_readl(S3C2410_BANKCON7) & 0x3) << 30;
|
||||
gstatus4 |= (__raw_readl(S3C2410_BANKCON6) & 0x3) << 28;
|
||||
|
@ -58,7 +58,7 @@ xen_free_irq_vector(int vector)
|
||||
|
||||
irq_op.vector = vector;
|
||||
if (HYPERVISOR_physdev_op(PHYSDEVOP_free_irq_vector, &irq_op))
|
||||
printk(KERN_WARNING "%s: xen_free_irq_vecotr fail vector=%d\n",
|
||||
printk(KERN_WARNING "%s: xen_free_irq_vector fail vector=%d\n",
|
||||
__func__, vector);
|
||||
}
|
||||
|
||||
|
@ -33,7 +33,7 @@ static void bcm6348_a1_reboot(void)
|
||||
u32 reg;
|
||||
|
||||
/* soft reset all blocks */
|
||||
printk(KERN_INFO "soft-reseting all blocks ...\n");
|
||||
printk(KERN_INFO "soft-resetting all blocks ...\n");
|
||||
reg = bcm_perf_readl(PERF_SOFTRESET_REG);
|
||||
reg &= ~SOFTRESET_6348_ALL;
|
||||
bcm_perf_writel(reg, PERF_SOFTRESET_REG);
|
||||
|
@ -21,7 +21,7 @@
|
||||
#define KEYLARGO_FCR4 0x48
|
||||
#define KEYLARGO_FCR5 0x4c /* Pangea only */
|
||||
|
||||
/* K2 aditional FCRs */
|
||||
/* K2 additional FCRs */
|
||||
#define K2_FCR6 0x34
|
||||
#define K2_FCR7 0x30
|
||||
#define K2_FCR8 0x2c
|
||||
|
@ -22,7 +22,7 @@ config RUNTIME_DEBUG
|
||||
help
|
||||
If you say Y here, some debugging macros will do run-time checking.
|
||||
If you say N here, those macros will mostly turn to no-ops. See
|
||||
include/asm-score/debug.h for debuging macros.
|
||||
include/asm-score/debug.h for debugging macros.
|
||||
If unsure, say N.
|
||||
|
||||
endmenu
|
||||
|
@ -17,8 +17,6 @@
|
||||
/* Verify that the configuration block really is there */
|
||||
#define scx200_cb_probe(base) (inw((base) + SCx200_CBA) == (base))
|
||||
|
||||
#define NAME "scx200"
|
||||
|
||||
MODULE_AUTHOR("Christer Weinigel <wingel@nano-system.com>");
|
||||
MODULE_DESCRIPTION("NatSemi SCx200 Driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
@ -29,10 +27,10 @@ unsigned long scx200_gpio_shadow[2];
|
||||
unsigned scx200_cb_base = 0;
|
||||
|
||||
static struct pci_device_id scx200_tbl[] = {
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE) },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE) },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SCx200_XBUS) },
|
||||
{ PCI_DEVICE(PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_SC1100_XBUS) },
|
||||
{ PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE) },
|
||||
{ PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE) },
|
||||
{ PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SCx200_XBUS) },
|
||||
{ PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SC1100_XBUS) },
|
||||
{ },
|
||||
};
|
||||
MODULE_DEVICE_TABLE(pci,scx200_tbl);
|
||||
@ -63,10 +61,11 @@ static int __devinit scx200_probe(struct pci_dev *pdev, const struct pci_device_
|
||||
if (pdev->device == PCI_DEVICE_ID_NS_SCx200_BRIDGE ||
|
||||
pdev->device == PCI_DEVICE_ID_NS_SC1100_BRIDGE) {
|
||||
base = pci_resource_start(pdev, 0);
|
||||
printk(KERN_INFO NAME ": GPIO base 0x%x\n", base);
|
||||
pr_info("GPIO base 0x%x\n", base);
|
||||
|
||||
if (!request_region(base, SCx200_GPIO_SIZE, "NatSemi SCx200 GPIO")) {
|
||||
printk(KERN_ERR NAME ": can't allocate I/O for GPIOs\n");
|
||||
if (!request_region(base, SCx200_GPIO_SIZE,
|
||||
"NatSemi SCx200 GPIO")) {
|
||||
pr_err("can't allocate I/O for GPIOs\n");
|
||||
return -EBUSY;
|
||||
}
|
||||
|
||||
@ -82,11 +81,11 @@ static int __devinit scx200_probe(struct pci_dev *pdev, const struct pci_device_
|
||||
if (scx200_cb_probe(base)) {
|
||||
scx200_cb_base = base;
|
||||
} else {
|
||||
printk(KERN_WARNING NAME ": Configuration Block not found\n");
|
||||
pr_warn("Configuration Block not found\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
}
|
||||
printk(KERN_INFO NAME ": Configuration Block base 0x%x\n", scx200_cb_base);
|
||||
pr_info("Configuration Block base 0x%x\n", scx200_cb_base);
|
||||
}
|
||||
|
||||
return 0;
|
||||
@ -111,8 +110,7 @@ u32 scx200_gpio_configure(unsigned index, u32 mask, u32 bits)
|
||||
|
||||
static int __init scx200_init(void)
|
||||
{
|
||||
printk(KERN_INFO NAME ": NatSemi SCx200 Driver\n");
|
||||
|
||||
pr_info("NatSemi SCx200 Driver\n");
|
||||
return pci_register_driver(&scx200_pci_driver);
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include <linux/sched.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/version.h>
|
||||
|
||||
#include <asm-generic/io-64-nonatomic-lo-hi.h>
|
||||
|
||||
|
@ -94,7 +94,7 @@
|
||||
/* Note that *all* calls to CMOS_READ and CMOS_WRITE must be done with
|
||||
* rtc_lock held. Due to the index-port/data-port design of the RTC, we
|
||||
* don't want two different things trying to get to it at once. (e.g. the
|
||||
* periodic 11 min sync from time.c vs. this driver.)
|
||||
* periodic 11 min sync from kernel/time/ntp.c vs. this driver.)
|
||||
*/
|
||||
|
||||
#include <linux/types.h>
|
||||
|
@ -57,8 +57,8 @@
|
||||
* Note that *all* calls to CMOS_READ and CMOS_WRITE are done with
|
||||
* interrupts disabled. Due to the index-port/data-port (0x70/0x71)
|
||||
* design of the RTC, we don't want two different things trying to
|
||||
* get to it at once. (e.g. the periodic 11 min sync from time.c vs.
|
||||
* this driver.)
|
||||
* get to it at once. (e.g. the periodic 11 min sync from
|
||||
* kernel/time/ntp.c vs. this driver.)
|
||||
*/
|
||||
|
||||
#include <linux/interrupt.h>
|
||||
|
@ -76,7 +76,7 @@ enum tis_defaults {
|
||||
#define TPM_RID(l) (0x0F04 | ((l) << 12))
|
||||
|
||||
static LIST_HEAD(tis_chips);
|
||||
static DEFINE_SPINLOCK(tis_lock);
|
||||
static DEFINE_MUTEX(tis_lock);
|
||||
|
||||
#if defined(CONFIG_PNP) && defined(CONFIG_ACPI)
|
||||
static int is_itpm(struct pnp_dev *dev)
|
||||
@ -689,9 +689,9 @@ static int tpm_tis_init(struct device *dev, resource_size_t start,
|
||||
}
|
||||
|
||||
INIT_LIST_HEAD(&chip->vendor.list);
|
||||
spin_lock(&tis_lock);
|
||||
mutex_lock(&tis_lock);
|
||||
list_add(&chip->vendor.list, &tis_chips);
|
||||
spin_unlock(&tis_lock);
|
||||
mutex_unlock(&tis_lock);
|
||||
|
||||
|
||||
return 0;
|
||||
@ -855,7 +855,7 @@ static void __exit cleanup_tis(void)
|
||||
{
|
||||
struct tpm_vendor_specific *i, *j;
|
||||
struct tpm_chip *chip;
|
||||
spin_lock(&tis_lock);
|
||||
mutex_lock(&tis_lock);
|
||||
list_for_each_entry_safe(i, j, &tis_chips, list) {
|
||||
chip = to_tpm_chip(i);
|
||||
tpm_remove_hardware(chip->dev);
|
||||
@ -871,7 +871,7 @@ static void __exit cleanup_tis(void)
|
||||
iounmap(i->iobase);
|
||||
list_del(&i->list);
|
||||
}
|
||||
spin_unlock(&tis_lock);
|
||||
mutex_unlock(&tis_lock);
|
||||
#ifdef CONFIG_PNP
|
||||
if (!force) {
|
||||
pnp_unregister_driver(&tis_pnp_driver);
|
||||
|
@ -1482,7 +1482,7 @@ static int __devinit iop_adma_probe(struct platform_device *pdev)
|
||||
goto err_free_adev;
|
||||
}
|
||||
|
||||
dev_dbg(&pdev->dev, "%s: allocted descriptor pool virt %p phys %p\n",
|
||||
dev_dbg(&pdev->dev, "%s: allocated descriptor pool virt %p phys %p\n",
|
||||
__func__, adev->dma_desc_pool_virt,
|
||||
(void *) adev->dma_desc_pool);
|
||||
|
||||
|
@ -713,7 +713,6 @@ void psb_intel_lvds_init(struct drm_device *dev,
|
||||
|
||||
psb_intel_encoder =
|
||||
kzalloc(sizeof(struct psb_intel_encoder), GFP_KERNEL);
|
||||
|
||||
if (!psb_intel_encoder) {
|
||||
dev_err(dev->dev, "psb_intel_encoder allocation error\n");
|
||||
return;
|
||||
@ -721,10 +720,9 @@ void psb_intel_lvds_init(struct drm_device *dev,
|
||||
|
||||
psb_intel_connector =
|
||||
kzalloc(sizeof(struct psb_intel_connector), GFP_KERNEL);
|
||||
|
||||
if (!psb_intel_connector) {
|
||||
kfree(psb_intel_encoder);
|
||||
dev_err(dev->dev, "psb_intel_connector allocation error\n");
|
||||
goto failed_encoder;
|
||||
}
|
||||
|
||||
lvds_priv = kzalloc(sizeof(struct psb_intel_lvds_priv), GFP_KERNEL);
|
||||
@ -862,7 +860,8 @@ failed_blc_i2c:
|
||||
drm_encoder_cleanup(encoder);
|
||||
drm_connector_cleanup(connector);
|
||||
failed_connector:
|
||||
if (psb_intel_connector)
|
||||
kfree(psb_intel_connector);
|
||||
kfree(psb_intel_connector);
|
||||
failed_encoder:
|
||||
kfree(psb_intel_encoder);
|
||||
}
|
||||
|
||||
|
@ -150,7 +150,7 @@ void rv515_gpu_init(struct radeon_device *rdev)
|
||||
|
||||
if (r100_gui_wait_for_idle(rdev)) {
|
||||
printk(KERN_WARNING "Failed to wait GUI idle while "
|
||||
"reseting GPU. Bad things might happen.\n");
|
||||
"resetting GPU. Bad things might happen.\n");
|
||||
}
|
||||
rv515_vga_render_disable(rdev);
|
||||
r420_pipes_init(rdev);
|
||||
@ -162,7 +162,7 @@ void rv515_gpu_init(struct radeon_device *rdev)
|
||||
WREG32_PLL(0x000D, tmp);
|
||||
if (r100_gui_wait_for_idle(rdev)) {
|
||||
printk(KERN_WARNING "Failed to wait GUI idle while "
|
||||
"reseting GPU. Bad things might happen.\n");
|
||||
"resetting GPU. Bad things might happen.\n");
|
||||
}
|
||||
if (rv515_mc_wait_for_idle(rdev)) {
|
||||
printk(KERN_WARNING "Failed to wait MC idle while "
|
||||
|
@ -430,7 +430,7 @@ static int vmw_driver_load(struct drm_device *dev, unsigned long chipset)
|
||||
svga_id = vmw_read(dev_priv, SVGA_REG_ID);
|
||||
if (svga_id != SVGA_ID_2) {
|
||||
ret = -ENOSYS;
|
||||
DRM_ERROR("Unsuported SVGA ID 0x%x\n", svga_id);
|
||||
DRM_ERROR("Unsupported SVGA ID 0x%x\n", svga_id);
|
||||
mutex_unlock(&dev_priv->hw_mutex);
|
||||
goto out_err0;
|
||||
}
|
||||
|
@ -624,7 +624,7 @@ static int tmp401_probe(struct i2c_client *client,
|
||||
goto exit_remove;
|
||||
}
|
||||
|
||||
/* Register aditional tmp411 sysfs hooks */
|
||||
/* Register additional tmp411 sysfs hooks */
|
||||
if (data->kind == tmp411) {
|
||||
for (i = 0; i < ARRAY_SIZE(tmp411_attr); i++) {
|
||||
err = device_create_file(&client->dev,
|
||||
|
@ -3450,7 +3450,7 @@ static struct se_node_acl *srpt_alloc_fabric_acl(struct se_portal_group *se_tpg)
|
||||
|
||||
nacl = kzalloc(sizeof(struct srpt_node_acl), GFP_KERNEL);
|
||||
if (!nacl) {
|
||||
printk(KERN_ERR "Unable to alocate struct srpt_node_acl\n");
|
||||
printk(KERN_ERR "Unable to allocate struct srpt_node_acl\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -1247,7 +1247,7 @@ static int iommu_init_domains(struct intel_iommu *iommu)
|
||||
unsigned long nlongs;
|
||||
|
||||
ndomains = cap_ndoms(iommu->cap);
|
||||
pr_debug("IOMMU %d: Number of Domains supportd <%ld>\n", iommu->seq_id,
|
||||
pr_debug("IOMMU %d: Number of Domains supported <%ld>\n", iommu->seq_id,
|
||||
ndomains);
|
||||
nlongs = BITS_TO_LONGS(ndomains);
|
||||
|
||||
|
@ -356,7 +356,7 @@ static void poll_media_bay(struct media_bay_info* bay)
|
||||
static char *mb_content_types[] = {
|
||||
"a floppy drive",
|
||||
"a floppy drive",
|
||||
"an unsuported audio device",
|
||||
"an unsupported audio device",
|
||||
"an ATA device",
|
||||
"an unsupported PCI device",
|
||||
"an unknown device",
|
||||
|
@ -12,7 +12,6 @@
|
||||
#include <linux/dm-io.h>
|
||||
#include <linux/slab.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/version.h>
|
||||
#include <linux/shrinker.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
|
@ -1054,7 +1054,7 @@ static int dm04_lme2510_tuner(struct dvb_usb_adapter *adap)
|
||||
if (ret)
|
||||
info("TUN Found %s tuner", tun_msg[ret]);
|
||||
else {
|
||||
info("TUN No tuner found --- reseting device");
|
||||
info("TUN No tuner found --- resetting device");
|
||||
lme_coldreset(adap->dev->udev);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <linux/delay.h>
|
||||
#include <linux/firmware.h>
|
||||
#include <linux/i2c.h>
|
||||
#include <linux/version.h>
|
||||
#include <asm/div64.h>
|
||||
|
||||
#include "dvb_frontend.h"
|
||||
|
@ -1272,7 +1272,7 @@ struct dvb_frontend* tda10045_attach(const struct tda1004x_config* config,
|
||||
/* allocate memory for the internal state */
|
||||
state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL);
|
||||
if (!state) {
|
||||
printk(KERN_ERR "Can't alocate memory for tda10045 state\n");
|
||||
printk(KERN_ERR "Can't allocate memory for tda10045 state\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -1342,7 +1342,7 @@ struct dvb_frontend* tda10046_attach(const struct tda1004x_config* config,
|
||||
/* allocate memory for the internal state */
|
||||
state = kzalloc(sizeof(struct tda1004x_state), GFP_KERNEL);
|
||||
if (!state) {
|
||||
printk(KERN_ERR "Can't alocate memory for tda10046 state\n");
|
||||
printk(KERN_ERR "Can't allocate memory for tda10046 state\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
@ -76,7 +76,7 @@ static int mantis_hif_write_wait(struct mantis_ca *ca)
|
||||
udelay(500);
|
||||
timeout++;
|
||||
if (timeout > 100) {
|
||||
dprintk(MANTIS_ERROR, 1, "Adater(%d) Slot(0): Write operation timed out!", mantis->num);
|
||||
dprintk(MANTIS_ERROR, 1, "Adapter(%d) Slot(0): Write operation timed out!", mantis->num);
|
||||
rc = -ETIMEDOUT;
|
||||
break;
|
||||
}
|
||||
|
@ -172,7 +172,7 @@ static int fmr2_tea_ext_init(struct snd_tea575x *tea)
|
||||
fmr2->volume = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_VOLUME, 0, 68, 2, 56);
|
||||
fmr2->balance = v4l2_ctrl_new_std(&tea->ctrl_handler, &fmr2_ctrl_ops, V4L2_CID_AUDIO_BALANCE, -68, 68, 2, 0);
|
||||
if (tea->ctrl_handler.error) {
|
||||
printk(KERN_ERR "radio-sf16fmr2: can't initialize contrls\n");
|
||||
printk(KERN_ERR "radio-sf16fmr2: can't initialize controls\n");
|
||||
return tea->ctrl_handler.error;
|
||||
}
|
||||
}
|
||||
|
@ -292,7 +292,7 @@ static int validate_ccdc_param(struct ccdc_config_params_raw *ccdcparam)
|
||||
if ((ccdcparam->med_filt_thres < 0) ||
|
||||
(ccdcparam->med_filt_thres > CCDC_MED_FILT_THRESH)) {
|
||||
dev_dbg(ccdc_cfg.dev,
|
||||
"Invalid value of median filter thresold\n");
|
||||
"Invalid value of median filter threshold\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
@ -649,7 +649,7 @@ static int ov6650_s_fmt(struct v4l2_subdev *sd, struct v4l2_mbus_framefmt *mf)
|
||||
clkrc = CLKRC_24MHz;
|
||||
} else {
|
||||
dev_err(&client->dev,
|
||||
"unspported input clock, check platform data\n");
|
||||
"unsupported input clock, check platform data\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
mclk = sense->master_clock;
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include <linux/bitops.h>
|
||||
#include <linux/spinlock.h>
|
||||
#include <linux/mfd/core.h>
|
||||
#include <linux/version.h>
|
||||
#include <linux/mfd/db5500-prcmu.h>
|
||||
|
||||
#include "ab5500-core.h"
|
||||
|
@ -1606,7 +1606,7 @@ static int __devinit s3cmci_probe(struct platform_device *pdev)
|
||||
host->mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||
if (!host->mem) {
|
||||
dev_err(&pdev->dev,
|
||||
"failed to get io memory region resouce.\n");
|
||||
"failed to get io memory region resource.\n");
|
||||
|
||||
ret = -ENOENT;
|
||||
goto probe_free_gpio;
|
||||
@ -1630,7 +1630,7 @@ static int __devinit s3cmci_probe(struct platform_device *pdev)
|
||||
|
||||
host->irq = platform_get_irq(pdev, 0);
|
||||
if (host->irq == 0) {
|
||||
dev_err(&pdev->dev, "failed to get interrupt resouce.\n");
|
||||
dev_err(&pdev->dev, "failed to get interrupt resource.\n");
|
||||
ret = -EINVAL;
|
||||
goto probe_iounmap;
|
||||
}
|
||||
|
@ -76,10 +76,7 @@ struct mtd_info *do_map_probe(const char *name, struct map_info *map)
|
||||
*/
|
||||
module_put(drv->module);
|
||||
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return NULL;
|
||||
return ret;
|
||||
}
|
||||
/*
|
||||
* Destroy an MTD device which was created for a map device.
|
||||
|
@ -1466,7 +1466,7 @@ static int prism2_hw_enable(struct net_device *dev, int initial)
|
||||
* before it starts acting as an AP, so reset port automatically
|
||||
* here just in case */
|
||||
if (initial && prism2_reset_port(dev)) {
|
||||
printk("%s: MAC port 0 reseting failed\n", dev->name);
|
||||
printk("%s: MAC port 0 resetting failed\n", dev->name);
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -1557,7 +1557,7 @@ static void prism2_hw_reset(struct net_device *dev)
|
||||
static long last_reset = 0;
|
||||
|
||||
/* do not reset card more than once per second to avoid ending up in a
|
||||
* busy loop reseting the card */
|
||||
* busy loop resetting the card */
|
||||
if (time_before_eq(jiffies, last_reset + HZ))
|
||||
return;
|
||||
last_reset = jiffies;
|
||||
|
@ -856,7 +856,7 @@ reset_device:
|
||||
|
||||
/* semaphore stuck, reset device to avoid fw freeze later */
|
||||
dev_warn(zd_mac_dev(mac), "CR_BCN_FIFO_SEMAPHORE stuck, "
|
||||
"reseting device...");
|
||||
"resetting device...");
|
||||
usb_queue_reset_device(mac->chip.usb.intf);
|
||||
|
||||
return r;
|
||||
|
@ -1104,7 +1104,7 @@ static void zd_tx_watchdog_handler(struct work_struct *work)
|
||||
goto out;
|
||||
|
||||
/* TX halted, try reset */
|
||||
dev_warn(zd_usb_dev(usb), "TX-stall detected, reseting device...");
|
||||
dev_warn(zd_usb_dev(usb), "TX-stall detected, resetting device...");
|
||||
|
||||
usb_queue_reset_device(usb->intf);
|
||||
|
||||
|
@ -379,7 +379,7 @@ static ssize_t hdaps_temp1_show(struct device *dev,
|
||||
int ret;
|
||||
|
||||
ret = hdaps_readb_one(HDAPS_PORT_TEMP1, &temp);
|
||||
if (ret < 0)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return sprintf(buf, "%u\n", temp);
|
||||
@ -392,7 +392,7 @@ static ssize_t hdaps_temp2_show(struct device *dev,
|
||||
int ret;
|
||||
|
||||
ret = hdaps_readb_one(HDAPS_PORT_TEMP2, &temp);
|
||||
if (ret < 0)
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
return sprintf(buf, "%u\n", temp);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user