qsphy.c (7505ef3a411ed3f714d5c6bf3228f0d7cd83d97f) | qsphy.c (604f5f1f7790b303eb28109c3138dd3c1a1c0dff) |
---|---|
1/* OpenBSD: qsphy.c,v 1.6 2000/08/26 20:04:18 nate Exp */ 2/* NetBSD: qsphy.c,v 1.19 2000/02/02 23:34:57 thorpej Exp */ 3 4/*- 5 * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation --- 77 unchanged lines hidden (view full) --- 86static int qsphy_attach(device_t); 87 88static device_method_t qsphy_methods[] = { 89 /* device interface */ 90 DEVMETHOD(device_probe, qsphy_probe), 91 DEVMETHOD(device_attach, qsphy_attach), 92 DEVMETHOD(device_detach, mii_phy_detach), 93 DEVMETHOD(device_shutdown, bus_generic_shutdown), | 1/* OpenBSD: qsphy.c,v 1.6 2000/08/26 20:04:18 nate Exp */ 2/* NetBSD: qsphy.c,v 1.19 2000/02/02 23:34:57 thorpej Exp */ 3 4/*- 5 * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to The NetBSD Foundation --- 77 unchanged lines hidden (view full) --- 86static int qsphy_attach(device_t); 87 88static device_method_t qsphy_methods[] = { 89 /* device interface */ 90 DEVMETHOD(device_probe, qsphy_probe), 91 DEVMETHOD(device_attach, qsphy_attach), 92 DEVMETHOD(device_detach, mii_phy_detach), 93 DEVMETHOD(device_shutdown, bus_generic_shutdown), |
94 { 0, 0 } | 94 DEVMETHOD_END |
95}; 96 97static devclass_t qsphy_devclass; 98 99static driver_t qsphy_driver = { 100 "qsphy", 101 qsphy_methods, 102 sizeof(struct mii_softc) --- 133 unchanged lines hidden --- | 95}; 96 97static devclass_t qsphy_devclass; 98 99static driver_t qsphy_driver = { 100 "qsphy", 101 qsphy_methods, 102 sizeof(struct mii_softc) --- 133 unchanged lines hidden --- |