diff options
author | jake <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
commit | d93fbc99166053b75c2eeb69b5cb603cfaf79ec0 (patch) | |
tree | a4f130be4544ce7cfe4afa8c93f996b871433cb8 /sys/pci/if_tireg.h | |
parent | e814d2a0db522b0f163eef55a56d05aa226951f3 (diff) | |
download | FreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.zip FreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.tar.gz |
Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
Diffstat (limited to 'sys/pci/if_tireg.h')
-rw-r--r-- | sys/pci/if_tireg.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/pci/if_tireg.h b/sys/pci/if_tireg.h index 5210ffa..fd6cb00 100644 --- a/sys/pci/if_tireg.h +++ b/sys/pci/if_tireg.h @@ -1103,12 +1103,12 @@ struct ti_type { struct ti_mc_entry { struct ether_addr mc_addr; - SLIST_ENTRY(ti_mc_entry) mc_entries; + SLIST_ENTRY(struct ti_mc_entry) mc_entries; }; struct ti_jpool_entry { int slot; - SLIST_ENTRY(ti_jpool_entry) jpool_entries; + SLIST_ENTRY(struct ti_jpool_entry) jpool_entries; }; struct ti_softc { @@ -1135,9 +1135,9 @@ struct ti_softc { u_int16_t ti_std; /* current std ring head */ u_int16_t ti_mini; /* current mini ring head */ u_int16_t ti_jumbo; /* current jumo ring head */ - SLIST_HEAD(__ti_mchead, ti_mc_entry) ti_mc_listhead; - SLIST_HEAD(__ti_jfreehead, ti_jpool_entry) ti_jfree_listhead; - SLIST_HEAD(__ti_jinusehead, ti_jpool_entry) ti_jinuse_listhead; + SLIST_HEAD(__ti_mchead, struct ti_mc_entry) ti_mc_listhead; + SLIST_HEAD(__ti_jfreehead, struct ti_jpool_entry) ti_jfree_listhead; + SLIST_HEAD(__ti_jinusehead, struct ti_jpool_entry) ti_jinuse_listhead; u_int32_t ti_stat_ticks; u_int32_t ti_rx_coal_ticks; u_int32_t ti_tx_coal_ticks; |