summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-01-21 16:35:40 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-01-21 16:35:40 +0000
commitbefd3c0b490da930d3a13e3bece6f1094472dfa9 (patch)
treef613a57f4ba7f3e1d49a112a63a7767219af4f57 /sys/dev/pci
parentc3c7abb2e6355cebd2c7efefae159a0ee5a4d5e6 (diff)
some cleaning after removing code for reading the VPD.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_bgereg.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/sys/dev/pci/if_bgereg.h b/sys/dev/pci/if_bgereg.h
index c473d52d189..3b778ee7a7c 100644
--- a/sys/dev/pci/if_bgereg.h
+++ b/sys/dev/pci/if_bgereg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bgereg.h,v 1.37 2005/12/28 20:27:38 brad Exp $ */
+/* $OpenBSD: if_bgereg.h,v 1.38 2006/01/21 16:35:39 brad Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
@@ -2170,24 +2170,11 @@ struct bge_gib {
*/
#define BGE_VPD_FLAG 0x8000
-/* VPD structures */
-struct vpd_res {
- u_int8_t vr_id;
- u_int8_t vr_len;
- u_int8_t vr_pad;
-};
-
-struct vpd_key {
- char vk_key[2];
- u_int8_t vk_len;
-};
-
#define VPD_RES_ID 0x82 /* ID string */
#define VPD_RES_READ 0x90 /* start of read only area */
#define VPD_RES_WRITE 0x81 /* start of read/write area */
#define VPD_RES_END 0x78 /* end tag */
-
/*
* Register access macros. The Tigon always uses memory mapped register
* accesses and all registers must be accessed with 32 bit operations.
@@ -2357,8 +2344,6 @@ struct bge_softc {
int bge_txcnt;
int bge_link;
struct timeout bge_timeout;
- char *bge_vpd_prodname;
- char *bge_vpd_readonly;
SLIST_HEAD(, txdmamap_pool_entry) txdma_list;
struct txdmamap_pool_entry *txdma[BGE_TX_RING_CNT];
};