ssb-pcicore: Remove b44 TPS flag workaround

Now that we fixed the TPS flag assignment in commit
b63009b456
we don't need the workaround for the bcm44xx chip anymore.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Michael Buesch 2008-04-08 10:31:22 +02:00 committed by John W. Linville
parent 50c4afb991
commit 51e8b88590

View file

@ -562,15 +562,9 @@ int ssb_pcicore_dev_irqvecs_enable(struct ssb_pcicore *pc,
u32 intvec; u32 intvec;
intvec = ssb_read32(pdev, SSB_INTVEC); intvec = ssb_read32(pdev, SSB_INTVEC);
if ((bus->chip_id & 0xFF00) == 0x4400) { tmp = ssb_read32(dev, SSB_TPSFLAG);
/* Workaround: On the BCM44XX the BPFLAG routing tmp &= SSB_TPSFLAG_BPFLAG;
* bit is wrong. Use a hardcoded constant. */ intvec |= (1 << tmp);
intvec |= 0x00000002;
} else {
tmp = ssb_read32(dev, SSB_TPSFLAG);
tmp &= SSB_TPSFLAG_BPFLAG;
intvec |= (1 << tmp);
}
ssb_write32(pdev, SSB_INTVEC, intvec); ssb_write32(pdev, SSB_INTVEC, intvec);
} }