diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-04-20 05:14:33 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-04-20 05:14:33 +0000 |
commit | c11b258953a5f3ed1e1d506eefb44ea1ab90733b (patch) | |
tree | 519c04a838bd737f634f19efe899219d1cd43765 /sys/dev/pci/if_tht.c | |
parent | 4b4327feecb84b2c8cfc43510493b78ebd5a33dc (diff) |
add fifo descriptors for the rxf and rxd fifos.
Diffstat (limited to 'sys/dev/pci/if_tht.c')
-rw-r--r-- | sys/dev/pci/if_tht.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/sys/dev/pci/if_tht.c b/sys/dev/pci/if_tht.c index b7ed91f80cf..1b07c4b418e 100644 --- a/sys/dev/pci/if_tht.c +++ b/sys/dev/pci/if_tht.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tht.c,v 1.31 2007/04/20 02:24:28 dlg Exp $ */ +/* $OpenBSD: if_tht.c,v 1.32 2007/04/20 05:14:32 dlg Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -352,6 +352,24 @@ struct tht_fifo_desc tht_txt_desc = { 1 }; +struct tht_fifo_desc tht_rxf_desc = { + THT_REG_RXF_CFG0(0), + THT_REG_RXF_CFG1(0), + THT_REG_RXF_RPTR(0), + THT_REG_RXF_WPTR(0), + THT_FIFO_SIZE_16k, + 1 +}; + +struct tht_fifo_desc tht_rxd_desc = { + THT_REG_RXD_CFG0(0), + THT_REG_RXD_CFG1(0), + THT_REG_RXD_RPTR(0), + THT_REG_RXD_WPTR(0), + THT_FIFO_SIZE_16k, + 0 +}; + struct tht_fifo_desc tht_txf_desc = { THT_REG_TXF_CFG0(0), THT_REG_TXF_CFG1(0), |