Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
eb2c5700
Commit
eb2c5700
authored
Apr 20, 2003
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] devfs: sonycd
parent
eb177f2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
drivers/cdrom/sonycd535.c
drivers/cdrom/sonycd535.c
+1
-6
No files found.
drivers/cdrom/sonycd535.c
View file @
eb2c5700
...
...
@@ -125,7 +125,6 @@
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/devfs_fs_kernel.h>
#define REALLY_SLOW_IO
#include <asm/system.h>
...
...
@@ -1579,6 +1578,7 @@ static int __init sony535_init(void)
cdu_disk
->
first_minor
=
0
;
cdu_disk
->
fops
=
&
cdu_fops
;
sprintf
(
cdu_disk
->
disk_name
,
"cdu"
);
sprintf
(
cdu_disk
->
devfs_name
,
"cdu535"
);
if
(
!
request_region
(
sony535_cd_base_io
,
4
,
CDU535_HANDLE
))
{
printk
(
KERN_WARNING
"sonycd535: Unable to request region 0x%x
\n
"
,
...
...
@@ -1587,10 +1587,6 @@ static int __init sony535_init(void)
}
cdu_disk
->
queue
=
&
sonycd535_queue
;
add_disk
(
cdu_disk
);
devfs_register
(
NULL
,
CDU535_HANDLE
,
DEVFS_FL_DEFAULT
,
cdu_disk
->
major
,
cdu_disk
->
first_minor
,
S_IFBLK
|
S_IRUGO
|
S_IWUGO
,
cdu_disk
->
fops
,
NULL
);
return
0
;
out7:
...
...
@@ -1666,7 +1662,6 @@ sony535_exit(void)
kfree
(
sony_buffer
);
kfree
(
last_sony_subcode
);
kfree
(
sony_toc
);
devfs_remove
(
CDU535_HANDLE
);
del_gendisk
(
cdu_disk
);
put_disk
(
cdu_disk
);
blk_cleanup_queue
(
&
sonycd535_queue
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment