axphy.c (7505ef3a411ed3f714d5c6bf3228f0d7cd83d97f) axphy.c (604f5f1f7790b303eb28109c3138dd3c1a1c0dff)
1/*-
2 * Copyright (c) 2009, M. Warner Losh
3 * 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

--- 42 unchanged lines hidden (view full) ---

51static int axphy_attach(device_t dev);
52
53static device_method_t axphy_methods[] = {
54 /* device interface */
55 DEVMETHOD(device_probe, axphy_probe),
56 DEVMETHOD(device_attach, axphy_attach),
57 DEVMETHOD(device_detach, mii_phy_detach),
58 DEVMETHOD(device_shutdown, bus_generic_shutdown),
1/*-
2 * Copyright (c) 2009, M. Warner Losh
3 * 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

--- 42 unchanged lines hidden (view full) ---

51static int axphy_attach(device_t dev);
52
53static device_method_t axphy_methods[] = {
54 /* device interface */
55 DEVMETHOD(device_probe, axphy_probe),
56 DEVMETHOD(device_attach, axphy_attach),
57 DEVMETHOD(device_detach, mii_phy_detach),
58 DEVMETHOD(device_shutdown, bus_generic_shutdown),
59 { 0, 0 }
59 DEVMETHOD_END
60};
61
62static devclass_t axphy_devclass;
63
64static driver_t axphy_driver = {
65 "axphy",
66 axphy_methods,
67 sizeof(struct mii_softc)

--- 116 unchanged lines hidden ---
60};
61
62static devclass_t axphy_devclass;
63
64static driver_t axphy_driver = {
65 "axphy",
66 axphy_methods,
67 sizeof(struct mii_softc)

--- 116 unchanged lines hidden ---