git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
scsi
/
psi240i.c
diff --git
a/drivers/scsi/psi240i.c
b/drivers/scsi/psi240i.c
index
0f576d4
..
5c2cdf5
100644
(file)
--- a/
drivers/scsi/psi240i.c
+++ b/
drivers/scsi/psi240i.c
@@
-538,7
+538,7
@@
static void ReadChipMemory (void *pdata, USHORT base, USHORT length, USHORT port
* Returns: Number of adapters found.
*
****************************************************************/
* Returns: Number of adapters found.
*
****************************************************************/
-static int Psi240i_Detect (
Scsi_Host_T
emplate *tpnt)
+static int Psi240i_Detect (
struct scsi_host_t
emplate *tpnt)
{
int board;
int count = 0;
{
int board;
int count = 0;
@@
-659,7
+659,7
@@
static int Psi240i_BiosParam (struct scsi_device *sdev, struct block_device *dev
{
POUR_DEVICE pdev;
{
POUR_DEVICE pdev;
- pdev = &(HOSTDATA(sdev->host)->device[sdev
->id
]);
+ pdev = &(HOSTDATA(sdev->host)->device[sdev
_id(sdev)
]);
geom[0] = pdev->heads;
geom[1] = pdev->sectors;
geom[0] = pdev->heads;
geom[1] = pdev->sectors;
@@
-669,7
+669,7
@@
static int Psi240i_BiosParam (struct scsi_device *sdev, struct block_device *dev
MODULE_LICENSE("GPL");
MODULE_LICENSE("GPL");
-static
Scsi_Host_T
emplate driver_template = {
+static
struct scsi_host_t
emplate driver_template = {
.proc_name = "psi240i",
.name = "PSI-240I EIDE Disk Controller",
.detect = Psi240i_Detect,
.proc_name = "psi240i",
.name = "PSI-240I EIDE Disk Controller",
.detect = Psi240i_Detect,