xlphy.c (70d8f36aa445e4556ead4de32f9b7b4687d95098) | xlphy.c (604f5f1f7790b303eb28109c3138dd3c1a1c0dff) |
---|---|
1/* $NetBSD: exphy.c,v 1.16 1999/04/23 04:24:32 thorpej Exp $ */ 2 3/*- 4 * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, --- 72 unchanged lines hidden (view full) --- 81static int xlphy_attach(device_t); 82 83static device_method_t xlphy_methods[] = { 84 /* device interface */ 85 DEVMETHOD(device_probe, xlphy_probe), 86 DEVMETHOD(device_attach, xlphy_attach), 87 DEVMETHOD(device_detach, mii_phy_detach), 88 DEVMETHOD(device_shutdown, bus_generic_shutdown), | 1/* $NetBSD: exphy.c,v 1.16 1999/04/23 04:24:32 thorpej Exp $ */ 2 3/*- 4 * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. 5 * All rights reserved. 6 * 7 * This code is derived from software contributed to The NetBSD Foundation 8 * by Jason R. Thorpe of the Numerical Aerospace Simulation Facility, --- 72 unchanged lines hidden (view full) --- 81static int xlphy_attach(device_t); 82 83static device_method_t xlphy_methods[] = { 84 /* device interface */ 85 DEVMETHOD(device_probe, xlphy_probe), 86 DEVMETHOD(device_attach, xlphy_attach), 87 DEVMETHOD(device_detach, mii_phy_detach), 88 DEVMETHOD(device_shutdown, bus_generic_shutdown), |
89 { 0, 0 } | 89 DEVMETHOD_END |
90}; 91 92static devclass_t xlphy_devclass; 93 94static driver_t xlphy_driver = { 95 "xlphy", 96 xlphy_methods, 97 sizeof(struct mii_softc) --- 100 unchanged lines hidden --- | 90}; 91 92static devclass_t xlphy_devclass; 93 94static driver_t xlphy_driver = { 95 "xlphy", 96 xlphy_methods, 97 sizeof(struct mii_softc) --- 100 unchanged lines hidden --- |