pci fixup
[openwrt.git] / openwrt / package / linux / kernel-source / drivers / net / hnd / sbutils.c
index 2c9cb55..1b221e0 100644 (file)
@@ -234,7 +234,7 @@ sb_kattach()
 
                regs = (uint32 *)REG_MAP(SB_ENUM_BASE, SB_CORE_SIZE);
                cid = R_REG((uint32 *)regs);
 
                regs = (uint32 *)REG_MAP(SB_ENUM_BASE, SB_CORE_SIZE);
                cid = R_REG((uint32 *)regs);
-               if (((cid & CID_ID_MASK) == 0x4712) &&
+               if (((cid & (CID_ID_MASK | CID_PKG_MASK)) == 0x00104712) &&
                    ((cid & CID_REV_MASK) <= 0x00020000)) {
                        uint32 *scc, val;
 
                    ((cid & CID_REV_MASK) <= 0x00020000)) {
                        uint32 *scc, val;
 
This page took 0.022033 seconds and 4 git commands to generate.