Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 164917
b: refs/heads/master
c: e5dc8ae
h: refs/heads/master
i:
  164915: 15c3b2e
v: v3
  • Loading branch information
Oliver Neukum authored and Greg Kroah-Hartman committed Sep 23, 2009
1 parent 74a4407 commit 27f7b6f
Show file tree
Hide file tree
Showing 382 changed files with 7,048 additions and 24,137 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f0918d03ff4b5c94540c71ce889672abdbc2f4a
refs/heads/master: e5dc8ae121592239c2a2521d383bcb789849b2a3
1 change: 0 additions & 1 deletion trunk/Documentation/ABI/testing/sysfs-gpio
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Description:
/gpioN ... for each exported GPIO #N
/value ... always readable, writes fail for input GPIOs
/direction ... r/w as: in, out (default low); write: high, low
/edge ... r/w as: none, falling, rising, both
/gpiochipN ... for each gpiochip; #N is its first GPIO
/base ... (r/o) same as N
/label ... (r/o) descriptive, not necessarily unique
Expand Down
12 changes: 6 additions & 6 deletions trunk/Documentation/accounting/getdelays.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ static int create_nl_socket(int protocol)
}


static int send_cmd(int sd, __u16 nlmsg_type, __u32 nlmsg_pid,
int send_cmd(int sd, __u16 nlmsg_type, __u32 nlmsg_pid,
__u8 genl_cmd, __u16 nla_type,
void *nla_data, int nla_len)
{
Expand Down Expand Up @@ -160,7 +160,7 @@ static int send_cmd(int sd, __u16 nlmsg_type, __u32 nlmsg_pid,
* Probe the controller in genetlink to find the family id
* for the TASKSTATS family
*/
static int get_family_id(int sd)
int get_family_id(int sd)
{
struct {
struct nlmsghdr n;
Expand Down Expand Up @@ -190,7 +190,7 @@ static int get_family_id(int sd)
return id;
}

static void print_delayacct(struct taskstats *t)
void print_delayacct(struct taskstats *t)
{
printf("\n\nCPU %15s%15s%15s%15s\n"
" %15llu%15llu%15llu%15llu\n"
Expand All @@ -216,15 +216,15 @@ static void print_delayacct(struct taskstats *t)
(unsigned long long)t->freepages_delay_total);
}

static void task_context_switch_counts(struct taskstats *t)
void task_context_switch_counts(struct taskstats *t)
{
printf("\n\nTask %15s%15s\n"
" %15llu%15llu\n",
"voluntary", "nonvoluntary",
(unsigned long long)t->nvcsw, (unsigned long long)t->nivcsw);
}

static void print_cgroupstats(struct cgroupstats *c)
void print_cgroupstats(struct cgroupstats *c)
{
printf("sleeping %llu, blocked %llu, running %llu, stopped %llu, "
"uninterruptible %llu\n", (unsigned long long)c->nr_sleeping,
Expand All @@ -235,7 +235,7 @@ static void print_cgroupstats(struct cgroupstats *c)
}


static void print_ioacct(struct taskstats *t)
void print_ioacct(struct taskstats *t)
{
printf("%s: read=%llu, write=%llu, cancelled_write=%llu\n",
t->ac_comm,
Expand Down
22 changes: 11 additions & 11 deletions trunk/Documentation/auxdisplay/cfag12864b-example.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ unsigned char cfag12864b_buffer[CFAG12864B_SIZE];
* Unable to open: return = -1
* Unable to mmap: return = -2
*/
static int cfag12864b_init(char *path)
int cfag12864b_init(char *path)
{
cfag12864b_fd = open(path, O_RDWR);
if (cfag12864b_fd == -1)
Expand All @@ -81,7 +81,7 @@ static int cfag12864b_init(char *path)
/*
* exit a cfag12864b framebuffer device
*/
static void cfag12864b_exit(void)
void cfag12864b_exit(void)
{
munmap(cfag12864b_mem, CFAG12864B_SIZE);
close(cfag12864b_fd);
Expand All @@ -90,7 +90,7 @@ static void cfag12864b_exit(void)
/*
* set (x, y) pixel
*/
static void cfag12864b_set(unsigned char x, unsigned char y)
void cfag12864b_set(unsigned char x, unsigned char y)
{
if (CFAG12864B_CHECK(x, y))
cfag12864b_buffer[CFAG12864B_ADDRESS(x, y)] |=
Expand All @@ -100,7 +100,7 @@ static void cfag12864b_set(unsigned char x, unsigned char y)
/*
* unset (x, y) pixel
*/
static void cfag12864b_unset(unsigned char x, unsigned char y)
void cfag12864b_unset(unsigned char x, unsigned char y)
{
if (CFAG12864B_CHECK(x, y))
cfag12864b_buffer[CFAG12864B_ADDRESS(x, y)] &=
Expand All @@ -113,7 +113,7 @@ static void cfag12864b_unset(unsigned char x, unsigned char y)
* Pixel off: return = 0
* Pixel on: return = 1
*/
static unsigned char cfag12864b_isset(unsigned char x, unsigned char y)
unsigned char cfag12864b_isset(unsigned char x, unsigned char y)
{
if (CFAG12864B_CHECK(x, y))
if (cfag12864b_buffer[CFAG12864B_ADDRESS(x, y)] &
Expand All @@ -126,7 +126,7 @@ static unsigned char cfag12864b_isset(unsigned char x, unsigned char y)
/*
* not (x, y) pixel
*/
static void cfag12864b_not(unsigned char x, unsigned char y)
void cfag12864b_not(unsigned char x, unsigned char y)
{
if (cfag12864b_isset(x, y))
cfag12864b_unset(x, y);
Expand All @@ -137,7 +137,7 @@ static void cfag12864b_not(unsigned char x, unsigned char y)
/*
* fill (set all pixels)
*/
static void cfag12864b_fill(void)
void cfag12864b_fill(void)
{
unsigned short i;

Expand All @@ -148,7 +148,7 @@ static void cfag12864b_fill(void)
/*
* clear (unset all pixels)
*/
static void cfag12864b_clear(void)
void cfag12864b_clear(void)
{
unsigned short i;

Expand All @@ -162,7 +162,7 @@ static void cfag12864b_clear(void)
* Pixel off: src[i] = 0
* Pixel on: src[i] > 0
*/
static void cfag12864b_format(unsigned char * matrix)
void cfag12864b_format(unsigned char * matrix)
{
unsigned char i, j, n;

Expand All @@ -182,7 +182,7 @@ static void cfag12864b_format(unsigned char * matrix)
/*
* blit buffer to lcd
*/
static void cfag12864b_blit(void)
void cfag12864b_blit(void)
{
memcpy(cfag12864b_mem, cfag12864b_buffer, CFAG12864B_SIZE);
}
Expand All @@ -198,7 +198,7 @@ static void cfag12864b_blit(void)

#define EXAMPLES 6

static void example(unsigned char n)
void example(unsigned char n)
{
unsigned short i, j;
unsigned char matrix[CFAG12864B_WIDTH * CFAG12864B_HEIGHT];
Expand Down
135 changes: 0 additions & 135 deletions trunk/Documentation/fb/ep93xx-fb.txt

This file was deleted.

4 changes: 3 additions & 1 deletion trunk/Documentation/fb/matroxfb.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ noinverse - show true colors on screen. It is default.
dev:X - bind driver to device X. Driver numbers device from 0 up to N,
where device 0 is first `known' device found, 1 second and so on.
lspci lists devices in this order.
Default is `every' known device.
Default is `every' known device for driver with multihead support
and first working device (usually dev:0) for driver without
multihead support.
nohwcursor - disables hardware cursor (use software cursor instead).
hwcursor - enables hardware cursor. It is default. If you are using
non-accelerated mode (`noaccel' or `fbset -accel false'), software
Expand Down
6 changes: 3 additions & 3 deletions trunk/Documentation/filesystems/ncpfs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ ftp.gwdg.de/pub/linux/misc/ncpfs, but sunsite and its many mirrors
will have it as well.

Related products are linware and mars_nwe, which will give Linux partial
NetWare server functionality.

mars_nwe can be found on ftp.gwdg.de/pub/linux/misc/ncpfs.
NetWare server functionality. Linware's home site is
klokan.sh.cvut.cz/pub/linux/linware; mars_nwe can be found on
ftp.gwdg.de/pub/linux/misc/ncpfs.
5 changes: 1 addition & 4 deletions trunk/Documentation/filesystems/proc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ read the file /proc/PID/status:
CapBnd: ffffffffffffffff
voluntary_ctxt_switches: 0
nonvoluntary_ctxt_switches: 1
Stack usage: 12 kB

This shows you nearly the same information you would get if you viewed it with
the ps command. In fact, ps uses the proc file system to obtain its
Expand Down Expand Up @@ -230,7 +229,6 @@ Table 1-2: Contents of the statm files (as of 2.6.30-rc7)
Mems_allowed_list Same as previous, but in "list format"
voluntary_ctxt_switches number of voluntary context switches
nonvoluntary_ctxt_switches number of non voluntary context switches
Stack usage: stack usage high water mark (round up to page size)
..............................................................................

Table 1-3: Contents of the statm files (as of 2.6.8-rc3)
Expand Down Expand Up @@ -309,7 +307,7 @@ address perms offset dev inode pathname
08049000-0804a000 rw-p 00001000 03:00 8312 /opt/test
0804a000-0806b000 rw-p 00000000 00:00 0 [heap]
a7cb1000-a7cb2000 ---p 00000000 00:00 0
a7cb2000-a7eb2000 rw-p 00000000 00:00 0 [threadstack:001ff4b4]
a7cb2000-a7eb2000 rw-p 00000000 00:00 0
a7eb2000-a7eb3000 ---p 00000000 00:00 0
a7eb3000-a7ed5000 rw-p 00000000 00:00 0
a7ed5000-a8008000 r-xp 00000000 03:00 4222 /lib/libc.so.6
Expand Down Expand Up @@ -345,7 +343,6 @@ is not associated with a file:
[stack] = the stack of the main process
[vdso] = the "virtual dynamic shared object",
the kernel system call handler
[threadstack:xxxxxxxx] = the stack of the thread, xxxxxxxx is the stack size

or if empty, the mapping is anonymous.

Expand Down
17 changes: 0 additions & 17 deletions trunk/Documentation/gpio.txt
Original file line number Diff line number Diff line change
Expand Up @@ -524,13 +524,6 @@ and have the following read/write attributes:
is configured as an output, this value may be written;
any nonzero value is treated as high.

"edge" ... reads as either "none", "rising", "falling", or
"both". Write these strings to select the signal edge(s)
that will make poll(2) on the "value" file return.

This file exists only if the pin can be configured as an
interrupt generating input pin.

GPIO controllers have paths like /sys/class/gpio/chipchip42/ (for the
controller implementing GPIOs starting at #42) and have the following
read-only attributes:
Expand Down Expand Up @@ -562,11 +555,6 @@ requested using gpio_request():
/* reverse gpio_export() */
void gpio_unexport();

/* create a sysfs link to an exported GPIO node */
int gpio_export_link(struct device *dev, const char *name,
unsigned gpio)


After a kernel driver requests a GPIO, it may only be made available in
the sysfs interface by gpio_export(). The driver can control whether the
signal direction may change. This helps drivers prevent userspace code
Expand All @@ -575,8 +563,3 @@ from accidentally clobbering important system state.
This explicit exporting can help with debugging (by making some kinds
of experiments easier), or can provide an always-there interface that's
suitable for documenting as part of a board support package.

After the GPIO has been exported, gpio_export_link() allows creating
symlinks from elsewhere in sysfs to the GPIO sysfs node. Drivers can
use this to provide the interface under their own device in sysfs with
a descriptive name.
Loading

0 comments on commit 27f7b6f

Please sign in to comment.