dcphy.c (3ee1a36e2ef343e0af2cf0389c268695aba14eac) | dcphy.c (604f5f1f7790b303eb28109c3138dd3c1a1c0dff) |
---|---|
1/*- 2 * Copyright (c) 1997, 1998, 1999 3 * Bill Paul <wpaul@ee.columbia.edu>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 81 unchanged lines hidden (view full) --- 90static int dcphy_attach(device_t); 91 92static device_method_t dcphy_methods[] = { 93 /* device interface */ 94 DEVMETHOD(device_probe, dcphy_probe), 95 DEVMETHOD(device_attach, dcphy_attach), 96 DEVMETHOD(device_detach, mii_phy_detach), 97 DEVMETHOD(device_shutdown, bus_generic_shutdown), | 1/*- 2 * Copyright (c) 1997, 1998, 1999 3 * Bill Paul <wpaul@ee.columbia.edu>. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 81 unchanged lines hidden (view full) --- 90static int dcphy_attach(device_t); 91 92static device_method_t dcphy_methods[] = { 93 /* device interface */ 94 DEVMETHOD(device_probe, dcphy_probe), 95 DEVMETHOD(device_attach, dcphy_attach), 96 DEVMETHOD(device_detach, mii_phy_detach), 97 DEVMETHOD(device_shutdown, bus_generic_shutdown), |
98 { 0, 0 } | 98 DEVMETHOD_END |
99}; 100 101static devclass_t dcphy_devclass; 102 103static driver_t dcphy_driver = { 104 "dcphy", 105 dcphy_methods, 106 sizeof(struct mii_softc) --- 300 unchanged lines hidden --- | 99}; 100 101static devclass_t dcphy_devclass; 102 103static driver_t dcphy_driver = { 104 "dcphy", 105 dcphy_methods, 106 sizeof(struct mii_softc) --- 300 unchanged lines hidden --- |