lxt.c (5a0e3ad6af8660be21ca98a971cd00f331318c05) lxt.c (4e4f10f6498bc5038c0a110b5f21682fcb5578d7)
1/*
2 * drivers/net/phy/lxt.c
3 *
4 * Driver for Intel LXT PHYs
5 *
6 * Author: Andy Fleming
7 *
8 * Copyright (c) 2004 Freescale Semiconductor, Inc.
9 *
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License as published by the
12 * Free Software Foundation; either version 2 of the License, or (at your
13 * option) any later version.
14 *
15 */
16#include <linux/kernel.h>
17#include <linux/string.h>
18#include <linux/errno.h>
19#include <linux/unistd.h>
1/*
2 * drivers/net/phy/lxt.c
3 *
4 * Driver for Intel LXT PHYs
5 *
6 * Author: Andy Fleming
7 *
8 * Copyright (c) 2004 Freescale Semiconductor, Inc.
9 *
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU General Public License as published by the
12 * Free Software Foundation; either version 2 of the License, or (at your
13 * option) any later version.
14 *
15 */
16#include <linux/kernel.h>
17#include <linux/string.h>
18#include <linux/errno.h>
19#include <linux/unistd.h>
20#include <linux/slab.h>
20#include <linux/interrupt.h>
21#include <linux/init.h>
22#include <linux/delay.h>
23#include <linux/netdevice.h>
24#include <linux/etherdevice.h>
25#include <linux/skbuff.h>
26#include <linux/spinlock.h>
27#include <linux/mm.h>

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

168static void __exit lxt_exit(void)
169{
170 phy_driver_unregister(&lxt970_driver);
171 phy_driver_unregister(&lxt971_driver);
172}
173
174module_init(lxt_init);
175module_exit(lxt_exit);
21#include <linux/interrupt.h>
22#include <linux/init.h>
23#include <linux/delay.h>
24#include <linux/netdevice.h>
25#include <linux/etherdevice.h>
26#include <linux/skbuff.h>
27#include <linux/spinlock.h>
28#include <linux/mm.h>

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

169static void __exit lxt_exit(void)
170{
171 phy_driver_unregister(&lxt970_driver);
172 phy_driver_unregister(&lxt971_driver);
173}
174
175module_init(lxt_init);
176module_exit(lxt_exit);
177
178static struct mdio_device_id lxt_tbl[] = {
179 { 0x78100000, 0xfffffff0 },
180 { 0x001378e0, 0xfffffff0 },
181 { }
182};
183
184MODULE_DEVICE_TABLE(mdio, lxt_tbl);