diff options
author | Krzysztof Hałasa <khc@pm.waw.pl> | 2008-07-02 11:47:52 -0400 |
---|---|---|
committer | Krzysztof Hałasa <khc@pm.waw.pl> | 2008-07-23 17:05:55 -0400 |
commit | 52e8a6a2d8dc19002d1757870d16051157ce999c (patch) | |
tree | 32e65d1160f279861c3667a031fdd20df456ffdd /drivers/net/wan/z85230.h | |
parent | aca257530f7d681b953961090ad729c32aa5ad62 (diff) |
WAN: Convert Zilog-based drivers to generic HDLC
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'drivers/net/wan/z85230.h')
-rw-r--r-- | drivers/net/wan/z85230.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/net/wan/z85230.h b/drivers/net/wan/z85230.h index 158aea7b8eac..4f372396c512 100644 --- a/drivers/net/wan/z85230.h +++ b/drivers/net/wan/z85230.h | |||
@@ -325,7 +325,6 @@ struct z8530_channel | |||
325 | 325 | ||
326 | void *private; /* For our owner */ | 326 | void *private; /* For our owner */ |
327 | struct net_device *netdevice; /* Network layer device */ | 327 | struct net_device *netdevice; /* Network layer device */ |
328 | struct net_device_stats stats; /* Network layer statistics */ | ||
329 | 328 | ||
330 | /* | 329 | /* |
331 | * Async features | 330 | * Async features |
@@ -366,13 +365,13 @@ struct z8530_channel | |||
366 | unsigned char tx_active; /* character is being xmitted */ | 365 | unsigned char tx_active; /* character is being xmitted */ |
367 | unsigned char tx_stopped; /* output is suspended */ | 366 | unsigned char tx_stopped; /* output is suspended */ |
368 | 367 | ||
369 | spinlock_t *lock; /* Devicr lock */ | 368 | spinlock_t *lock; /* Device lock */ |
370 | }; | 369 | }; |
371 | 370 | ||
372 | /* | 371 | /* |
373 | * Each Z853x0 device. | 372 | * Each Z853x0 device. |
374 | */ | 373 | */ |
375 | 374 | ||
376 | struct z8530_dev | 375 | struct z8530_dev |
377 | { | 376 | { |
378 | char *name; /* Device instance name */ | 377 | char *name; /* Device instance name */ |
@@ -408,7 +407,6 @@ extern int z8530_sync_txdma_open(struct net_device *, struct z8530_channel *); | |||
408 | extern int z8530_sync_txdma_close(struct net_device *, struct z8530_channel *); | 407 | extern int z8530_sync_txdma_close(struct net_device *, struct z8530_channel *); |
409 | extern int z8530_channel_load(struct z8530_channel *, u8 *); | 408 | extern int z8530_channel_load(struct z8530_channel *, u8 *); |
410 | extern int z8530_queue_xmit(struct z8530_channel *c, struct sk_buff *skb); | 409 | extern int z8530_queue_xmit(struct z8530_channel *c, struct sk_buff *skb); |
411 | extern struct net_device_stats *z8530_get_stats(struct z8530_channel *c); | ||
412 | extern void z8530_null_rx(struct z8530_channel *c, struct sk_buff *skb); | 410 | extern void z8530_null_rx(struct z8530_channel *c, struct sk_buff *skb); |
413 | 411 | ||
414 | 412 | ||