summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-07-11 20:27:05 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-07-11 20:27:05 +0000
commitcbd6898db211297c28b14923d06ccd773c21e3ee (patch)
treee75f2517cc23871350ac86c64989c037f16b6cf7 /sys
parentfcd2fecd66ce311289d9f02826d9a06b0c19cf11 (diff)
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)
Diffstat (limited to 'sys')
-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>
/*