cicada.c (5a0e3ad6af8660be21ca98a971cd00f331318c05) cicada.c (4e4f10f6498bc5038c0a110b5f21682fcb5578d7)
1/*
2 * drivers/net/phy/cicada.c
3 *
4 * Driver for Cicada 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/cicada.c
3 *
4 * Driver for Cicada 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>

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

153static void __exit cicada_exit(void)
154{
155 phy_driver_unregister(&cis8204_driver);
156 phy_driver_unregister(&cis8201_driver);
157}
158
159module_init(cicada_init);
160module_exit(cicada_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>

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

154static void __exit cicada_exit(void)
155{
156 phy_driver_unregister(&cis8204_driver);
157 phy_driver_unregister(&cis8201_driver);
158}
159
160module_init(cicada_init);
161module_exit(cicada_exit);
162
163static struct mdio_device_id cicada_tbl[] = {
164 { 0x000fc410, 0x000ffff0 },
165 { 0x000fc440, 0x000fffc0 },
166 { }
167};
168
169MODULE_DEVICE_TABLE(mdio, cicada_tbl);