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
3e880ac5
Commit
3e880ac5
authored
Nov 19, 2002
by
Christoph Hellwig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] make scsi_ioctl.h useable without including scsi.h
*grr* - silly typedefs..
parent
78d78c9d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
include/scsi/scsi_ioctl.h
include/scsi/scsi_ioctl.h
+9
-11
No files found.
include/scsi/scsi_ioctl.h
View file @
3e880ac5
...
...
@@ -17,6 +17,8 @@
#ifdef __KERNEL__
struct
scsi_device
;
/*
* Structures used for scsi_ioctl et al.
*/
...
...
@@ -33,19 +35,15 @@ typedef struct scsi_idlun {
}
Scsi_Idlun
;
/* Fibre Channel WWN, port_id struct */
typedef
struct
scsi_fctargaddress
{
typedef
struct
scsi_fctargaddress
{
__u32
host_port_id
;
unsigned
char
host_wwn
[
8
];
// include NULL term.
}
Scsi_FCTargAddress
;
extern
int
scsi_ioctl
(
Scsi_Device
*
dev
,
int
cmd
,
void
*
arg
);
extern
int
kernel_scsi_ioctl
(
Scsi_Device
*
dev
,
int
cmd
,
void
*
arg
);
extern
int
scsi_ioctl_send_command
(
Scsi_Device
*
dev
,
Scsi_Ioctl_Command
*
arg
);
#endif
#endif
extern
int
scsi_ioctl
(
struct
scsi_device
*
,
int
,
void
*
);
extern
int
kernel_scsi_ioctl
(
struct
scsi_device
*
,
int
,
void
*
);
extern
int
scsi_ioctl_send_command
(
struct
scsi_device
*
,
struct
scsi_ioctl_command
*
);
#endif
/* __KERNEL__ */
#endif
/* _SCSI_IOCTL_H */
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