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
261ff2d6
Commit
261ff2d6
authored
Mar 21, 2003
by
Alan Cox
Committed by
Linus Torvalds
Mar 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] printk, version etc for ide-taskfile
parent
d532b805
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
drivers/ide/ide-taskfile.c
drivers/ide/ide-taskfile.c
+6
-12
No files found.
drivers/ide/ide-taskfile.c
View file @
261ff2d6
/*
* linux/drivers/ide/ide-taskfile.c Version 0.3
3 April 11, 2002
* linux/drivers/ide/ide-taskfile.c Version 0.3
8 March 05, 2003
*
* Copyright (C) 2000-2002 Michael Cornwell <cornwell@acm.org>
* Copyright (C) 2000-2002 Andre Hedrick <andre@linux-ide.org>
...
...
@@ -27,7 +27,6 @@
*/
#include <linux/config.h>
#define __NO_VERSION__
#include <linux/module.h>
#include <linux/types.h>
#include <linux/string.h>
...
...
@@ -642,7 +641,7 @@ ide_startstop_t task_mulin_intr (ide_drive_t *drive)
* NOTE: could rewind beyond beginning :-/
*/
}
else
{
printk
(
"%s: MULTI-READ assume all data "
\
printk
(
KERN_ERR
"%s: MULTI-READ assume all data "
\
"transfered is bad status=0x%02x
\n
"
,
drive
->
name
,
stat
);
}
...
...
@@ -810,11 +809,6 @@ ide_startstop_t pre_task_mulout_intr (ide_drive_t *drive, struct request *rq)
rq
->
errors
=
0
;
return
ide_started
;
#else
/* ! ALTERNATE_STATE_DIAGRAM_MULTI_OUT */
#if 0
if (wait_for_ready(drive, 100))
IDE_DEBUG(__LINE__); //BUG();
#else
if
(
!
(
drive_is_ready
(
drive
)))
{
int
i
;
for
(
i
=
0
;
i
<
100
;
i
++
)
{
...
...
@@ -822,7 +816,7 @@ ide_startstop_t pre_task_mulout_intr (ide_drive_t *drive, struct request *rq)
break
;
}
}
#endif
/*
* WARNING :: if the drive as not acked good status we may not
* move the DATA-TRANSFER T-Bar as BSY != 0. <andre@linux-ide.org>
...
...
@@ -864,7 +858,7 @@ ide_startstop_t task_mulout_intr (ide_drive_t *drive)
* NOTE: could rewind beyond beginning :-/
*/
}
else
{
printk
(
"%s: MULTI-WRITE assume all data "
\
printk
(
KERN_ERR
"%s: MULTI-WRITE assume all data "
\
"transfered is bad status=0x%02x
\n
"
,
drive
->
name
,
stat
);
}
...
...
@@ -1497,7 +1491,7 @@ int ide_taskfile_ioctl (ide_drive_t *drive, unsigned int cmd, unsigned long arg)
case
TASKFILE_MULTI_OUT
:
if
(
!
drive
->
mult_count
)
{
/* (hs): give up if multcount is not set */
printk
(
"%s: %s Multimode Write "
\
printk
(
KERN_ERR
"%s: %s Multimode Write "
\
"multcount is not set
\n
"
,
drive
->
name
,
__FUNCTION__
);
err
=
-
EPERM
;
...
...
@@ -1525,7 +1519,7 @@ int ide_taskfile_ioctl (ide_drive_t *drive, unsigned int cmd, unsigned long arg)
case
TASKFILE_MULTI_IN
:
if
(
!
drive
->
mult_count
)
{
/* (hs): give up if multcount is not set */
printk
(
"%s: %s Multimode Read failure "
\
printk
(
KERN_ERR
"%s: %s Multimode Read failure "
\
"multcount is not set
\n
"
,
drive
->
name
,
__FUNCTION__
);
err
=
-
EPERM
;
...
...
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