[PATCH] ssb: sprom: add dev_id field for value overriding standard ID

Rafał Miłecki zajec5 at gmail.com
Sun May 18 03:18:34 PDT 2014


On 18 May 2014 11:43, Hauke Mehrtens <hauke at hauke-m.de> wrote:
> There is also a vendid var which should be used. See this code from
> brcmsmac:
> http://lxr.free-electrons.com/source/drivers/staging/brcm80211/brcmsmac/wlc_bmac.c?v=3.0#L660

You're right, but is this used anywhere?

I can't reliably follow brcmsmac code, it copies the same data over
and over. Simple grepping for "vendorid" shows copying from "vendorid"
to "vendorid" of various structs, no real usage.
The one exception is "sha_params.vid = wlc_hw->vendorid;. However grepping with:
grep -R "\.vid" ./*
grep -R "\->vid" ./*
doesn't reveal any usage neither.

Seems like a dead code.



More information about the b43-dev mailing list