On 3 April 2011 14:16, Peter Lebbing <pe...@digitalbrains.com> wrote: > This driver implements support for 802.1Q VLANs. It is written for the > ADM6996M switch chip, but there are currently problems with the chip > detection. It also triggers on other ADM6996 models, and before this patch > can be committed, it needs to be figured out how to avoid people getting a > driver autoloaded that is not suitable for their switch hardware.
Looking at the datasheet, the chip seems to have Chip ID registers at A0/A1 (p. 161). You can try to read them in the adm6996_probe and use them to verify the chip is an ADM6996M (or do chip identification based on them). At least the ADM6996F datasheet has a different content in its Chip ID register (assuming the 32bit register at 0x00 corresponds to the two 16 bit registers). Jonas _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel