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
Kirill Smelkov
linux
Commits
eb0ad91a
Commit
eb0ad91a
authored
Nov 04, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
cb66cfd0
a4e184ce
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
72 additions
and
63 deletions
+72
-63
drivers/scsi/pcmcia/nsp_cs.c
drivers/scsi/pcmcia/nsp_cs.c
+66
-56
drivers/scsi/pcmcia/nsp_cs.h
drivers/scsi/pcmcia/nsp_cs.h
+5
-6
drivers/scsi/pcmcia/nsp_message.c
drivers/scsi/pcmcia/nsp_message.c
+1
-1
No files found.
drivers/scsi/pcmcia/nsp_cs.c
View file @
eb0ad91a
This diff is collapsed.
Click to expand it.
drivers/scsi/pcmcia/nsp_cs.h
View file @
eb0ad91a
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
=========================================================*/
=========================================================*/
/* $Id: nsp_cs.h,v 1.
3 2002/10/10 11:07:52
elca Exp $ */
/* $Id: nsp_cs.h,v 1.
4 2002/11/05 12:06:29
elca Exp $ */
#ifndef __nsp_cs__
#ifndef __nsp_cs__
#define __nsp_cs__
#define __nsp_cs__
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
/************************************
/************************************
* Some useful macros...
* Some useful macros...
*/
*/
#define N
umber(arr) ((int) (sizeof(arr) / sizeof(arr[0])))
#define N
UMBER(arr) ((int) (sizeof(arr) / sizeof(arr[0])))
/* from XtNumber() in /usr/X11R6/include/X11/Intrinsic.h */
#define BIT(x) (1L << (x))
#define BIT(x) (1L << (x))
#define MIN(a,b) ((a) > (b) ? (b) : (a))
#define MIN(a,b) ((a) > (b) ? (b) : (a))
...
@@ -285,7 +285,6 @@ static int nsp_proc_info(char *buffer, char **start, off_t offset,
...
@@ -285,7 +285,6 @@ static int nsp_proc_info(char *buffer, char **start, off_t offset,
int
length
,
int
hostno
,
int
inout
);
int
length
,
int
hostno
,
int
inout
);
static
int
nsp_queuecommand
(
Scsi_Cmnd
*
,
void
(
*
done
)(
Scsi_Cmnd
*
));
static
int
nsp_queuecommand
(
Scsi_Cmnd
*
,
void
(
*
done
)(
Scsi_Cmnd
*
));
/*static int nsp_eh_abort(Scsi_Cmnd * SCpnt);*/
/*static int nsp_eh_abort(Scsi_Cmnd * SCpnt);*/
/*static int nsp_eh_device_reset(Scsi_Cmnd *SCpnt);*/
/*static int nsp_eh_device_reset(Scsi_Cmnd *SCpnt);*/
static
int
nsp_eh_bus_reset
(
Scsi_Cmnd
*
SCpnt
);
static
int
nsp_eh_bus_reset
(
Scsi_Cmnd
*
SCpnt
);
...
...
drivers/scsi/pcmcia/nsp_message.c
View file @
eb0ad91a
...
@@ -64,7 +64,7 @@ static void nsp_message_out(Scsi_Cmnd *SCpnt, nsp_hw_data *data)
...
@@ -64,7 +64,7 @@ static void nsp_message_out(Scsi_Cmnd *SCpnt, nsp_hw_data *data)
DEBUG
(
0
,
" msgout loop
\n
"
);
DEBUG
(
0
,
" msgout loop
\n
"
);
do
{
do
{
if
(
nsp_xfer
(
SCpnt
,
data
,
BUSPHASE_MESSAGE_OUT
))
{
if
(
nsp_xfer
(
SCpnt
,
data
,
BUSPHASE_MESSAGE_OUT
))
{
printk
(
KERN_DEBUG
" %s msgout: xfer short
\n
"
,
__FUNCTION__
);
printk
(
KERN_DEBUG
" %s
:
msgout: xfer short
\n
"
,
__FUNCTION__
);
}
}
/* catch a next signal */
/* catch a next signal */
...
...
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