* [PATCH] Staging: s626: only claim some subsystem ids
@ 2009-06-17 0:25 Erik Inge Bolsø
0 siblings, 0 replies; only message in thread
From: Erik Inge Bolsø @ 2009-06-17 0:25 UTC (permalink / raw)
To: gregkh; +Cc: linux-kernel
Fix comedi s626 driver mistakenly binding to SAA7146 dvb cards, match only
the same subsystem ids the vendor reference driver s626 v1.0.1 does.
Signed-off-by: Erik Inge Bolsø <knan-lkml@anduin.net>
---
drivers/staging/comedi/drivers/s626.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Looks obvious enough, but totally untested patch. Vendor driver consulted
found from http://www.sensoray.com/products/626data.htm ... this driver
looks to have been forked from it years ago, according to the source
comments.
diff --git a/drivers/staging/comedi/drivers/s626.c b/drivers/staging/comedi/drivers/s626.c
index 30dec9d..5f1d373 100644
--- a/drivers/staging/comedi/drivers/s626.c
+++ b/drivers/staging/comedi/drivers/s626.c
@@ -111,7 +111,9 @@ static const struct s626_board s626_boards[] = {
#define PCI_DEVICE_ID_S626 0x7146
static DEFINE_PCI_DEVICE_TABLE(s626_pci_table) = {
- {PCI_VENDOR_ID_S626, PCI_DEVICE_ID_S626, PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+ {PCI_VENDOR_ID_S626, PCI_DEVICE_ID_S626, 0x6000, 0x0626, 0, 0,
+ 0},
+ {PCI_VENDOR_ID_S626, PCI_DEVICE_ID_S626, 0x6000, 0x0272, 0, 0,
0},
{0}
};
--
1.5.6.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-17 1:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-17 0:25 [PATCH] Staging: s626: only claim some subsystem ids Erik Inge Bolsø
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®