Skip to contentSkip to conversation

Add Specialix IO8+ card support hotplug support

PATCH In review Randy Dunlap 2 participants 2 messages Jul 3, 2006 – Jul 11, 2006 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add Specialix IO8+ card support hotplug support

Patch Description:
Add "Specialix IO8+ card support" hotplug support

patch location:
http://www.kernel.org/git/?p=linux/kernel/git/bcollins/ubuntu-dapper.git;a=commitdiff;h=d795cfc591bb44f6b3d86d8f054a227cecb44bb4

---
 drivers/char/specialix.c |    7 +++++++
 1 file changed, 7 insertions(+)
drivers/char/specialix.c +7 -0
@@ -2584,6 +2584,13 @@ static void __exit specialix_exit_module
 	func_exit();
 }
 
+static struct pci_device_id specialx_pci_tbl[] __devinitdata = {
+	{ PCI_VENDOR_ID_SPECIALIX, PCI_DEVICE_ID_SPECIALIX_IO8,
+	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+	{ }
+};
+MODULE_DEVICE_TABLE(pci, specialx_pci_tbl);
+
 module_init(specialix_init_module);
 module_exit(specialix_exit_module);
 
#1 lore raw
Quoted 2 lines · Randy Dunlap

Patch Description:
Add "Specialix IO8+ card support" hotplug support

Looks good (untested).

Roger.

Quoted 25 lines

patch location:
http://www.kernel.org/git/?p=linux/kernel/git/bcollins/ubuntu-dapper.git;a=commitdiff;h=d795cfc591bb44f6b3d86d8f054a227cecb44bb4

---
 drivers/char/specialix.c |    7 +++++++
 1 file changed, 7 insertions(+)
drivers/char/specialix.c +7 -0
@@ -2584,6 +2584,13 @@ static void __exit specialix_exit_module
 	func_exit();
 }
 
+static struct pci_device_id specialx_pci_tbl[] __devinitdata = {
+	{ PCI_VENDOR_ID_SPECIALIX, PCI_DEVICE_ID_SPECIALIX_IO8,
+	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
+	{ }
+};
+MODULE_DEVICE_TABLE(pci, specialx_pci_tbl);
+
 module_init(specialix_init_module);
 module_exit(specialix_exit_module);
 
Signature · 5 lines
** [email protected] ** http://www.BitWizard.nl/ ** +31-15-2600998 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
Q: It doesn't work. A: Look buddy, doesn't work is an ambiguous statement. 
Does it sit on the couch all day? Is it unemployed? Please be specific! 
Define 'it' and what it isn't doing. --------- Adapted from lxrbot FAQ