summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2002-07-11 20:27:04 +0000
committerjason <jason@openbsd.org>2002-07-11 20:27:04 +0000
commit163db78c2331d622a39b0bcdc63d8bfae34fbb42 (patch)
treeab44b5fb6d345a0570879cf9ac49f7323276d20a
parentoppose abort()ion and urinetherapy (diff)
downloadwireguard-openbsd-163db78c2331d622a39b0bcdc63d8bfae34fbb42.tar.xz
wireguard-openbsd-163db78c2331d622a39b0bcdc63d8bfae34fbb42.zip
add rcsid to firmware, and remove defn for tc990_IMAGE_SIZE, its ugly.
(shoulda caught this before like I caught const'fying it, oh well)
-rw-r--r--sys/dev/microcode/typhoon/3c990img.h4
-rw-r--r--sys/dev/pci/if_txp.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/microcode/typhoon/3c990img.h b/sys/dev/microcode/typhoon/3c990img.h
index 56f05af757a..4eb7c7d6793 100644
--- a/sys/dev/microcode/typhoon/3c990img.h
+++ b/sys/dev/microcode/typhoon/3c990img.h
@@ -1,3 +1,5 @@
+/* $OpenBSD: 3c990img.h,v 1.5 2002/07/11 20:27:04 jason Exp $ */
+
/*
* Copyright 1999-2002 3Com Corporation. All Rights Reserved.
*
@@ -29,7 +31,7 @@
* 3COM HARDWARE OR SOFTWARE EITHER SOLELY OR IN COMBINATION WITH THE 3CR990img.h
* microcode SOFTWARE
*/
-const unsigned char tc990image[tc990_IMAGE_SIZE] = {
+const unsigned char tc990image[] = {
0x54, 0x59, 0x50, 0x48, 0x4f, 0x4f, 0x4e, 0x00, 0x02, 0x00, 0x00, 0x00,
0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x40, 0x01, 0x00, 0x00,
0x6c, 0xef, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x39, 0x00, 0x00, 0xea,
diff --git a/sys/dev/pci/if_txp.c b/sys/dev/pci/if_txp.c
index 71b0c0bc28c..1243c0ac935 100644
--- a/sys/dev/pci/if_txp.c
+++ b/sys/dev/pci/if_txp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_txp.c,v 1.65 2002/07/11 20:15:46 jason Exp $ */
+/* $OpenBSD: if_txp.c,v 1.66 2002/07/11 20:27:04 jason Exp $ */
/*
* Copyright (c) 2001
@@ -84,7 +84,6 @@
#include <dev/pci/if_txpreg.h>
-#define tc990_IMAGE_SIZE
#include <dev/microcode/typhoon/3c990img.h>
/*