u_int16_t		reg; u_int16_t		data;
int			reg; int			data;
static void mx_phy_writereg(sc, reg, data)	struct mx_softc		*sc;	u_int16_t		reg;	u_int16_t		data;{	struct mx_mii_frame	frame;	u_int32_t		cfg;	bzero((char *)&frame, sizeof(frame));	frame.mii_phyaddr = sc->mx_phy_addr;	frame.mii_regaddr = reg;	frame.mii_data = data;	cfg = CSR_READ_4(sc, MX_NETCFG);	MX_CLRBIT(sc, MX_NETCFG, MX_NETCFG_PORTSEL);	mx_mii_writereg(sc, &frame);	CSR_WRITE_4(sc, MX_NETCFG, cfg);	return;}