Module: xenomai-head
Branch: master
Commit: c98bac5bda6b8e41745a615d64ba83f9a9ee9d66
URL:    
http://git.xenomai.org/?p=xenomai-head.git;a=commit;h=c98bac5bda6b8e41745a615d64ba83f9a9ee9d66

Author: Stefan Kisdaroczi <ki...@hispeed.ch>
Date:   Thu May 21 16:13:46 2009 +0200

    Disambiguate PCI device id. for IXXAT-PCI boards

    Some PCI boards may have the same PCI-interface-chip as the IXXAT-PCI
    board.  The vendor and device id's are identical, but the subsys id is
    different.

    Check all ID values to disambiguate.

---

 ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c 
b/ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c
index 2235bc1..cd809b4 100644
--- a/ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c
+++ b/ksrc/drivers/can/sja1000/rtcan_ixxat_pci.c
@@ -73,7 +73,7 @@ struct rtcan_ixxat_pci
 #define IXXAT_BASE_PORT_SIZE 0x0400
 
 static struct pci_device_id ixxat_pci_tbl[] = {
-       {IXXAT_PCI_VENDOR_ID, IXXAT_PCI_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID, 0, 
0, 0},
+       {IXXAT_PCI_VENDOR_ID, IXXAT_PCI_DEVICE_ID, IXXAT_PCI_VENDOR_ID, 
IXXAT_PCI_SUB_SYS_ID, 0, 0, 0},
        { }
 };
 MODULE_DEVICE_TABLE (pci, ixxat_pci_tbl);


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to