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
ad508ed8
Commit
ad508ed8
authored
Sep 16, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Fix iomem warnings in qlogicpti driver.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
4d24d354
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/scsi/qlogicpti.c
drivers/scsi/qlogicpti.c
+1
-1
drivers/scsi/qlogicpti.h
drivers/scsi/qlogicpti.h
+2
-2
No files found.
drivers/scsi/qlogicpti.c
View file @
ad508ed8
...
...
@@ -987,7 +987,7 @@ const char *qlogicpti_info(struct Scsi_Host *host)
static
char
buf
[
80
];
struct
qlogicpti
*
qpti
=
(
struct
qlogicpti
*
)
host
->
hostdata
;
sprintf
(
buf
,
"PTI Qlogic,ISP SBUS SCSI irq %s regs at %
lx
"
,
sprintf
(
buf
,
"PTI Qlogic,ISP SBUS SCSI irq %s regs at %
p
"
,
__irq_itoa
(
qpti
->
qhost
->
irq
),
qpti
->
qregs
);
return
buf
;
}
...
...
drivers/scsi/qlogicpti.h
View file @
ad508ed8
...
...
@@ -335,7 +335,7 @@ struct scsi_cmnd;
/* Software state for the driver. */
struct
qlogicpti
{
/* These are the hot elements in the cache, so they come first. */
unsigned
long
qregs
;
/* Adapter registers */
void
__iomem
*
qregs
;
/* Adapter registers */
struct
pti_queue_entry
*
res_cpu
;
/* Ptr to RESPONSE bufs (CPU) */
struct
pti_queue_entry
*
req_cpu
;
/* Ptr to REQUEST bufs (CPU) */
...
...
@@ -370,7 +370,7 @@ struct qlogicpti {
struct
host_param
host_param
;
struct
dev_param
dev_param
[
MAX_TARGETS
];
unsigned
long
sreg
;
void
__iomem
*
sreg
;
#define SREG_TPOWER 0x80
/* State of termpwr */
#define SREG_FUSE 0x40
/* State of on board fuse */
#define SREG_PDISAB 0x20
/* Disable state for power on */
...
...
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