Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
c78968bb
Commit
c78968bb
authored
Sep 21, 2007
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[libata] SCSI: simulator version, not device version, belongs in VPD
Signed-off-by:
Jeff Garzik
<
jeff@garzik.org
>
parent
24f75686
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
drivers/ata/libata-core.c
drivers/ata/libata-core.c
+0
-2
drivers/ata/libata-scsi.c
drivers/ata/libata-scsi.c
+3
-2
drivers/ata/libata.h
drivers/ata/libata.h
+1
-0
No files found.
drivers/ata/libata-core.c
View file @
c78968bb
...
...
@@ -59,8 +59,6 @@
#include "libata.h"
#define DRV_VERSION "2.21"
/* must be exactly four chars */
/* debounce timing parameters in msecs { interval, duration, timeout } */
const
unsigned
long
sata_deb_timing_normal
[]
=
{
5
,
100
,
2000
};
...
...
drivers/ata/libata-scsi.c
View file @
c78968bb
...
...
@@ -1831,8 +1831,9 @@ unsigned int ata_scsiop_inq_89(struct ata_scsi_args *args, u8 *rbuf,
pbuf
[
2
]
=
(
0x238
>>
8
);
/* page size fixed at 238h */
pbuf
[
3
]
=
(
0x238
&
0xff
);
memcpy
(
&
pbuf
[
8
],
"ATA "
,
8
);
ata_id_string
(
args
->
id
,
&
pbuf
[
16
],
ATA_ID_PROD
,
16
);
memcpy
(
&
pbuf
[
8
],
"linux "
,
8
);
memcpy
(
&
pbuf
[
16
],
"libata "
,
16
);
memcpy
(
&
pbuf
[
32
],
DRV_VERSION
,
4
);
ata_id_string
(
args
->
id
,
&
pbuf
[
32
],
ATA_ID_FW_REV
,
4
);
/* we don't store the ATA device signature, so we fake it */
...
...
drivers/ata/libata.h
View file @
c78968bb
...
...
@@ -29,6 +29,7 @@
#define __LIBATA_H__
#define DRV_NAME "libata"
#define DRV_VERSION "2.21"
/* must be exactly four chars */
struct
ata_scsi_args
{
struct
ata_device
*
dev
;
...
...
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