Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82f56087 authored by Jiri Slaby's avatar Jiri Slaby Committed by Linus Torvalds
Browse files

phantom: don't grab other devices



Specify also sub pci ids to not grab devices with properly set sub ids.
This devices has these set (unset) to the same as (plx 9050) ids.

Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Cc: Andreas Block <andreas.block@esd-electronics.com>
Cc: Oliver Thimm <oliver.thimm@esd-electronics.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2b54aaef
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@
#include <asm/atomic.h>
#include <asm/io.h>

#define PHANTOM_VERSION		"n0.9.7"
#define PHANTOM_VERSION		"n0.9.8"

#define PHANTOM_MAX_MINORS	8

@@ -456,7 +456,8 @@ static int phantom_resume(struct pci_dev *pdev)
#endif

static struct pci_device_id phantom_pci_tbl[] __devinitdata = {
	{ PCI_DEVICE(PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050),
	{ .vendor = PCI_VENDOR_ID_PLX, .device = PCI_DEVICE_ID_PLX_9050,
	  .subvendor = PCI_VENDOR_ID_PLX, .subdevice = PCI_DEVICE_ID_PLX_9050,
	  .class = PCI_CLASS_BRIDGE_OTHER << 8, .class_mask = 0xffff00 },
	{ 0, }
};