Hello Felix, You wrote the adm6996.c driver. The driver "triggered" on the Chip Identifier of my ADM6996M chip, so I wrote VLAN support for that chip, supposing that all chips identified by that same Chip Identifier would probably be similar.
The detection code masked the "Version Number" and only matched on "Product Code", by the way (terminology from ADM6996M datasheet). It turned out the driver also detected the ADM6996FC as supported, but if I look up a datasheet for the F model (seems FC is low-power version of the F), the chip identifier is quite different (other register address, other product code). There is something odd going on here. If I look at the datasheets, it seems the detection code you wrote would match on the M model, and not on the F model. But the Kconfig says it "currently supports the ADM6996F switch". Could you tell me what you based the detection code on, if you still remember? PS: By the way, I could resubmit the patch in a series of 3, if that is preferable. I only realised it could be split after my initial submission. Patch 1 could reorder the current code Patch 2 could implement the actual chip support Patch 3 could implement the swconfig interface -- I use the GNU Privacy Guard (GnuPG) in combination with Enigmail. You can send me encrypted mail if you want some privacy. My key is available at http://wwwhome.cs.utwente.nl/~lebbing/pubkey.txt (new, larger key created on Nov 12, 2009) _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel