but makes it impossible to shut down cleanly.
return 0;
}
-/**
- * aec62xx_remove_one - called when an AEC is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an AEC device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void aec62xx_remove_one(struct pci_dev *dev)
-{
- panic("AEC62xx removal not yet supported");
-}
-
static struct pci_device_id aec62xx_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_ARTOP, PCI_DEVICE_ID_ARTOP_ATP850UF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_ARTOP, PCI_DEVICE_ID_ARTOP_ATP860, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1 },
name: "AEC62xx IDE",
id_table: aec62xx_pci_tbl,
probe: aec62xx_init_one,
- remove: __devexit_p(aec62xx_remove_one),
};
static int aec62xx_ide_init(void)
}
-/**
- * ali15x3_remove_one - called with an ALi is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an ALi device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void ali15x3_remove_one(struct pci_dev *dev)
-{
- panic("ALi removal not yet supported");
-}
-
static struct pci_device_id alim15x3_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M5229, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ 0, },
name: "ALI15x3 IDE",
id_table: alim15x3_pci_tbl,
probe: alim15x3_init_one,
- remove: __devexit_p(ali15x3_remove_one),
};
static int ali15x3_ide_init(void)
return 0;
}
-/**
- * amd74xx_remove_one - called with an AMD IDE is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an AMD IDE device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void amd74xx_remove_one(struct pci_dev *dev)
-{
- panic("AMD IDE removal not yet supported");
-}
-
static struct pci_device_id amd74xx_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_COBRA_7401, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_VIPER_7409, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
name: "AMD IDE",
id_table: amd74xx_pci_tbl,
probe: amd74xx_init_one,
- remove: __devexit_p(amd74xx_remove_one),
};
static int amd74xx_ide_init(void)
return 0;
}
-/**
- * cmd64x_remove_one - called with an CMD64x is unplugged
- * @dev: the device that was removed
- *
- * Disconnect a CMD64x device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void cmd64x_remove_one(struct pci_dev *dev)
-{
- panic("CMD64x removal not yet supported");
-}
-
static struct pci_device_id cmd64x_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_CMD_643, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_CMD_646, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
name: "CMD64x IDE",
id_table: cmd64x_pci_tbl,
probe: cmd64x_init_one,
- remove: __devexit_p(cmd64x_remove_one),
};
static int cmd64x_ide_init(void)
return 0;
}
-/**
- * cs5530_remove_one - called when a CS5530 is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an Cyrix device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void cs5530_remove_one(struct pci_dev *dev)
-{
- panic("Cyrix removal not yet supported");
-}
-
static struct pci_device_id cs5530_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5530_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ 0, },
name: "CS5530 IDE",
id_table: cs5530_pci_tbl,
probe: cs5530_init_one,
- remove: __devexit_p(cs5530_remove_one),
};
static int cs5530_ide_init(void)
return 0;
}
-/**
- * cy82c693_remove_one - called with an Cypress is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an Cypress device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void cy82c693_remove_one(struct pci_dev *dev)
-{
- panic("Cypress removal not yet supported");
-}
-
static struct pci_device_id cy82c693_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ 0, },
name: "Cypress IDE",
id_table: cy82c693_pci_tbl,
probe: cy82c693_init_one,
- remove: __devexit_p(cy82c693_remove_one),
};
static int cy82c693_ide_init(void)
return 0;
}
-/**
- * generic_remove_one - called when PCI IDE is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an IDE device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void generic_remove_one(struct pci_dev *dev)
-{
- panic("PCI IDE removal not yet supported");
-}
-
static struct pci_device_id generic_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_87410, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_PCTECH, PCI_DEVICE_ID_PCTECH_SAMURAI_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
name: "PCI IDE",
id_table: generic_pci_tbl,
probe: generic_init_one,
- remove: __devexit_p(generic_remove_one),
};
static int generic_ide_init(void)
return 0;
}
-/**
- * hpt34x_remove_one - called with an hpt34x is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an hpt34x device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void hpt34x_remove_one(struct pci_dev *dev)
-{
- panic("hpt34x removal not yet supported");
-}
-
static struct pci_device_id hpt34x_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_TTI, PCI_DEVICE_ID_TTI_HPT343, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ 0, },
name: "HPT34x IDE",
id_table: hpt34x_pci_tbl,
probe: hpt34x_init_one,
- remove: __devexit_p(hpt34x_remove_one),
};
static int hpt34x_ide_init(void)
return 0;
}
-/**
- * hpt366_remove_one - called when an HPT366 is unplugged
- * @dev: the device that was removed
- *
- * Disconnect a HPT366 device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void hpt366_remove_one(struct pci_dev *dev)
-{
- panic("HPT366 removal not yet supported");
-}
-
static struct pci_device_id hpt366_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_TTI, PCI_DEVICE_ID_TTI_HPT366, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_TTI, PCI_DEVICE_ID_TTI_HPT372, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
name: "HPT366 IDE",
id_table: hpt366_pci_tbl,
probe: hpt366_init_one,
- remove: __devexit_p(hpt366_remove_one),
};
static int hpt366_ide_init(void)
return 0;
}
-/**
- * it8172_remove_one - called with an IT8172 is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an IT8172 device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void it8172_remove_one(struct pci_dev *dev)
-{
- panic("IT8172 removal not yet supported");
-}
-
static struct pci_device_id it8172_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_ITE, PCI_DEVICE_ID_ITE_IT8172G, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ 0, },
name: "IT8172IDE",
id_table: it8172_pci_tbl,
probe: it8172_init_one,
- remove: __devexit_p(it8172_remove_one),
};
static int it8172_ide_init(void)
return 0;
}
-/**
- * ns87415_remove_one - called with an NS87415 is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an NS87415 device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void ns87415_remove_one(struct pci_dev *dev)
-{
- panic("NS87415 removal not yet supported");
-}
-
static struct pci_device_id ns87415_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_NS, PCI_DEVICE_ID_NS_87415, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ 0, },
name: "NS87415IDE",
id_table: ns87415_pci_tbl,
probe: ns87415_init_one,
- remove: __devexit_p(ns87415_remove_one),
};
static int ns87415_ide_init(void)
return 0;
}
-/**
- * nforce_remove_one - called with an nForce is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an nForce device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void nforce_remove_one(struct pci_dev *dev)
-{
- panic("nForce removal not yet supported");
-}
-
static struct pci_device_id nforce_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ 0, },
name: "nForce IDE",
id_table: nforce_pci_tbl,
probe: nforce_init_one,
- remove: __devexit_p(nforce_remove_one),
};
static int nforce_ide_init(void)
return 0;
}
-/**
- * opti621_remove_one - called with an Opti621 is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an Opti621 device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void opti621_remove_one(struct pci_dev *dev)
-{
- panic("Opti621 removal not yet supported");
-}
-
static struct pci_device_id opti621_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_OPTI, PCI_DEVICE_ID_OPTI_82C621, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_OPTI, PCI_DEVICE_ID_OPTI_82C825, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
name: "Opti621 IDE",
id_table: opti621_pci_tbl,
probe: opti621_init_one,
- remove: __devexit_p(opti621_remove_one),
};
static int opti621_ide_init(void)
return 0;
}
-/**
- * pdc202new_remove_one - called when a pdc202xx is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an IDE device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void pdc202new_remove_one(struct pci_dev *dev)
-{
- panic("Promise IDE removal not yet supported");
-}
-
static struct pci_device_id pdc202new_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20268, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20269, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
name: "Promise IDE",
id_table: pdc202new_pci_tbl,
probe: pdc202new_init_one,
- remove: __devexit_p(pdc202new_remove_one),
};
static int pdc202new_ide_init(void)
return 0;
}
-/**
- * pdc202xx_remove_one - called with the IDE to be unplugged
- * @dev: the device that was removed
- *
- * Disconnect an IDE device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void pdc202xx_remove_one(struct pci_dev *dev)
-{
- panic("Promise IDE removal not yet supported");
-}
-
static struct pci_device_id pdc202xx_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20246, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_PROMISE, PCI_DEVICE_ID_PROMISE_20262, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
name: "Promise Old IDE",
id_table: pdc202xx_pci_tbl,
probe: pdc202xx_init_one,
- remove: __devexit_p(pdc202xx_remove_one),
};
static int pdc202xx_ide_init(void)
return 1;
}
-/**
- * pdcadma_remove_one - called when a PDCADMA is unplugged
- * @dev: the device that was removed
- *
- * Disconnect a PDCADMA device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void pdcadma_remove_one(struct pci_dev *dev)
-{
- panic("PDCADMA removal not yet supported");
-}
-
static struct pci_device_id pdcadma_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_PDC, PCI_DEVICE_ID_PDC_1841, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ 0, },
name: "PDCADMA-IDE",
id_table: pdcadma_pci_tbl,
probe: pdcadma_init_one,
- remove: __devexit_p(pdcadma_remove_one),
};
static int pdcadma_ide_init(void)
return 0;
}
-/**
- * piix_remove_one - called with a PIIX is unplugged
- * @dev: the device that was removed
- *
- * Disconnect a PIIX device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void piix_remove_one(struct pci_dev *dev)
-{
- panic("PIIX removal not yet supported");
-}
-
static struct pci_device_id piix_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82371FB_0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_82371FB_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
name: "PIIX IDE",
id_table: piix_pci_tbl,
probe: piix_init_one,
- remove: __devexit_p(piix_remove_one),
};
static int piix_ide_init(void)
return 0;
}
-/**
- * rz1000_remove_one - called with an RZ1000 is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an RZ1000 device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void rz1000_remove_one(struct pci_dev *dev)
-{
- panic("RZ1000 removal not yet supported");
-}
-
static struct pci_device_id rz1000_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_PCTECH, PCI_DEVICE_ID_PCTECH_RZ1000, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_PCTECH, PCI_DEVICE_ID_PCTECH_RZ1001, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
name: "RZ1000 IDE",
id_table: rz1000_pci_tbl,
probe: rz1000_init_one,
- remove: __devexit_p(rz1000_remove_one),
};
static int rz1000_ide_init(void)
return 0;
}
-/**
- * svwks_remove_one - called when an OSB/CSB is unplugged
- * @dev: the device that was removed
- *
- * Disconnect a SVWKS device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void svwks_remove_one(struct pci_dev *dev)
-{
- panic("SVWKS removal not yet supported");
-}
-
static struct pci_device_id svwks_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_OSB4IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_SERVERWORKS, PCI_DEVICE_ID_SERVERWORKS_CSB5IDE, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
name: "Serverworks IDE",
id_table: svwks_pci_tbl,
probe: svwks_init_one,
- remove: __devexit_p(svwks_remove_one),
#if 0 /* FIXME: implement */
suspend: ,
resume: ,
return 0;
}
-/**
- * siimage_remove_one - called when an SI IDE is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an IDE device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void siimage_remove_one(struct pci_dev *dev)
-{
- panic("SiImage IDE removal not yet supported");
-}
-
static struct pci_device_id siimage_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_SII_680, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_CMD, PCI_DEVICE_ID_SII_3112, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
name: "SiI IDE",
id_table: siimage_pci_tbl,
probe: siimage_init_one,
- remove: __devexit_p(siimage_remove_one),
};
static int siimage_ide_init(void)
return 0;
}
-/**
- * sis5513_remove_one - called when SIS IDE is unplugged
- * @dev: the device that was removed
- *
- * Disconnect a SIS IDE device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void sis5513_remove_one(struct pci_dev *dev)
-{
- panic("SIS IDE removal not yet supported");
-}
-
static struct pci_device_id sis5513_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_5513, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ 0, },
name: "SIS IDE",
id_table: sis5513_pci_tbl,
probe: sis5513_init_one,
- remove: __devexit_p(sis5513_remove_one),
};
static int sis5513_ide_init(void)
return 0;
}
-/**
- * sl82c105_remove_one - called with an SLC82c105 is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an W82C105 device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void sl82c105_remove_one(struct pci_dev *dev)
-{
- panic("W82C105 removal not yet supported");
-}
-
static struct pci_device_id sl82c105_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_WINBOND, PCI_DEVICE_ID_WINBOND_82C105, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ 0, },
name: "W82C105 IDE",
id_table: sl82c105_pci_tbl,
probe: sl82c105_init_one,
- remove: __devexit_p(sl82c105_remove_one),
};
static int sl82c105_ide_init(void)
return 0;
}
-/**
- * slc90e66_remove_one - called with an slc90e66 is unplugged
- * @dev: the device that was removed
- *
- * Disconnect an slc90e66 device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void slc90e66_remove_one(struct pci_dev *dev)
-{
- panic("slc90e66 removal not yet supported");
-}
-
static struct pci_device_id slc90e66_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_EFAR, PCI_DEVICE_ID_EFAR_SLC90E66_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ 0, },
name: "SLC90e66 IDE",
id_table: slc90e66_pci_tbl,
probe: slc90e66_init_one,
- remove: __devexit_p(slc90e66_remove_one),
};
static int slc90e66_ide_init(void)
return 0;
}
-/**
- * trm290_remove_one - called when an trm290 is unplugged
- * @dev: the device that was removed
- *
- * Disconnect a trm290 device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void trm290_remove_one(struct pci_dev *dev)
-{
- panic("trm290 removal not yet supported");
-}
-
static struct pci_device_id trm290_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_TEKRAM, PCI_DEVICE_ID_TEKRAM_DC290, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ 0, },
name: "TRM290 IDE",
id_table: trm290_pci_tbl,
probe: trm290_init_one,
- remove: __devexit_p(trm290_remove_one),
};
static int trm290_ide_init(void)
return 0;
}
-/**
- * via_remove_one - called with a VIA IDE interface is unplugged
- * @dev: the device that was removed
- *
- * Disconnect a VIA IDE device that has been unplugged either by hotplug
- * or by a more civilized notification scheme. Not yet supported.
- */
-
-static void via_remove_one(struct pci_dev *dev)
-{
- panic("VIA IDE removal not yet supported");
-}
-
static struct pci_device_id via_pci_tbl[] __devinitdata = {
{ PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C576_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
{ PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
name: "VIA IDE",
id_table: via_pci_tbl,
probe: via_init_one,
- remove: __devexit_p(via_remove_one),
};
static int via_ide_init(void)