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
98e93c28
Commit
98e93c28
authored
Oct 12, 2002
by
Alan Cox
Committed by
Linus Torvalds
Oct 12, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] cpqfc vendor update
(someone really needs to indent the cpqfc driver!)
parent
52cf6d39
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
drivers/scsi/cpqfc.Readme
drivers/scsi/cpqfc.Readme
+2
-0
drivers/scsi/cpqfcTSinit.c
drivers/scsi/cpqfcTSinit.c
+6
-2
drivers/scsi/cpqfcTSstructs.h
drivers/scsi/cpqfcTSstructs.h
+1
-1
No files found.
drivers/scsi/cpqfc.Readme
View file @
98e93c28
...
@@ -7,6 +7,8 @@ Tested in single and dual HBA configuration, 32 and 64bit busses,
...
@@ -7,6 +7,8 @@ Tested in single and dual HBA configuration, 32 and 64bit busses,
SEST size 512 Exchanges (simultaneous I/Os) limited by module kmalloc()
SEST size 512 Exchanges (simultaneous I/Os) limited by module kmalloc()
max of 128k bytes contiguous.
max of 128k bytes contiguous.
Ver 2.5.4 Oct 03, 2002
* fixed memcpy of sense buffer in ioctl to copy the smaller defined size
Ver 2.5.3 Aug 01, 2002
Ver 2.5.3 Aug 01, 2002
* fix the passthru ioctl to handle the Scsi_Cmnd->request being a pointer
* fix the passthru ioctl to handle the Scsi_Cmnd->request being a pointer
Ver 2.5.1 Jul 30, 2002
Ver 2.5.1 Jul 30, 2002
...
...
drivers/scsi/cpqfcTSinit.c
View file @
98e93c28
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
/* Embedded module documentation macros - see module.h */
/* Embedded module documentation macros - see module.h */
MODULE_AUTHOR
(
"Compaq Computer Corporation"
);
MODULE_AUTHOR
(
"Compaq Computer Corporation"
);
MODULE_DESCRIPTION
(
"Driver for Compaq 64-bit/66Mhz PCI Fibre Channel HBA v. 2.5.
3
"
);
MODULE_DESCRIPTION
(
"Driver for Compaq 64-bit/66Mhz PCI Fibre Channel HBA v. 2.5.
4
"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
int
cpqfcTS_TargetDeviceReset
(
Scsi_Device
*
ScsiDev
,
unsigned
int
reset_flags
);
int
cpqfcTS_TargetDeviceReset
(
Scsi_Device
*
ScsiDev
,
unsigned
int
reset_flags
);
...
@@ -668,7 +668,11 @@ int cpqfcTS_ioctl( Scsi_Device *ScsiDev, int Cmnd, void *arg)
...
@@ -668,7 +668,11 @@ int cpqfcTS_ioctl( Scsi_Device *ScsiDev, int Cmnd, void *arg)
{
{
memcpy
(
vendor_cmd
->
sense_data
,
// see struct def - size=40
memcpy
(
vendor_cmd
->
sense_data
,
// see struct def - size=40
ScsiPassThruReq
->
sr_sense_buffer
,
ScsiPassThruReq
->
sr_sense_buffer
,
sizeof
(
ScsiPassThruReq
->
sr_sense_buffer
));
sizeof
(
ScsiPassThruReq
->
sr_sense_buffer
)
<
sizeof
(
vendor_cmd
->
sense_data
)
?
sizeof
(
ScsiPassThruReq
->
sr_sense_buffer
)
:
sizeof
(
vendor_cmd
->
sense_data
)
);
}
}
SDpnt
=
ScsiPassThruReq
->
sr_device
;
SDpnt
=
ScsiPassThruReq
->
sr_device
;
/* upper_private_data is already freed in call_scsi_done() */
/* upper_private_data is already freed in call_scsi_done() */
...
...
drivers/scsi/cpqfcTSstructs.h
View file @
98e93c28
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
// don't forget to also change MODULE_DESCRIPTION in cpqfcTSinit.c
// don't forget to also change MODULE_DESCRIPTION in cpqfcTSinit.c
#define VER_MAJOR 2
#define VER_MAJOR 2
#define VER_MINOR 5
#define VER_MINOR 5
#define VER_SUBMINOR
3
#define VER_SUBMINOR
4
// Macros for kernel (esp. SMP) tracing using a PCI analyzer
// Macros for kernel (esp. SMP) tracing using a PCI analyzer
// (e.g. x86).
// (e.g. x86).
...
...
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