summaryrefslogtreecommitdiffstats
path: root/drivers/net/sunqe.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-08-27 00:12:27 -0700
committerDavid S. Miller <davem@davemloft.net>2008-08-29 02:14:43 -0700
commit8e912b333981a90959e9665e6ec2758be36ab805 (patch)
tree9ef1990e462137ff1fc2e2d53d63bc1e6a77ca8b /drivers/net/sunqe.h
parentaf736fede772d92096b52da9aa1b0cf5de62eceb (diff)
downloadop-kernel-dev-8e912b333981a90959e9665e6ec2758be36ab805.zip
op-kernel-dev-8e912b333981a90959e9665e6ec2758be36ab805.tar.gz
sunqe: Convert to pure OF driver.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sunqe.h')
-rw-r--r--drivers/net/sunqe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sunqe.h b/drivers/net/sunqe.h
index 347c8dd..5813a7b 100644
--- a/drivers/net/sunqe.h
+++ b/drivers/net/sunqe.h
@@ -314,7 +314,7 @@ struct sunqec {
void __iomem *gregs; /* QEC Global Registers */
struct sunqe *qes[4]; /* Each child MACE */
unsigned int qec_bursts; /* Support burst sizes */
- struct sbus_dev *qec_sdev; /* QEC's SBUS device */
+ struct of_device *op; /* QEC's OF device */
struct sunqec *next_module; /* List of all QECs in system */
};
@@ -342,7 +342,7 @@ struct sunqe {
__u32 buffers_dvma; /* DVMA visible address. */
struct sunqec *parent;
u8 mconfig; /* Base MACE mconfig value */
- struct sbus_dev *qe_sdev; /* QE's SBUS device struct */
+ struct of_device *op; /* QE's OF device struct */
struct net_device *dev; /* QE's netdevice struct */
int channel; /* Who am I? */
};
OpenPOWER on IntegriCloud