From a2fba5fe5ccf074195022d7446c086e51b4f7fda Mon Sep 17 00:00:00 2001 From: mbm Date: Sun, 8 May 2005 22:01:18 +0000 Subject: pci fixup git-svn-id: svn://svn.openwrt.org/openwrt/trunk@815 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/linux/kernel-source/drivers/net/hnd/sbutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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; -- cgit v1.2.3