summaryrefslogtreecommitdiff
path: root/sys/dev/ic/bcwvar.h
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2007-02-26 14:14:03 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2007-02-26 14:14:03 +0000
commit158b47205cdeb6da0d6e8c8d6af77026b3bdd29c (patch)
tree0546ac9be6924dc60490abdf82f6d2296d9668f5 /sys/dev/ic/bcwvar.h
parent8555e15060c1d4091d4b3b6f330471caa95c51f5 (diff)
We need to save some PCI infos in our softc struct for further decisions
in the driver code.
Diffstat (limited to 'sys/dev/ic/bcwvar.h')
-rw-r--r--sys/dev/ic/bcwvar.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/bcwvar.h b/sys/dev/ic/bcwvar.h
index de52210453f..c0b1f44d1bd 100644
--- a/sys/dev/ic/bcwvar.h
+++ b/sys/dev/ic/bcwvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcwvar.h,v 1.23 2007/02/24 23:05:04 mglocker Exp $ */
+/* $OpenBSD: bcwvar.h,v 1.24 2007/02/26 14:14:02 mglocker Exp $ */
/*
* Copyright (c) 2006 Jon Simola <jsimola@gmail.com>
@@ -223,6 +223,9 @@ struct bcw_softc {
int sc_txsnext; /* next available tx slot */
struct timeout sc_timeout;
/* Break these out into seperate structs */
+ uint16_t sc_board_vendor;
+ uint16_t sc_board_type;
+ uint16_t sc_board_rev;
uint16_t sc_chip_id; /* Chip ID */
uint16_t sc_chip_rev; /* Chip Revision */
uint16_t sc_chip_package; /* Chip Package */