X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/5068cd22d54de4e365ebcca0387027e9f7a57aaf..a2fba5fe5ccf074195022d7446c086e51b4f7fda:/openwrt/package/linux/kernel-source/drivers/net/hnd/sbutils.c diff --git a/openwrt/package/linux/kernel-source/drivers/net/hnd/sbutils.c b/openwrt/package/linux/kernel-source/drivers/net/hnd/sbutils.c index 2c9cb55c7..1b221e0b3 100644 --- a/openwrt/package/linux/kernel-source/drivers/net/hnd/sbutils.c +++ b/openwrt/package/linux/kernel-source/drivers/net/hnd/sbutils.c @@ -234,7 +234,7 @@ sb_kattach() 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;