16 #include <linux/types.h>
17 #include <linux/module.h>
18 #include <linux/kernel.h>
19 #include <linux/pci.h>
23 #define DRV_NAME "rz1000"
29 if (!pci_read_config_word (dev, 0x40, ®) &&
30 !pci_write_config_word(dev, 0x40, reg & 0xdfff)) {
32 "(buggy RZ1000/RZ1001)\n", pci_name(dev));
36 "(buggy RZ1000/RZ1001)\n", pci_name(dev));
55 if (rz1000_disable_readahead(dev)) {
63 static void rz1000_remove(
struct pci_dev *dev)
78 .id_table = rz1000_pci_tbl,
79 .probe = rz1000_init_one,
80 .remove = rz1000_remove,
83 static int __init rz1000_ide_init(
void)
88 static void __exit rz1000_ide_exit(
void)