~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to drivers/infiniband/hw/qib/qib_pcie.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
526
526
         */
527
527
        devid = parent->device;
528
528
        if (devid >= 0x25e2 && devid <= 0x25fa) {
529
 
                u8 rev;
530
 
 
531
529
                /* 5000 P/V/X/Z */
532
 
                pci_read_config_byte(parent, PCI_REVISION_ID, &rev);
533
 
                if (rev <= 0xb2)
 
530
                if (parent->revision <= 0xb2)
534
531
                        bits = 1U << 10;
535
532
                else
536
533
                        bits = 7U << 10;