diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-04-16 11:34:36 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-04-16 11:34:36 +0000 |
commit | 84fe6b0f5554c4c744b59245892c65eb4e86d703 (patch) | |
tree | 5755aaa824db1bbe006a134281c246c2b10093ff /sys/dev | |
parent | ea9d415f4348107373189d1d5d81ed785364c73c (diff) |
start at defining the regs. this is the 10g stuff.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_tht.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/dev/pci/if_tht.c b/sys/dev/pci/if_tht.c index 7d259ca80bc..40636939591 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.3 2007/04/16 11:07:23 reyk Exp $ */ +/* $OpenBSD: if_tht.c,v 1.4 2007/04/16 11:34:35 dlg Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -43,6 +43,21 @@ #define THT_PCI_BAR 0x10 +#define THT_REG_10G_REV 0x6000 +#define THT_REG_10G_SCR 0x6004 +#define THT_REG_10G_CTL 0x6008 +#define THT_REG_10G_FMT_LNG 0x6014 +#define THT_REG_10G_PAUSE 0x6018 +#define THT_REG_10G_RX_SEC 0x601c +#define THT_REG_10G_TX_SEC 0x6020 +#define THT_REG_10G_RFIFO_AEF 0x6024 +#define THT_REG_10G_TFIFO_AEF 0x6028 +#define THT_REG_10G_SM_STAT 0x6030 +#define THT_REG_10G_SM_CMD 0x6034 +#define THT_REG_10G_SM_DAT 0x6038 +#define THT_REG_10G_SM_ADD 0x603c +#define THT_REG_10G_STAT 0x6040 + /* pci controller autoconf glue */ struct thtc_softc { |