diff options
author | gibbs <gibbs@FreeBSD.org> | 2004-08-18 16:56:54 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 2004-08-18 16:56:54 +0000 |
commit | a65f61ad4afd85c09089aa50d99fac9f3edc1a7c (patch) | |
tree | 4051d269aff8c7a6321a9bab05ceea0606e9b167 /sys/dev/vx/if_vxvar.h | |
parent | 5900ea888d3a3199c277d8c5e705357e006876a6 (diff) | |
download | FreeBSD-src-a65f61ad4afd85c09089aa50d99fac9f3edc1a7c.zip FreeBSD-src-a65f61ad4afd85c09089aa50d99fac9f3edc1a7c.tar.gz |
ss if_vx through indent, and use ANSI function definitions, prior to adding
if_media and DMA support to the driver. The previous style was inconsistent
making it difficult to emulate existing style.
Diffstat (limited to 'sys/dev/vx/if_vxvar.h')
-rw-r--r-- | sys/dev/vx/if_vxvar.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/sys/dev/vx/if_vxvar.h b/sys/dev/vx/if_vxvar.h index e8a7a32..3607afe 100644 --- a/sys/dev/vx/if_vxvar.h +++ b/sys/dev/vx/if_vxvar.h @@ -35,24 +35,24 @@ * Ethernet software status per interface. */ struct vx_softc { - struct arpcom arpcom; /* Ethernet common part */ - int unit; /* unit number */ - bus_space_tag_t bst; - bus_space_handle_t bsh; - void *vx_intrhand; - struct resource *vx_irq; - struct resource *vx_res; -#define MAX_MBS 8 /* # of mbufs we keep around */ - struct mbuf *mb[MAX_MBS]; /* spare mbuf storage. */ - int next_mb; /* Which mbuf to use next. */ - int last_mb; /* Last mbuf. */ - char vx_connectors; /* Connectors on this card. */ - char vx_connector; /* Connector to use. */ - short tx_start_thresh; /* Current TX_start_thresh. */ - int tx_succ_ok; /* # packets sent in sequence */ - /* w/o underrun */ - struct callout_handle ch; /* Callout handle for timeouts */ - int buffill_pending; + struct arpcom arpcom; /* Ethernet common part */ + int unit; /* unit number */ + bus_space_tag_t bst; + bus_space_handle_t bsh; + void *vx_intrhand; + struct resource *vx_irq; + struct resource *vx_res; +#define MAX_MBS 8 /* # of mbufs we keep around */ + struct mbuf *mb[MAX_MBS]; /* spare mbuf storage. */ + int next_mb; /* Which mbuf to use next. */ + int last_mb; /* Last mbuf. */ + char vx_connectors; /* Connectors on this card. */ + char vx_connector; /* Connector to use. */ + short tx_start_thresh; /* Current TX_start_thresh. */ + int tx_succ_ok; /* # packets sent in sequence */ + /* w/o underrun */ + struct callout_handle ch; /* Callout handle for timeouts */ + int buffill_pending; }; #define CSR_WRITE_4(sc, reg, val) \ |