aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index d67ccca2b964..776c574c9640 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -626,6 +626,8 @@ typedef struct hwif_s {
626struct ide_host { 626struct ide_host {
627 ide_hwif_t *ports[MAX_HWIFS]; 627 ide_hwif_t *ports[MAX_HWIFS];
628 unsigned int n_ports; 628 unsigned int n_ports;
629 struct device *dev[2];
630 void *host_priv;
629}; 631};
630 632
631/* 633/*
@@ -1201,8 +1203,9 @@ struct ide_port_info {
1201 u8 udma_mask; 1203 u8 udma_mask;
1202}; 1204};
1203 1205
1204int ide_setup_pci_device(struct pci_dev *, const struct ide_port_info *); 1206int ide_pci_init_one(struct pci_dev *, const struct ide_port_info *, void *);
1205int ide_setup_pci_devices(struct pci_dev *, struct pci_dev *, const struct ide_port_info *); 1207int ide_pci_init_two(struct pci_dev *, struct pci_dev *,
1208 const struct ide_port_info *, void *);
1206 1209
1207void ide_map_sg(ide_drive_t *, struct request *); 1210void ide_map_sg(ide_drive_t *, struct request *);
1208void ide_init_sg_cmd(ide_drive_t *, struct request *); 1211void ide_init_sg_cmd(ide_drive_t *, struct request *);