diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-08 22:01:18 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-05-08 22:01:18 +0000 |
commit | c5916974cbca7886f11c294d310e32e65cf0d06c (patch) | |
tree | 01ae5791eb270c83dcccd8f44ac66df72561ee83 /package/linux/kernel-source/drivers | |
parent | 3bb646174c79ad4f2cbcc2beef10316596cc75da (diff) |
pci fixup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@815 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/linux/kernel-source/drivers')
-rw-r--r-- | package/linux/kernel-source/drivers/net/hnd/sbutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/linux/kernel-source/drivers/net/hnd/sbutils.c b/package/linux/kernel-source/drivers/net/hnd/sbutils.c index 2c9cb55c7..1b221e0b3 100644 --- a/package/linux/kernel-source/drivers/net/hnd/sbutils.c +++ b/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; |