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
289fe4bc
Commit
289fe4bc
authored
Oct 07, 2002
by
Dave Jones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sun3 ncr scsi driver update
Sammy changed address, and lets BUG() instead of locking up the machine.
parent
da5223ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/scsi/sun3_NCR5380.c
drivers/scsi/sun3_NCR5380.c
+5
-5
No files found.
drivers/scsi/sun3_NCR5380.c
View file @
289fe4bc
...
@@ -1213,9 +1213,9 @@ static void NCR5380_dma_complete( struct Scsi_Host *instance )
...
@@ -1213,9 +1213,9 @@ static void NCR5380_dma_complete( struct Scsi_Host *instance )
if
((
sun3scsi_dma_finish
(
hostdata
->
connected
->
request
->
cmd
)))
{
if
((
sun3scsi_dma_finish
(
hostdata
->
connected
->
request
->
cmd
)))
{
printk
(
"scsi%d: overrun in UDC counter -- not prepared to deal with this!
\n
"
,
HOSTNO
);
printk
(
"scsi%d: overrun in UDC counter -- not prepared to deal with this!
\n
"
,
HOSTNO
);
printk
(
"please e-mail sammy@
oh.verio.com
with a description of how this
\n
"
);
printk
(
"please e-mail sammy@
sammy.net
with a description of how this
\n
"
);
printk
(
"error was produced.
\n
"
);
printk
(
"error was produced.
\n
"
);
machine_halt
();
BUG
();
}
}
/* make sure we're not stuck in a data phase */
/* make sure we're not stuck in a data phase */
...
@@ -1226,9 +1226,9 @@ static void NCR5380_dma_complete( struct Scsi_Host *instance )
...
@@ -1226,9 +1226,9 @@ static void NCR5380_dma_complete( struct Scsi_Host *instance )
printk
(
"scsi%d: bus stuck in data phase -- probably a
printk
(
"scsi%d: bus stuck in data phase -- probably a
single byte overrun!
\n
"
,
HOSTNO
);
single byte overrun!
\n
"
,
HOSTNO
);
printk
(
"not prepared for this error!
\n
"
);
printk
(
"not prepared for this error!
\n
"
);
printk
(
"please e-mail sammy@
oh.verio.com
with a description of how this
\n
"
);
printk
(
"please e-mail sammy@
sammy.net
with a description of how this
\n
"
);
printk
(
"error was produced.
\n
"
);
printk
(
"error was produced.
\n
"
);
machine_halt
();
BUG
();
}
}
...
@@ -1916,7 +1916,7 @@ static int NCR5380_transfer_dma( struct Scsi_Host *instance,
...
@@ -1916,7 +1916,7 @@ static int NCR5380_transfer_dma( struct Scsi_Host *instance,
/* sanity check */
/* sanity check */
if
(
!
sun3_dma_setup_done
)
{
if
(
!
sun3_dma_setup_done
)
{
printk
(
"scsi%d: transfer_dma without setup!
\n
"
,
HOSTNO
);
printk
(
"scsi%d: transfer_dma without setup!
\n
"
,
HOSTNO
);
machine_halt
();
BUG
();
}
}
hostdata
->
dma_len
=
c
;
hostdata
->
dma_len
=
c
;
...
...
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