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
47f64403
Commit
47f64403
authored
Sep 25, 2003
by
James Bottomley
Browse files
Options
Browse Files
Download
Plain Diff
Merge
ssh://linux-scsi@linux-scsi.bkbits.net/scsi-misc-2.5
into raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
parents
c9f9d638
162e112e
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
35 deletions
+8
-35
drivers/scsi/53c700.c
drivers/scsi/53c700.c
+0
-1
drivers/scsi/BusLogic.c
drivers/scsi/BusLogic.c
+0
-1
drivers/scsi/aha152x.c
drivers/scsi/aha152x.c
+0
-1
drivers/scsi/dmx3191d.c
drivers/scsi/dmx3191d.c
+0
-1
drivers/scsi/i60uscsi.c
drivers/scsi/i60uscsi.c
+0
-1
drivers/scsi/ide-scsi.c
drivers/scsi/ide-scsi.c
+2
-25
drivers/scsi/scsi_proc.c
drivers/scsi/scsi_proc.c
+3
-4
drivers/scsi/sg.c
drivers/scsi/sg.c
+3
-1
No files found.
drivers/scsi/53c700.c
View file @
47f64403
...
...
@@ -115,7 +115,6 @@
#define NCR_700_VERSION "2.8"
#include <linux/config.h>
#include <linux/version.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/string.h>
...
...
drivers/scsi/BusLogic.c
View file @
47f64403
...
...
@@ -31,7 +31,6 @@
#define BusLogic_DriverDate "18 July 2002"
#include <linux/config.h>
#include <linux/version.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/interrupt.h>
...
...
drivers/scsi/aha152x.c
View file @
47f64403
...
...
@@ -224,7 +224,6 @@
#include <linux/sched.h>
#include <asm/irq.h>
#include <asm/io.h>
#include <linux/version.h>
#include <linux/blkdev.h>
#include "scsi.h"
#include "hosts.h"
...
...
drivers/scsi/dmx3191d.c
View file @
47f64403
...
...
@@ -30,7 +30,6 @@
#include <linux/sched.h>
#include <linux/signal.h>
#include <linux/stat.h>
#include <linux/version.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
...
...
drivers/scsi/i60uscsi.c
View file @
47f64403
...
...
@@ -74,7 +74,6 @@
* - Fix allocation of scsi host structs and private data
**************************************************************************/
#include <linux/version.h>
#include <linux/module.h>
#include <asm/irq.h>
#include <linux/pci.h>
...
...
drivers/scsi/ide-scsi.c
View file @
47f64403
...
...
@@ -946,13 +946,6 @@ static Scsi_Host_Template idescsi_template = {
.
proc_name
=
"ide-scsi"
,
};
static
struct
device
idescsi_primary
=
{
.
bus_id
=
"ide-scsi"
,
};
static
struct
bus_type
idescsi_emu_bus
=
{
.
name
=
"ide-scsi"
,
};
static
int
idescsi_attach
(
ide_drive_t
*
drive
)
{
idescsi_scsi_t
*
idescsi
;
...
...
@@ -975,7 +968,7 @@ static int idescsi_attach(ide_drive_t *drive)
if
(
!
err
)
{
idescsi_setup
(
drive
,
idescsi
);
drive
->
disk
->
fops
=
&
idescsi_ops
;
err
=
scsi_add_host
(
host
,
&
idescsi_primary
);
err
=
scsi_add_host
(
host
,
&
drive
->
gendev
);
if
(
!
err
)
{
scsi_scan_host
(
host
);
return
0
;
...
...
@@ -990,27 +983,11 @@ static int idescsi_attach(ide_drive_t *drive)
static
int
__init
init_idescsi_module
(
void
)
{
int
err
;
err
=
bus_register
(
&
idescsi_emu_bus
);
if
(
!
err
)
{
err
=
device_register
(
&
idescsi_primary
);
if
(
!
err
)
{
err
=
ide_register_driver
(
&
idescsi_driver
);
if
(
!
err
)
return
0
;
device_unregister
(
&
idescsi_primary
);
}
bus_unregister
(
&
idescsi_emu_bus
);
}
return
err
;
return
ide_register_driver
(
&
idescsi_driver
);
}
static
void
__exit
exit_idescsi_module
(
void
)
{
device_unregister
(
&
idescsi_primary
);
bus_unregister
(
&
idescsi_emu_bus
);
ide_unregister_driver
(
&
idescsi_driver
);
}
...
...
drivers/scsi/scsi_proc.c
View file @
47f64403
...
...
@@ -85,12 +85,11 @@ void scsi_proc_hostdir_add(struct scsi_host_template *sht)
down
(
&
global_host_template_sem
);
if
(
!
sht
->
present
++
)
{
sht
->
proc_dir
=
proc_mkdir
(
sht
->
proc_name
,
proc_scsi
);
if
(
!
sht
->
proc_dir
)
{
if
(
!
sht
->
proc_dir
)
printk
(
KERN_ERR
"%s: proc_mkdir failed for %s
\n
"
,
__FUNCTION__
,
sht
->
proc_name
);
return
;
}
sht
->
proc_dir
->
owner
=
sht
->
module
;
else
sht
->
proc_dir
->
owner
=
sht
->
module
;
}
up
(
&
global_host_template_sem
);
}
...
...
drivers/scsi/sg.c
View file @
47f64403
...
...
@@ -1514,8 +1514,10 @@ init_sg(void)
if
(
rc
)
return
rc
;
rc
=
scsi_register_interface
(
&
sg_interface
);
if
(
rc
)
if
(
rc
)
{
unregister_chrdev
(
SCSI_GENERIC_MAJOR
,
"sg"
);
return
rc
;
}
#ifdef CONFIG_SCSI_PROC_FS
sg_proc_init
();
#endif
/* CONFIG_SCSI_PROC_FS */
...
...
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