Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 171818
b: refs/heads/master
c: 5c16a96
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Nov 24, 2009
1 parent e10dd1b commit ef8bb74
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 278c0621fbc4ef52177969edb6f07352da816fdb
refs/heads/master: 5c16a96c4f31a0be287c5db3f36d1099dea9b2bd
11 changes: 0 additions & 11 deletions trunk/drivers/net/sfc/falcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <linux/module.h>
#include <linux/seq_file.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/mii.h>
#include "net_driver.h"
#include "bitfield.h"
Expand All @@ -33,16 +32,6 @@
* present in SFE400X evaluation boards
*/

/**
* struct falcon_nic_data - Falcon NIC state
* @pci_dev2: The secondary PCI device if present
* @i2c_data: Operations and state for I2C bit-bashing algorithm
*/
struct falcon_nic_data {
struct pci_dev *pci_dev2;
struct i2c_algo_bit_data i2c_data;
};

/**************************************************************************
*
* Configurable values
Expand Down
11 changes: 11 additions & 0 deletions trunk/drivers/net/sfc/falcon.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#ifndef EFX_FALCON_H
#define EFX_FALCON_H

#include <linux/i2c-algo-bit.h>
#include "net_driver.h"
#include "efx.h"

Expand All @@ -29,6 +30,16 @@ static inline int falcon_rev(struct efx_nic *efx)
return efx->pci_dev->revision;
}

/**
* struct falcon_nic_data - Falcon NIC state
* @pci_dev2: The secondary PCI device if present
* @i2c_data: Operations and state for I2C bit-bashing algorithm
*/
struct falcon_nic_data {
struct pci_dev *pci_dev2;
struct i2c_algo_bit_data i2c_data;
};

static inline struct falcon_board *falcon_board(struct efx_nic *efx)
{
return &efx->board_info;
Expand Down

0 comments on commit ef8bb74

Please sign in to comment.