summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Dalecki <dalecki@evision-ventures.com>2002-05-26 21:20:34 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-05-26 21:20:34 -0700
commit4478f0402bf68186e8af4872aa736eef78e0303a (patch)
tree84c43420cd83a04de0e137b73fc5edd3956fd8c0 /include
parentcd556cb51388d97fc3d5af2b38f8922e9f4ae4ce (diff)
[PATCH] 2.5.18 IDE 71
- Rewritten Artop host chip driver by Vojtech Pavlik. His log entries are: Cleanup whitespace. Remove superfluous chip entries in chip table. Remove global variables to allow more than one controller. Remove other forgotten stuff. This is a new driver for the Artop (Acard) controllers. It's completely untested, as I have never seen the hardware. However, I suspect it is much less broken than the previous one ... UDMA33 controller cannot detect 80-wire cable. - Separate ioctl handling out from ide.c. It's big enough. - Move atapi_read and atapi_write to the new atapi module. Fix the declaration of those functions. The data buffer did have the void * type! - Separate module handling code out from actual transfer handling code in to a new module called main.c. Slowly we are at the stage where the code indeed has to be organized logically and not just "sporadically" as was the case before. - Apply patch by Adam Richter for the ide-scsi.c attach method implementation. This particular driver is still broken due to generic SCSI layer issues. - Apply true modularization patch for qd65xx.c by Samuel Thibault. Here are his notes about it: Then, patch-modularize-2.[45] is a proposal for modularizing qd65xx.o. As a single module, one can choose to insmod it before being able to do some hdparm -p /dev/hd[a-d]. But one can't remove it while tuned, since selectproc may be needed. I am sorry I wasn't able to test it under 2.5 series, lacking a functionning kernel for my test computer, but it seemed to work perfectly under 2.4 series, and patches are almost the same. - Move PCI device id's to where they belong. Patch by Vojtech Pavlik. - Don't use BH_Lock in ide-tape.c - somehow this driver scares me sometimes.
Diffstat (limited to 'include')
-rw-r--r--include/linux/atapi.h9
-rw-r--r--include/linux/ide.h6
-rw-r--r--include/linux/pci_ids.h4
3 files changed, 12 insertions, 7 deletions
diff --git a/include/linux/atapi.h b/include/linux/atapi.h
index 6a6e2e36a6ff..3a2fa93cc6c0 100644
--- a/include/linux/atapi.h
+++ b/include/linux/atapi.h
@@ -58,8 +58,11 @@ struct atapi_packet_command {
} s;
};
+extern void atapi_init_pc(struct atapi_packet_command *pc);
-extern void atapi_discard_data(struct ata_device *drive, unsigned int bcount);
-extern void atapi_write_zeros(struct ata_device *drive, unsigned int bcount);
+extern void atapi_discard_data(struct ata_device *, unsigned int);
+extern void atapi_write_zeros(struct ata_device *, unsigned int);
+
+extern void atapi_read(struct ata_device *, u8 *, unsigned int);
+extern void atapi_write(struct ata_device *, u8 *, unsigned int);
-extern void atapi_init_pc(struct atapi_packet_command *pc);
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 2c4e83b48b07..de7f74e11cfe 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -742,9 +742,6 @@ struct ata_taskfile {
extern void ata_read(struct ata_device *, void *, unsigned int);
extern void ata_write(struct ata_device *, void *, unsigned int);
-extern void atapi_read(struct ata_device *, void *, unsigned int);
-extern void atapi_write(struct ata_device *, void *, unsigned int);
-
extern ide_startstop_t ata_taskfile(struct ata_device *,
struct ata_taskfile *, struct request *);
@@ -811,7 +808,8 @@ extern int idescsi_init (void);
extern int ide_register_subdriver(struct ata_device *, struct ata_operations *);
extern int ide_unregister_subdriver(struct ata_device *drive);
-extern int ide_revalidate_disk(kdev_t i_rdev);
+extern int ata_revalidate(kdev_t i_rdev);
+extern void ide_driver_module(void);
#ifdef CONFIG_PCI
# define ON_BOARD 0
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 67a697940471..5fd0a9198a2a 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1787,3 +1787,7 @@
#define PCI_DEVICE_ID_MICROGATE_USC 0x0010
#define PCI_DEVICE_ID_MICROGATE_SCC 0x0020
#define PCI_DEVICE_ID_MICROGATE_SCA 0x0030
+
+#define PCI_VENDOR_ID_HINT 0x3388
+#define PCI_DEVICE_ID_HINT_VXPROII_IDE 0x8013
+