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
66d36604
Commit
66d36604
authored
Mar 10, 2004
by
Aristeu Sergio Rozanski Filho
Committed by
James Bottomley
Mar 10, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] qlogicfas: kill QL_USE_IRQ
parent
c7fb82ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
19 deletions
+1
-19
drivers/scsi/qlogicfas.c
drivers/scsi/qlogicfas.c
+1
-19
No files found.
drivers/scsi/qlogicfas.c
View file @
66d36604
...
@@ -48,11 +48,6 @@
...
@@ -48,11 +48,6 @@
#define QL_INT_ACTIVE_HIGH 2
#define QL_INT_ACTIVE_HIGH 2
/* Set the following to 1 to enable the use of interrupts. Note that 0 tends
to be more stable, but slower (or ties up the system more) */
#define QL_USE_IRQ 1
/* Set the following to max out the speed of the PIO PseudoDMA transfers,
/* Set the following to max out the speed of the PIO PseudoDMA transfers,
again, 0 tends to be slower, but more stable. */
again, 0 tends to be slower, but more stable. */
...
@@ -502,8 +497,6 @@ static unsigned int ql_pcmd(Scsi_Cmnd * cmd)
...
@@ -502,8 +497,6 @@ static unsigned int ql_pcmd(Scsi_Cmnd * cmd)
return
(
result
<<
16
)
|
(
message
<<
8
)
|
(
status
&
STATUS_MASK
);
return
(
result
<<
16
)
|
(
message
<<
8
)
|
(
status
&
STATUS_MASK
);
}
}
#if QL_USE_IRQ
/*
/*
* Interrupt handler
* Interrupt handler
*/
*/
...
@@ -543,10 +536,6 @@ static irqreturn_t do_ql_ihandl(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -543,10 +536,6 @@ static irqreturn_t do_ql_ihandl(int irq, void *dev_id, struct pt_regs *regs)
return
IRQ_HANDLED
;
return
IRQ_HANDLED
;
}
}
#endif
#if QL_USE_IRQ
/*
/*
* Queued command
* Queued command
*/
*/
...
@@ -568,12 +557,6 @@ int qlogicfas_queuecommand(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *))
...
@@ -568,12 +557,6 @@ int qlogicfas_queuecommand(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *))
ql_icmd
(
cmd
);
ql_icmd
(
cmd
);
return
0
;
return
0
;
}
}
#else
int
qlogicfas_queuecommand
(
Scsi_Cmnd
*
cmd
,
void
(
*
done
)
(
Scsi_Cmnd
*
))
{
return
1
;
}
#endif
#ifdef PCMCIA
#ifdef PCMCIA
...
@@ -643,7 +626,6 @@ struct Scsi_Host *__qlogicfas_detect(Scsi_Host_Template *host)
...
@@ -643,7 +626,6 @@ struct Scsi_Host *__qlogicfas_detect(Scsi_Host_Template *host)
REG0
;
REG0
;
#endif
#endif
#if QL_USE_IRQ
/*
/*
* IRQ probe - toggle pin and check request pending
* IRQ probe - toggle pin and check request pending
*/
*/
...
@@ -672,7 +654,7 @@ struct Scsi_Host *__qlogicfas_detect(Scsi_Host_Template *host)
...
@@ -672,7 +654,7 @@ struct Scsi_Host *__qlogicfas_detect(Scsi_Host_Template *host)
if
(
qlirq
>=
0
&&
!
request_irq
(
qlirq
,
do_ql_ihandl
,
0
,
qlogicfas_name
,
NULL
))
if
(
qlirq
>=
0
&&
!
request_irq
(
qlirq
,
do_ql_ihandl
,
0
,
qlogicfas_name
,
NULL
))
host
->
can_queue
=
1
;
host
->
can_queue
=
1
;
#endif
hreg
=
scsi_register
(
host
,
0
);
/* no host data */
hreg
=
scsi_register
(
host
,
0
);
/* no host data */
if
(
!
hreg
)
if
(
!
hreg
)
goto
err_release_mem
;
goto
err_release_mem
;
...
...
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