Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31352
b: refs/heads/master
c: 22dd0e8
h: refs/heads/master
v: v3
  • Loading branch information
Joel Becker authored and Mark Fasheh committed Jun 29, 2006
1 parent 988d27b commit c6225ff
Show file tree
Hide file tree
Showing 331 changed files with 12,101 additions and 4,851 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: 74e651f0aa100f3e5d3432a8dd8869c089e8d72f
refs/heads/master: 22dd0e88b70f5faa3a0101081e290431c3439189
15 changes: 9 additions & 6 deletions trunk/Documentation/Changes
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ Intel IA32 microcode
--------------------

A driver has been added to allow updating of Intel IA32 microcode,
accessible as a normal (misc) character device. If you are not using
udev you may need to:
accessible as both a devfs regular file and as a normal (misc)
character device. If you are not using devfs you may need to:

mkdir /dev/cpu
mknod /dev/cpu/microcode c 10 184
Expand All @@ -201,9 +201,7 @@ with programs using shared memory.
udev
----
udev is a userspace application for populating /dev dynamically with
only entries for devices actually present. udev replaces the basic
functionality of devfs, while allowing persistant device naming for
devices.
only entries for devices actually present. udev replaces devfs.

FUSE
----
Expand Down Expand Up @@ -233,13 +231,18 @@ The PPP driver has been restructured to support multilink and to
enable it to operate over diverse media layers. If you use PPP,
upgrade pppd to at least 2.4.0.

If you are not using udev, you must have the device file /dev/ppp
If you are not using devfs, you must have the device file /dev/ppp
which can be made by:

mknod /dev/ppp c 108 0

as root.

If you use devfsd and build ppp support as modules, you will need
the following in your /etc/devfsd.conf file:

LOOKUP PPP MODLOAD

Isdn4k-utils
------------

Expand Down
5 changes: 5 additions & 0 deletions trunk/Documentation/DocBook/kernel-api.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,11 @@ X!Earch/i386/kernel/mca.c
</sect1>
</chapter>

<chapter id="devfs">
<title>The Device File System</title>
!Efs/devfs/base.c
</chapter>

<chapter id="sysfs">
<title>The Filesystem for Exporting Kernel Objects</title>
!Efs/sysfs/file.c
Expand Down
6 changes: 3 additions & 3 deletions trunk/Documentation/README.DAC960
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ also known as "System Drives", and Drive Groups are also called "Packs". Both
terms are in use in the Mylex documentation; I have chosen to standardize on
the more generic "Logical Drive" and "Drive Group".

DAC960 RAID disk devices are named in the style of the obsolete Device File
System (DEVFS). The device corresponding to Logical Drive D on Controller C
is referred to as /dev/rd/cCdD, and the partitions are called /dev/rd/cCdDp1
DAC960 RAID disk devices are named in the style of the Device File System
(DEVFS). The device corresponding to Logical Drive D on Controller C is
referred to as /dev/rd/cCdD, and the partitions are called /dev/rd/cCdDp1
through /dev/rd/cCdDp7. For example, partition 3 of Logical Drive 5 on
Controller 2 is referred to as /dev/rd/c2d5p3. Note that unlike with SCSI
disks the device names will not change in the event of a disk drive failure.
Expand Down
11 changes: 11 additions & 0 deletions trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ be removed from this file.

---------------------------

What: devfs
When: July 2005
Files: fs/devfs/*, include/linux/devfs_fs*.h and assorted devfs
function calls throughout the kernel tree
Why: It has been unmaintained for a number of years, has unfixable
races, contains a naming policy within the kernel that is
against the LSB, and can be replaced by using udev.
Who: Greg Kroah-Hartman <greg@kroah.com>

---------------------------

What: RAW driver (CONFIG_RAW_DRIVER)
When: December 2005
Why: declared obsolete since kernel 2.6.3
Expand Down
19 changes: 15 additions & 4 deletions trunk/Documentation/filesystems/configfs/configfs_example.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,15 @@ static struct config_item_type simple_child_type = {
};


struct simple_children {
struct config_group group;
};

static inline struct simple_children *to_simple_children(struct config_item *item)
{
return item ? container_of(to_config_group(item), struct simple_children, group) : NULL;
}

static struct config_item *simple_children_make_item(struct config_group *group, const char *name)
{
struct simple_child *simple_child;
Expand Down Expand Up @@ -304,7 +313,13 @@ static ssize_t simple_children_attr_show(struct config_item *item,
"items have only one attribute that is readable and writeable.\n");
}

static void simple_children_release(struct config_item *item)
{
kfree(to_simple_children(item));
}

static struct configfs_item_operations simple_children_item_ops = {
.release = simple_children_release,
.show_attribute = simple_children_attr_show,
};

Expand Down Expand Up @@ -345,10 +360,6 @@ static struct configfs_subsystem simple_children_subsys = {
* children of its own.
*/

struct simple_children {
struct config_group group;
};

static struct config_group *group_children_make_group(struct config_group *group, const char *name)
{
struct simple_children *simple_children;
Expand Down
Loading

0 comments on commit c6225ff

Please sign in to comment.