diff options
| author | Jeff Garzik <jgarzik@redhat.com> | 2003-12-16 09:44:54 -0500 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@redhat.com> | 2003-12-16 09:44:54 -0500 |
| commit | 351244417be343ca4762e658807d18c2c69b5c50 (patch) | |
| tree | 9031f02239161ca3d7bbe22c3db53243036b064a /include/linux | |
| parent | b67b6758e0e84e14995f600a7b440dfd9eac58f5 (diff) | |
[libata] update new geometry code for 2.6.x specifics not present in 2.4
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/libata.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index df9013bf2c64..1ba99c0e6d22 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -28,6 +28,7 @@ #include <asm/io.h> #include <linux/ata.h> + /* * compile-time options */ @@ -171,6 +172,7 @@ enum { }; /* forward declarations */ +struct scsi_device; struct ata_port_operations; struct ata_port; struct ata_queued_cmd; @@ -427,7 +429,9 @@ extern void ata_bmdma_start_pio (struct ata_queued_cmd *qc); extern int pci_test_config_bits(struct pci_dev *pdev, struct pci_bits *bits); extern void ata_qc_complete(struct ata_queued_cmd *qc, u8 drv_stat, unsigned int done_late); extern void ata_eng_timeout(struct ata_port *ap); -extern int ata_std_bios_param(Disk * disk, kdev_t dev, int *ip); +extern int ata_std_bios_param(struct scsi_device *sdev, + struct block_device *bdev, + sector_t capacity, int geom[]); static inline unsigned long msecs_to_jiffies(unsigned long msecs) |
