mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
pci fixup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@815 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user