Lines Matching refs:lmc_xinfo
203 sc->lmc_xinfo.Magic0 = 0xBEEFCAFE; in lmc_ioctl()
205 sc->lmc_xinfo.PciCardType = sc->lmc_cardtype; in lmc_ioctl()
206 sc->lmc_xinfo.PciSlotNumber = 0; in lmc_ioctl()
207 sc->lmc_xinfo.DriverMajorVersion = DRIVER_MAJOR_VERSION; in lmc_ioctl()
208 sc->lmc_xinfo.DriverMinorVersion = DRIVER_MINOR_VERSION; in lmc_ioctl()
209 sc->lmc_xinfo.DriverSubVersion = DRIVER_SUB_VERSION; in lmc_ioctl()
210 sc->lmc_xinfo.XilinxRevisionNumber = in lmc_ioctl()
212 sc->lmc_xinfo.MaxFrameSize = LMC_PKT_BUF_SZ; in lmc_ioctl()
213 sc->lmc_xinfo.link_status = sc->lmc_media->get_link_status (sc); in lmc_ioctl()
214 sc->lmc_xinfo.mii_reg16 = lmc_mii_readreg (sc, 0, 16); in lmc_ioctl()
217 sc->lmc_xinfo.Magic1 = 0xDEADBEEF; in lmc_ioctl()
219 if (copy_to_user(ifr->ifr_data, &sc->lmc_xinfo, in lmc_ioctl()
220 sizeof(struct lmc_xinfo))) in lmc_ioctl()