diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 17:19:21 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-29 17:19:21 -0400 |
commit | 602cada851b28c5792339786efe872fbdc1f5d41 (patch) | |
tree | 233d474b74d6038b5bb54a07ad91dd1bb10b0218 /drivers/ide/ide-tape.c | |
parent | 82991c6f2c361acc17279b8124d9bf1878973435 (diff) | |
parent | fee68d1cc0d9bd863e51c16cdcd707737b16bb38 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/devfs-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/devfs-2.6: (22 commits)
[PATCH] devfs: Remove it from the feature_removal.txt file
[PATCH] devfs: Last little devfs cleanups throughout the kernel tree.
[PATCH] devfs: Rename TTY_DRIVER_NO_DEVFS to TTY_DRIVER_DYNAMIC_DEV
[PATCH] devfs: Remove the tty_driver devfs_name field as it's no longer needed
[PATCH] devfs: Remove the line_driver devfs_name field as it's no longer needed
[PATCH] devfs: Remove the videodevice devfs_name field as it's no longer needed
[PATCH] devfs: Remove the gendisk devfs_name field as it's no longer needed
[PATCH] devfs: Remove the miscdevice devfs_name field as it's no longer needed
[PATCH] devfs: Remove the devfs_fs_kernel.h file from the tree
[PATCH] devfs: Remove devfs_remove() function from the kernel tree
[PATCH] devfs: Remove devfs_mk_cdev() function from the kernel tree
[PATCH] devfs: Remove devfs_mk_bdev() function from the kernel tree
[PATCH] devfs: Remove devfs_mk_symlink() function from the kernel tree
[PATCH] devfs: Remove devfs_mk_dir() function from the kernel tree
[PATCH] devfs: Remove devfs_*_tape() functions from the kernel tree
[PATCH] devfs: Remove devfs support from the sound subsystem
[PATCH] devfs: Remove devfs support from the ide subsystem.
[PATCH] devfs: Remove devfs support from the serial subsystem
[PATCH] devfs: Remove devfs from the init code
[PATCH] devfs: Remove devfs from the partition code
...
Diffstat (limited to 'drivers/ide/ide-tape.c')
-rw-r--r-- | drivers/ide/ide-tape.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 09f3a7dab28a..4b91101e12b7 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c | |||
@@ -435,7 +435,6 @@ | |||
435 | #include <linux/interrupt.h> | 435 | #include <linux/interrupt.h> |
436 | #include <linux/jiffies.h> | 436 | #include <linux/jiffies.h> |
437 | #include <linux/major.h> | 437 | #include <linux/major.h> |
438 | #include <linux/devfs_fs_kernel.h> | ||
439 | #include <linux/errno.h> | 438 | #include <linux/errno.h> |
440 | #include <linux/genhd.h> | 439 | #include <linux/genhd.h> |
441 | #include <linux/slab.h> | 440 | #include <linux/slab.h> |
@@ -4726,9 +4725,6 @@ static void ide_tape_release(struct kref *kref) | |||
4726 | MKDEV(IDETAPE_MAJOR, tape->minor)); | 4725 | MKDEV(IDETAPE_MAJOR, tape->minor)); |
4727 | class_device_destroy(idetape_sysfs_class, | 4726 | class_device_destroy(idetape_sysfs_class, |
4728 | MKDEV(IDETAPE_MAJOR, tape->minor + 128)); | 4727 | MKDEV(IDETAPE_MAJOR, tape->minor + 128)); |
4729 | devfs_remove("%s/mt", drive->devfs_name); | ||
4730 | devfs_remove("%s/mtn", drive->devfs_name); | ||
4731 | devfs_unregister_tape(g->number); | ||
4732 | idetape_devs[tape->minor] = NULL; | 4728 | idetape_devs[tape->minor] = NULL; |
4733 | g->private_data = NULL; | 4729 | g->private_data = NULL; |
4734 | put_disk(g); | 4730 | put_disk(g); |
@@ -4902,14 +4898,6 @@ static int ide_tape_probe(ide_drive_t *drive) | |||
4902 | class_device_create(idetape_sysfs_class, NULL, | 4898 | class_device_create(idetape_sysfs_class, NULL, |
4903 | MKDEV(IDETAPE_MAJOR, minor + 128), &drive->gendev, "n%s", tape->name); | 4899 | MKDEV(IDETAPE_MAJOR, minor + 128), &drive->gendev, "n%s", tape->name); |
4904 | 4900 | ||
4905 | devfs_mk_cdev(MKDEV(HWIF(drive)->major, minor), | ||
4906 | S_IFCHR | S_IRUGO | S_IWUGO, | ||
4907 | "%s/mt", drive->devfs_name); | ||
4908 | devfs_mk_cdev(MKDEV(HWIF(drive)->major, minor + 128), | ||
4909 | S_IFCHR | S_IRUGO | S_IWUGO, | ||
4910 | "%s/mtn", drive->devfs_name); | ||
4911 | |||
4912 | g->number = devfs_register_tape(drive->devfs_name); | ||
4913 | g->fops = &idetape_block_ops; | 4901 | g->fops = &idetape_block_ops; |
4914 | ide_register_region(g); | 4902 | ide_register_region(g); |
4915 | 4903 | ||