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
d39111ed
Commit
d39111ed
authored
Nov 04, 2002
by
Alan Cox
Committed by
Dave Jones
Nov 04, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] final eata polish
parent
bd8f3dd6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
drivers/scsi/eata.c
drivers/scsi/eata.c
+1
-2
drivers/scsi/eata.h
drivers/scsi/eata.h
+0
-2
No files found.
drivers/scsi/eata.c
View file @
d39111ed
...
@@ -476,7 +476,6 @@ MODULE_AUTHOR("Dario Ballabio");
...
@@ -476,7 +476,6 @@ MODULE_AUTHOR("Dario Ballabio");
#include <linux/blk.h>
#include <linux/blk.h>
#include "scsi.h"
#include "scsi.h"
#include "hosts.h"
#include "hosts.h"
#include "sd.h"
#include <asm/dma.h>
#include <asm/dma.h>
#include <asm/irq.h>
#include <asm/irq.h>
#include "eata.h"
#include "eata.h"
...
@@ -1838,7 +1837,7 @@ int eata2x_bios_param(struct scsi_device *sdev, struct block_device *bdev,
...
@@ -1838,7 +1837,7 @@ int eata2x_bios_param(struct scsi_device *sdev, struct block_device *bdev,
sector_t
capacity
,
int
*
dkinfo
)
{
sector_t
capacity
,
int
*
dkinfo
)
{
int
size
=
capacity
;
int
size
=
capacity
;
if
(
ext_tran
||
(
scsicam_bios_param
(
disk
,
bdev
,
dkinfo
)
<
0
))
{
if
(
ext_tran
||
(
scsicam_bios_param
(
bdev
,
capacity
,
dkinfo
)
<
0
))
{
dkinfo
[
0
]
=
255
;
dkinfo
[
0
]
=
255
;
dkinfo
[
1
]
=
63
;
dkinfo
[
1
]
=
63
;
dkinfo
[
2
]
=
size
/
(
dkinfo
[
0
]
*
dkinfo
[
1
]);
dkinfo
[
2
]
=
size
/
(
dkinfo
[
0
]
*
dkinfo
[
1
]);
...
...
drivers/scsi/eata.h
View file @
d39111ed
...
@@ -18,8 +18,6 @@ static int eata2x_slave_attach(Scsi_Device *);
...
@@ -18,8 +18,6 @@ static int eata2x_slave_attach(Scsi_Device *);
detect: eata2x_detect, \
detect: eata2x_detect, \
release: eata2x_release, \
release: eata2x_release, \
queuecommand: eata2x_queuecommand, \
queuecommand: eata2x_queuecommand, \
abort: NULL, \
reset: NULL, \
eh_abort_handler: eata2x_eh_abort, \
eh_abort_handler: eata2x_eh_abort, \
eh_device_reset_handler: NULL, \
eh_device_reset_handler: NULL, \
eh_bus_reset_handler: NULL, \
eh_bus_reset_handler: NULL, \
...
...
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