]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Revert "[mv643xx] Add pci device table for auto module loading."
authorLinus Torvalds <torvalds@g5.osdl.org>
Fri, 20 Oct 2006 17:40:48 +0000 (10:40 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 20 Oct 2006 17:40:48 +0000 (10:40 -0700)
This reverts commit a6d81d086ef6bf59f3adbed7ba7b3566ea9cee62 as
requested by Olaf Hering. It causes compile errors, and says Olaf:

  "This change is also wrong, the autoloading works perfect with 2.6.18,
   no need to add random PCI ids.

   See commit 866b6461e8f3f3f109925d3fe10bfeef15402bec, platform devices
   have now a modalias entry in sysfs.  The network card is not a PCI
   device."

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/mv643xx_eth.c

index a4f861bf32d6dcbc3657cba409f25d2a5840e439..9997081c6daea8458fd1b1fad296733f55885dcd 100644 (file)
@@ -1557,12 +1557,6 @@ static void __exit mv643xx_cleanup_module(void)
 module_init(mv643xx_init_module);
 module_exit(mv643xx_cleanup_module);
 
-static struct pci_device_id pci_marvell_mv64360[] = {
-       { PCI_DEVICE(PCI_VENDOR_ID_MARVELL, PCI_DEVICE_ID_MARVELL_MV64360) },
-       {}
-};
-MODULE_DEVICE_TABLE(pci, pci_marvell_mv64360);
-
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR( "Rabeeh Khoury, Assaf Hoffman, Matthew Dharm, Manish Lachwani"
                " and Dale Farnsworth");