diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2006-09-18 14:18:34 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-09-23 21:28:19 -0400 |
commit | 1a68d41a334a406d4bd35999f0be4d47f193e477 (patch) | |
tree | 64913df8d3d751ca1e6acc8d0ab6b5eb204fda02 /drivers/scsi/eata_generic.h | |
parent | 2538363eb51a70948ed36bf3971a728268d10766 (diff) |
[SCSI] eata_pio cleanup and PCI fix
This started as a PCI reference fixup but to do that I need to build it,
to build it I need to fix it and its full of 32bitisms and uglies.
It has been resurrected, I'm not sure if this is a thank you for the
work on the license stuff or punishment for some unknown misdeed however
8). I've also fixed a memory scribble in the init code.
One oddity - the changes from HZ * to constants are deliberate. Whoever
originally wrote the code (or cleaned it up) used HZ for a cycle timing
loop even though is not HZ related. I've put it back to the counts used
in the old days when the driver was most used.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/eata_generic.h')
-rw-r--r-- | drivers/scsi/eata_generic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/eata_generic.h b/drivers/scsi/eata_generic.h index 34bce2c9e92e..635c14861f86 100644 --- a/drivers/scsi/eata_generic.h +++ b/drivers/scsi/eata_generic.h | |||
@@ -364,6 +364,7 @@ typedef struct hstd { | |||
364 | __u8 moresupport; /* HBA supports MORE flag */ | 364 | __u8 moresupport; /* HBA supports MORE flag */ |
365 | struct Scsi_Host *next; | 365 | struct Scsi_Host *next; |
366 | struct Scsi_Host *prev; | 366 | struct Scsi_Host *prev; |
367 | struct pci_dev *pdev; /* PCI device or NULL for non PCI */ | ||
367 | struct eata_sp sp; /* status packet */ | 368 | struct eata_sp sp; /* status packet */ |
368 | struct eata_ccb ccb[0]; /* ccb array begins here */ | 369 | struct eata_ccb ccb[0]; /* ccb array begins here */ |
369 | }hostdata; | 370 | }hostdata; |