diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-02-13 03:08:00 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2011-02-13 03:08:00 +0100 |
commit | de7eafc05f1a830af3f722671d02a31bfc1b1f9c (patch) | |
tree | 461fa16b0dfae72fa840042bd8b569979a780d41 /driver/base.c | |
parent | b72e8567723c30f0e5a83675743e9380c48e5d55 (diff) | |
download | ipecamera-de7eafc05f1a830af3f722671d02a31bfc1b1f9c.tar.gz ipecamera-de7eafc05f1a830af3f722671d02a31bfc1b1f9c.tar.bz2 ipecamera-de7eafc05f1a830af3f722671d02a31bfc1b1f9c.tar.xz ipecamera-de7eafc05f1a830af3f722671d02a31bfc1b1f9c.zip |
Support Device ID of IPE camera
Diffstat (limited to 'driver/base.c')
-rw-r--r-- | driver/base.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/driver/base.c b/driver/base.c index ae77966..c740856 100644 --- a/driver/base.c +++ b/driver/base.c @@ -345,6 +345,12 @@ static int __devinit pcidriver_probe(struct pci_dev *pdev, const struct pci_devi /* It is a PCI-E Xilinx ML605 evaluation board */ mod_info("Found ML605 board at %s\n", dev_name(&pdev->dev)); } + else if ((id->vendor == PCIE_XILINX_VENDOR_ID) && + (id->device == PCIE_IPECAMERA_DEVICE_ID)) + { + /* It is a PCI-E IPECamera based on Xilinx ML605 evaluation board */ + mod_info("Found IPE Camera at %s\n", dev_name(&pdev->dev)); + } else { /* It is something else */ |