From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Schmidt Subject: [PATCH 2.6.9-rc3] sk98lin - register the driver with hotplug Date: Fri, 01 Oct 2004 00:05:22 +0200 Sender: netdev-bounce@oss.sgi.com Message-ID: <415C8322.7030005@stud.feec.vutbr.cz> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010404000700000007090003" Cc: netdev@oss.sgi.com Return-path: To: mlindner@syskonnect.de Errors-to: netdev-bounce@oss.sgi.com List-Id: netdev.vger.kernel.org This is a multi-part message in MIME format. --------------010404000700000007090003 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Hello, The attached patch allows the sk98lin module to be loaded automatically by hotplug. Michal Schmidt --------------010404000700000007090003 Content-Type: text/plain; name="sk98lin-hotplug.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sk98lin-hotplug.diff" --- linux-2.6.9-rc3.orig/drivers/net/sk98lin/skge.c 2004-09-30 23:38:44.181252712 +0200 +++ linux-2.6.9-rc3/drivers/net/sk98lin/skge.c 2004-09-30 21:02:04.000000000 +0200 @@ -5169,6 +5169,8 @@ static struct pci_device_id skge_pci_tbl { 0, } }; +MODULE_DEVICE_TABLE(pci, skge_pci_tbl); + static struct pci_driver skge_driver = { .name = "skge", .id_table = skge_pci_tbl, --------------010404000700000007090003--