pnphy.c (935205e2307611615ed5a7fe0a32b225ffd8c19c) | pnphy.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 --- 60 unchanged lines hidden (view full) --- 69static int pnphy_attach(device_t); 70 71static device_method_t pnphy_methods[] = { 72 /* device interface */ 73 DEVMETHOD(device_probe, pnphy_probe), 74 DEVMETHOD(device_attach, pnphy_attach), 75 DEVMETHOD(device_detach, mii_phy_detach), 76 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 --- 60 unchanged lines hidden (view full) --- 69static int pnphy_attach(device_t); 70 71static device_method_t pnphy_methods[] = { 72 /* device interface */ 73 DEVMETHOD(device_probe, pnphy_probe), 74 DEVMETHOD(device_attach, pnphy_attach), 75 DEVMETHOD(device_detach, mii_phy_detach), 76 DEVMETHOD(device_shutdown, bus_generic_shutdown), |
77 { 0, 0 } | 77 DEVMETHOD_END |
78}; 79 80static devclass_t pnphy_devclass; 81 82static driver_t pnphy_driver = { 83 "pnphy", 84 pnphy_methods, 85 sizeof(struct mii_softc) --- 141 unchanged lines hidden --- | 78}; 79 80static devclass_t pnphy_devclass; 81 82static driver_t pnphy_driver = { 83 "pnphy", 84 pnphy_methods, 85 sizeof(struct mii_softc) --- 141 unchanged lines hidden --- |