#include <linux/ethtool.h>
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/mii.h>
#include <linux/module.h>
#include <linux/net_tstamp.h>
#include <linux/netdevice.h>
#include <linux/phy.h>
#include <linux/ptp_classify.h>
#include <linux/ptp_clock_kernel.h>
#include "dp83640_reg.h"
Go to the source code of this file.
|
| module_param (chosen_phy, int, 0444) |
|
| module_param_array (gpio_tab, ushort, NULL, 0444) |
|
| MODULE_PARM_DESC (chosen_phy,"The address of the PHY to use for the ancillary clock features") |
|
| MODULE_PARM_DESC (gpio_tab,"Which GPIO line to use for which purpose: cal,perout,extts1,...,extts6") |
|
| MODULE_DESCRIPTION ("National Semiconductor DP83640 PHY driver") |
|
| MODULE_AUTHOR ("Richard Cochran <richardcochran@gmail.at>") |
|
| MODULE_LICENSE ("GPL") |
|
| module_init (dp83640_init) |
|
| module_exit (dp83640_exit) |
|
| MODULE_DEVICE_TABLE (mdio, dp83640_tbl) |
|
#define BROADCAST_ADDR 31 |
#define DP83640_PHY_ID 0x20005ce1 |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define SKB_PTP_TYPE |
( |
|
__skb | ) |
(*(unsigned int *)((__skb)->cb)) |
- Enumerator:
CALIBRATE_GPIO |
|
PEROUT_GPIO |
|
EXTTS0_GPIO |
|
EXTTS1_GPIO |
|
EXTTS2_GPIO |
|
EXTTS3_GPIO |
|
EXTTS4_GPIO |
|
EXTTS5_GPIO |
|
GPIO_TABLE_SIZE |
|
Definition at line 136 of file dp83640.c.
MODULE_AUTHOR |
( |
"Richard Cochran <richardcochran@gmail.at>" |
| ) |
|
MODULE_DESCRIPTION |
( |
"National Semiconductor DP83640 PHY driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
mdio |
, |
|
|
dp83640_tbl |
|
|
) |
| |
module_exit |
( |
dp83640_exit |
| ) |
|
module_init |
( |
dp83640_init |
| ) |
|
module_param |
( |
chosen_phy |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
module_param_array |
( |
gpio_tab |
, |
|
|
ushort |
, |
|
|
NULL |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
gpio_tab |
, |
|
|
"Which GPIO line to use for which purpose: |
cal, |
|
|
perout |
, |
|
|
extts1 |
, |
|
|
|
..., |
|
|
extts6" |
|
|
) |
| |