> Module Name: src > Committed By: christos > Date: Sat Mar 5 18:28:13 UTC 2011 > > Modified Files: > src/sys/dev/marvell: if_mvgbe.c > > Log Message: > From Dave Mills: It would appear that the two PHYs can only be > accessed from the registers of controller0 (mvgbec0) hence why both > PHYs are being detected on controller0. I have made the assumption > that PHY0 => controller0 (mvgbec0), PHY1 => controller1(mvgbec1) > and developed a patch accordingly. Also the irq is 15 for controller1 > not 14.
this patch introduced cf_unit abuse. please re-work it. .mrg.