>  however removing
> 
> et*    at pci?                # Agere/LSI ET1310
> 
> 
> causes this at link stage:
> 
> ld -Ttext 0xD0200120 -e start -N --warn-common -nopie -S -x -o bsd
> ${SYSTEM_HEAD} vers.o ${OBJS}
> fxp.o(.text+0x495): In function `fxp_mediachange':
> : undefined reference to `mii_phy_reset'

[...]

> Does this mean that the fxp, aue (...) ethernet drivers use
> something defined only inside the et driver?

No, this means these driver should have the `mii_phy' attribute in the
various sys/*/files* they are defined it, but don't; and as soon as all
drivers with the `mii_phy' attribute are removed from the kernel
configuration, mii_physubr.c (which contains the aforementioned
routines) is not compiled.

Reply via email to