davicom.c (5a0e3ad6af8660be21ca98a971cd00f331318c05) | davicom.c (4e4f10f6498bc5038c0a110b5f21682fcb5578d7) |
---|---|
1/* 2 * drivers/net/phy/davicom.c 3 * 4 * Driver for Davicom 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/davicom.c 3 * 4 * Driver for Davicom 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> --- 185 unchanged lines hidden (view full) --- 213{ 214 phy_driver_unregister(&dm9161e_driver); 215 phy_driver_unregister(&dm9161a_driver); 216 phy_driver_unregister(&dm9131_driver); 217} 218 219module_init(davicom_init); 220module_exit(davicom_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> --- 185 unchanged lines hidden (view full) --- 214{ 215 phy_driver_unregister(&dm9161e_driver); 216 phy_driver_unregister(&dm9161a_driver); 217 phy_driver_unregister(&dm9131_driver); 218} 219 220module_init(davicom_init); 221module_exit(davicom_exit); |
222 223static struct mdio_device_id davicom_tbl[] = { 224 { 0x0181b880, 0x0ffffff0 }, 225 { 0x0181b8a0, 0x0ffffff0 }, 226 { 0x00181b80, 0x0ffffff0 }, 227 { } 228}; 229 230MODULE_DEVICE_TABLE(mdio, davicom_tbl); |
|