bgmac.c (624374a56419c2d6d428c862f32cc1b20519095d) bgmac.c (13bf77604e163b957948dea464752cf3cd4bbc52)
1/*
2 * Driver for (BCM4706)? GBit MAC core on BCMA bus.
3 *
4 * Copyright (C) 2012 Rafał Miłecki <zajec5@gmail.com>
5 *
6 * Licensed under the GNU/GPL. See COPYING for details.
7 */
8
9
10#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
11
12#include <linux/bcma/bcma.h>
13#include <linux/etherdevice.h>
14#include <linux/bcm47xx_nvram.h>
1/*
2 * Driver for (BCM4706)? GBit MAC core on BCMA bus.
3 *
4 * Copyright (C) 2012 Rafał Miłecki <zajec5@gmail.com>
5 *
6 * Licensed under the GNU/GPL. See COPYING for details.
7 */
8
9
10#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
11
12#include <linux/bcma/bcma.h>
13#include <linux/etherdevice.h>
14#include <linux/bcm47xx_nvram.h>
15#include <linux/phy.h>
16#include <linux/phy_fixed.h>
15#include "bgmac.h"
16
17static bool bgmac_wait_value(struct bgmac *bgmac, u16 reg, u32 mask,
18 u32 value, int timeout)
19{
20 u32 val;
21 int i;
22

--- 1529 unchanged lines hidden ---
17#include "bgmac.h"
18
19static bool bgmac_wait_value(struct bgmac *bgmac, u16 reg, u32 mask,
20 u32 value, int timeout)
21{
22 u32 val;
23 int i;
24

--- 1529 unchanged lines hidden ---