Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/arcbios Make the field names in the system ID struct...



details:   https://anonhg.NetBSD.org/src/rev/f24df2005a8f
branches:  trunk
changeset: 512290:f24df2005a8f
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Jul 08 23:56:03 2001 +0000

description:
Make the field names in the system ID structure match the spec.

diffstat:

 sys/dev/arcbios/arcbios.h |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 5a896dbad719 -r f24df2005a8f sys/dev/arcbios/arcbios.h
--- a/sys/dev/arcbios/arcbios.h Sun Jul 08 23:37:52 2001 +0000
+++ b/sys/dev/arcbios/arcbios.h Sun Jul 08 23:56:03 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arcbios.h,v 1.1 2001/07/08 19:58:02 thorpej Exp $      */
+/*     $NetBSD: arcbios.h,v 1.2 2001/07/08 23:56:03 thorpej Exp $      */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -200,9 +200,10 @@
 /*
  * ARC system ID
  */
+#define        ARCBIOS_SYSID_FIELDLEN          8
 struct arcbios_sysid {
-       char            Vendor[8];
-       char            Serial[8];
+       char            VendorId[ARCBIOS_SYSID_FIELDLEN];
+       char            ProductId[ARCBIOS_SYSID_FIELDLEN];
 };
 
 /*



Home | Main Index | Thread Index | Old Index